support

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadReply

type BadReply struct {
	ID      string `json:"id"`
	Kind    string `json:"kind"`
	Href    string `json:"href"`
	Code    string `json:"code"`
	Reason  string `json:"reason"`
	Details []struct {
		Description string `json:"description"`
	} `json:"details"`
}

BadReply is the template for bad reply

type GoodReply

type GoodReply struct {
	ID                string    `json:"id"`
	Kind              string    `json:"kind"`
	Href              string    `json:"href"`
	Details           string    `json:"details"`
	DetectionType     string    `json:"detection_type"`
	Summary           string    `json:"summary"`
	CreationTimestamp time.Time `json:"creation_timestamp"`
}

GoodReply is the template for good reply

type LimitedSupport

type LimitedSupport struct {
	ID            string `json:"id,omitempty"`
	TemplateID    string `json:"template_id,omitempty"`
	Summary       string `json:"summary"`
	Details       string `json:"details"`
	DetectionType string `json:"detection_type"`
}

LimitedSupport is the base limited_support_reasons template

func (*LimitedSupport) GetDescription added in v0.13.2

func (l *LimitedSupport) GetDescription() string

func (*LimitedSupport) GetSummary added in v0.13.2

func (l *LimitedSupport) GetSummary() string

func (*LimitedSupport) ReplaceWithFlag added in v0.13.2

func (l *LimitedSupport) ReplaceWithFlag(variable, value string)

func (*LimitedSupport) SearchFlag added in v0.13.2

func (l *LimitedSupport) SearchFlag(placeholder string) (found bool)

Jump to

Keyboard shortcuts

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