gql

package
v0.0.369 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAddOnCreateAddOnCreateAddOnPayload added in v0.0.367

type CreateAddOnCreateAddOnCreateAddOnPayload struct {
	AddOn CreateAddOnCreateAddOnCreateAddOnPayloadAddOn `json:"addOn"`
}

CreateAddOnCreateAddOnCreateAddOnPayload includes the requested fields of the GraphQL type CreateAddOnPayload. The GraphQL type's documentation follows.

Autogenerated return type of CreateAddOn

func (*CreateAddOnCreateAddOnCreateAddOnPayload) GetAddOn added in v0.0.367

GetAddOn returns CreateAddOnCreateAddOnCreateAddOnPayload.AddOn, and is useful for accessing the field via an interface.

type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn added in v0.0.367

type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn struct {
	Id string `json:"id"`
	// Public URL for this service
	PublicUrl string `json:"publicUrl"`
}

CreateAddOnCreateAddOnCreateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetId added in v0.0.367

GetId returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.Id, and is useful for accessing the field via an interface.

func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPublicUrl added in v0.0.367

GetPublicUrl returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.PublicUrl, and is useful for accessing the field via an interface.

type CreateAddOnResponse added in v0.0.367

type CreateAddOnResponse struct {
	CreateAddOn CreateAddOnCreateAddOnCreateAddOnPayload `json:"createAddOn"`
}

CreateAddOnResponse is returned by CreateAddOn on success.

func CreateAddOn added in v0.0.367

func CreateAddOn(
	ctx context.Context,
	client graphql.Client,
	organizationId string,
	primaryRegion string,
	planId string,
	readRegions []string,
) (*CreateAddOnResponse, error)

func (*CreateAddOnResponse) GetCreateAddOn added in v0.0.367

GetCreateAddOn returns CreateAddOnResponse.CreateAddOn, and is useful for accessing the field via an interface.

type ListAddOnPlansAddOnPlansAddOnPlanConnection added in v0.0.366

type ListAddOnPlansAddOnPlansAddOnPlanConnection struct {
	// A list of nodes.
	Nodes []ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan `json:"nodes"`
}

ListAddOnPlansAddOnPlansAddOnPlanConnection includes the requested fields of the GraphQL type AddOnPlanConnection. The GraphQL type's documentation follows.

The connection type for AddOnPlan.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnection) GetNodes added in v0.0.366

GetNodes returns ListAddOnPlansAddOnPlansAddOnPlanConnection.Nodes, and is useful for accessing the field via an interface.

type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan added in v0.0.366

type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan struct {
	Id            string `json:"id"`
	DisplayName   string `json:"displayName"`
	MaxDataSize   string `json:"maxDataSize"`
	PricePerMonth int    `json:"pricePerMonth"`
}

ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName added in v0.0.366

GetDisplayName returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.DisplayName, and is useful for accessing the field via an interface.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId added in v0.0.366

GetId returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.Id, and is useful for accessing the field via an interface.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize added in v0.0.366

GetMaxDataSize returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.MaxDataSize, and is useful for accessing the field via an interface.

func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth added in v0.0.366

GetPricePerMonth returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.PricePerMonth, and is useful for accessing the field via an interface.

type ListAddOnPlansResponse added in v0.0.366

type ListAddOnPlansResponse struct {
	// List add-on service plans
	AddOnPlans ListAddOnPlansAddOnPlansAddOnPlanConnection `json:"addOnPlans"`
}

ListAddOnPlansResponse is returned by ListAddOnPlans on success.

func ListAddOnPlans added in v0.0.366

func ListAddOnPlans(
	ctx context.Context,
	client graphql.Client,
) (*ListAddOnPlansResponse, error)

func (*ListAddOnPlansResponse) GetAddOnPlans added in v0.0.366

GetAddOnPlans returns ListAddOnPlansResponse.AddOnPlans, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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