model

package
v0.1.59 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMultiActiveZoneSpec

type BaseMultiActiveZoneSpec struct {
}

func (BaseMultiActiveZoneSpec) String

func (o BaseMultiActiveZoneSpec) String() string

type DataSyncStatistics

type DataSyncStatistics struct {
	AbnormalCount *int32 `json:"abnormal_count,omitempty"`

	RunningCount *int32 `json:"running_count,omitempty"`

	TypeTwoWayCount *int32 `json:"type_two_way_count,omitempty"`

	TypeUnidirectionalCount *int32 `json:"type_unidirectional_count,omitempty"`
}

func (DataSyncStatistics) String

func (o DataSyncStatistics) String() string

type DatasourceStatistics

type DatasourceStatistics struct {
	Count *int32 `json:"count,omitempty"`

	MysqlCount *int32 `json:"mysql_count,omitempty"`
}

func (DatasourceStatistics) String

func (o DatasourceStatistics) String() string

type MultiActiveZoneVo

type MultiActiveZoneVo struct {
	AvailableZone *[]string `json:"available_zone,omitempty"`

	CreatedDate *sdktime.SdkTime `json:"created_date,omitempty"`

	Description *string `json:"description,omitempty"`

	Id *string `json:"id,omitempty"`

	IsMaster *bool `json:"is_master,omitempty"`

	Name *string `json:"name,omitempty"`

	NamespaceId *string `json:"namespace_id,omitempty"`

	Region *string `json:"region,omitempty"`

	RegionName *string `json:"region_name,omitempty"`

	Spec *BaseMultiActiveZoneSpec `json:"spec,omitempty"`

	Type *int32 `json:"type,omitempty"`

	UpdatedDate *sdktime.SdkTime `json:"updated_date,omitempty"`
}

func (MultiActiveZoneVo) String

func (o MultiActiveZoneVo) String() string

type NamespaceVo

type NamespaceVo struct {
	CreatedDate *sdktime.SdkTime `json:"created_date,omitempty"`

	DataSyncStatistics *DataSyncStatistics `json:"data_sync_statistics,omitempty"`

	DatasourceStatistics *DatasourceStatistics `json:"datasource_statistics,omitempty"`

	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Id *string `json:"id,omitempty"`

	IsUsed *bool `json:"is_used,omitempty"`

	MultiActiveZone *[]MultiActiveZoneVo `json:"multi_active_zone,omitempty"`

	Name *string `json:"name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	Type *int32 `json:"type,omitempty"`

	UpdatedDate *sdktime.SdkTime `json:"updated_date,omitempty"`

	UserId *string `json:"user_id,omitempty"`
}

func (NamespaceVo) String

func (o NamespaceVo) String() string

type ShowNameSpaceListRequest

type ShowNameSpaceListRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *string `json:"limit,omitempty"`

	// 命名空间名称
	Name *string `json:"name,omitempty"`

	// 多活类型,1:同城多活,2:异地多活
	Type *string `json:"type,omitempty"`

	// 是否已被使用   true  :是   false  :否
	IsUsed *string `json:"is_used,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ShowNameSpaceListRequest Request Object

func (ShowNameSpaceListRequest) String

func (o ShowNameSpaceListRequest) String() string

type ShowNameSpaceListResponse

type ShowNameSpaceListResponse struct {
	Body           *[]NamespaceVo `json:"body,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowNameSpaceListResponse Response Object

func (ShowNameSpaceListResponse) String

func (o ShowNameSpaceListResponse) String() string

Jump to

Keyboard shortcuts

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