model

package
v0.0.59 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasTarget

type AliasTarget struct {
	ResourceType *string `json:"resource_type,omitempty"`

	ResourceDomainName *string `json:"resource_domain_name,omitempty"`
}

func (AliasTarget) String

func (o AliasTarget) String() string

type AssociateRouterReq

type AssociateRouterReq struct {
	Router *Router `json:"router"`
}

需要关联的Router(VPC)。

func (AssociateRouterReq) String

func (o AssociateRouterReq) String() string

type AssociateRouterRequest

type AssociateRouterRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (AssociateRouterRequest) String

func (o AssociateRouterRequest) String() string

type AssociateRouterResponse

type AssociateRouterResponse struct {
	RouterId *string `json:"router_id,omitempty"`

	RouterRegion *string `json:"router_region,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AssociateRouterResponse) String

func (o AssociateRouterResponse) String() string

type BatchCreateTagRequest

type BatchCreateTagRequest struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`

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

Request Object

func (BatchCreateTagRequest) String

func (o BatchCreateTagRequest) String() string

type BatchCreateTagResponse

type BatchCreateTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateTagResponse) String

func (o BatchCreateTagResponse) String() string

type BatchHandTags

type BatchHandTags struct {
	Tags []Tag `json:"tags"`

	Action string `json:"action"`
}

func (BatchHandTags) String

func (o BatchHandTags) String() string

type CreateCustomLineRequest

type CreateCustomLineRequest struct {
	Body *CreateCustomLines `json:"body,omitempty"`
}

Request Object

func (CreateCustomLineRequest) String

func (o CreateCustomLineRequest) String() string

type CreateCustomLineResponse

type CreateCustomLineResponse struct {
	LineId *string `json:"line_id,omitempty"`

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

	IpSegments *[]string `json:"ip_segments,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCustomLineResponse) String

func (o CreateCustomLineResponse) String() string

type CreateCustomLines

type CreateCustomLines struct {
	Name string `json:"name"`

	IpSegments []string `json:"ip_segments"`

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

func (CreateCustomLines) String

func (o CreateCustomLines) String() string

type CreateEipRecordSetRequest

type CreateEipRecordSetRequest struct {
	Region string `json:"region"`

	FloatingipId string `json:"floatingip_id"`

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

Request Object

func (CreateEipRecordSetRequest) String

func (o CreateEipRecordSetRequest) String() string

type CreateEipRecordSetResponse

type CreateEipRecordSetResponse struct {
	Id *string `json:"id,omitempty"`

	Ptrdname *string `json:"ptrdname,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Address *string `json:"address,omitempty"`

	Status *string `json:"status,omitempty"`

	Action *string `json:"action,omitempty"`

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateEipRecordSetResponse) String

type CreatePrivateZoneReq

type CreatePrivateZoneReq struct {
	Name string `json:"name"`

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

	ZoneType string `json:"zone_type"`

	Email *string `json:"email,omitempty"`

	Ttl *string `json:"ttl,omitempty"`

	Router *Router `json:"router"`

	Tags *[]Tag `json:"tags,omitempty"`

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

func (CreatePrivateZoneReq) String

func (o CreatePrivateZoneReq) String() string

type CreatePrivateZoneRequest

type CreatePrivateZoneRequest struct {
	Body *CreatePrivateZoneReq `json:"body,omitempty"`
}

Request Object

func (CreatePrivateZoneRequest) String

func (o CreatePrivateZoneRequest) String() string

type CreatePrivateZoneResponse

type CreatePrivateZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters *string `json:"masters,omitempty"`

	Router         *RouterWithStatus `json:"router,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (CreatePrivateZoneResponse) String

func (o CreatePrivateZoneResponse) String() string

type CreatePtrReq

type CreatePtrReq struct {
	Ptrdname string `json:"ptrdname"`

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

	Ttl *int32 `json:"ttl,omitempty"`

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

	Tags *[]Tag `json:"tags,omitempty"`
}

func (CreatePtrReq) String

func (o CreatePtrReq) String() string

type CreatePublicZoneReq

type CreatePublicZoneReq struct {
	Name string `json:"name"`

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

	ZoneType *string `json:"zone_type,omitempty"`

	Email *string `json:"email,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

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

	Tags *[]Tag `json:"tags,omitempty"`
}

