dg

package
v1.62.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AddDatabaseListRequest

type AddDatabaseListRequest struct {
	*requests.RpcRequest
	DatabaseString string `position:"Body" name:"DatabaseString"`
	ClientToken    string `position:"Body" name:"ClientToken"`
}

AddDatabaseListRequest is the request struct for api AddDatabaseList

func CreateAddDatabaseListRequest

func CreateAddDatabaseListRequest() (request *AddDatabaseListRequest)

CreateAddDatabaseListRequest creates a request to invoke AddDatabaseList API

type AddDatabaseListResponse

type AddDatabaseListResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

AddDatabaseListResponse is the response struct for api AddDatabaseList

func CreateAddDatabaseListResponse

func CreateAddDatabaseListResponse() (response *AddDatabaseListResponse)

CreateAddDatabaseListResponse creates a response to parse from AddDatabaseList response

type AddDatabaseRequest

type AddDatabaseRequest struct {
	*requests.RpcRequest
	ClientToken   string           `position:"Body" name:"ClientToken"`
	Host          string           `position:"Body" name:"Host"`
	DbUserName    string           `position:"Body" name:"DbUserName"`
	DbDescription string           `position:"Body" name:"DbDescription"`
	GatewayId     string           `position:"Body" name:"GatewayId"`
	DbName        string           `position:"Body" name:"DbName"`
	Port          requests.Integer `position:"Body" name:"Port"`
	DbPassword    string           `position:"Body" name:"DbPassword"`
	DbType        string           `position:"Body" name:"DbType"`
}

AddDatabaseRequest is the request struct for api AddDatabase

func CreateAddDatabaseRequest

func CreateAddDatabaseRequest() (request *AddDatabaseRequest)

CreateAddDatabaseRequest creates a request to invoke AddDatabase API

type AddDatabaseResponse

type AddDatabaseResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

AddDatabaseResponse is the response struct for api AddDatabase

func CreateAddDatabaseResponse

func CreateAddDatabaseResponse() (response *AddDatabaseResponse)

CreateAddDatabaseResponse creates a response to parse from AddDatabase response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AddDatabase

func (client *Client) AddDatabase(request *AddDatabaseRequest) (response *AddDatabaseResponse, err error)

AddDatabase invokes the dg.AddDatabase API synchronously

func (*Client) AddDatabaseList

func (client *Client) AddDatabaseList(request *AddDatabaseListRequest) (response *AddDatabaseListResponse, err error)

AddDatabaseList invokes the dg.AddDatabaseList API synchronously

func (*Client) AddDatabaseListWithCallback

func (client *Client) AddDatabaseListWithCallback(request *AddDatabaseListRequest, callback func(response *AddDatabaseListResponse, err error)) <-chan int

AddDatabaseListWithCallback invokes the dg.AddDatabaseList API asynchronously

func (*Client) AddDatabaseListWithChan

func (client *Client) AddDatabaseListWithChan(request *AddDatabaseListRequest) (<-chan *AddDatabaseListResponse, <-chan error)

AddDatabaseListWithChan invokes the dg.AddDatabaseList API asynchronously

func (*Client) AddDatabaseWithCallback

func (client *Client) AddDatabaseWithCallback(request *AddDatabaseRequest, callback func(response *AddDatabaseResponse, err error)) <-chan int

AddDatabaseWithCallback invokes the dg.AddDatabase API asynchronously

func (*Client) AddDatabaseWithChan

func (client *Client) AddDatabaseWithChan(request *AddDatabaseRequest) (<-chan *AddDatabaseResponse, <-chan error)

AddDatabaseWithChan invokes the dg.AddDatabase API asynchronously

func (*Client) ConnectDatabase

func (client *Client) ConnectDatabase(request *ConnectDatabaseRequest) (response *ConnectDatabaseResponse, err error)

ConnectDatabase invokes the dg.ConnectDatabase API synchronously

func (*Client) ConnectDatabaseWithCallback

func (client *Client) ConnectDatabaseWithCallback(request *ConnectDatabaseRequest, callback func(response *ConnectDatabaseResponse, err error)) <-chan int

ConnectDatabaseWithCallback invokes the dg.ConnectDatabase API asynchronously

func (*Client) ConnectDatabaseWithChan

func (client *Client) ConnectDatabaseWithChan(request *ConnectDatabaseRequest) (<-chan *ConnectDatabaseResponse, <-chan error)

ConnectDatabaseWithChan invokes the dg.ConnectDatabase API asynchronously

func (*Client) CreateDatabaseAccessPoint

func (client *Client) CreateDatabaseAccessPoint(request *CreateDatabaseAccessPointRequest) (response *CreateDatabaseAccessPointResponse, err error)

CreateDatabaseAccessPoint invokes the dg.CreateDatabaseAccessPoint API synchronously

