apis

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescribeInstanceRequest

type DescribeInstanceRequest struct {
	core.JDCloudRequest

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

	/* 实例ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeInstanceRequest

func NewDescribeInstanceRequest(
	regionId string,
	instanceId string,
) *DescribeInstanceRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceRequestWithAllParams

func NewDescribeInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInstanceRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required)

func NewDescribeInstanceRequestWithoutParam

func NewDescribeInstanceRequestWithoutParam() *DescribeInstanceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceRequest) GetRegionId

func (r DescribeInstanceRequest) GetRegionId() string

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

func (*DescribeInstanceRequest) SetInstanceId

func (r *DescribeInstanceRequest) SetInstanceId(instanceId string)

param instanceId: 实例ID(Required)

func (*DescribeInstanceRequest) SetRegionId

func (r *DescribeInstanceRequest) SetRegionId(regionId string)

param regionId: regionId(Required)

type DescribeInstanceResponse

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

type DescribeInstanceResult

type DescribeInstanceResult struct {
	Instance iotcloudgateway.Instance `json:"instance"`
}

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	core.JDCloudRequest

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

	/* 页码 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest(
	regionId string,
) *DescribeInstancesRequest

* param regionId: regionId (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstancesRequestWithAllParams

func NewDescribeInstancesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
) *DescribeInstancesRequest

* param regionId: regionId (Required) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional)

func NewDescribeInstancesRequestWithoutParam

func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstancesRequest) GetRegionId

func (r DescribeInstancesRequest) GetRegionId() string

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

func (*DescribeInstancesRequest) SetPageNumber

func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码(Optional)

func (*DescribeInstancesRequest) SetPageSize

func (r *DescribeInstancesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小(Optional)

func (*DescribeInstancesRequest) SetRegionId

func (r *DescribeInstancesRequest) SetRegionId(regionId string)

param regionId: regionId(Required)

type DescribeInstancesResponse

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

type DescribeInstancesResult

type DescribeInstancesResult struct {
	Instances  []iotcloudgateway.Instance `json:"instances"`
	TotalCount int                        `json:"totalCount"`
}

type DeviceControlRequest

type DeviceControlRequest struct {
	core.JDCloudRequest

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

	/* 实例ID  */
	InstanceId string `json:"instanceId"`

	/* iotcloudgateway实例下发设备控制指令  */
	Devicecmd *iotcloudgateway.DeviceControlSpec `json:"devicecmd"`
}

func NewDeviceControlRequest

func NewDeviceControlRequest(
	regionId string,
	instanceId string,
	devicecmd *iotcloudgateway.DeviceControlSpec,
) *DeviceControlRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required) * param devicecmd: iotcloudgateway实例下发设备控制指令 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeviceControlRequestWithAllParams

func NewDeviceControlRequestWithAllParams(
	regionId string,
	instanceId string,
	devicecmd *iotcloudgateway.DeviceControlSpec,
) *DeviceControlRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required) * param devicecmd: iotcloudgateway实例下发设备控制指令 (Required)

func NewDeviceControlRequestWithoutParam

func NewDeviceControlRequestWithoutParam() *DeviceControlRequest

This constructor has better compatible ability when API parameters changed

func (DeviceControlRequest) GetRegionId

func (r DeviceControlRequest) GetRegionId() string

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

func (*DeviceControlRequest) SetDevicecmd

func (r *DeviceControlRequest) SetDevicecmd(devicecmd *iotcloudgateway.DeviceControlSpec)

param devicecmd: iotcloudgateway实例下发设备控制指令(Required)

func (*DeviceControlRequest) SetInstanceId

func (r *DeviceControlRequest) SetInstanceId(instanceId string)

param instanceId: 实例ID(Required)

func (*DeviceControlRequest) SetRegionId

func (r *DeviceControlRequest) SetRegionId(regionId string)

param regionId: regionId(Required)

type DeviceControlResponse

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

type DeviceControlResult

type DeviceControlResult struct {
}

type QueryInstanceExposeDomainRequest

type QueryInstanceExposeDomainRequest struct {
	core.JDCloudRequest

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

	/* 实例ID  */
	InstanceId string `json:"instanceId"`
}

func NewQueryInstanceExposeDomainRequest

func NewQueryInstanceExposeDomainRequest(
	regionId string,
	instanceId string,
) *QueryInstanceExposeDomainRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQueryInstanceExposeDomainRequestWithAllParams

func NewQueryInstanceExposeDomainRequestWithAllParams(
	regionId string,
	instanceId string,
) *QueryInstanceExposeDomainRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required)

func NewQueryInstanceExposeDomainRequestWithoutParam

func NewQueryInstanceExposeDomainRequestWithoutParam() *QueryInstanceExposeDomainRequest

This constructor has better compatible ability when API parameters changed

func (QueryInstanceExposeDomainRequest) GetRegionId

func (r QueryInstanceExposeDomainRequest) GetRegionId() string

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

func (*QueryInstanceExposeDomainRequest) SetInstanceId

func (r *QueryInstanceExposeDomainRequest) SetInstanceId(instanceId string)

param instanceId: 实例ID(Required)

func (*QueryInstanceExposeDomainRequest) SetRegionId

func (r *QueryInstanceExposeDomainRequest) SetRegionId(regionId string)

param regionId: regionId(Required)

type QueryInstanceExposeDomainResponse

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

type QueryInstanceExposeDomainResult

type QueryInstanceExposeDomainResult struct {
	Iotgwd string `json:"iotgwd"`
	Iotgwu string `json:"iotgwu"`
}

type QueryInstanceStatusRequest

type QueryInstanceStatusRequest struct {
	core.JDCloudRequest

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

	/* 实例ID  */
	InstanceId string `json:"instanceId"`
}

func NewQueryInstanceStatusRequest

func NewQueryInstanceStatusRequest(
	regionId string,
	instanceId string,
) *QueryInstanceStatusRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQueryInstanceStatusRequestWithAllParams

func NewQueryInstanceStatusRequestWithAllParams(
	regionId string,
	instanceId string,
) *QueryInstanceStatusRequest

* param regionId: regionId (Required) * param instanceId: 实例ID (Required)

func NewQueryInstanceStatusRequestWithoutParam

func NewQueryInstanceStatusRequestWithoutParam() *QueryInstanceStatusRequest

This constructor has better compatible ability when API parameters changed

func (QueryInstanceStatusRequest) GetRegionId

func (r QueryInstanceStatusRequest) GetRegionId() string

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

func (*QueryInstanceStatusRequest) SetInstanceId

func (r *QueryInstanceStatusRequest) SetInstanceId(instanceId string)

param instanceId: 实例ID(Required)

func (*QueryInstanceStatusRequest) SetRegionId

func (r *QueryInstanceStatusRequest) SetRegionId(regionId string)

param regionId: regionId(Required)

type QueryInstanceStatusResponse

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

type QueryInstanceStatusResult

type QueryInstanceStatusResult struct {
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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