apis

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSecurityTokenRequest

type GetSecurityTokenRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 获取SecurityToken参数  */
	GetSecurityTokenInfo *sop.GetSecurityTokenInfo `json:"getSecurityTokenInfo"`
}

func NewGetSecurityTokenRequest

func NewGetSecurityTokenRequest(
	regionId string,
	getSecurityTokenInfo *sop.GetSecurityTokenInfo,
) *GetSecurityTokenRequest

* param regionId: Region ID (Required) * param getSecurityTokenInfo: 获取SecurityToken参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetSecurityTokenRequestWithAllParams

func NewGetSecurityTokenRequestWithAllParams(
	regionId string,
	getSecurityTokenInfo *sop.GetSecurityTokenInfo,
) *GetSecurityTokenRequest

* param regionId: Region ID (Required) * param getSecurityTokenInfo: 获取SecurityToken参数 (Required)

func NewGetSecurityTokenRequestWithoutParam

func NewGetSecurityTokenRequestWithoutParam() *GetSecurityTokenRequest

This constructor has better compatible ability when API parameters changed

func (GetSecurityTokenRequest) GetRegionId

func (r GetSecurityTokenRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetSecurityTokenRequest) SetGetSecurityTokenInfo

func (r *GetSecurityTokenRequest) SetGetSecurityTokenInfo(getSecurityTokenInfo *sop.GetSecurityTokenInfo)

param getSecurityTokenInfo: 获取SecurityToken参数(Required)

func (*GetSecurityTokenRequest) SetRegionId

func (r *GetSecurityTokenRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type GetSecurityTokenResponse

type GetSecurityTokenResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    GetSecurityTokenResult `json:"result"`
}

type GetSecurityTokenResult

type GetSecurityTokenResult struct {
	SecurityToken string `json:"securityToken"`
}

type GetSensitiveOpSettingRequest

type GetSensitiveOpSettingRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 操作action serviceName:actionName  */
	Action string `json:"action"`
}

func NewGetSensitiveOpSettingRequest

func NewGetSensitiveOpSettingRequest(
	regionId string,
	action string,
) *GetSensitiveOpSettingRequest

* param regionId: Region ID (Required) * param action: 操作action serviceName:actionName (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetSensitiveOpSettingRequestWithAllParams

func NewGetSensitiveOpSettingRequestWithAllParams(
	regionId string,
	action string,
) *GetSensitiveOpSettingRequest

* param regionId: Region ID (Required) * param action: 操作action serviceName:actionName (Required)

func NewGetSensitiveOpSettingRequestWithoutParam

func NewGetSensitiveOpSettingRequestWithoutParam() *GetSensitiveOpSettingRequest

This constructor has better compatible ability when API parameters changed

func (GetSensitiveOpSettingRequest) GetRegionId

func (r GetSensitiveOpSettingRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetSensitiveOpSettingRequest) SetAction

func (r *GetSensitiveOpSettingRequest) SetAction(action string)

param action: 操作action serviceName:actionName(Required)

func (*GetSensitiveOpSettingRequest) SetRegionId

func (r *GetSensitiveOpSettingRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type GetSensitiveOpSettingResponse

type GetSensitiveOpSettingResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    GetSensitiveOpSettingResult `json:"result"`
}

type GetSensitiveOpSettingResult

type GetSensitiveOpSettingResult struct {
	Status  int    `json:"status"`
	Type    int    `json:"type"`
	ExtInfo string `json:"extInfo"`
}

Jump to

Keyboard shortcuts

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