func (*Client) CreateDatabaseAccessPointWithCallback

func (client *Client) CreateDatabaseAccessPointWithCallback(request *CreateDatabaseAccessPointRequest, callback func(response *CreateDatabaseAccessPointResponse, err error)) <-chan int

CreateDatabaseAccessPointWithCallback invokes the dg.CreateDatabaseAccessPoint API asynchronously

func (*Client) CreateDatabaseAccessPointWithChan

func (client *Client) CreateDatabaseAccessPointWithChan(request *CreateDatabaseAccessPointRequest) (<-chan *CreateDatabaseAccessPointResponse, <-chan error)

CreateDatabaseAccessPointWithChan invokes the dg.CreateDatabaseAccessPoint API asynchronously

func (*Client) CreateGateway

func (client *Client) CreateGateway(request *CreateGatewayRequest) (response *CreateGatewayResponse, err error)

CreateGateway invokes the dg.CreateGateway API synchronously

func (*Client) CreateGatewayVerifyCode

func (client *Client) CreateGatewayVerifyCode(request *CreateGatewayVerifyCodeRequest) (response *CreateGatewayVerifyCodeResponse, err error)

CreateGatewayVerifyCode invokes the dg.CreateGatewayVerifyCode API synchronously

func (*Client) CreateGatewayVerifyCodeWithCallback

func (client *Client) CreateGatewayVerifyCodeWithCallback(request *CreateGatewayVerifyCodeRequest, callback func(response *CreateGatewayVerifyCodeResponse, err error)) <-chan int

CreateGatewayVerifyCodeWithCallback invokes the dg.CreateGatewayVerifyCode API asynchronously

func (*Client) CreateGatewayVerifyCodeWithChan

func (client *Client) CreateGatewayVerifyCodeWithChan(request *CreateGatewayVerifyCodeRequest) (<-chan *CreateGatewayVerifyCodeResponse, <-chan error)

CreateGatewayVerifyCodeWithChan invokes the dg.CreateGatewayVerifyCode API asynchronously

func (*Client) CreateGatewayWithCallback

func (client *Client) CreateGatewayWithCallback(request *CreateGatewayRequest, callback func(response *CreateGatewayResponse, err error)) <-chan int

CreateGatewayWithCallback invokes the dg.CreateGateway API asynchronously

func (*Client) CreateGatewayWithChan

func (client *Client) CreateGatewayWithChan(request *CreateGatewayRequest) (<-chan *CreateGatewayResponse, <-chan error)

CreateGatewayWithChan invokes the dg.CreateGateway API asynchronously

func (*Client) DeleteDatabase

func (client *Client) DeleteDatabase(request *DeleteDatabaseRequest) (response *DeleteDatabaseResponse, err error)

DeleteDatabase invokes the dg.DeleteDatabase API synchronously

func (*Client) DeleteDatabaseAccessPoint

func (client *Client) DeleteDatabaseAccessPoint(request *DeleteDatabaseAccessPointRequest) (response *DeleteDatabaseAccessPointResponse, err error)

DeleteDatabaseAccessPoint invokes the dg.DeleteDatabaseAccessPoint API synchronously

func (*Client) DeleteDatabaseAccessPointWithCallback

func (client *Client) DeleteDatabaseAccessPointWithCallback(request *DeleteDatabaseAccessPointRequest, callback func(response *DeleteDatabaseAccessPointResponse, err error)) <-chan int

DeleteDatabaseAccessPointWithCallback invokes the dg.DeleteDatabaseAccessPoint API asynchronously

func (*Client) DeleteDatabaseAccessPointWithChan

func (client *Client) DeleteDatabaseAccessPointWithChan(request *DeleteDatabaseAccessPointRequest) (<-chan *DeleteDatabaseAccessPointResponse, <-chan error)

DeleteDatabaseAccessPointWithChan invokes the dg.DeleteDatabaseAccessPoint API asynchronously

func (*Client) DeleteDatabaseWithCallback

func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest, callback func(response *DeleteDatabaseResponse, err error)) <-chan int

DeleteDatabaseWithCallback invokes the dg.DeleteDatabase API asynchronously

func (*Client) DeleteDatabaseWithChan

func (client *Client) DeleteDatabaseWithChan(request *DeleteDatabaseRequest) (<-chan *DeleteDatabaseResponse, <-chan error)

DeleteDatabaseWithChan invokes the dg.DeleteDatabase API asynchronously

func (*Client) DeleteGateway

func (client *Client) DeleteGateway(request *DeleteGatewayRequest) (response *DeleteGatewayResponse, err error)

DeleteGateway invokes the dg.DeleteGateway API synchronously

func (*Client) DeleteGatewayInstance

func (client *Client) DeleteGatewayInstance(request *DeleteGatewayInstanceRequest) (response *DeleteGatewayInstanceResponse, err error)

