snsprotocol

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SNSProtocol

type SNSProtocol int
const (
	UNKNOWN             SNSProtocol = 0
	Http                SNSProtocol = 1
	Https               SNSProtocol = 2
	Email               SNSProtocol = 3
	EmailJson           SNSProtocol = 4
	Sms                 SNSProtocol = 5
	Sqs                 SNSProtocol = 6
	ApplicationEndpoint SNSProtocol = 7
	Lambda              SNSProtocol = 8
)

func (SNSProtocol) Caption

func (i SNSProtocol) Caption() string

Caption retrieves a SNSProtocol enum string caption

func (SNSProtocol) CaptionMap

func (i SNSProtocol) CaptionMap() map[SNSProtocol]string

CaptionMap returns all captions of the enum SNSProtocol in a K:SNSProtocol,V:caption map

func (SNSProtocol) Description

func (i SNSProtocol) Description() string

Description retrieves a SNSProtocol enum string description

func (SNSProtocol) DescriptionMap

func (i SNSProtocol) DescriptionMap() map[SNSProtocol]string

DescriptionMap returns all descriptions of the enum SNSProtocol in a K:SNSProtocol,V:description map

func (SNSProtocol) IntString

func (i SNSProtocol) IntString() string

IntString gets the intrinsic enum integer value represented in string format

func (SNSProtocol) IntValue

func (i SNSProtocol) IntValue() int

IntValue gets the intrinsic enum integer value

func (SNSProtocol) Key

func (i SNSProtocol) Key() string

Key retrieves a SNSProtocol enum string key

func (SNSProtocol) KeyMap

func (i SNSProtocol) KeyMap() map[SNSProtocol]string

KeyMap returns all keys of the enum SNSProtocol in a K:SNSProtocol,V:key map

func (SNSProtocol) NameMap

func (i SNSProtocol) NameMap() map[string]SNSProtocol

NameMap returns all names of the enum SNSProtocol in a K:name,V:SNSProtocol map

func (SNSProtocol) ParseByKey

func (i SNSProtocol) ParseByKey(s string) (SNSProtocol, error)

ParseByKey retrieves a SNSProtocol enum value from the enum string key, throws an error if the param is not part of the enum

func (SNSProtocol) ParseByName

func (i SNSProtocol) ParseByName(s string) (SNSProtocol, error)

ParseByName retrieves a SNSProtocol enum value from the enum string name, throws an error if the param is not part of the enum

func (SNSProtocol) String

func (i SNSProtocol) String() string

func (SNSProtocol) Valid

func (i SNSProtocol) Valid() bool

Valid returns 'true' if the value is listed in the SNSProtocol enum map definition, 'false' otherwise

func (SNSProtocol) ValueSlice

func (i SNSProtocol) ValueSlice() []SNSProtocol

ValueSlice returns all values of the enum SNSProtocol in a slice

Jump to

Keyboard shortcuts

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