model

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 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 {
	AgentId string `json:"agent_id"`

	Status int32 `json:"status"`
}

func (AgentSwitchRequest) String

func (o AgentSwitchRequest) String() string

type BatchSwitchesRequest

type BatchSwitchesRequest struct {
	Ids *string `json:"ids,omitempty"`

	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

type BatchSwitchesRequestStatusEnum

type BatchSwitchesRequestStatusEnum struct {
	OFF BatchSwitchesRequestStatus
	ON  BatchSwitchesRequestStatus
}

func GetBatchSwitchesRequestStatusEnum

func GetBatchSwitchesRequestStatusEnum() BatchSwitchesRequestStatusEnum

type SwitchAgentRequest

type SwitchAgentRequest struct {
	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 {
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SwitchAgentResponse) String

func (o SwitchAgentResponse) String() string

type SwitchRiskRuleRequest

type SwitchRiskRuleRequest struct {
	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 {
	Status         *string `json:"status,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