DeleteGatewayInstance invokes the dg.DeleteGatewayInstance API synchronously

func (*Client) DeleteGatewayInstanceWithCallback

func (client *Client) DeleteGatewayInstanceWithCallback(request *DeleteGatewayInstanceRequest, callback func(response *DeleteGatewayInstanceResponse, err error)) <-chan int

DeleteGatewayInstanceWithCallback invokes the dg.DeleteGatewayInstance API asynchronously

func (*Client) DeleteGatewayInstanceWithChan

func (client *Client) DeleteGatewayInstanceWithChan(request *DeleteGatewayInstanceRequest) (<-chan *DeleteGatewayInstanceResponse, <-chan error)

DeleteGatewayInstanceWithChan invokes the dg.DeleteGatewayInstance API asynchronously

func (*Client) DeleteGatewayWithCallback

func (client *Client) DeleteGatewayWithCallback(request *DeleteGatewayRequest, callback func(response *DeleteGatewayResponse, err error)) <-chan int

DeleteGatewayWithCallback invokes the dg.DeleteGateway API asynchronously

func (*Client) DeleteGatewayWithChan

func (client *Client) DeleteGatewayWithChan(request *DeleteGatewayRequest) (<-chan *DeleteGatewayResponse, <-chan error)

DeleteGatewayWithChan invokes the dg.DeleteGateway API asynchronously

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the dg.DescribeRegions API synchronously

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the dg.DescribeRegions API asynchronously

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the dg.DescribeRegions API asynchronously

func (*Client) DownloadGatewayProgram

func (client *Client) DownloadGatewayProgram(request *DownloadGatewayProgramRequest) (response *DownloadGatewayProgramResponse, err error)

DownloadGatewayProgram invokes the dg.DownloadGatewayProgram API synchronously

func (*Client) DownloadGatewayProgramWithCallback

func (client *Client) DownloadGatewayProgramWithCallback(request *DownloadGatewayProgramRequest, callback func(response *DownloadGatewayProgramResponse, err error)) <-chan int

DownloadGatewayProgramWithCallback invokes the dg.DownloadGatewayProgram API asynchronously

func (*Client) DownloadGatewayProgramWithChan

func (client *Client) DownloadGatewayProgramWithChan(request *DownloadGatewayProgramRequest) (<-chan *DownloadGatewayProgramResponse, <-chan error)

DownloadGatewayProgramWithChan invokes the dg.DownloadGatewayProgram API asynchronously

func (*Client) FindUserGatewayById

func (client *Client) FindUserGatewayById(request *FindUserGatewayByIdRequest) (response *FindUserGatewayByIdResponse, err error)

FindUserGatewayById invokes the dg.FindUserGatewayById API synchronously

func (*Client) FindUserGatewayByIdWithCallback

func (client *Client) FindUserGatewayByIdWithCallback(request *FindUserGatewayByIdRequest, callback func(response *FindUserGatewayByIdResponse, err error)) <-chan int

FindUserGatewayByIdWithCallback invokes the dg.FindUserGatewayById API asynchronously

func (*Client) FindUserGatewayByIdWithChan

func (client *Client) FindUserGatewayByIdWithChan(request *FindUserGatewayByIdRequest) (<-chan *FindUserGatewayByIdResponse, <-chan error)

FindUserGatewayByIdWithChan invokes the dg.FindUserGatewayById API asynchronously

func (*Client) GetUserDatabases

func (client *Client) GetUserDatabases(request *GetUserDatabasesRequest) (response *GetUserDatabasesResponse, err error)

GetUserDatabases invokes the dg.GetUserDatabases API synchronously

func (*Client) GetUserDatabasesWithCallback

func (client *Client) GetUserDatabasesWithCallback(request *GetUserDatabasesRequest, callback func(response *GetUserDatabasesResponse, err error)) <-chan int

GetUserDatabasesWithCallback invokes the dg.GetUserDatabases API asynchronously

func (*Client) GetUserDatabasesWithChan

func (client *Client) GetUserDatabasesWithChan(request *GetUserDatabasesRequest) (<-chan *GetUserDatabasesResponse, <-chan error)

GetUserDatabasesWithChan invokes the dg.GetUserDatabases API asynchronously

func (*Client) GetUserGatewayInstances

func (client *Client) GetUserGatewayInstances(request *GetUserGatewayInstancesRequest) (response *GetUserGatewayInstancesResponse, err error)

GetUserGatewayInstances invokes the dg.GetUserGatewayInstances API synchronously

func (*Client) GetUserGatewayInstancesWithCallback

func (client *Client) GetUserGatewayInstancesWithCallback(request *GetUserGatewayInstancesRequest, callback func(response *GetUserGatewayInstancesResponse, err error)) <-chan int

GetUserGatewayInstancesWithCallback invokes the dg.GetUserGatewayInstances API asynchronously

