client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ReleaseInstance

func (client *Client) ReleaseInstance(request *ReleaseInstanceRequest) (_result *ReleaseInstanceResponse, _err error)

func (*Client) ReleaseInstanceWithOptions

func (client *Client) ReleaseInstanceWithOptions(request *ReleaseInstanceRequest, runtime *util.RuntimeOptions) (_result *ReleaseInstanceResponse, _err error)

type ReleaseInstanceRequest

type ReleaseInstanceRequest struct {
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	RegionId   *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ReleaseInstanceRequest) GoString

func (s ReleaseInstanceRequest) GoString() string

func (*ReleaseInstanceRequest) SetInstanceId

func (*ReleaseInstanceRequest) SetRegionId

func (ReleaseInstanceRequest) String

func (s ReleaseInstanceRequest) String() string

type ReleaseInstanceResponse

type ReleaseInstanceResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReleaseInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReleaseInstanceResponse) GoString

func (s ReleaseInstanceResponse) GoString() string

func (*ReleaseInstanceResponse) SetBody

func (*ReleaseInstanceResponse) SetHeaders

func (*ReleaseInstanceResponse) SetStatusCode

func (ReleaseInstanceResponse) String

func (s ReleaseInstanceResponse) String() string

type ReleaseInstanceResponseBody

type ReleaseInstanceResponseBody struct {
	Code      *string `json:"Code,omitempty" xml:"Code,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool   `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ReleaseInstanceResponseBody) GoString

func (s ReleaseInstanceResponseBody) GoString() string

func (*ReleaseInstanceResponseBody) SetCode

func (*ReleaseInstanceResponseBody) SetRequestId

func (*ReleaseInstanceResponseBody) SetSuccess

func (ReleaseInstanceResponseBody) String

Jump to

Keyboard shortcuts

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