mozivds

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mozivds 包含MOZI 租户相关结构体

https://open.taobao.com/API.htm?docType=2&docId=51055

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTenantAdminsRequest

type AddTenantAdminsRequest struct {
	// 人员code
	EmployeeCodes []string `json:"employee_codes,omitempty" xml:"employee_codes>string,omitempty"`
	// 操作人
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 请求元数据
	RequestMetaData string `json:"request_meta_data,omitempty" xml:"request_meta_data,omitempty"`
	// 租户Id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 是否主管理员
	PrimaryAdmin bool `json:"primary_admin,omitempty" xml:"primary_admin,omitempty"`
}

AddTenantAdminsRequest 结构体

type AddTenantAdminsResult

type AddTenantAdminsResult struct {
	// 请求id
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回msg
	ResponseMessage string `json:"response_message,omitempty" xml:"response_message,omitempty"`
	// 返回data
	ResponseMetaData string `json:"response_meta_data,omitempty" xml:"response_meta_data,omitempty"`
	// 返回Code
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AddTenantAdminsResult 结构体

type AlibabamozivdstenantapiserviceaddadminAPIRequest added in v1.3.1

type AlibabamozivdstenantapiserviceaddadminAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabamozivdstenantapiserviceaddadminAPIRequest 新建租户管理员 API请求 alibaba.mozi.vds.tenant.api.service.addadmin

新建租户管理员 alibaba.mozi.vds.tenant.api.service.addadmin

func NewAlibabamozivdstenantapiserviceaddadminRequest added in v1.3.1

func NewAlibabamozivdstenantapiserviceaddadminRequest() *AlibabamozivdstenantapiserviceaddadminAPIRequest

NewAlibabamozivdstenantapiserviceaddadminRequest 初始化AlibabamozivdstenantapiserviceaddadminAPIRequest对象

func (AlibabamozivdstenantapiserviceaddadminAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamozivdstenantapiserviceaddadminAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamozivdstenantapiserviceaddadminAPIRequest) GetParam0 added in v1.3.1

GetParam0 Param0 Getter

func (AlibabamozivdstenantapiserviceaddadminAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamozivdstenantapiserviceaddadminAPIRequest) SetParam0 added in v1.3.1

SetParam0 is Param0 Setter 请求参数

type AlibabamozivdstenantapiserviceaddadminAPIResponse added in v1.3.1

type AlibabamozivdstenantapiserviceaddadminAPIResponse struct {
	model.CommonResponse
	AlibabamozivdstenantapiserviceaddadminAPIResponseModel
}

AlibabamozivdstenantapiserviceaddadminAPIResponse 新建租户管理员 API返回值 alibaba.mozi.vds.tenant.api.service.addadmin

新建租户管理员 alibaba.mozi.vds.tenant.api.service.addadmin

type AlibabamozivdstenantapiserviceaddadminAPIResponseModel added in v1.3.1

type AlibabamozivdstenantapiserviceaddadminAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mozi_vds_tenant_api_service_addadmin_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *AddTenantAdminsResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabamozivdstenantapiserviceaddadminAPIResponseModel is 新建租户管理员 成功返回结果

type AlibabamozivdstenantapiserviceremoveadminAPIRequest added in v1.3.1

type AlibabamozivdstenantapiserviceremoveadminAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabamozivdstenantapiserviceremoveadminAPIRequest 删除租户管理员服务 API请求 alibaba.mozi.vds.tenant.api.service.removeadmin

删除租户管理员top服务

func NewAlibabamozivdstenantapiserviceremoveadminRequest added in v1.3.1

func NewAlibabamozivdstenantapiserviceremoveadminRequest() *AlibabamozivdstenantapiserviceremoveadminAPIRequest

NewAlibabamozivdstenantapiserviceremoveadminRequest 初始化AlibabamozivdstenantapiserviceremoveadminAPIRequest对象

func (AlibabamozivdstenantapiserviceremoveadminAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabamozivdstenantapiserviceremoveadminAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabamozivdstenantapiserviceremoveadminAPIRequest) GetParam added in v1.3.1

GetParam Param Getter

func (AlibabamozivdstenantapiserviceremoveadminAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabamozivdstenantapiserviceremoveadminAPIRequest) SetParam added in v1.3.1

SetParam is Param Setter 请求入参

type AlibabamozivdstenantapiserviceremoveadminAPIResponse added in v1.3.1

type AlibabamozivdstenantapiserviceremoveadminAPIResponse struct {
	model.CommonResponse
	AlibabamozivdstenantapiserviceremoveadminAPIResponseModel
}

AlibabamozivdstenantapiserviceremoveadminAPIResponse 删除租户管理员服务 API返回值 alibaba.mozi.vds.tenant.api.service.removeadmin

删除租户管理员top服务

type AlibabamozivdstenantapiserviceremoveadminAPIResponseModel added in v1.3.1

type AlibabamozivdstenantapiserviceremoveadminAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mozi_vds_tenant_api_service_removeadmin_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *RemoveTenantAdminsResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabamozivdstenantapiserviceremoveadminAPIResponseModel is 删除租户管理员服务 成功返回结果

type RemoveTenantAdminsRequest

type RemoveTenantAdminsRequest struct {
	// 人员Code列表
	EmployeeCodes []string `json:"employee_codes,omitempty" xml:"employee_codes>string,omitempty"`
	// 操作人
	Operator string `json:"operator,omitempty" xml:"operator,omitempty"`
	// 请求元数据
	RequestMetaData string `json:"request_meta_data,omitempty" xml:"request_meta_data,omitempty"`
	// 租户Id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
}

RemoveTenantAdminsRequest 结构体

type RemoveTenantAdminsResult

type RemoveTenantAdminsResult struct {
	// 请求id
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回消息
	ResponseMessage string `json:"response_message,omitempty" xml:"response_message,omitempty"`
	// 返回元数据
	ResponseMetaData string `json:"response_meta_data,omitempty" xml:"response_meta_data,omitempty"`
	// 返回Code
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RemoveTenantAdminsResult 结构体

Jump to

Keyboard shortcuts

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