func (*Client) GetUserGatewayInstancesWithChan

func (client *Client) GetUserGatewayInstancesWithChan(request *GetUserGatewayInstancesRequest) (<-chan *GetUserGatewayInstancesResponse, <-chan error)

GetUserGatewayInstancesWithChan invokes the dg.GetUserGatewayInstances API asynchronously

func (*Client) GetUserGateways

func (client *Client) GetUserGateways(request *GetUserGatewaysRequest) (response *GetUserGatewaysResponse, err error)

GetUserGateways invokes the dg.GetUserGateways API synchronously

func (*Client) GetUserGatewaysWithCallback

func (client *Client) GetUserGatewaysWithCallback(request *GetUserGatewaysRequest, callback func(response *GetUserGatewaysResponse, err error)) <-chan int

GetUserGatewaysWithCallback invokes the dg.GetUserGateways API asynchronously

func (*Client) GetUserGatewaysWithChan

func (client *Client) GetUserGatewaysWithChan(request *GetUserGatewaysRequest) (<-chan *GetUserGatewaysResponse, <-chan error)

GetUserGatewaysWithChan invokes the dg.GetUserGateways API asynchronously

func (*Client) ListDatabaseAccessPoint

func (client *Client) ListDatabaseAccessPoint(request *ListDatabaseAccessPointRequest) (response *ListDatabaseAccessPointResponse, err error)

ListDatabaseAccessPoint invokes the dg.ListDatabaseAccessPoint API synchronously

func (*Client) ListDatabaseAccessPointWithCallback

func (client *Client) ListDatabaseAccessPointWithCallback(request *ListDatabaseAccessPointRequest, callback func(response *ListDatabaseAccessPointResponse, err error)) <-chan int

ListDatabaseAccessPointWithCallback invokes the dg.ListDatabaseAccessPoint API asynchronously

func (*Client) ListDatabaseAccessPointWithChan

func (client *Client) ListDatabaseAccessPointWithChan(request *ListDatabaseAccessPointRequest) (<-chan *ListDatabaseAccessPointResponse, <-chan error)

ListDatabaseAccessPointWithChan invokes the dg.ListDatabaseAccessPoint API asynchronously

func (*Client) ModifyDatabase

func (client *Client) ModifyDatabase(request *ModifyDatabaseRequest) (response *ModifyDatabaseResponse, err error)

ModifyDatabase invokes the dg.ModifyDatabase API synchronously

func (*Client) ModifyDatabaseWithCallback

func (client *Client) ModifyDatabaseWithCallback(request *ModifyDatabaseRequest, callback func(response *ModifyDatabaseResponse, err error)) <-chan int

ModifyDatabaseWithCallback invokes the dg.ModifyDatabase API asynchronously

func (*Client) ModifyDatabaseWithChan

func (client *Client) ModifyDatabaseWithChan(request *ModifyDatabaseRequest) (<-chan *ModifyDatabaseResponse, <-chan error)

ModifyDatabaseWithChan invokes the dg.ModifyDatabase API asynchronously

func (*Client) ModifyGateway

func (client *Client) ModifyGateway(request *ModifyGatewayRequest) (response *ModifyGatewayResponse, err error)

ModifyGateway invokes the dg.ModifyGateway API synchronously

func (*Client) ModifyGatewayWithCallback

func (client *Client) ModifyGatewayWithCallback(request *ModifyGatewayRequest, callback func(response *ModifyGatewayResponse, err error)) <-chan int

ModifyGatewayWithCallback invokes the dg.ModifyGateway API asynchronously

func (*Client) ModifyGatewayWithChan

func (client *Client) ModifyGatewayWithChan(request *ModifyGatewayRequest) (<-chan *ModifyGatewayResponse, <-chan error)

ModifyGatewayWithChan invokes the dg.ModifyGateway API asynchronously

func (*Client) RetryDatabase

func (client *Client) RetryDatabase(request *RetryDatabaseRequest) (response *RetryDatabaseResponse, err error)

RetryDatabase invokes the dg.RetryDatabase API synchronously

func (*Client) RetryDatabaseWithCallback

func (client *Client) RetryDatabaseWithCallback(request *RetryDatabaseRequest, callback func(response *RetryDatabaseResponse, err error)) <-chan int

RetryDatabaseWithCallback invokes the dg.RetryDatabase API asynchronously

func (*Client) RetryDatabaseWithChan

func (client *Client) RetryDatabaseWithChan(request *RetryDatabaseRequest) (<-chan *RetryDatabaseResponse, <-chan error)

RetryDatabaseWithChan invokes the dg.RetryDatabase API asynchronously

func (*Client) StopGateway

func (client *Client) StopGateway(request *StopGatewayRequest) (response *StopGatewayResponse, err error)

StopGateway invokes the dg.StopGateway API synchronously

func (*Client) StopGatewayWithCallback

