model

package
v0.0.104 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentSwitchRequest

type AgentSwitchRequest struct {

	// 审计agent的ID
	AgentId string `json:"agent_id"`

	// Agent开关状态 1:开启 0:关闭
	Status int32 `json:"status"`
}

func (AgentSwitchRequest) String

func (o AgentSwitchRequest) String() string

type BatchSwitchesRequest

type BatchSwitchesRequest struct {

	// risk id, ids 中间逗号分隔
	Ids *string `json:"ids,omitempty"`

	// OFF:关闭 ON:开启
	Status *BatchSwitchesRequestStatus `json:"status,omitempty"`
}

func (BatchSwitchesRequest) String

func (o BatchSwitchesRequest) String() string

type BatchSwitchesRequestStatus

type BatchSwitchesRequestStatus struct {
	// contains filtered or unexported fields
}

func (BatchSwitchesRequestStatus) MarshalJSON

func (c BatchSwitchesRequestStatus) MarshalJSON() ([]byte, error)

func (*BatchSwitchesRequestStatus) UnmarshalJSON

func (c *BatchSwitchesRequestStatus) UnmarshalJSON(b []byte) error

func (BatchSwitchesRequestStatus) Value added in v0.0.90

type BatchSwitchesRequestStatusEnum

type BatchSwitchesRequestStatusEnum struct {
	OFF BatchSwitchesRequestStatus
	ON  BatchSwitchesRequestStatus
}

func GetBatchSwitchesRequestStatusEnum

func GetBatchSwitchesRequestStatusEnum() BatchSwitchesRequestStatusEnum

type SwitchAgentRequest

type SwitchAgentRequest struct {

	// instance_id
	InstanceId string `json:"instance_id"`

	Body *AgentSwitchRequest `json:"body,omitempty"`
}

Request Object

func (SwitchAgentRequest) String

func (o SwitchAgentRequest) String() string

type SwitchAgentResponse

type SwitchAgentResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SwitchAgentResponse) String

func (o SwitchAgentResponse) String() string

type SwitchRiskRuleRequest

type SwitchRiskRuleRequest struct {

	// instance_id
	InstanceId string `json:"instance_id"`

	Body *BatchSwitchesRequest `json:"body,omitempty"`
}

Request Object

func (SwitchRiskRuleRequest) String

func (o SwitchRiskRuleRequest) String() string

type SwitchRiskRuleResponse

type SwitchRiskRuleResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SwitchRiskRuleResponse) String

func (o SwitchRiskRuleResponse) String() string

Jump to

Keyboard shortcuts

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