oms

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Oms"
	Style   = "RPC"
	Version = "2015-02-12"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) GetProductDefine

func (api API) GetProductDefine(DataType, ProductName string, optional openapi.M) (*GetProductDefineResponse, error)

GetProductDefine version 2015-02-12

required parameters:

name: DataType, type: string
name: ProductName, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) GetUserData

func (api API) GetUserData(DataType, EndTime, ProductName, StartTime string, optional openapi.M) (*GetUserDataResponse, error)

GetUserData version 2015-02-12

required parameters:

name: DataType, type: string
name: EndTime, type: string
name: ProductName, type: string
name: StartTime, type: string

optional parameters:

name: MaxResult, type: int, min value: 1, max value: 200
name: NextToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type GetProductDefineResponse

type GetProductDefineResponse struct {
	DataType    string
	ProductList struct {
		Product []struct {
			ProductName string
			TypeList    struct {
				Type []struct {
					DataType string
				}
			}
		}
	}
	ProductName string
}

GetProductDefineResponse represents the response of the api GetProductDefine.

type GetUserDataResponse

type GetUserDataResponse struct {
	DataList struct {
		Data []struct {
			DataItems struct {
				DataItem []struct {
					Name  string
					Value string
				}
			}
		}
	}
	DataType    string
	NextToken   string
	ProductName string
}

GetUserDataResponse represents the response of the api GetUserData.

Jump to

Keyboard shortcuts

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