func (client *Client) StopGatewayWithCallback(request *StopGatewayRequest, callback func(response *StopGatewayResponse, err error)) <-chan int

StopGatewayWithCallback invokes the dg.StopGateway API asynchronously

func (*Client) StopGatewayWithChan

func (client *Client) StopGatewayWithChan(request *StopGatewayRequest) (<-chan *StopGatewayResponse, <-chan error)

StopGatewayWithChan invokes the dg.StopGateway API asynchronously

type ConnectDatabaseRequest

type ConnectDatabaseRequest struct {
	*requests.RpcRequest
	DbName     string           `position:"Body" name:"DbName"`
	Port       requests.Integer `position:"Body" name:"Port"`
	DbPassword string           `position:"Body" name:"DbPassword"`
	Host       string           `position:"Body" name:"Host"`
	DbType     string           `position:"Body" name:"DbType"`
	DbUserName string           `position:"Body" name:"DbUserName"`
	GatewayId  string           `position:"Body" name:"GatewayId"`
}

ConnectDatabaseRequest is the request struct for api ConnectDatabase

func CreateConnectDatabaseRequest

func CreateConnectDatabaseRequest() (request *ConnectDatabaseRequest)

CreateConnectDatabaseRequest creates a request to invoke ConnectDatabase API

type ConnectDatabaseResponse

type ConnectDatabaseResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

ConnectDatabaseResponse is the response struct for api ConnectDatabase

func CreateConnectDatabaseResponse

func CreateConnectDatabaseResponse() (response *ConnectDatabaseResponse)

CreateConnectDatabaseResponse creates a response to parse from ConnectDatabase response

type CreateDatabaseAccessPointRequest

type CreateDatabaseAccessPointRequest struct {
	*requests.RpcRequest
	VpcAZone     string `position:"Body" name:"VpcAZone"`
	ClientToken  string `position:"Body" name:"ClientToken"`
	DbInstanceId string `position:"Body" name:"DbInstanceId"`
	VpcRegionId  string `position:"Body" name:"VpcRegionId"`
	VSwitchId    string `position:"Body" name:"VSwitchId"`
	VpcId        string `position:"Body" name:"VpcId"`
}

CreateDatabaseAccessPointRequest is the request struct for api CreateDatabaseAccessPoint

func CreateCreateDatabaseAccessPointRequest

func CreateCreateDatabaseAccessPointRequest() (request *CreateDatabaseAccessPointRequest)

CreateCreateDatabaseAccessPointRequest creates a request to invoke CreateDatabaseAccessPoint API

type CreateDatabaseAccessPointResponse

type CreateDatabaseAccessPointResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

CreateDatabaseAccessPointResponse is the response struct for api CreateDatabaseAccessPoint

func CreateCreateDatabaseAccessPointResponse

func CreateCreateDatabaseAccessPointResponse() (response *CreateDatabaseAccessPointResponse)

CreateCreateDatabaseAccessPointResponse creates a response to parse from CreateDatabaseAccessPoint response

type CreateGatewayRequest

type CreateGatewayRequest struct {
	*requests.RpcRequest
	GatewayDesc string `position:"Body" name:"GatewayDesc"`
	GatewayName string `position:"Body" name:"GatewayName"`
}

CreateGatewayRequest is the request struct for api CreateGateway

func CreateCreateGatewayRequest

func CreateCreateGatewayRequest() (request *CreateGatewayRequest)

CreateCreateGatewayRequest creates a request to invoke CreateGateway API

type CreateGatewayResponse

type CreateGatewayResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

CreateGatewayResponse is the response struct for api CreateGateway

func CreateCreateGatewayResponse

func CreateCreateGatewayResponse() (response *CreateGatewayResponse)

CreateCreateGatewayResponse creates a response to parse from CreateGateway response

type CreateGatewayVerifyCodeRequest

type CreateGatewayVerifyCodeRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

CreateGatewayVerifyCodeRequest is the request struct for api CreateGatewayVerifyCode

func CreateCreateGatewayVerifyCodeRequest

func CreateCreateGatewayVerifyCodeRequest() (request *CreateGatewayVerifyCodeRequest)

CreateCreateGatewayVerifyCodeRequest creates a request to invoke CreateGatewayVerifyCode API

type CreateGatewayVerifyCodeResponse

type CreateGatewayVerifyCodeResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

CreateGatewayVerifyCodeResponse is the response struct for api CreateGatewayVerifyCode

func CreateCreateGatewayVerifyCodeResponse

func CreateCreateGatewayVerifyCodeResponse() (response *CreateGatewayVerifyCodeResponse)

CreateCreateGatewayVerifyCodeResponse creates a response to parse from CreateGatewayVerifyCode response

type DeleteDatabaseAccessPointRequest