创建公网zone请求

func (CreatePublicZoneReq) String

func (o CreatePublicZoneReq) String() string

type CreatePublicZoneRequest

type CreatePublicZoneRequest struct {
	Body *CreatePublicZoneReq `json:"body,omitempty"`
}

Request Object

func (CreatePublicZoneRequest) String

func (o CreatePublicZoneRequest) String() string

type CreatePublicZoneResponse

type CreatePublicZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

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

	Masters        *[]string `json:"masters,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreatePublicZoneResponse) String

func (o CreatePublicZoneResponse) String() string

type CreateRecordSetReq

type CreateRecordSetReq struct {
	Name string `json:"name"`

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

	Type string `json:"type"`

	Status *string `json:"status,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Records []string `json:"records"`

	Tags *[]Tag `json:"tags,omitempty"`
}

func (CreateRecordSetReq) String

func (o CreateRecordSetReq) String() string

type CreateRecordSetRequest

type CreateRecordSetRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (CreateRecordSetRequest) String

func (o CreateRecordSetRequest) String() string

type CreateRecordSetResponse

type CreateRecordSetResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreateAt *string `json:"create_at,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateRecordSetResponse) String

func (o CreateRecordSetResponse) String() string

type CreateRecordSetWithLineReq

type CreateRecordSetWithLineReq struct {
	Name string `json:"name"`

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

	Type string `json:"type"`

	Status *string `json:"status,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Records []string `json:"records"`

	Line *string `json:"line,omitempty"`

	Tags *[]Tag `json:"tags,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	AliasTarget *AliasTarget `json:"alias_target,omitempty"`
}

func (CreateRecordSetWithLineReq) String

type CreateRecordSetWithLineRequest

type CreateRecordSetWithLineRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (CreateRecordSetWithLineRequest) String

type CreateRecordSetWithLineResponse

type CreateRecordSetWithLineResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget    *AliasTarget `json:"alias_target,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (CreateRecordSetWithLineResponse) String

type CreateTagReq

type CreateTagReq struct {
	Tag *Tag `json:"tag"`
}

func (CreateTagReq) String

func (o CreateTagReq) String() string

type CreateTagRequest

type CreateTagRequest struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`

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

Request Object

func (CreateTagRequest) String

func (o CreateTagRequest) String() string

type CreateTagResponse

type CreateTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateTagResponse) String

func (o CreateTagResponse) String() string

type DeleteCustomLineRequest

type DeleteCustomLineRequest struct {
	LineId string `json:"line_id"`
}

Request Object

func (DeleteCustomLineRequest) String

func (o DeleteCustomLineRequest) String() string

type DeleteCustomLineResponse

type DeleteCustomLineResponse struct {
	LineId *string `json:"line_id,omitempty"`

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

	IpSegments *[]string `json:"ip_segments,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteCustomLineResponse) String

func (o DeleteCustomLineResponse) String() string

type DeletePrivateZoneRequest

type DeletePrivateZoneRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (DeletePrivateZoneRequest) String

func (o DeletePrivateZoneRequest) String() string

type DeletePrivateZoneResponse

type DeletePrivateZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters *[]string `json:"masters,omitempty"`

	Routers        *[]RouterWithStatus `json:"routers,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (DeletePrivateZoneResponse) String

func (o DeletePrivateZoneResponse) String() string

type DeletePublicZoneRequest

type DeletePublicZoneRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (DeletePublicZoneRequest) String

func (o DeletePublicZoneRequest) String() string

type DeletePublicZoneResponse

type DeletePublicZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Masters *string `json:"masters,omitempty"`

	Links          *[]PageLink `json:"links,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (DeletePublicZoneResponse) String

func (o DeletePublicZoneResponse) String() string

type DeleteRecordSetRequest

type DeleteRecordSetRequest struct {
	ZoneId string `json:"zone_id"`

	RecordsetId string `json:"recordset_id"`
}

Request Object

func (DeleteRecordSetRequest) String

func (o DeleteRecordSetRequest) String() string

type DeleteRecordSetResponse

type DeleteRecordSetResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreateAt *string `json:"create_at,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (DeleteRecordSetResponse) String

func (o DeleteRecordSetResponse) String() string

type DeleteRecordSetsRequest

type DeleteRecordSetsRequest struct {
	ZoneId string `json:"zone_id"`

	RecordsetId string `json:"recordset_id"`
}

Request Object

func (DeleteRecordSetsRequest) String

func (o DeleteRecordSetsRequest) String() string

type DeleteRecordSetsResponse

type DeleteRecordSetsResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget    *AliasTarget `json:"alias_target,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (DeleteRecordSetsResponse) String

func (o DeleteRecordSetsResponse) String() string

type DeleteTagRequest

type DeleteTagRequest struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteTagRequest) String

func (o DeleteTagRequest) String() string

type DeleteTagResponse

type DeleteTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTagResponse) String

func (o DeleteTagResponse) String() string

type DisassociateRouterRequest

type DisassociateRouterRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (DisassociateRouterRequest) String

func (o DisassociateRouterRequest) String() string

type DisassociateRouterResponse

type DisassociateRouterResponse struct {
	RouterId *string `json:"router_id,omitempty"`

	RouterRegion *string `json:"router_region,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DisassociateRouterResponse) String

type DisassociaterouterReq

type DisassociaterouterReq struct {
	Router *Router `json:"router"`
}

需要解关联的Router(VPC)。

func (DisassociaterouterReq) String

func (o DisassociaterouterReq) String() string

type Line

type Line struct {
	LineId *string `json:"line_id,omitempty"`

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

	IpSegments *[]string `json:"ip_segments,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

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

func (Line) String

func (o Line) String() string

type LinksItem

type LinksItem struct {
	Href string `json:"href"`

	Rel string `json:"rel"`
}

指向当前资源或者其他资源的链接。当查询需要分页时,需要包含一个next链接指向下一页。

func (LinksItem) String

func (o LinksItem) String() string

type ListApiVersionsItem

type ListApiVersionsItem struct {
	Status *string `json:"status,omitempty"`

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

	Links *[]LinksItem `json:"links,omitempty"`
}

func (ListApiVersionsItem) String

func (o ListApiVersionsItem) String() string

type ListApiVersionsRequest

type ListApiVersionsRequest struct {
}

Request Object

func (ListApiVersionsRequest) String

func (o ListApiVersionsRequest) String() string

type ListApiVersionsResponse

type ListApiVersionsResponse struct {
	Versions       *ValuesItem `json:"versions,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListApiVersionsResponse) String

func (o ListApiVersionsResponse) String() string

type ListCustomLineRequest

type ListCustomLineRequest struct {
	LineId *string `json:"line_id,omitempty"`

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

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	ShowDetail *bool `json:"show_detail,omitempty"`
}

Request Object

func (ListCustomLineRequest) String

func (o ListCustomLineRequest) String() string

type ListCustomLineResponse

type ListCustomLineResponse struct {
	Lines *[]Line `json:"lines,omitempty"`

	Metadata       *Metedata `json:"metadata,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListCustomLineResponse) String

func (o ListCustomLineResponse) String() string

type ListNameServersRequest

type ListNameServersRequest struct {
	Type *string `json:"type,omitempty"`

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

Request Object

func (ListNameServersRequest) String

func (o ListNameServersRequest) String() string

type ListNameServersResponse

type ListNameServersResponse struct {
	Nameservers    *[]NameServersResp `json:"nameservers,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListNameServersResponse) String

func (o ListNameServersResponse) String() string

type ListPrivateZonesRequest

type ListPrivateZonesRequest struct {
	Type string `json:"type"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Tags *string `json:"tags,omitempty"`

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

	Status *string `json:"status,omitempty"`

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

Request Object

func (ListPrivateZonesRequest) String

func (o ListPrivateZonesRequest) String() string

type ListPrivateZonesResponse

type ListPrivateZonesResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Metadata *Metedata `json:"metadata,omitempty"`

	Zones          *[]PrivateZoneResp `json:"zones,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListPrivateZonesResponse) String

func (o ListPrivateZonesResponse) String() string

type ListPtrRecordsFloatingResp

type ListPtrRecordsFloatingResp struct {
	Id *string `json:"id,omitempty"`

	Ptrdname *string `json:"ptrdname,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Address *string `json:"address,omitempty"`

	Status *string `json:"status,omitempty"`

	Action *string `json:"action,omitempty"`

	Links *PageLink `json:"links,omitempty"`

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

func (ListPtrRecordsFloatingResp) String

type ListPtrRecordsRequest

type ListPtrRecordsRequest struct {
	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

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

	Tags *string `json:"tags,omitempty"`

	Status *string `json:"status,omitempty"`
}

Request Object

func (ListPtrRecordsRequest) String

func (o ListPtrRecordsRequest) String() string

type ListPtrRecordsResponse

type ListPtrRecordsResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Metadata *Metedata `json:"metadata,omitempty"`

	Floatingips    *[]ListPtrRecordsFloatingResp `json:"floatingips,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (ListPtrRecordsResponse) String

func (o ListPtrRecordsResponse) String() string

type ListPublicZonesRequest

type ListPublicZonesRequest struct {
	Type *string `json:"type,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Tags *string `json:"tags,omitempty"`

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

	Status *string `json:"status,omitempty"`

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

Request Object

func (ListPublicZonesRequest) String

func (o ListPublicZonesRequest) String() string

type ListPublicZonesResponse

type ListPublicZonesResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Zones *[]PublicZoneResp `json:"zones,omitempty"`

	Metadata       *Metedata `json:"metadata,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListPublicZonesResponse) String

func (o ListPublicZonesResponse) String() string

type ListRecordSets

type ListRecordSets struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreateAt *string `json:"create_at,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`
}

func (ListRecordSets) String

func (o ListRecordSets) String() string

type ListRecordSetsByZoneRequest

type ListRecordSetsByZoneRequest struct {
	ZoneId string `json:"zone_id"`

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Tags *string `json:"tags,omitempty"`

	Status *string `json:"status,omitempty"`

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

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

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

	SortKey *string `json:"sort_key,omitempty"`

	SortDir *string `json:"sort_dir,omitempty"`
}

Request Object

func (ListRecordSetsByZoneRequest) String

type ListRecordSetsByZoneResponse

type ListRecordSetsByZoneResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Recordsets *[]ListRecordSets `json:"recordsets,omitempty"`

	Metadata       *Metedata `json:"metadata,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRecordSetsByZoneResponse) String

type ListRecordSetsRequest

type ListRecordSetsRequest struct {
	ZoneType *string `json:"zone_type,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Tags *string `json:"tags,omitempty"`

	Status *string `json:"status,omitempty"`

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

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

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

	Records *string `json:"records,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	SortDir *string `json:"sort_dir,omitempty"`
}

Request Object

func (ListRecordSetsRequest) String

func (o ListRecordSetsRequest) String() string

type ListRecordSetsResponse

type ListRecordSetsResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Recordsets *[]ListRecordSets `json:"recordsets,omitempty"`

	Metadata       *Metedata `json:"metadata,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRecordSetsResponse) String

func (o ListRecordSetsResponse) String() string

type ListRecordSetsWithLineRequest

type ListRecordSetsWithLineRequest struct {
	ZoneType *string `json:"zone_type,omitempty"`

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	LineId *string `json:"line_id,omitempty"`

	Tags *string `json:"tags,omitempty"`

	Status *string `json:"status,omitempty"`

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

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

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

	Records *string `json:"records,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	SortDir *string `json:"sort_dir,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	SearchMode *string `json:"search_mode,omitempty"`
}

Request Object

func (ListRecordSetsWithLineRequest) String

type ListRecordSetsWithLineResponse

type ListRecordSetsWithLineResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Recordsets *[]QueryRecordSetWithLineResp `json:"recordsets,omitempty"`

	Metadata       *Metedata `json:"metadata,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRecordSetsWithLineResponse) String

type ListTagReq

type ListTagReq struct {
	Tags *[]TagValues `json:"tags,omitempty"`

	TagsAny *[]interface{} `json:"tags_any,omitempty"`

	NotTags *[]interface{} `json:"not_tags,omitempty"`

	NotTagsAny *[]interface{} `json:"not_tags_any,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Action string `json:"action"`

	Matches *[]Tag `json:"matches,omitempty"`
}

func (ListTagReq) String

func (o ListTagReq) String() string

type ListTagRequest

type ListTagRequest struct {
	ResourceType string `json:"resource_type"`

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

Request Object

func (ListTagRequest) String

func (o ListTagRequest) String() string

type ListTagResponse

type ListTagResponse struct {
	Resources *[]ResourceItem `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListTagResponse) String

func (o ListTagResponse) String() string

type ListTagsRequest

type ListTagsRequest struct {
	ResourceType string `json:"resource_type"`
}

Request Object

func (ListTagsRequest) String

func (o ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {
	Tags           *[]TagValues `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListTagsResponse) String

func (o ListTagsResponse) String() string

type Metedata

type Metedata struct {
	TotalCount *int32 `json:"total_count,omitempty"`
}

func (Metedata) String

func (o Metedata) String() string

type NameServersResp

type NameServersResp struct {
	Type *string `json:"type,omitempty"`

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

	NsRecords *[]NsRecords `json:"ns_records,omitempty"`
}

func (NameServersResp) String

func (o NameServersResp) String() string

type Nameserver

type Nameserver struct {
	Hostname *string `json:"hostname,omitempty"`

	Priority *int32 `json:"priority,omitempty"`
}

func (Nameserver) String

func (o Nameserver) String() string

type NsRecords

type NsRecords struct {
	Hostname *string `json:"hostname,omitempty"`

	Address *string `json:"address,omitempty"`

	Priority *int32 `json:"priority,omitempty"`
}

func (NsRecords) String

func (o NsRecords) String() string
type PageLink struct {
	Self *string `json:"self,omitempty"`

	Next *string `json:"next,omitempty"`
}

分页信息

func (PageLink) String

func (o PageLink) String() string

type PrivateNameServer

type PrivateNameServer struct {
	Priority *int32 `json:"priority,omitempty"`

	Address *string `json:"address,omitempty"`
}

func (PrivateNameServer) String

func (o PrivateNameServer) String() string

type PrivateZoneResp

type PrivateZoneResp struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters *[]string `json:"masters,omitempty"`

	Routers *[]RouterWithStatus `json:"routers,omitempty"`

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

func (PrivateZoneResp) String

func (o PrivateZoneResp) String() string

type PublicZoneResp added in v0.0.51

type PublicZoneResp struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters *[]string `json:"masters,omitempty"`

	Routers *[]RouterWithStatus `json:"routers,omitempty"`

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

func (PublicZoneResp) String added in v0.0.51

func (o PublicZoneResp) String() string

type QueryRecordSetWithLineResp

type QueryRecordSetWithLineResp struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget *AliasTarget `json:"alias_target,omitempty"`
}

func (QueryRecordSetWithLineResp) String

type ResourceItem

type ResourceItem struct {
	ResourceId *string `json:"resource_id,omitempty"`

	ResourceDetail *string `json:"resource_detail,omitempty"`

	Tags *[]Tag `json:"tags,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`
}

func (ResourceItem) String

func (o ResourceItem) String() string

type RestorePtrRecordRequest

type RestorePtrRecordRequest struct {
	Region string `json:"region"`

	FloatingipId string `json:"floatingip_id"`

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

Request Object

func (RestorePtrRecordRequest) String

func (o RestorePtrRecordRequest) String() string

type RestorePtrRecordResponse

type RestorePtrRecordResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (RestorePtrRecordResponse) String

func (o RestorePtrRecordResponse) String() string

type RestorePtrReq

type RestorePtrReq struct {
	Ptrdname string `json:"ptrdname"`
}

func (RestorePtrReq) String

func (o RestorePtrReq) String() string

type Router

type Router struct {
	RouterId string `json:"router_id"`

	RouterRegion *string `json:"router_region,omitempty"`
}

func (Router) String

func (o Router) String() string

type RouterWithStatus

type RouterWithStatus struct {
	Status *string `json:"status,omitempty"`

	RouterId *string `json:"router_id,omitempty"`

	RouterRegion *string `json:"router_region,omitempty"`
}

func (RouterWithStatus) String

func (o RouterWithStatus) String() string

type SetRecordSetsStatusReq

type SetRecordSetsStatusReq struct {
	Status string `json:"status"`
}

func (SetRecordSetsStatusReq) String

func (o SetRecordSetsStatusReq) String() string

type SetRecordSetsStatusRequest

type SetRecordSetsStatusRequest struct {
	RecordsetId string `json:"recordset_id"`

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

Request Object

func (SetRecordSetsStatusRequest) String

type SetRecordSetsStatusResponse

type SetRecordSetsStatusResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget    *AliasTarget `json:"alias_target,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (SetRecordSetsStatusResponse) String

type ShowApiInfoRequest

type ShowApiInfoRequest struct {
	Version string `json:"version"`
}

Request Object

func (ShowApiInfoRequest) String

func (o ShowApiInfoRequest) String() string

type ShowApiInfoResponse

type ShowApiInfoResponse struct {
	Version        *VersionItem `json:"version,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowApiInfoResponse) String

func (o ShowApiInfoResponse) String() string

type ShowPrivateZoneNameServerRequest

type ShowPrivateZoneNameServerRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (ShowPrivateZoneNameServerRequest) String

type ShowPrivateZoneNameServerResponse

type ShowPrivateZoneNameServerResponse struct {
	Nameservers    *[]PrivateNameServer `json:"nameservers,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ShowPrivateZoneNameServerResponse) String

type ShowPrivateZoneRequest

type ShowPrivateZoneRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (ShowPrivateZoneRequest) String

func (o ShowPrivateZoneRequest) String() string

type ShowPrivateZoneResponse

type ShowPrivateZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters *[]string `json:"masters,omitempty"`

	Routers        *[]Router `json:"routers,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowPrivateZoneResponse) String

func (o ShowPrivateZoneResponse) String() string

type ShowPtrRecordSetRequest

type ShowPtrRecordSetRequest struct {
	Region string `json:"region"`

	FloatingipId string `json:"floatingip_id"`
}

Request Object

func (ShowPtrRecordSetRequest) String

func (o ShowPtrRecordSetRequest) String() string

type ShowPtrRecordSetResponse

type ShowPtrRecordSetResponse struct {
	Id *string `json:"id,omitempty"`

	Ptrdname *string `json:"ptrdname,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Address *string `json:"address,omitempty"`

	Status *string `json:"status,omitempty"`

	Action *string `json:"action,omitempty"`

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowPtrRecordSetResponse) String

func (o ShowPtrRecordSetResponse) String() string

type ShowPublicZoneNameServerRequest

type ShowPublicZoneNameServerRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (ShowPublicZoneNameServerRequest) String

type ShowPublicZoneNameServerResponse

type ShowPublicZoneNameServerResponse struct {
	Nameservers    *[]Nameserver `json:"nameservers,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ShowPublicZoneNameServerResponse) String

type ShowPublicZoneRequest

type ShowPublicZoneRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (ShowPublicZoneRequest) String

func (o ShowPublicZoneRequest) String() string

type ShowPublicZoneResponse

type ShowPublicZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

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

	Masters *[]string `json:"masters,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	ProjectId      *string `json:"project_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowPublicZoneResponse) String

func (o ShowPublicZoneResponse) String() string

type ShowRecordSetByZoneRequest

type ShowRecordSetByZoneRequest struct {
	ZoneId string `json:"zone_id"`
}

Request Object

func (ShowRecordSetByZoneRequest) String

type ShowRecordSetByZoneResp

type ShowRecordSetByZoneResp struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreateAt *string `json:"create_at,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget *AliasTarget `json:"alias_target,omitempty"`
}

func (ShowRecordSetByZoneResp) String

func (o ShowRecordSetByZoneResp) String() string

type ShowRecordSetByZoneResponse

type ShowRecordSetByZoneResponse struct {
	Links *PageLink `json:"links,omitempty"`

	Recordsets *[]ShowRecordSetByZoneResp `json:"recordsets,omitempty"`

	Metadata       *Metedata `json:"metadata,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowRecordSetByZoneResponse) String

type ShowRecordSetRequest

type ShowRecordSetRequest struct {
	ZoneId string `json:"zone_id"`

	RecordsetId string `json:"recordset_id"`
}

Request Object

func (ShowRecordSetRequest) String

func (o ShowRecordSetRequest) String() string

type ShowRecordSetResponse

type ShowRecordSetResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreateAt *string `json:"create_at,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowRecordSetResponse) String

func (o ShowRecordSetResponse) String() string

type ShowRecordSetWithLineRequest

type ShowRecordSetWithLineRequest struct {
	ZoneId string `json:"zone_id"`

	RecordsetId string `json:"recordset_id"`
}

Request Object

func (ShowRecordSetWithLineRequest) String

type ShowRecordSetWithLineResponse

type ShowRecordSetWithLineResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget    *AliasTarget `json:"alias_target,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowRecordSetWithLineResponse) String

type ShowResourceTagRequest

type ShowResourceTagRequest struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`
}

Request Object

func (ShowResourceTagRequest) String

func (o ShowResourceTagRequest) String() string

type ShowResourceTagResponse

type ShowResourceTagResponse struct {
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowResourceTagResponse) String

func (o ShowResourceTagResponse) String() string

type Tag

type Tag struct {
	Key string `json:"key"`

	Value *string `json:"value,omitempty"`
}

func (Tag) String

func (o Tag) String() string

type TagValues

type TagValues struct {
	Key *string `json:"key,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

func (TagValues) String

func (o TagValues) String() string

type UpdateCustomLineRequest

type UpdateCustomLineRequest struct {
	LineId string `json:"line_id"`

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

Request Object

func (UpdateCustomLineRequest) String

func (o UpdateCustomLineRequest) String() string

type UpdateCustomLineResponse

type UpdateCustomLineResponse struct {
	LineId *string `json:"line_id,omitempty"`

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

	IpSegments *[]string `json:"ip_segments,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateCustomLineResponse) String

func (o UpdateCustomLineResponse) String() string

type UpdateCustomsLineReq

type UpdateCustomsLineReq struct {
	Name *string `json:"name,omitempty"`

	IpSegments *[]string `json:"ip_segments,omitempty"`

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

func (UpdateCustomsLineReq) String

func (o UpdateCustomsLineReq) String() string

type UpdatePrivateZoneInfoReq

type UpdatePrivateZoneInfoReq struct {
	Description *string `json:"description,omitempty"`

	Email *string `json:"email,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`
}

func (UpdatePrivateZoneInfoReq) String

func (o UpdatePrivateZoneInfoReq) String() string

type UpdatePrivateZoneRequest

type UpdatePrivateZoneRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (UpdatePrivateZoneRequest) String

func (o UpdatePrivateZoneRequest) String() string

type UpdatePrivateZoneResponse

type UpdatePrivateZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters *[]string `json:"masters,omitempty"`

	Routers        *[]RouterWithStatus `json:"routers,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (UpdatePrivateZoneResponse) String

func (o UpdatePrivateZoneResponse) String() string

type UpdatePtrRecordRequest

type UpdatePtrRecordRequest struct {
	Region string `json:"region"`

	FloatingipId string `json:"floatingip_id"`

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

Request Object

func (UpdatePtrRecordRequest) String

func (o UpdatePtrRecordRequest) String() string

type UpdatePtrRecordResponse

type UpdatePtrRecordResponse struct {
	Id *string `json:"id,omitempty"`

	Ptrdname *string `json:"ptrdname,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Address *string `json:"address,omitempty"`

	Status *string `json:"status,omitempty"`

	Action *string `json:"action,omitempty"`

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdatePtrRecordResponse) String

func (o UpdatePtrRecordResponse) String() string

type UpdatePtrReq

type UpdatePtrReq struct {
	Ptrdname string `json:"ptrdname"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Tags *[]Tag `json:"tags,omitempty"`
}

func (UpdatePtrReq) String

func (o UpdatePtrReq) String() string

type UpdatePublicZoneInfo

type UpdatePublicZoneInfo struct {
	Description *string `json:"description,omitempty"`

	Email *string `json:"email,omitempty"`

	Ttl *string `json:"ttl,omitempty"`
}

func (UpdatePublicZoneInfo) String

func (o UpdatePublicZoneInfo) String() string

type UpdatePublicZoneRequest

type UpdatePublicZoneRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (UpdatePublicZoneRequest) String

func (o UpdatePublicZoneRequest) String() string

type UpdatePublicZoneResponse

type UpdatePublicZoneResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters        *string `json:"masters,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePublicZoneResponse) String

func (o UpdatePublicZoneResponse) String() string

type UpdatePublicZoneStatus

type UpdatePublicZoneStatus struct {
	Status string `json:"status"`
}

func (UpdatePublicZoneStatus) String

func (o UpdatePublicZoneStatus) String() string

type UpdatePublicZoneStatusRequest

type UpdatePublicZoneStatusRequest struct {
	ZoneId string `json:"zone_id"`

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

Request Object

func (UpdatePublicZoneStatusRequest) String

type UpdatePublicZoneStatusResponse

type UpdatePublicZoneStatusResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	Email *string `json:"email,omitempty"`

	ZoneType *string `json:"zone_type,omitempty"`

	Ttl *int32 `json:"ttl,omitempty"`

	Serial *int32 `json:"serial,omitempty"`

	Status *string `json:"status,omitempty"`

	RecordNum *int32 `json:"record_num,omitempty"`

	PoolId *string `json:"pool_id,omitempty"`

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

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Links *PageLink `json:"links,omitempty"`

	Masters        *[]string `json:"masters,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdatePublicZoneStatusResponse) String

type UpdateRecordSetReq

type UpdateRecordSetReq struct {
	Name string `json:"name"`

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

	Type string `json:"type"`

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`
}

func (UpdateRecordSetReq) String

func (o UpdateRecordSetReq) String() string

type UpdateRecordSetRequest

type UpdateRecordSetRequest struct {
	ZoneId string `json:"zone_id"`

	RecordsetId string `json:"recordset_id"`

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

Request Object

func (UpdateRecordSetRequest) String

func (o UpdateRecordSetRequest) String() string

type UpdateRecordSetResponse

type UpdateRecordSetResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreateAt *string `json:"create_at,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links          *PageLink `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateRecordSetResponse) String

func (o UpdateRecordSetResponse) String() string

type UpdateRecordSetsReq

type UpdateRecordSetsReq struct {
	Name string `json:"name"`

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

	Type string `json:"type"`

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	Weight *int32 `json:"weight,omitempty"`
}

func (UpdateRecordSetsReq) String

func (o UpdateRecordSetsReq) String() string

type UpdateRecordSetsRequest

type UpdateRecordSetsRequest struct {
	ZoneId string `json:"zone_id"`

	RecordsetId string `json:"recordset_id"`

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

Request Object

func (UpdateRecordSetsRequest) String

func (o UpdateRecordSetsRequest) String() string

type UpdateRecordSetsResponse

type UpdateRecordSetsResponse struct {
	Id *string `json:"id,omitempty"`

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

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

	ZoneId *string `json:"zone_id,omitempty"`

	ZoneName *string `json:"zone_name,omitempty"`

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

	Ttl *int32 `json:"ttl,omitempty"`

	Records *[]string `json:"records,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	Status *string `json:"status,omitempty"`

	Default *bool `json:"default,omitempty"`

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

	Links *PageLink `json:"links,omitempty"`

	Line *string `json:"line,omitempty"`

	Weight *int32 `json:"weight,omitempty"`

	HealthCheckId *string `json:"health_check_id,omitempty"`

	AliasTarget    *AliasTarget `json:"alias_target,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (UpdateRecordSetsResponse) String

func (o UpdateRecordSetsResponse) String() string

type ValuesItem

type ValuesItem struct {
	Values *[]ListApiVersionsItem `json:"values,omitempty"`
}

版本对象。

func (ValuesItem) String

func (o ValuesItem) String() string

type VersionItem

type VersionItem struct {
	Id *string `json:"id,omitempty"`

	Status *string `json:"status,omitempty"`

	Links *[]LinksItem `json:"links,omitempty"`

	Updated *string `json:"updated,omitempty"`

	Version *string `json:"version,omitempty"`

	MinVersion *string `json:"min_version,omitempty"`
}

func (VersionItem) String

func (o VersionItem) String() string

Source Files

Jump to

Keyboard shortcuts

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