type DeleteDatabaseAccessPointRequest struct {
	*requests.RpcRequest
	VpcAZone     string `position:"Body" name:"VpcAZone"`
	VpcRegionId  string `position:"Body" name:"VpcRegionId"`
	VSwitchId    string `position:"Body" name:"VSwitchId"`
	VpcId        string `position:"Body" name:"VpcId"`
	DbInstanceId string `position:"Body" name:"DbInstanceId"`
}

DeleteDatabaseAccessPointRequest is the request struct for api DeleteDatabaseAccessPoint

func CreateDeleteDatabaseAccessPointRequest

func CreateDeleteDatabaseAccessPointRequest() (request *DeleteDatabaseAccessPointRequest)

CreateDeleteDatabaseAccessPointRequest creates a request to invoke DeleteDatabaseAccessPoint API

type DeleteDatabaseAccessPointResponse

type DeleteDatabaseAccessPointResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

DeleteDatabaseAccessPointResponse is the response struct for api DeleteDatabaseAccessPoint

func CreateDeleteDatabaseAccessPointResponse

func CreateDeleteDatabaseAccessPointResponse() (response *DeleteDatabaseAccessPointResponse)

CreateDeleteDatabaseAccessPointResponse creates a response to parse from DeleteDatabaseAccessPoint response

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Body" name:"InstanceId"`
}

DeleteDatabaseRequest is the request struct for api DeleteDatabase

func CreateDeleteDatabaseRequest

func CreateDeleteDatabaseRequest() (request *DeleteDatabaseRequest)

CreateDeleteDatabaseRequest creates a request to invoke DeleteDatabase API

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

DeleteDatabaseResponse is the response struct for api DeleteDatabase

func CreateDeleteDatabaseResponse

func CreateDeleteDatabaseResponse() (response *DeleteDatabaseResponse)

CreateDeleteDatabaseResponse creates a response to parse from DeleteDatabase response

type DeleteGatewayInstanceRequest

type DeleteGatewayInstanceRequest struct {
	*requests.RpcRequest
	GatewayInstanceId string `position:"Body" name:"GatewayInstanceId"`
	GatewayId         string `position:"Body" name:"GatewayId"`
}

DeleteGatewayInstanceRequest is the request struct for api DeleteGatewayInstance

func CreateDeleteGatewayInstanceRequest

func CreateDeleteGatewayInstanceRequest() (request *DeleteGatewayInstanceRequest)

CreateDeleteGatewayInstanceRequest creates a request to invoke DeleteGatewayInstance API

type DeleteGatewayInstanceResponse

type DeleteGatewayInstanceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

DeleteGatewayInstanceResponse is the response struct for api DeleteGatewayInstance

func CreateDeleteGatewayInstanceResponse

func CreateDeleteGatewayInstanceResponse() (response *DeleteGatewayInstanceResponse)

CreateDeleteGatewayInstanceResponse creates a response to parse from DeleteGatewayInstance response

type DeleteGatewayRequest

type DeleteGatewayRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

DeleteGatewayRequest is the request struct for api DeleteGateway

func CreateDeleteGatewayRequest

func CreateDeleteGatewayRequest() (request *DeleteGatewayRequest)

CreateDeleteGatewayRequest creates a request to invoke DeleteGateway API

type DeleteGatewayResponse

type DeleteGatewayResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

DeleteGatewayResponse is the response struct for api DeleteGateway

func CreateDeleteGatewayResponse

func CreateDeleteGatewayResponse() (response *DeleteGatewayResponse)

CreateDeleteGatewayResponse creates a response to parse from DeleteGateway response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Success   bool    `json:"Success" xml:"Success"`
	Code      string  `json:"Code" xml:"Code"`
	ErrorMsg  string  `json:"ErrorMsg" xml:"ErrorMsg"`
	Regions   Regions `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DownloadGatewayProgramRequest

type DownloadGatewayProgramRequest struct {
	*requests.RpcRequest
	UserOS    string `position:"Body" name:"UserOS"`
	DgVersion string `position:"Body" name:"DgVersion"`
}

DownloadGatewayProgramRequest is the request struct for api DownloadGatewayProgram

func CreateDownloadGatewayProgramRequest

func CreateDownloadGatewayProgramRequest() (request *DownloadGatewayProgramRequest)

CreateDownloadGatewayProgramRequest creates a request to invoke DownloadGatewayProgram API

type DownloadGatewayProgramResponse

type DownloadGatewayProgramResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

DownloadGatewayProgramResponse is the response struct for api DownloadGatewayProgram

func CreateDownloadGatewayProgramResponse

func CreateDownloadGatewayProgramResponse() (response *DownloadGatewayProgramResponse)

CreateDownloadGatewayProgramResponse creates a response to parse from DownloadGatewayProgram response

type FindUserGatewayByIdRequest

type FindUserGatewayByIdRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

FindUserGatewayByIdRequest is the request struct for api FindUserGatewayById

func CreateFindUserGatewayByIdRequest

func CreateFindUserGatewayByIdRequest() (request *FindUserGatewayByIdRequest)

CreateFindUserGatewayByIdRequest creates a request to invoke FindUserGatewayById API

type FindUserGatewayByIdResponse

type FindUserGatewayByIdResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

FindUserGatewayByIdResponse is the response struct for api FindUserGatewayById

func CreateFindUserGatewayByIdResponse

func CreateFindUserGatewayByIdResponse() (response *FindUserGatewayByIdResponse)

CreateFindUserGatewayByIdResponse creates a response to parse from FindUserGatewayById response

type GetUserDatabasesRequest

type GetUserDatabasesRequest struct {
	*requests.RpcRequest
	SearchKey  string           `position:"Body" name:"SearchKey"`
	PageNumber string           `position:"Body" name:"PageNumber"`
	PageSize   string           `position:"Body" name:"PageSize"`
	Host       string           `position:"Body" name:"Host"`
	GatewayId  string           `position:"Body" name:"GatewayId"`
	InstanceId string           `position:"Body" name:"InstanceId"`
	Port       requests.Integer `position:"Body" name:"Port"`
	DbType     string           `position:"Body" name:"DbType"`
}

GetUserDatabasesRequest is the request struct for api GetUserDatabases

func CreateGetUserDatabasesRequest

func CreateGetUserDatabasesRequest() (request *GetUserDatabasesRequest)

CreateGetUserDatabasesRequest creates a request to invoke GetUserDatabases API

type GetUserDatabasesResponse

type GetUserDatabasesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   string `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
	Count     int    `json:"Count" xml:"Count"`
}

GetUserDatabasesResponse is the response struct for api GetUserDatabases

func CreateGetUserDatabasesResponse

func CreateGetUserDatabasesResponse() (response *GetUserDatabasesResponse)

CreateGetUserDatabasesResponse creates a response to parse from GetUserDatabases response

type GetUserGatewayInstancesRequest

type GetUserGatewayInstancesRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

GetUserGatewayInstancesRequest is the request struct for api GetUserGatewayInstances

func CreateGetUserGatewayInstancesRequest

func CreateGetUserGatewayInstancesRequest() (request *GetUserGatewayInstancesRequest)

CreateGetUserGatewayInstancesRequest creates a request to invoke GetUserGatewayInstances API

type GetUserGatewayInstancesResponse

type GetUserGatewayInstancesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

GetUserGatewayInstancesResponse is the response struct for api GetUserGatewayInstances

func CreateGetUserGatewayInstancesResponse

func CreateGetUserGatewayInstancesResponse() (response *GetUserGatewayInstancesResponse)

CreateGetUserGatewayInstancesResponse creates a response to parse from GetUserGatewayInstances response

type GetUserGatewaysRequest

type GetUserGatewaysRequest struct {
	*requests.RpcRequest
	SearchKey  string           `position:"Body" name:"SearchKey"`
	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
	PageSize   requests.Integer `position:"Body" name:"PageSize"`
}

GetUserGatewaysRequest is the request struct for api GetUserGateways

func CreateGetUserGatewaysRequest

func CreateGetUserGatewaysRequest() (request *GetUserGatewaysRequest)

CreateGetUserGatewaysRequest creates a request to invoke GetUserGateways API

type GetUserGatewaysResponse

type GetUserGatewaysResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
	Count     int    `json:"Count" xml:"Count"`
}

GetUserGatewaysResponse is the response struct for api GetUserGateways

func CreateGetUserGatewaysResponse

func CreateGetUserGatewaysResponse() (response *GetUserGatewaysResponse)

CreateGetUserGatewaysResponse creates a response to parse from GetUserGateways response

type ListDatabaseAccessPointRequest

type ListDatabaseAccessPointRequest struct {
	*requests.RpcRequest
	SearchKey    string           `position:"Body" name:"SearchKey"`
	PageNumber   string           `position:"Body" name:"PageNumber"`
	PageSize     string           `position:"Body" name:"PageSize"`
	Host         string           `position:"Body" name:"Host"`
	DbInstanceId string           `position:"Body" name:"DbInstanceId"`
	GatewayId    string           `position:"Body" name:"GatewayId"`
	Port         requests.Integer `position:"Body" name:"Port"`
	VpcId        string           `position:"Body" name:"VpcId"`
}

ListDatabaseAccessPointRequest is the request struct for api ListDatabaseAccessPoint

func CreateListDatabaseAccessPointRequest

func CreateListDatabaseAccessPointRequest() (request *ListDatabaseAccessPointRequest)

CreateListDatabaseAccessPointRequest creates a request to invoke ListDatabaseAccessPoint API

type ListDatabaseAccessPointResponse

type ListDatabaseAccessPointResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   string `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
	Count     int    `json:"Count" xml:"Count"`
}

ListDatabaseAccessPointResponse is the response struct for api ListDatabaseAccessPoint

func CreateListDatabaseAccessPointResponse

func CreateListDatabaseAccessPointResponse() (response *ListDatabaseAccessPointResponse)

CreateListDatabaseAccessPointResponse creates a response to parse from ListDatabaseAccessPoint response

type ModifyDatabaseRequest

type ModifyDatabaseRequest struct {
	*requests.RpcRequest
	Host          string           `position:"Body" name:"Host"`
	DbUserName    string           `position:"Body" name:"DbUserName"`
	DbDescription string           `position:"Body" name:"DbDescription"`
	InstanceId    string           `position:"Body" name:"InstanceId"`
	DbName        string           `position:"Body" name:"DbName"`
	Port          requests.Integer `position:"Body" name:"Port"`
	DbPassword    string           `position:"Body" name:"DbPassword"`
	DbType        string           `position:"Body" name:"DbType"`
}

ModifyDatabaseRequest is the request struct for api ModifyDatabase

func CreateModifyDatabaseRequest

func CreateModifyDatabaseRequest() (request *ModifyDatabaseRequest)

CreateModifyDatabaseRequest creates a request to invoke ModifyDatabase API

type ModifyDatabaseResponse

type ModifyDatabaseResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

ModifyDatabaseResponse is the response struct for api ModifyDatabase

func CreateModifyDatabaseResponse

func CreateModifyDatabaseResponse() (response *ModifyDatabaseResponse)

CreateModifyDatabaseResponse creates a response to parse from ModifyDatabase response

type ModifyGatewayRequest

type ModifyGatewayRequest struct {
	*requests.RpcRequest
	GatewayDesc string `position:"Body" name:"GatewayDesc"`
	GatewayName string `position:"Body" name:"GatewayName"`
	GatewayId   string `position:"Body" name:"GatewayId"`
}

ModifyGatewayRequest is the request struct for api ModifyGateway

func CreateModifyGatewayRequest

func CreateModifyGatewayRequest() (request *ModifyGatewayRequest)

CreateModifyGatewayRequest creates a request to invoke ModifyGateway API

type ModifyGatewayResponse

type ModifyGatewayResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

ModifyGatewayResponse is the response struct for api ModifyGateway

func CreateModifyGatewayResponse

func CreateModifyGatewayResponse() (response *ModifyGatewayResponse)

CreateModifyGatewayResponse creates a response to parse from ModifyGateway response

type Region

type Region struct {
	RegionId       string `json:"RegionId" xml:"RegionId"`
	LocalName      string `json:"LocalName" xml:"LocalName"`
	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
}

Region is a nested struct in dg response

type Regions

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in dg response

type RetryDatabaseRequest

type RetryDatabaseRequest struct {
	*requests.RpcRequest
	ClientToken   string           `position:"Body" name:"ClientToken"`
	Host          string           `position:"Body" name:"Host"`
	DbUserName    string           `position:"Body" name:"DbUserName"`
	DbDescription string           `position:"Body" name:"DbDescription"`
	GatewayId     string           `position:"Body" name:"GatewayId"`
	DbName        string           `position:"Body" name:"DbName"`
	Port          requests.Integer `position:"Body" name:"Port"`
	DbPassword    string           `position:"Body" name:"DbPassword"`
	DbType        string           `position:"Body" name:"DbType"`
}

RetryDatabaseRequest is the request struct for api RetryDatabase

func CreateRetryDatabaseRequest

func CreateRetryDatabaseRequest() (request *RetryDatabaseRequest)

CreateRetryDatabaseRequest creates a request to invoke RetryDatabase API

type RetryDatabaseResponse

type RetryDatabaseResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

RetryDatabaseResponse is the response struct for api RetryDatabase

func CreateRetryDatabaseResponse

func CreateRetryDatabaseResponse() (response *RetryDatabaseResponse)

CreateRetryDatabaseResponse creates a response to parse from RetryDatabase response

type StopGatewayRequest

type StopGatewayRequest struct {
	*requests.RpcRequest
	GatewayInstanceId string `position:"Body" name:"GatewayInstanceId"`
	GatewayId         string `position:"Body" name:"GatewayId"`
}

StopGatewayRequest is the request struct for api StopGateway

func CreateStopGatewayRequest

func CreateStopGatewayRequest() (request *StopGatewayRequest)

CreateStopGatewayRequest creates a request to invoke StopGateway API

type StopGatewayResponse

type StopGatewayResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	Data      string `json:"Data" xml:"Data"`
}

StopGatewayResponse is the response struct for api StopGateway

func CreateStopGatewayResponse

func CreateStopGatewayResponse() (response *StopGatewayResponse)

CreateStopGatewayResponse creates a response to parse from StopGateway response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL