notification

package
v0.0.0-...-3d8ba93 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const NotificationType = "notification"

Variables

This section is empty.

Functions

func FromWorkflowStep

func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)

func FromWorkflowSubStep

func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)

Types

type ActionCard

type ActionCard struct {
	BtnOrientation *string `json:"btnOrientation"`
	Btns           []Btns  `json:"btns,omitempty"`
	HideAvatar     *string `json:"hideAvatar"`
	SingleTitle    *string `json:"singleTitle"`
	SingleURL      *string `json:"singleURL"`
	Text           *string `json:"text"`
	Title          *string `json:"title"`
}

ActionCard struct for ActionCard

func NewActionCard

func NewActionCard() *ActionCard

NewActionCard is short for NewActionCardWithDefault which instantiates a new ActionCard object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewActionCardEmpty

func NewActionCardEmpty() *ActionCard

NewActionCardEmpty instantiates a new ActionCard object with no properties set. This constructor will not assign any default values to properties.

func NewActionCardList

func NewActionCardList(ps ...*ActionCard) []ActionCard

NewActionCards converts a list ActionCard pointers to objects. This is helpful when the SetActionCard requires a list of objects

func NewActionCardWith

func NewActionCardWith(btnOrientation string, hideAvatar string, singleTitle string, singleURL string, text string, title string) *ActionCard

NewActionCardWith instantiates a new ActionCard object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewActionCardWithDefault

func NewActionCardWithDefault() *ActionCard

NewActionCardWithDefault instantiates a new ActionCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActionCard) GetBtnOrientation

func (o *ActionCard) GetBtnOrientation() string

GetBtnOrientation returns the BtnOrientation field value

func (*ActionCard) GetBtnOrientationOk

func (o *ActionCard) GetBtnOrientationOk() (*string, bool)

GetBtnOrientationOk returns a tuple with the BtnOrientation field value and a boolean to check if the value has been set.

func (*ActionCard) GetBtns

func (o *ActionCard) GetBtns() []Btns

GetBtns returns the Btns field value if set, zero value otherwise.

func (*ActionCard) GetBtnsOk

func (o *ActionCard) GetBtnsOk() ([]Btns, bool)

GetBtnsOk returns a tuple with the Btns field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionCard) GetHideAvatar

func (o *ActionCard) GetHideAvatar() string

GetHideAvatar returns the HideAvatar field value

func (*ActionCard) GetHideAvatarOk

func (o *ActionCard) GetHideAvatarOk() (*string, bool)

GetHideAvatarOk returns a tuple with the HideAvatar field value and a boolean to check if the value has been set.

func (*ActionCard) GetSingleTitle

func (o *ActionCard) GetSingleTitle() string

GetSingleTitle returns the SingleTitle field value

func (*ActionCard) GetSingleTitleOk

func (o *ActionCard) GetSingleTitleOk() (*string, bool)

GetSingleTitleOk returns a tuple with the SingleTitle field value and a boolean to check if the value has been set.

func (*ActionCard) GetSingleURL

func (o *ActionCard) GetSingleURL() string

GetSingleURL returns the SingleURL field value

func (*ActionCard) GetSingleURLOk

func (o *ActionCard) GetSingleURLOk() (*string, bool)

GetSingleURLOk returns a tuple with the SingleURL field value and a boolean to check if the value has been set.

func (*ActionCard) GetText

func (o *ActionCard) GetText() string

GetText returns the Text field value

func (*ActionCard) GetTextOk

func (o *ActionCard) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*ActionCard) GetTitle

func (o *ActionCard) GetTitle() string

GetTitle returns the Title field value

func (*ActionCard) GetTitleOk

func (o *ActionCard) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ActionCard) HasBtns

func (o *ActionCard) HasBtns() bool

HasBtns returns a boolean if a field has been set.

func (ActionCard) MarshalJSON

func (o ActionCard) MarshalJSON() ([]byte, error)

func (*ActionCard) SetBtnOrientation

func (o *ActionCard) SetBtnOrientation(v string) *ActionCard

SetBtnOrientation sets field value

func (*ActionCard) SetBtns

func (o *ActionCard) SetBtns(v []Btns) *ActionCard

SetBtns gets a reference to the given []Btns and assigns it to the btns field. Btns:

func (*ActionCard) SetHideAvatar

func (o *ActionCard) SetHideAvatar(v string) *ActionCard

SetHideAvatar sets field value

func (*ActionCard) SetSingleTitle

func (o *ActionCard) SetSingleTitle(v string) *ActionCard

SetSingleTitle sets field value

func (*ActionCard) SetSingleURL

func (o *ActionCard) SetSingleURL(v string) *ActionCard

SetSingleURL sets field value

func (*ActionCard) SetText

func (o *ActionCard) SetText(v string) *ActionCard

SetText sets field value

func (*ActionCard) SetTitle

func (o *ActionCard) SetTitle(v string) *ActionCard

SetTitle sets field value

func (ActionCard) ToMap

func (o ActionCard) ToMap() (map[string]interface{}, error)

func (*ActionCard) Validate

func (o *ActionCard) Validate() error

Validate validates this ActionCard 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type At

type At struct {
	AtMobiles []string `json:"atMobiles,omitempty"`
	IsAtAll   *bool    `json:"isAtAll,omitempty"`
}

At struct for At

func NewAt

func NewAt() *At

NewAt is short for NewAtWithDefault which instantiates a new At object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewAtEmpty

func NewAtEmpty() *At

NewAtEmpty instantiates a new At object with no properties set. This constructor will not assign any default values to properties.

func NewAtList

func NewAtList(ps ...*At) []At

NewAts converts a list At pointers to objects. This is helpful when the SetAt requires a list of objects

func NewAtWith

func NewAtWith() *At

NewAtWith instantiates a new At object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewAtWithDefault

func NewAtWithDefault() *At

NewAtWithDefault instantiates a new At object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*At) GetAtMobiles

func (o *At) GetAtMobiles() []string

GetAtMobiles returns the AtMobiles field value if set, zero value otherwise.

func (*At) GetAtMobilesOk

func (o *At) GetAtMobilesOk() ([]string, bool)

GetAtMobilesOk returns a tuple with the AtMobiles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*At) GetIsAtAll

func (o *At) GetIsAtAll() bool

GetIsAtAll returns the IsAtAll field value if set, zero value otherwise.

func (*At) GetIsAtAllOk

func (o *At) GetIsAtAllOk() (*bool, bool)

GetIsAtAllOk returns a tuple with the IsAtAll field value if set, nil otherwise and a boolean to check if the value has been set.

func (*At) HasAtMobiles

func (o *At) HasAtMobiles() bool

HasAtMobiles returns a boolean if a field has been set.

func (*At) HasIsAtAll

func (o *At) HasIsAtAll() bool

HasIsAtAll returns a boolean if a field has been set.

func (At) MarshalJSON

func (o At) MarshalJSON() ([]byte, error)

func (*At) SetAtMobiles

func (o *At) SetAtMobiles(v []string) *At

SetAtMobiles gets a reference to the given []string and assigns it to the atMobiles field. AtMobiles:

func (*At) SetIsAtAll

func (o *At) SetIsAtAll(v bool) *At

SetIsAtAll gets a reference to the given bool and assigns it to the isAtAll field. IsAtAll:

func (At) ToMap

func (o At) ToMap() (map[string]interface{}, error)

func (*At) Validate

func (o *At) Validate() error

Validate validates this At 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Attachments

type Attachments struct {
	Blocks []Block `json:"blocks,omitempty"`
	Color  *string `json:"color,omitempty"`
}

Attachments struct for Attachments

func NewAttachments

func NewAttachments() *Attachments

NewAttachments is short for NewAttachmentsWithDefault which instantiates a new Attachments object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewAttachmentsEmpty

func NewAttachmentsEmpty() *Attachments

NewAttachmentsEmpty instantiates a new Attachments object with no properties set. This constructor will not assign any default values to properties.

func NewAttachmentsList

func NewAttachmentsList(ps ...*Attachments) []Attachments

NewAttachmentss converts a list Attachments pointers to objects. This is helpful when the SetAttachments requires a list of objects

func NewAttachmentsWith

func NewAttachmentsWith() *Attachments

NewAttachmentsWith instantiates a new Attachments object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewAttachmentsWithDefault

func NewAttachmentsWithDefault() *Attachments

NewAttachmentsWithDefault instantiates a new Attachments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Attachments) GetBlocks

func (o *Attachments) GetBlocks() []Block

GetBlocks returns the Blocks field value if set, zero value otherwise.

func (*Attachments) GetBlocksOk

func (o *Attachments) GetBlocksOk() ([]Block, bool)

GetBlocksOk returns a tuple with the Blocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attachments) GetColor

func (o *Attachments) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*Attachments) GetColorOk

func (o *Attachments) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attachments) HasBlocks

func (o *Attachments) HasBlocks() bool

HasBlocks returns a boolean if a field has been set.

func (*Attachments) HasColor

func (o *Attachments) HasColor() bool

HasColor returns a boolean if a field has been set.

func (Attachments) MarshalJSON

func (o Attachments) MarshalJSON() ([]byte, error)

func (*Attachments) SetBlocks

func (o *Attachments) SetBlocks(v []Block) *Attachments

SetBlocks gets a reference to the given []Block and assigns it to the blocks field. Blocks:

func (*Attachments) SetColor

func (o *Attachments) SetColor(v string) *Attachments

SetColor gets a reference to the given string and assigns it to the color field. Color:

func (Attachments) ToMap

func (o Attachments) ToMap() (map[string]interface{}, error)

func (*Attachments) Validate

func (o *Attachments) Validate() error

Validate validates this Attachments 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Block

type Block struct {
	BlockId  *string    `json:"block_id,omitempty"`
	Elements []Elements `json:"elements,omitempty"`
	Type     *string    `json:"type"`
}

Block struct for Block

func NewBlock

func NewBlock() *Block

NewBlock is short for NewBlockWithDefault which instantiates a new Block object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewBlockEmpty

func NewBlockEmpty() *Block

NewBlockEmpty instantiates a new Block object with no properties set. This constructor will not assign any default values to properties.

func NewBlockList

func NewBlockList(ps ...*Block) []Block

NewBlocks converts a list Block pointers to objects. This is helpful when the SetBlock requires a list of objects

func NewBlockWith

func NewBlockWith(type_ string) *Block

NewBlockWith instantiates a new Block object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewBlockWithDefault

func NewBlockWithDefault() *Block

NewBlockWithDefault instantiates a new Block object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Block) GetBlockId

func (o *Block) GetBlockId() string

GetBlockId returns the BlockId field value if set, zero value otherwise.

func (*Block) GetBlockIdOk

func (o *Block) GetBlockIdOk() (*string, bool)

GetBlockIdOk returns a tuple with the BlockId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Block) GetElements

func (o *Block) GetElements() []Elements

GetElements returns the Elements field value if set, zero value otherwise.

func (*Block) GetElementsOk

func (o *Block) GetElementsOk() ([]Elements, bool)

GetElementsOk returns a tuple with the Elements field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Block) GetType

func (o *Block) GetType() string

GetType returns the Type field value

func (*Block) GetTypeOk

func (o *Block) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Block) HasBlockId

func (o *Block) HasBlockId() bool

HasBlockId returns a boolean if a field has been set.

func (*Block) HasElements

func (o *Block) HasElements() bool

HasElements returns a boolean if a field has been set.

func (Block) MarshalJSON

func (o Block) MarshalJSON() ([]byte, error)

func (*Block) SetBlockId

func (o *Block) SetBlockId(v string) *Block

SetBlockId gets a reference to the given string and assigns it to the blockId field. BlockId:

func (*Block) SetElements

func (o *Block) SetElements(v []Elements) *Block

SetElements gets a reference to the given []Elements and assigns it to the elements field. Elements:

func (*Block) SetType

func (o *Block) SetType(v string) *Block

SetType sets field value

func (Block) ToMap

func (o Block) ToMap() (map[string]interface{}, error)

func (*Block) Validate

func (o *Block) Validate() error

Validate validates this Block 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Btns

type Btns struct {
	ActionURL *string `json:"actionURL"`
	Title     *string `json:"title"`
}

Btns struct for Btns

func NewBtns

func NewBtns() *Btns

NewBtns is short for NewBtnsWithDefault which instantiates a new Btns object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewBtnsEmpty

func NewBtnsEmpty() *Btns

NewBtnsEmpty instantiates a new Btns object with no properties set. This constructor will not assign any default values to properties.

func NewBtnsList

func NewBtnsList(ps ...*Btns) []Btns

NewBtnss converts a list Btns pointers to objects. This is helpful when the SetBtns requires a list of objects

func NewBtnsWith

func NewBtnsWith(actionURL string, title string) *Btns

NewBtnsWith instantiates a new Btns object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewBtnsWithDefault

func NewBtnsWithDefault() *Btns

NewBtnsWithDefault instantiates a new Btns object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Btns) GetActionURL

func (o *Btns) GetActionURL() string

GetActionURL returns the ActionURL field value

func (*Btns) GetActionURLOk

func (o *Btns) GetActionURLOk() (*string, bool)

GetActionURLOk returns a tuple with the ActionURL field value and a boolean to check if the value has been set.

func (*Btns) GetTitle

func (o *Btns) GetTitle() string

GetTitle returns the Title field value

func (*Btns) GetTitleOk

func (o *Btns) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (Btns) MarshalJSON

func (o Btns) MarshalJSON() ([]byte, error)

func (*Btns) SetActionURL

func (o *Btns) SetActionURL(v string) *Btns

SetActionURL sets field value

func (*Btns) SetTitle

func (o *Btns) SetTitle(v string) *Btns

SetTitle sets field value

func (Btns) ToMap

func (o Btns) ToMap() (map[string]interface{}, error)

func (*Btns) Validate

func (o *Btns) Validate() error

Validate validates this Btns 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Confirm

type Confirm struct {
	Confirm *TextType `json:"confirm"`
	Deny    *TextType `json:"deny"`
	Style   *string   `json:"style,omitempty"`
	Text    *TextType `json:"text"`
	Title   *TextType `json:"title"`
}

Confirm struct for Confirm

func NewConfirm

func NewConfirm() *Confirm

NewConfirm is short for NewConfirmWithDefault which instantiates a new Confirm object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewConfirmEmpty

func NewConfirmEmpty() *Confirm

NewConfirmEmpty instantiates a new Confirm object with no properties set. This constructor will not assign any default values to properties.

func NewConfirmList

func NewConfirmList(ps ...*Confirm) []Confirm

NewConfirms converts a list Confirm pointers to objects. This is helpful when the SetConfirm requires a list of objects

func NewConfirmWith

func NewConfirmWith(confirm TextType, deny TextType, text TextType, title TextType) *Confirm

NewConfirmWith instantiates a new Confirm object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewConfirmWithDefault

func NewConfirmWithDefault() *Confirm

NewConfirmWithDefault instantiates a new Confirm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Confirm) GetConfirm

func (o *Confirm) GetConfirm() TextType

GetConfirm returns the Confirm field value

func (*Confirm) GetConfirmOk

func (o *Confirm) GetConfirmOk() (*TextType, bool)

GetConfirmOk returns a tuple with the Confirm field value and a boolean to check if the value has been set.

func (*Confirm) GetDeny

func (o *Confirm) GetDeny() TextType

GetDeny returns the Deny field value

func (*Confirm) GetDenyOk

func (o *Confirm) GetDenyOk() (*TextType, bool)

GetDenyOk returns a tuple with the Deny field value and a boolean to check if the value has been set.

func (*Confirm) GetStyle

func (o *Confirm) GetStyle() string

GetStyle returns the Style field value if set, zero value otherwise.

func (*Confirm) GetStyleOk

func (o *Confirm) GetStyleOk() (*string, bool)

GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Confirm) GetText

func (o *Confirm) GetText() TextType

GetText returns the Text field value

func (*Confirm) GetTextOk

func (o *Confirm) GetTextOk() (*TextType, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*Confirm) GetTitle

func (o *Confirm) GetTitle() TextType

GetTitle returns the Title field value

func (*Confirm) GetTitleOk

func (o *Confirm) GetTitleOk() (*TextType, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*Confirm) HasStyle

func (o *Confirm) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (Confirm) MarshalJSON

func (o Confirm) MarshalJSON() ([]byte, error)

func (*Confirm) SetConfirm

func (o *Confirm) SetConfirm(v TextType) *Confirm

SetConfirm sets field value

func (*Confirm) SetDeny

func (o *Confirm) SetDeny(v TextType) *Confirm

SetDeny sets field value

func (*Confirm) SetStyle

func (o *Confirm) SetStyle(v string) *Confirm

SetStyle gets a reference to the given string and assigns it to the style field. Style:

func (*Confirm) SetText

func (o *Confirm) SetText(v TextType) *Confirm

SetText sets field value

func (*Confirm) SetTitle

func (o *Confirm) SetTitle(v TextType) *Confirm

SetTitle sets field value

func (Confirm) ToMap

func (o Confirm) ToMap() (map[string]interface{}, error)

func (*Confirm) Validate

func (o *Confirm) Validate() error

Validate validates this Confirm 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Content

type Content struct {
	// Specify the context body of the email
	Body *string `json:"body"`
	// Specify the subject of the email
	Subject *string `json:"subject"`
}

Content Specify the content of the email

func NewContent

func NewContent() *Content

NewContent is short for NewContentWithDefault which instantiates a new Content object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewContentEmpty

func NewContentEmpty() *Content

NewContentEmpty instantiates a new Content object with no properties set. This constructor will not assign any default values to properties.

func NewContentList

func NewContentList(ps ...*Content) []Content

NewContents converts a list Content pointers to objects. This is helpful when the SetContent requires a list of objects

func NewContentWith

func NewContentWith(body string, subject string) *Content

NewContentWith instantiates a new Content object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewContentWithDefault

func NewContentWithDefault() *Content

NewContentWithDefault instantiates a new Content object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Content) GetBody

func (o *Content) GetBody() string

GetBody returns the Body field value

func (*Content) GetBodyOk

func (o *Content) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.

func (*Content) GetSubject

func (o *Content) GetSubject() string

GetSubject returns the Subject field value

func (*Content) GetSubjectOk

func (o *Content) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.

func (Content) MarshalJSON

func (o Content) MarshalJSON() ([]byte, error)

func (*Content) SetBody

func (o *Content) SetBody(v string) *Content

SetBody sets field value

func (*Content) SetSubject

func (o *Content) SetSubject(v string) *Content

SetSubject sets field value

func (Content) ToMap

func (o Content) ToMap() (map[string]interface{}, error)

func (*Content) Validate

func (o *Content) Validate() error

Validate validates this Content 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Dingding

type Dingding struct {
	Message *Message `json:"message"`
	Url     *Url     `json:"url"`
}

Dingding Please fulfill its url and message if you want to send DingTalk messages

func NewDingding

func NewDingding() *Dingding

NewDingding is short for NewDingdingWithDefault which instantiates a new Dingding object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewDingdingEmpty

func NewDingdingEmpty() *Dingding

NewDingdingEmpty instantiates a new Dingding object with no properties set. This constructor will not assign any default values to properties.

func NewDingdingList

func NewDingdingList(ps ...*Dingding) []Dingding

NewDingdings converts a list Dingding pointers to objects. This is helpful when the SetDingding requires a list of objects

func NewDingdingWith

func NewDingdingWith(message Message, url Url) *Dingding

NewDingdingWith instantiates a new Dingding object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewDingdingWithDefault

func NewDingdingWithDefault() *Dingding

NewDingdingWithDefault instantiates a new Dingding object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Dingding) GetMessage

func (o *Dingding) GetMessage() Message

GetMessage returns the Message field value

func (*Dingding) GetMessageOk

func (o *Dingding) GetMessageOk() (*Message, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Dingding) GetUrl

func (o *Dingding) GetUrl() Url

GetUrl returns the Url field value

func (*Dingding) GetUrlOk

func (o *Dingding) GetUrlOk() (*Url, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (Dingding) MarshalJSON

func (o Dingding) MarshalJSON() ([]byte, error)

func (*Dingding) SetMessage

func (o *Dingding) SetMessage(v Message) *Dingding

SetMessage sets field value

func (*Dingding) SetUrl

func (o *Dingding) SetUrl(v Url) *Dingding

SetUrl sets field value

func (Dingding) ToMap

func (o Dingding) ToMap() (map[string]interface{}, error)

func (*Dingding) Validate

func (o *Dingding) Validate() error

Validate validates this Dingding 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type DispatchActionConfig

type DispatchActionConfig struct {
	TriggerActionsOn []string `json:"trigger_actions_on,omitempty"`
}

DispatchActionConfig struct for DispatchActionConfig

func NewDispatchActionConfig

func NewDispatchActionConfig() *DispatchActionConfig

NewDispatchActionConfig is short for NewDispatchActionConfigWithDefault which instantiates a new DispatchActionConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewDispatchActionConfigEmpty

func NewDispatchActionConfigEmpty() *DispatchActionConfig

NewDispatchActionConfigEmpty instantiates a new DispatchActionConfig object with no properties set. This constructor will not assign any default values to properties.

func NewDispatchActionConfigList

func NewDispatchActionConfigList(ps ...*DispatchActionConfig) []DispatchActionConfig

NewDispatchActionConfigs converts a list DispatchActionConfig pointers to objects. This is helpful when the SetDispatchActionConfig requires a list of objects

func NewDispatchActionConfigWith

func NewDispatchActionConfigWith() *DispatchActionConfig

NewDispatchActionConfigWith instantiates a new DispatchActionConfig object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewDispatchActionConfigWithDefault

func NewDispatchActionConfigWithDefault() *DispatchActionConfig

NewDispatchActionConfigWithDefault instantiates a new DispatchActionConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DispatchActionConfig) GetTriggerActionsOn

func (o *DispatchActionConfig) GetTriggerActionsOn() []string

GetTriggerActionsOn returns the TriggerActionsOn field value if set, zero value otherwise.

func (*DispatchActionConfig) GetTriggerActionsOnOk

func (o *DispatchActionConfig) GetTriggerActionsOnOk() ([]string, bool)

GetTriggerActionsOnOk returns a tuple with the TriggerActionsOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DispatchActionConfig) HasTriggerActionsOn

func (o *DispatchActionConfig) HasTriggerActionsOn() bool

HasTriggerActionsOn returns a boolean if a field has been set.

func (DispatchActionConfig) MarshalJSON

func (o DispatchActionConfig) MarshalJSON() ([]byte, error)

func (*DispatchActionConfig) SetTriggerActionsOn

func (o *DispatchActionConfig) SetTriggerActionsOn(v []string) *DispatchActionConfig

SetTriggerActionsOn gets a reference to the given []string and assigns it to the triggerActionsOn field. TriggerActionsOn:

func (DispatchActionConfig) ToMap

func (o DispatchActionConfig) ToMap() (map[string]interface{}, error)

func (*DispatchActionConfig) Validate

func (o *DispatchActionConfig) Validate() error

Validate validates this DispatchActionConfig 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Elements

type Elements struct {
	ActionId             *string               `json:"action_id,omitempty"`
	AltText              *string               `json:"alt_text,omitempty"`
	Confirm              *Confirm              `json:"confirm,omitempty"`
	DispatchActionConfig *DispatchActionConfig `json:"dispatch_action_config,omitempty"`
	ImageUrl             *string               `json:"image_url,omitempty"`
	InitialDate          *string               `json:"initial_date,omitempty"`
	InitialOptions       []Option              `json:"initial_options,omitempty"`
	InitialTime          *string               `json:"initial_time,omitempty"`
	InitialValue         *string               `json:"initial_value,omitempty"`
	MaxLength            *int32                `json:"max_length,omitempty"`
	MaxSelectedItems     *int32                `json:"max_selected_items,omitempty"`
	MinLength            *int32                `json:"min_length,omitempty"`
	Multiline            *bool                 `json:"multiline,omitempty"`
	OptionGroups         []Option              `json:"option_groups,omitempty"`
	Options              []Option              `json:"options,omitempty"`
	Placeholder          *TextType             `json:"placeholder,omitempty"`
	Style                *string               `json:"style,omitempty"`
	Text                 *TextType             `json:"text,omitempty"`
	Type                 *string               `json:"type"`
	Url                  *string               `json:"url,omitempty"`
	Value                *string               `json:"value,omitempty"`
}

Elements struct for Elements

func NewElements

func NewElements() *Elements

NewElements is short for NewElementsWithDefault which instantiates a new Elements object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewElementsEmpty

func NewElementsEmpty() *Elements

NewElementsEmpty instantiates a new Elements object with no properties set. This constructor will not assign any default values to properties.

func NewElementsList

func NewElementsList(ps ...*Elements) []Elements

NewElementss converts a list Elements pointers to objects. This is helpful when the SetElements requires a list of objects

func NewElementsWith

func NewElementsWith(type_ string) *Elements

NewElementsWith instantiates a new Elements object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewElementsWithDefault

func NewElementsWithDefault() *Elements

NewElementsWithDefault instantiates a new Elements object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Elements) GetActionId

func (o *Elements) GetActionId() string

GetActionId returns the ActionId field value if set, zero value otherwise.

func (*Elements) GetActionIdOk

func (o *Elements) GetActionIdOk() (*string, bool)

GetActionIdOk returns a tuple with the ActionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetAltText

func (o *Elements) GetAltText() string

GetAltText returns the AltText field value if set, zero value otherwise.

func (*Elements) GetAltTextOk

func (o *Elements) GetAltTextOk() (*string, bool)

GetAltTextOk returns a tuple with the AltText field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetConfirm

func (o *Elements) GetConfirm() Confirm

GetConfirm returns the Confirm field value if set, zero value otherwise.

func (*Elements) GetConfirmOk

func (o *Elements) GetConfirmOk() (*Confirm, bool)

GetConfirmOk returns a tuple with the Confirm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetDispatchActionConfig

func (o *Elements) GetDispatchActionConfig() DispatchActionConfig

GetDispatchActionConfig returns the DispatchActionConfig field value if set, zero value otherwise.

func (*Elements) GetDispatchActionConfigOk

func (o *Elements) GetDispatchActionConfigOk() (*DispatchActionConfig, bool)

GetDispatchActionConfigOk returns a tuple with the DispatchActionConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetImageUrl

func (o *Elements) GetImageUrl() string

GetImageUrl returns the ImageUrl field value if set, zero value otherwise.

func (*Elements) GetImageUrlOk

func (o *Elements) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetInitialDate

func (o *Elements) GetInitialDate() string

GetInitialDate returns the InitialDate field value if set, zero value otherwise.

func (*Elements) GetInitialDateOk

func (o *Elements) GetInitialDateOk() (*string, bool)

GetInitialDateOk returns a tuple with the InitialDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetInitialOptions

func (o *Elements) GetInitialOptions() []Option

GetInitialOptions returns the InitialOptions field value if set, zero value otherwise.

func (*Elements) GetInitialOptionsOk

func (o *Elements) GetInitialOptionsOk() ([]Option, bool)

GetInitialOptionsOk returns a tuple with the InitialOptions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetInitialTime

func (o *Elements) GetInitialTime() string

GetInitialTime returns the InitialTime field value if set, zero value otherwise.

func (*Elements) GetInitialTimeOk

func (o *Elements) GetInitialTimeOk() (*string, bool)

GetInitialTimeOk returns a tuple with the InitialTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetInitialValue

func (o *Elements) GetInitialValue() string

GetInitialValue returns the InitialValue field value if set, zero value otherwise.

func (*Elements) GetInitialValueOk

func (o *Elements) GetInitialValueOk() (*string, bool)

GetInitialValueOk returns a tuple with the InitialValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetMaxLength

func (o *Elements) GetMaxLength() int32

GetMaxLength returns the MaxLength field value if set, zero value otherwise.

func (*Elements) GetMaxLengthOk

func (o *Elements) GetMaxLengthOk() (*int32, bool)

GetMaxLengthOk returns a tuple with the MaxLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetMaxSelectedItems

func (o *Elements) GetMaxSelectedItems() int32

GetMaxSelectedItems returns the MaxSelectedItems field value if set, zero value otherwise.

func (*Elements) GetMaxSelectedItemsOk

func (o *Elements) GetMaxSelectedItemsOk() (*int32, bool)

GetMaxSelectedItemsOk returns a tuple with the MaxSelectedItems field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetMinLength

func (o *Elements) GetMinLength() int32

GetMinLength returns the MinLength field value if set, zero value otherwise.

func (*Elements) GetMinLengthOk

func (o *Elements) GetMinLengthOk() (*int32, bool)

GetMinLengthOk returns a tuple with the MinLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetMultiline

func (o *Elements) GetMultiline() bool

GetMultiline returns the Multiline field value if set, zero value otherwise.

func (*Elements) GetMultilineOk

func (o *Elements) GetMultilineOk() (*bool, bool)

GetMultilineOk returns a tuple with the Multiline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetOptionGroups

func (o *Elements) GetOptionGroups() []Option

GetOptionGroups returns the OptionGroups field value if set, zero value otherwise.

func (*Elements) GetOptionGroupsOk

func (o *Elements) GetOptionGroupsOk() ([]Option, bool)

GetOptionGroupsOk returns a tuple with the OptionGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetOptions

func (o *Elements) GetOptions() []Option

GetOptions returns the Options field value if set, zero value otherwise.

func (*Elements) GetOptionsOk

func (o *Elements) GetOptionsOk() ([]Option, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetPlaceholder

func (o *Elements) GetPlaceholder() TextType

GetPlaceholder returns the Placeholder field value if set, zero value otherwise.

func (*Elements) GetPlaceholderOk

func (o *Elements) GetPlaceholderOk() (*TextType, bool)

GetPlaceholderOk returns a tuple with the Placeholder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetStyle

func (o *Elements) GetStyle() string

GetStyle returns the Style field value if set, zero value otherwise.

func (*Elements) GetStyleOk

func (o *Elements) GetStyleOk() (*string, bool)

GetStyleOk returns a tuple with the Style field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetText

func (o *Elements) GetText() TextType

GetText returns the Text field value if set, zero value otherwise.

func (*Elements) GetTextOk

func (o *Elements) GetTextOk() (*TextType, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetType

func (o *Elements) GetType() string

GetType returns the Type field value

func (*Elements) GetTypeOk

func (o *Elements) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Elements) GetUrl

func (o *Elements) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Elements) GetUrlOk

func (o *Elements) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) GetValue

func (o *Elements) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*Elements) GetValueOk

func (o *Elements) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Elements) HasActionId

func (o *Elements) HasActionId() bool

HasActionId returns a boolean if a field has been set.

func (*Elements) HasAltText

func (o *Elements) HasAltText() bool

HasAltText returns a boolean if a field has been set.

func (*Elements) HasConfirm

func (o *Elements) HasConfirm() bool

HasConfirm returns a boolean if a field has been set.

func (*Elements) HasDispatchActionConfig

func (o *Elements) HasDispatchActionConfig() bool

HasDispatchActionConfig returns a boolean if a field has been set.

func (*Elements) HasImageUrl

func (o *Elements) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*Elements) HasInitialDate

func (o *Elements) HasInitialDate() bool

HasInitialDate returns a boolean if a field has been set.

func (*Elements) HasInitialOptions

func (o *Elements) HasInitialOptions() bool

HasInitialOptions returns a boolean if a field has been set.

func (*Elements) HasInitialTime

func (o *Elements) HasInitialTime() bool

HasInitialTime returns a boolean if a field has been set.

func (*Elements) HasInitialValue

func (o *Elements) HasInitialValue() bool

HasInitialValue returns a boolean if a field has been set.

func (*Elements) HasMaxLength

func (o *Elements) HasMaxLength() bool

HasMaxLength returns a boolean if a field has been set.

func (*Elements) HasMaxSelectedItems

func (o *Elements) HasMaxSelectedItems() bool

HasMaxSelectedItems returns a boolean if a field has been set.

func (*Elements) HasMinLength

func (o *Elements) HasMinLength() bool

HasMinLength returns a boolean if a field has been set.

func (*Elements) HasMultiline

func (o *Elements) HasMultiline() bool

HasMultiline returns a boolean if a field has been set.

func (*Elements) HasOptionGroups

func (o *Elements) HasOptionGroups() bool

HasOptionGroups returns a boolean if a field has been set.

func (*Elements) HasOptions

func (o *Elements) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Elements) HasPlaceholder

func (o *Elements) HasPlaceholder() bool

HasPlaceholder returns a boolean if a field has been set.

func (*Elements) HasStyle

func (o *Elements) HasStyle() bool

HasStyle returns a boolean if a field has been set.

func (*Elements) HasText

func (o *Elements) HasText() bool

HasText returns a boolean if a field has been set.

func (*Elements) HasUrl

func (o *Elements) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Elements) HasValue

func (o *Elements) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Elements) MarshalJSON

func (o Elements) MarshalJSON() ([]byte, error)

func (*Elements) SetActionId

func (o *Elements) SetActionId(v string) *Elements

SetActionId gets a reference to the given string and assigns it to the actionId field. ActionId:

func (*Elements) SetAltText

func (o *Elements) SetAltText(v string) *Elements

SetAltText gets a reference to the given string and assigns it to the altText field. AltText:

func (*Elements) SetConfirm

func (o *Elements) SetConfirm(v Confirm) *Elements

SetConfirm gets a reference to the given Confirm and assigns it to the confirm field. Confirm:

func (*Elements) SetDispatchActionConfig

func (o *Elements) SetDispatchActionConfig(v DispatchActionConfig) *Elements

SetDispatchActionConfig gets a reference to the given DispatchActionConfig and assigns it to the dispatchActionConfig field. DispatchActionConfig:

func (*Elements) SetImageUrl

func (o *Elements) SetImageUrl(v string) *Elements

SetImageUrl gets a reference to the given string and assigns it to the imageUrl field. ImageUrl:

func (*Elements) SetInitialDate

func (o *Elements) SetInitialDate(v string) *Elements

SetInitialDate gets a reference to the given string and assigns it to the initialDate field. InitialDate:

func (*Elements) SetInitialOptions

func (o *Elements) SetInitialOptions(v []Option) *Elements

SetInitialOptions gets a reference to the given []Option and assigns it to the initialOptions field. InitialOptions:

func (*Elements) SetInitialTime

func (o *Elements) SetInitialTime(v string) *Elements

SetInitialTime gets a reference to the given string and assigns it to the initialTime field. InitialTime:

func (*Elements) SetInitialValue

func (o *Elements) SetInitialValue(v string) *Elements

SetInitialValue gets a reference to the given string and assigns it to the initialValue field. InitialValue:

func (*Elements) SetMaxLength

func (o *Elements) SetMaxLength(v int32) *Elements

SetMaxLength gets a reference to the given int32 and assigns it to the maxLength field. MaxLength:

func (*Elements) SetMaxSelectedItems

func (o *Elements) SetMaxSelectedItems(v int32) *Elements

SetMaxSelectedItems gets a reference to the given int32 and assigns it to the maxSelectedItems field. MaxSelectedItems:

func (*Elements) SetMinLength

func (o *Elements) SetMinLength(v int32) *Elements

SetMinLength gets a reference to the given int32 and assigns it to the minLength field. MinLength:

func (*Elements) SetMultiline

func (o *Elements) SetMultiline(v bool) *Elements

SetMultiline gets a reference to the given bool and assigns it to the multiline field. Multiline:

func (*Elements) SetOptionGroups

func (o *Elements) SetOptionGroups(v []Option) *Elements

SetOptionGroups gets a reference to the given []Option and assigns it to the optionGroups field. OptionGroups:

func (*Elements) SetOptions

func (o *Elements) SetOptions(v []Option) *Elements

SetOptions gets a reference to the given []Option and assigns it to the options field. Options:

func (*Elements) SetPlaceholder

func (o *Elements) SetPlaceholder(v TextType) *Elements

SetPlaceholder gets a reference to the given TextType and assigns it to the placeholder field. Placeholder:

func (*Elements) SetStyle

func (o *Elements) SetStyle(v string) *Elements

SetStyle gets a reference to the given string and assigns it to the style field. Style:

func (*Elements) SetText

func (o *Elements) SetText(v TextType) *Elements

SetText gets a reference to the given TextType and assigns it to the text field. Text:

func (*Elements) SetType

func (o *Elements) SetType(v string) *Elements

SetType sets field value

func (*Elements) SetUrl

func (o *Elements) SetUrl(v string) *Elements

SetUrl gets a reference to the given string and assigns it to the url field. Url:

func (*Elements) SetValue

func (o *Elements) SetValue(v string) *Elements

SetValue gets a reference to the given string and assigns it to the value field. Value:

func (Elements) ToMap

func (o Elements) ToMap() (map[string]interface{}, error)

func (*Elements) Validate

func (o *Elements) Validate() error

Validate validates this Elements 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Email

type Email struct {
	Content *Content `json:"content"`
	From    *From    `json:"from"`
	// Specify the email address that you want to send to
	To []string `json:"to"`
}

Email Please fulfill its from, to and content if you want to send email

func NewEmail

func NewEmail() *Email

NewEmail is short for NewEmailWithDefault which instantiates a new Email object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewEmailEmpty

func NewEmailEmpty() *Email

NewEmailEmpty instantiates a new Email object with no properties set. This constructor will not assign any default values to properties.

func NewEmailList

func NewEmailList(ps ...*Email) []Email

NewEmails converts a list Email pointers to objects. This is helpful when the SetEmail requires a list of objects

func NewEmailWith

func NewEmailWith(content Content, from From, to []string) *Email

NewEmailWith instantiates a new Email object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewEmailWithDefault

func NewEmailWithDefault() *Email

NewEmailWithDefault instantiates a new Email object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Email) GetContent

func (o *Email) GetContent() Content

GetContent returns the Content field value

func (*Email) GetContentOk

func (o *Email) GetContentOk() (*Content, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*Email) GetFrom

func (o *Email) GetFrom() From

GetFrom returns the From field value

func (*Email) GetFromOk

func (o *Email) GetFromOk() (*From, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*Email) GetTo

func (o *Email) GetTo() []string

GetTo returns the To field value

func (*Email) GetToOk

func (o *Email) GetToOk() ([]string, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (Email) MarshalJSON

func (o Email) MarshalJSON() ([]byte, error)

func (*Email) SetContent

func (o *Email) SetContent(v Content) *Email

SetContent sets field value

func (*Email) SetFrom

func (o *Email) SetFrom(v From) *Email

SetFrom sets field value

func (*Email) SetTo

func (o *Email) SetTo(v []string) *Email

SetTo sets field value

func (Email) ToMap

func (o Email) ToMap() (map[string]interface{}, error)

func (*Email) Validate

func (o *Email) Validate() error

Validate validates this Email 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type FeedCard

type FeedCard struct {
	Links []Link `json:"links"`
}

FeedCard struct for FeedCard

func NewFeedCard

func NewFeedCard() *FeedCard

NewFeedCard is short for NewFeedCardWithDefault which instantiates a new FeedCard object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewFeedCardEmpty

func NewFeedCardEmpty() *FeedCard

NewFeedCardEmpty instantiates a new FeedCard object with no properties set. This constructor will not assign any default values to properties.

func NewFeedCardList

func NewFeedCardList(ps ...*FeedCard) []FeedCard

NewFeedCards converts a list FeedCard pointers to objects. This is helpful when the SetFeedCard requires a list of objects

func NewFeedCardWith

func NewFeedCardWith(links []Link) *FeedCard

NewFeedCardWith instantiates a new FeedCard object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewFeedCardWithDefault

func NewFeedCardWithDefault() *FeedCard

NewFeedCardWithDefault instantiates a new FeedCard object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *FeedCard) GetLinks() []Link

GetLinks returns the Links field value

func (*FeedCard) GetLinksOk

func (o *FeedCard) GetLinksOk() ([]Link, bool)

GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.

func (FeedCard) MarshalJSON

func (o FeedCard) MarshalJSON() ([]byte, error)
func (o *FeedCard) SetLinks(v []Link) *FeedCard

SetLinks sets field value

func (FeedCard) ToMap

func (o FeedCard) ToMap() (map[string]interface{}, error)

func (*FeedCard) Validate

func (o *FeedCard) Validate() error

Validate validates this FeedCard 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type From

type From struct {
	// Specify the email address that you want to send from
	Address *string `json:"address"`
	// The alias is the email alias to show after sending the email
	Alias *string `json:"alias,omitempty"`
	// Specify the host of your email
	Host     *string   `json:"host"`
	Password *Password `json:"password"`
	// Specify the port of the email host, default to 587
	Port *int32 `json:"port"`
}

From Specify the email info that you want to send from

func NewFrom

func NewFrom() *From

NewFrom is short for NewFromWithDefault which instantiates a new From object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewFromEmpty

func NewFromEmpty() *From

NewFromEmpty instantiates a new From object with no properties set. This constructor will not assign any default values to properties.

func NewFromList

func NewFromList(ps ...*From) []From

NewFroms converts a list From pointers to objects. This is helpful when the SetFrom requires a list of objects

func NewFromWith

func NewFromWith(address string, host string, password Password, port int32) *From

NewFromWith instantiates a new From object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewFromWithDefault

func NewFromWithDefault() *From

NewFromWithDefault instantiates a new From object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*From) GetAddress

func (o *From) GetAddress() string

GetAddress returns the Address field value

func (*From) GetAddressOk

func (o *From) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*From) GetAlias

func (o *From) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*From) GetAliasOk

func (o *From) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*From) GetHost

func (o *From) GetHost() string

GetHost returns the Host field value

func (*From) GetHostOk

func (o *From) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.

func (*From) GetPassword

func (o *From) GetPassword() Password

GetPassword returns the Password field value

func (*From) GetPasswordOk

func (o *From) GetPasswordOk() (*Password, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*From) GetPort

func (o *From) GetPort() int32

GetPort returns the Port field value

func (*From) GetPortOk

func (o *From) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.

func (*From) HasAlias

func (o *From) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (From) MarshalJSON

func (o From) MarshalJSON() ([]byte, error)

func (*From) SetAddress

func (o *From) SetAddress(v string) *From

SetAddress sets field value

func (*From) SetAlias

func (o *From) SetAlias(v string) *From

SetAlias gets a reference to the given string and assigns it to the alias field. Alias: The alias is the email alias to show after sending the email

func (*From) SetHost

func (o *From) SetHost(v string) *From

SetHost sets field value

func (*From) SetPassword

func (o *From) SetPassword(v Password) *From

SetPassword sets field value

func (*From) SetPort

func (o *From) SetPort(v int32) *From

SetPort sets field value

func (From) ToMap

func (o From) ToMap() (map[string]interface{}, error)

func (*From) Validate

func (o *From) Validate() error

Validate validates this From 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Lark

type Lark struct {
	Message *Message1 `json:"message"`
	Url     *Url1     `json:"url"`
}

Lark Please fulfill its url and message if you want to send Lark messages

func NewLark

func NewLark() *Lark

NewLark is short for NewLarkWithDefault which instantiates a new Lark object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewLarkEmpty

func NewLarkEmpty() *Lark

NewLarkEmpty instantiates a new Lark object with no properties set. This constructor will not assign any default values to properties.

func NewLarkList

func NewLarkList(ps ...*Lark) []Lark

NewLarks converts a list Lark pointers to objects. This is helpful when the SetLark requires a list of objects

func NewLarkWith

func NewLarkWith(message Message1, url Url1) *Lark

NewLarkWith instantiates a new Lark object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewLarkWithDefault

func NewLarkWithDefault() *Lark

NewLarkWithDefault instantiates a new Lark object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Lark) GetMessage

func (o *Lark) GetMessage() Message1

GetMessage returns the Message field value

func (*Lark) GetMessageOk

func (o *Lark) GetMessageOk() (*Message1, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Lark) GetUrl

func (o *Lark) GetUrl() Url1

GetUrl returns the Url field value

func (*Lark) GetUrlOk

func (o *Lark) GetUrlOk() (*Url1, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (Lark) MarshalJSON

func (o Lark) MarshalJSON() ([]byte, error)

func (*Lark) SetMessage

func (o *Lark) SetMessage(v Message1) *Lark

SetMessage sets field value

func (*Lark) SetUrl

func (o *Lark) SetUrl(v Url1) *Lark

SetUrl sets field value

func (Lark) ToMap

func (o Lark) ToMap() (map[string]interface{}, error)

func (*Lark) Validate

func (o *Lark) Validate() error

Validate validates this Lark 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Link struct {
	MessageUrl *string `json:"messageUrl,omitempty"`
	PicUrl     *string `json:"picUrl,omitempty"`
	Text       *string `json:"text,omitempty"`
	Title      *string `json:"title,omitempty"`
}

Link struct for Link

func NewLink() *Link

NewLink is short for NewLinkWithDefault which instantiates a new Link object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewLinkEmpty

func NewLinkEmpty() *Link

NewLinkEmpty instantiates a new Link object with no properties set. This constructor will not assign any default values to properties.

func NewLinkList(ps ...*Link) []Link

NewLinks converts a list Link pointers to objects. This is helpful when the SetLink requires a list of objects

func NewLinkWith

func NewLinkWith() *Link

NewLinkWith instantiates a new Link object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewLinkWithDefault

func NewLinkWithDefault() *Link

NewLinkWithDefault instantiates a new Link object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Link) GetMessageUrl

func (o *Link) GetMessageUrl() string

GetMessageUrl returns the MessageUrl field value if set, zero value otherwise.

func (*Link) GetMessageUrlOk

func (o *Link) GetMessageUrlOk() (*string, bool)

GetMessageUrlOk returns a tuple with the MessageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) GetPicUrl

func (o *Link) GetPicUrl() string

GetPicUrl returns the PicUrl field value if set, zero value otherwise.

func (*Link) GetPicUrlOk

func (o *Link) GetPicUrlOk() (*string, bool)

GetPicUrlOk returns a tuple with the PicUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) GetText

func (o *Link) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*Link) GetTextOk

func (o *Link) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) GetTitle

func (o *Link) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Link) GetTitleOk

func (o *Link) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) HasMessageUrl

func (o *Link) HasMessageUrl() bool

HasMessageUrl returns a boolean if a field has been set.

func (*Link) HasPicUrl

func (o *Link) HasPicUrl() bool

HasPicUrl returns a boolean if a field has been set.

func (*Link) HasText

func (o *Link) HasText() bool

HasText returns a boolean if a field has been set.

func (*Link) HasTitle

func (o *Link) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (Link) MarshalJSON

func (o Link) MarshalJSON() ([]byte, error)

func (*Link) SetMessageUrl

func (o *Link) SetMessageUrl(v string) *Link

SetMessageUrl gets a reference to the given string and assigns it to the messageUrl field. MessageUrl:

func (*Link) SetPicUrl

func (o *Link) SetPicUrl(v string) *Link

SetPicUrl gets a reference to the given string and assigns it to the picUrl field. PicUrl:

func (*Link) SetText

func (o *Link) SetText(v string) *Link

SetText gets a reference to the given string and assigns it to the text field. Text:

func (*Link) SetTitle

func (o *Link) SetTitle(v string) *Link

SetTitle gets a reference to the given string and assigns it to the title field. Title:

func (Link) ToMap

func (o Link) ToMap() (map[string]interface{}, error)

func (*Link) Validate

func (o *Link) Validate() error

Validate validates this Link 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Markdown

type Markdown struct {
	Text  *string `json:"text"`
	Title *string `json:"title"`
}

Markdown struct for Markdown

func NewMarkdown

func NewMarkdown() *Markdown

NewMarkdown is short for NewMarkdownWithDefault which instantiates a new Markdown object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewMarkdownEmpty

func NewMarkdownEmpty() *Markdown

NewMarkdownEmpty instantiates a new Markdown object with no properties set. This constructor will not assign any default values to properties.

func NewMarkdownList

func NewMarkdownList(ps ...*Markdown) []Markdown

NewMarkdowns converts a list Markdown pointers to objects. This is helpful when the SetMarkdown requires a list of objects

func NewMarkdownWith

func NewMarkdownWith(text string, title string) *Markdown

NewMarkdownWith instantiates a new Markdown object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewMarkdownWithDefault

func NewMarkdownWithDefault() *Markdown

NewMarkdownWithDefault instantiates a new Markdown object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Markdown) GetText

func (o *Markdown) GetText() string

GetText returns the Text field value

func (*Markdown) GetTextOk

func (o *Markdown) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*Markdown) GetTitle

func (o *Markdown) GetTitle() string

GetTitle returns the Title field value

func (*Markdown) GetTitleOk

func (o *Markdown) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (Markdown) MarshalJSON

func (o Markdown) MarshalJSON() ([]byte, error)

func (*Markdown) SetText

func (o *Markdown) SetText(v string) *Markdown

SetText sets field value

func (*Markdown) SetTitle

func (o *Markdown) SetTitle(v string) *Markdown

SetTitle sets field value

func (Markdown) ToMap

func (o Markdown) ToMap() (map[string]interface{}, error)

func (*Markdown) Validate

func (o *Markdown) Validate() error

Validate validates this Markdown 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Message

type Message struct {
	ActionCard *ActionCard `json:"actionCard,omitempty"`
	At         *At         `json:"at,omitempty"`
	FeedCard   *FeedCard   `json:"feedCard,omitempty"`
	Link       *Link       `json:"link,omitempty"`
	Markdown   *Markdown   `json:"markdown,omitempty"`
	// msgType can be text, link, mardown, actionCard, feedCard
	Msgtype *string `json:"msgtype"`
	Text    *Text   `json:"text,omitempty"`
}

Message Specify the message that you want to sent, refer to [dingtalk messaging](https://developers.dingtalk.com/document/robots/custom-robot-access/title-72m-8ag-pqw)

func NewMessage

func NewMessage() *Message

NewMessage is short for NewMessageWithDefault which instantiates a new Message object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewMessageEmpty

func NewMessageEmpty() *Message

NewMessageEmpty instantiates a new Message object with no properties set. This constructor will not assign any default values to properties.

func NewMessageList

func NewMessageList(ps ...*Message) []Message

NewMessages converts a list Message pointers to objects. This is helpful when the SetMessage requires a list of objects

func NewMessageWith

func NewMessageWith(msgtype string) *Message

NewMessageWith instantiates a new Message object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewMessageWithDefault

func NewMessageWithDefault() *Message

NewMessageWithDefault instantiates a new Message object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Message) GetActionCard

func (o *Message) GetActionCard() ActionCard

GetActionCard returns the ActionCard field value if set, zero value otherwise.

func (*Message) GetActionCardOk

func (o *Message) GetActionCardOk() (*ActionCard, bool)

GetActionCardOk returns a tuple with the ActionCard field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message) GetAt

func (o *Message) GetAt() At

GetAt returns the At field value if set, zero value otherwise.

func (*Message) GetAtOk

func (o *Message) GetAtOk() (*At, bool)

GetAtOk returns a tuple with the At field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message) GetFeedCard

func (o *Message) GetFeedCard() FeedCard

GetFeedCard returns the FeedCard field value if set, zero value otherwise.

func (*Message) GetFeedCardOk

func (o *Message) GetFeedCardOk() (*FeedCard, bool)

GetFeedCardOk returns a tuple with the FeedCard field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Message) GetLink() Link

GetLink returns the Link field value if set, zero value otherwise.

func (*Message) GetLinkOk

func (o *Message) GetLinkOk() (*Link, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message) GetMarkdown

func (o *Message) GetMarkdown() Markdown

GetMarkdown returns the Markdown field value if set, zero value otherwise.

func (*Message) GetMarkdownOk

func (o *Message) GetMarkdownOk() (*Markdown, bool)

GetMarkdownOk returns a tuple with the Markdown field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message) GetMsgtype

func (o *Message) GetMsgtype() string

GetMsgtype returns the Msgtype field value

func (*Message) GetMsgtypeOk

func (o *Message) GetMsgtypeOk() (*string, bool)

GetMsgtypeOk returns a tuple with the Msgtype field value and a boolean to check if the value has been set.

func (*Message) GetText

func (o *Message) GetText() Text

GetText returns the Text field value if set, zero value otherwise.

func (*Message) GetTextOk

func (o *Message) GetTextOk() (*Text, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message) HasActionCard

func (o *Message) HasActionCard() bool

HasActionCard returns a boolean if a field has been set.

func (*Message) HasAt

func (o *Message) HasAt() bool

HasAt returns a boolean if a field has been set.

func (*Message) HasFeedCard

func (o *Message) HasFeedCard() bool

HasFeedCard returns a boolean if a field has been set.

func (o *Message) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*Message) HasMarkdown

func (o *Message) HasMarkdown() bool

HasMarkdown returns a boolean if a field has been set.

func (*Message) HasText

func (o *Message) HasText() bool

HasText returns a boolean if a field has been set.

func (Message) MarshalJSON

func (o Message) MarshalJSON() ([]byte, error)

func (*Message) SetActionCard

func (o *Message) SetActionCard(v ActionCard) *Message

SetActionCard gets a reference to the given ActionCard and assigns it to the actionCard field. ActionCard:

func (*Message) SetAt

func (o *Message) SetAt(v At) *Message

SetAt gets a reference to the given At and assigns it to the at field. At:

func (*Message) SetFeedCard

func (o *Message) SetFeedCard(v FeedCard) *Message

SetFeedCard gets a reference to the given FeedCard and assigns it to the feedCard field. FeedCard:

func (o *Message) SetLink(v Link) *Message

SetLink gets a reference to the given Link and assigns it to the link field. Link:

func (*Message) SetMarkdown

func (o *Message) SetMarkdown(v Markdown) *Message

SetMarkdown gets a reference to the given Markdown and assigns it to the markdown field. Markdown:

func (*Message) SetMsgtype

func (o *Message) SetMsgtype(v string) *Message

SetMsgtype sets field value

func (*Message) SetText

func (o *Message) SetText(v Text) *Message

SetText gets a reference to the given Text and assigns it to the text field. Text:

func (Message) ToMap

func (o Message) ToMap() (map[string]interface{}, error)

func (*Message) Validate

func (o *Message) Validate() error

Validate validates this Message 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Message1

type Message1 struct {
	// content should be json encode string
	Content *string `json:"content"`
	// msg_type can be text, post, image, interactive, share_chat, share_user, audio, media, file, sticker
	MsgType *string `json:"msg_type"`
}

Message1 Specify the message that you want to sent, refer to [Lark messaging](https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#8b0f2a1b).

func NewMessage1

func NewMessage1() *Message1

NewMessage1 is short for NewMessage1WithDefault which instantiates a new Message1 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewMessage1Empty

func NewMessage1Empty() *Message1

NewMessage1Empty instantiates a new Message1 object with no properties set. This constructor will not assign any default values to properties.

func NewMessage1List

func NewMessage1List(ps ...*Message1) []Message1

NewMessage1s converts a list Message1 pointers to objects. This is helpful when the SetMessage1 requires a list of objects

func NewMessage1With

func NewMessage1With(content string, msgType string) *Message1

NewMessage1With instantiates a new Message1 object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewMessage1WithDefault

func NewMessage1WithDefault() *Message1

NewMessage1WithDefault instantiates a new Message1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Message1) GetContent

func (o *Message1) GetContent() string

GetContent returns the Content field value

func (*Message1) GetContentOk

func (o *Message1) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*Message1) GetMsgType

func (o *Message1) GetMsgType() string

GetMsgType returns the MsgType field value

func (*Message1) GetMsgTypeOk

func (o *Message1) GetMsgTypeOk() (*string, bool)

GetMsgTypeOk returns a tuple with the MsgType field value and a boolean to check if the value has been set.

func (Message1) MarshalJSON

func (o Message1) MarshalJSON() ([]byte, error)

func (*Message1) SetContent

func (o *Message1) SetContent(v string) *Message1

SetContent sets field value

func (*Message1) SetMsgType

func (o *Message1) SetMsgType(v string) *Message1

SetMsgType sets field value

func (Message1) ToMap

func (o Message1) ToMap() (map[string]interface{}, error)

func (*Message1) Validate

func (o *Message1) Validate() error

Validate validates this Message1 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Message2

type Message2 struct {
	Attachments *Attachments `json:"attachments,omitempty"`
	Blocks      []Block      `json:"blocks,omitempty"`
	// Specify the message text format in markdown for slack notification
	Mrkdwn *bool `json:"mrkdwn,omitempty"`
	// Specify the message text for slack notification
	Text     *string `json:"text"`
	ThreadTs *string `json:"thread_ts,omitempty"`
}

Message2 Specify the message that you want to sent, refer to [slack messaging](https://api.slack.com/reference/messaging/payload)

func NewMessage2

func NewMessage2() *Message2

NewMessage2 is short for NewMessage2WithDefault which instantiates a new Message2 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewMessage2Empty

func NewMessage2Empty() *Message2

NewMessage2Empty instantiates a new Message2 object with no properties set. This constructor will not assign any default values to properties.

func NewMessage2List

func NewMessage2List(ps ...*Message2) []Message2

NewMessage2s converts a list Message2 pointers to objects. This is helpful when the SetMessage2 requires a list of objects

func NewMessage2With

func NewMessage2With(text string) *Message2

NewMessage2With instantiates a new Message2 object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewMessage2WithDefault

func NewMessage2WithDefault() *Message2

NewMessage2WithDefault instantiates a new Message2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Message2) GetAttachments

func (o *Message2) GetAttachments() Attachments

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*Message2) GetAttachmentsOk

func (o *Message2) GetAttachmentsOk() (*Attachments, bool)

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message2) GetBlocks

func (o *Message2) GetBlocks() []Block

GetBlocks returns the Blocks field value if set, zero value otherwise.

func (*Message2) GetBlocksOk

func (o *Message2) GetBlocksOk() ([]Block, bool)

GetBlocksOk returns a tuple with the Blocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message2) GetMrkdwn

func (o *Message2) GetMrkdwn() bool

GetMrkdwn returns the Mrkdwn field value if set, zero value otherwise.

func (*Message2) GetMrkdwnOk

func (o *Message2) GetMrkdwnOk() (*bool, bool)

GetMrkdwnOk returns a tuple with the Mrkdwn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message2) GetText

func (o *Message2) GetText() string

GetText returns the Text field value

func (*Message2) GetTextOk

func (o *Message2) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*Message2) GetThreadTs

func (o *Message2) GetThreadTs() string

GetThreadTs returns the ThreadTs field value if set, zero value otherwise.

func (*Message2) GetThreadTsOk

func (o *Message2) GetThreadTsOk() (*string, bool)

GetThreadTsOk returns a tuple with the ThreadTs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Message2) HasAttachments

func (o *Message2) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*Message2) HasBlocks

func (o *Message2) HasBlocks() bool

HasBlocks returns a boolean if a field has been set.

func (*Message2) HasMrkdwn

func (o *Message2) HasMrkdwn() bool

HasMrkdwn returns a boolean if a field has been set.

func (*Message2) HasThreadTs

func (o *Message2) HasThreadTs() bool

HasThreadTs returns a boolean if a field has been set.

func (Message2) MarshalJSON

func (o Message2) MarshalJSON() ([]byte, error)

func (*Message2) SetAttachments

func (o *Message2) SetAttachments(v Attachments) *Message2

SetAttachments gets a reference to the given Attachments and assigns it to the attachments field. Attachments:

func (*Message2) SetBlocks

func (o *Message2) SetBlocks(v []Block) *Message2

SetBlocks gets a reference to the given []Block and assigns it to the blocks field. Blocks:

func (*Message2) SetMrkdwn

func (o *Message2) SetMrkdwn(v bool) *Message2

SetMrkdwn gets a reference to the given bool and assigns it to the mrkdwn field. Mrkdwn: Specify the message text format in markdown for slack notification

func (*Message2) SetText

func (o *Message2) SetText(v string) *Message2

SetText sets field value

func (*Message2) SetThreadTs

func (o *Message2) SetThreadTs(v string) *Message2

SetThreadTs gets a reference to the given string and assigns it to the threadTs field. ThreadTs:

func (Message2) ToMap

func (o Message2) ToMap() (map[string]interface{}, error)

func (*Message2) Validate

func (o *Message2) Validate() error

Validate validates this Message2 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type NotificationSpec

type NotificationSpec struct {
	Dingding *Dingding `json:"dingding,omitempty"`
	Email    *Email    `json:"email,omitempty"`
	Lark     *Lark     `json:"lark,omitempty"`
	Slack    *Slack    `json:"slack,omitempty"`
}

NotificationSpec struct for NotificationSpec

func NewNotificationSpec

func NewNotificationSpec() *NotificationSpec

NewNotificationSpec is short for NewNotificationSpecWithDefault which instantiates a new NotificationSpec object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewNotificationSpecEmpty

func NewNotificationSpecEmpty() *NotificationSpec

NewNotificationSpecEmpty instantiates a new NotificationSpec object with no properties set. This constructor will not assign any default values to properties.

func NewNotificationSpecList

func NewNotificationSpecList(ps ...*NotificationSpec) []NotificationSpec

NewNotificationSpecs converts a list NotificationSpec pointers to objects. This is helpful when the SetNotificationSpec requires a list of objects

func NewNotificationSpecWith

func NewNotificationSpecWith() *NotificationSpec

NewNotificationSpecWith instantiates a new NotificationSpec object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewNotificationSpecWithDefault

func NewNotificationSpecWithDefault() *NotificationSpec

NewNotificationSpecWithDefault instantiates a new NotificationSpec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (NotificationSpec) MarshalJSON

func (o NotificationSpec) MarshalJSON() ([]byte, error)

func (NotificationSpec) ToMap

func (o NotificationSpec) ToMap() (map[string]interface{}, error)

type NotificationWorkflowStep

type NotificationWorkflowStep struct {
	Base       apis.WorkflowStepBase
	Properties NotificationSpec
}

func Notification

func Notification(name string) *NotificationWorkflowStep

func (*NotificationWorkflowStep) Alias

func (*NotificationWorkflowStep) Build

func (*NotificationWorkflowStep) DefType

func (n *NotificationWorkflowStep) DefType() string

func (*NotificationWorkflowStep) DependsOn

func (n *NotificationWorkflowStep) DependsOn(dependsOn []string) *NotificationWorkflowStep

func (*NotificationWorkflowStep) FromWorkflowStep

func (*NotificationWorkflowStep) FromWorkflowSubStep

func (*NotificationWorkflowStep) GetDingding

func (o *NotificationWorkflowStep) GetDingding() Dingding

GetDingding returns the Dingding field value if set, zero value otherwise.

func (*NotificationWorkflowStep) GetDingdingOk

func (o *NotificationWorkflowStep) GetDingdingOk() (*Dingding, bool)

GetDingdingOk returns a tuple with the Dingding field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotificationWorkflowStep) GetEmail

func (o *NotificationWorkflowStep) GetEmail() Email

GetEmail returns the Email field value if set, zero value otherwise.

func (*NotificationWorkflowStep) GetEmailOk

func (o *NotificationWorkflowStep) GetEmailOk() (*Email, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotificationWorkflowStep) GetLark

func (o *NotificationWorkflowStep) GetLark() Lark

GetLark returns the Lark field value if set, zero value otherwise.

func (*NotificationWorkflowStep) GetLarkOk

func (o *NotificationWorkflowStep) GetLarkOk() (*Lark, bool)

GetLarkOk returns a tuple with the Lark field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotificationWorkflowStep) GetSlack

func (o *NotificationWorkflowStep) GetSlack() Slack

GetSlack returns the Slack field value if set, zero value otherwise.

func (*NotificationWorkflowStep) GetSlackOk

func (o *NotificationWorkflowStep) GetSlackOk() (*Slack, bool)

GetSlackOk returns a tuple with the Slack field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NotificationWorkflowStep) HasDingding

func (o *NotificationWorkflowStep) HasDingding() bool

HasDingding returns a boolean if a field has been set.

func (*NotificationWorkflowStep) HasEmail

func (o *NotificationWorkflowStep) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*NotificationWorkflowStep) HasLark

func (o *NotificationWorkflowStep) HasLark() bool

HasLark returns a boolean if a field has been set.

func (*NotificationWorkflowStep) HasSlack

func (o *NotificationWorkflowStep) HasSlack() bool

HasSlack returns a boolean if a field has been set.

func (*NotificationWorkflowStep) If

func (*NotificationWorkflowStep) Inputs

func (*NotificationWorkflowStep) Outputs

func (*NotificationWorkflowStep) SetDingding

SetDingding gets a reference to the given Dingding and assigns it to the dingding field. Dingding:

func (*NotificationWorkflowStep) SetEmail

SetEmail gets a reference to the given Email and assigns it to the email field. Email:

func (*NotificationWorkflowStep) SetLark

SetLark gets a reference to the given Lark and assigns it to the lark field. Lark:

func (*NotificationWorkflowStep) SetSlack

SetSlack gets a reference to the given Slack and assigns it to the slack field. Slack:

func (*NotificationWorkflowStep) Timeout

func (*NotificationWorkflowStep) Validate

func (o *NotificationWorkflowStep) Validate() error

Validate validates this NotificationSpec 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

func (*NotificationWorkflowStep) WorkflowStepName

func (n *NotificationWorkflowStep) WorkflowStepName() string

type NullableActionCard

type NullableActionCard struct {
	// contains filtered or unexported fields
}

func NewNullableActionCard

func NewNullableActionCard(val *ActionCard) *NullableActionCard

func (*NullableActionCard) Get

func (v *NullableActionCard) Get() *ActionCard

func (*NullableActionCard) IsSet

func (v *NullableActionCard) IsSet() bool

func (NullableActionCard) MarshalJSON

func (v NullableActionCard) MarshalJSON() ([]byte, error)

func (*NullableActionCard) Set

func (v *NullableActionCard) Set(val *ActionCard)

func (*NullableActionCard) UnmarshalJSON

func (v *NullableActionCard) UnmarshalJSON(src []byte) error

func (*NullableActionCard) Unset

func (v *NullableActionCard) Unset()

type NullableAt

type NullableAt struct {
	// contains filtered or unexported fields
}

func NewNullableAt

func NewNullableAt(val *At) *NullableAt

func (*NullableAt) Get

func (v *NullableAt) Get() *At

func (*NullableAt) IsSet

func (v *NullableAt) IsSet() bool

func (NullableAt) MarshalJSON

func (v NullableAt) MarshalJSON() ([]byte, error)

func (*NullableAt) Set

func (v *NullableAt) Set(val *At)

func (*NullableAt) UnmarshalJSON

func (v *NullableAt) UnmarshalJSON(src []byte) error

func (*NullableAt) Unset

func (v *NullableAt) Unset()

type NullableAttachments

type NullableAttachments struct {
	// contains filtered or unexported fields
}

func NewNullableAttachments

func NewNullableAttachments(val *Attachments) *NullableAttachments

func (*NullableAttachments) Get

func (v *NullableAttachments) Get() *Attachments

func (*NullableAttachments) IsSet

func (v *NullableAttachments) IsSet() bool

func (NullableAttachments) MarshalJSON

func (v NullableAttachments) MarshalJSON() ([]byte, error)

func (*NullableAttachments) Set

func (v *NullableAttachments) Set(val *Attachments)

func (*NullableAttachments) UnmarshalJSON

func (v *NullableAttachments) UnmarshalJSON(src []byte) error

func (*NullableAttachments) Unset

func (v *NullableAttachments) Unset()

type NullableBlock

type NullableBlock struct {
	// contains filtered or unexported fields
}

func NewNullableBlock

func NewNullableBlock(val *Block) *NullableBlock

func (*NullableBlock) Get

func (v *NullableBlock) Get() *Block

func (*NullableBlock) IsSet

func (v *NullableBlock) IsSet() bool

func (NullableBlock) MarshalJSON

func (v NullableBlock) MarshalJSON() ([]byte, error)

func (*NullableBlock) Set

func (v *NullableBlock) Set(val *Block)

func (*NullableBlock) UnmarshalJSON

func (v *NullableBlock) UnmarshalJSON(src []byte) error

func (*NullableBlock) Unset

func (v *NullableBlock) Unset()

type NullableBtns

type NullableBtns struct {
	// contains filtered or unexported fields
}

func NewNullableBtns

func NewNullableBtns(val *Btns) *NullableBtns

func (*NullableBtns) Get

func (v *NullableBtns) Get() *Btns

func (*NullableBtns) IsSet

func (v *NullableBtns) IsSet() bool

func (NullableBtns) MarshalJSON

func (v NullableBtns) MarshalJSON() ([]byte, error)

func (*NullableBtns) Set

func (v *NullableBtns) Set(val *Btns)

func (*NullableBtns) UnmarshalJSON

func (v *NullableBtns) UnmarshalJSON(src []byte) error

func (*NullableBtns) Unset

func (v *NullableBtns) Unset()

type NullableConfirm

type NullableConfirm struct {
	// contains filtered or unexported fields
}

func NewNullableConfirm

func NewNullableConfirm(val *Confirm) *NullableConfirm

func (*NullableConfirm) Get

func (v *NullableConfirm) Get() *Confirm

func (*NullableConfirm) IsSet

func (v *NullableConfirm) IsSet() bool

func (NullableConfirm) MarshalJSON

func (v NullableConfirm) MarshalJSON() ([]byte, error)

func (*NullableConfirm) Set

func (v *NullableConfirm) Set(val *Confirm)

func (*NullableConfirm) UnmarshalJSON

func (v *NullableConfirm) UnmarshalJSON(src []byte) error

func (*NullableConfirm) Unset

func (v *NullableConfirm) Unset()

type NullableContent

type NullableContent struct {
	// contains filtered or unexported fields
}

func NewNullableContent

func NewNullableContent(val *Content) *NullableContent

func (*NullableContent) Get

func (v *NullableContent) Get() *Content

func (*NullableContent) IsSet

func (v *NullableContent) IsSet() bool

func (NullableContent) MarshalJSON

func (v NullableContent) MarshalJSON() ([]byte, error)

func (*NullableContent) Set

func (v *NullableContent) Set(val *Content)

func (*NullableContent) UnmarshalJSON

func (v *NullableContent) UnmarshalJSON(src []byte) error

func (*NullableContent) Unset

func (v *NullableContent) Unset()

type NullableDingding

type NullableDingding struct {
	// contains filtered or unexported fields
}

func NewNullableDingding

func NewNullableDingding(val *Dingding) *NullableDingding

func (*NullableDingding) Get

func (v *NullableDingding) Get() *Dingding

func (*NullableDingding) IsSet

func (v *NullableDingding) IsSet() bool

func (NullableDingding) MarshalJSON

func (v NullableDingding) MarshalJSON() ([]byte, error)

func (*NullableDingding) Set

func (v *NullableDingding) Set(val *Dingding)

func (*NullableDingding) UnmarshalJSON

func (v *NullableDingding) UnmarshalJSON(src []byte) error

func (*NullableDingding) Unset

func (v *NullableDingding) Unset()

type NullableDispatchActionConfig

type NullableDispatchActionConfig struct {
	// contains filtered or unexported fields
}

func NewNullableDispatchActionConfig

func NewNullableDispatchActionConfig(val *DispatchActionConfig) *NullableDispatchActionConfig

func (*NullableDispatchActionConfig) Get

func (*NullableDispatchActionConfig) IsSet

func (NullableDispatchActionConfig) MarshalJSON

func (v NullableDispatchActionConfig) MarshalJSON() ([]byte, error)

func (*NullableDispatchActionConfig) Set

func (*NullableDispatchActionConfig) UnmarshalJSON

func (v *NullableDispatchActionConfig) UnmarshalJSON(src []byte) error

func (*NullableDispatchActionConfig) Unset

func (v *NullableDispatchActionConfig) Unset()

type NullableElements

type NullableElements struct {
	// contains filtered or unexported fields
}

func NewNullableElements

func NewNullableElements(val *Elements) *NullableElements

func (*NullableElements) Get

func (v *NullableElements) Get() *Elements

func (*NullableElements) IsSet

func (v *NullableElements) IsSet() bool

func (NullableElements) MarshalJSON

func (v NullableElements) MarshalJSON() ([]byte, error)

func (*NullableElements) Set

func (v *NullableElements) Set(val *Elements)

func (*NullableElements) UnmarshalJSON

func (v *NullableElements) UnmarshalJSON(src []byte) error

func (*NullableElements) Unset

func (v *NullableElements) Unset()

type NullableEmail

type NullableEmail struct {
	// contains filtered or unexported fields
}

func NewNullableEmail

func NewNullableEmail(val *Email) *NullableEmail

func (*NullableEmail) Get

func (v *NullableEmail) Get() *Email

func (*NullableEmail) IsSet

func (v *NullableEmail) IsSet() bool

func (NullableEmail) MarshalJSON

func (v NullableEmail) MarshalJSON() ([]byte, error)

func (*NullableEmail) Set

func (v *NullableEmail) Set(val *Email)

func (*NullableEmail) UnmarshalJSON

func (v *NullableEmail) UnmarshalJSON(src []byte) error

func (*NullableEmail) Unset

func (v *NullableEmail) Unset()

type NullableFeedCard

type NullableFeedCard struct {
	// contains filtered or unexported fields
}

func NewNullableFeedCard

func NewNullableFeedCard(val *FeedCard) *NullableFeedCard

func (*NullableFeedCard) Get

func (v *NullableFeedCard) Get() *FeedCard

func (*NullableFeedCard) IsSet

func (v *NullableFeedCard) IsSet() bool

func (NullableFeedCard) MarshalJSON

func (v NullableFeedCard) MarshalJSON() ([]byte, error)

func (*NullableFeedCard) Set

func (v *NullableFeedCard) Set(val *FeedCard)

func (*NullableFeedCard) UnmarshalJSON

func (v *NullableFeedCard) UnmarshalJSON(src []byte) error

func (*NullableFeedCard) Unset

func (v *NullableFeedCard) Unset()

type NullableFrom

type NullableFrom struct {
	// contains filtered or unexported fields
}

func NewNullableFrom

func NewNullableFrom(val *From) *NullableFrom

func (*NullableFrom) Get

func (v *NullableFrom) Get() *From

func (*NullableFrom) IsSet

func (v *NullableFrom) IsSet() bool

func (NullableFrom) MarshalJSON

func (v NullableFrom) MarshalJSON() ([]byte, error)

func (*NullableFrom) Set

func (v *NullableFrom) Set(val *From)

func (*NullableFrom) UnmarshalJSON

func (v *NullableFrom) UnmarshalJSON(src []byte) error

func (*NullableFrom) Unset

func (v *NullableFrom) Unset()

type NullableLark

type NullableLark struct {
	// contains filtered or unexported fields
}

func NewNullableLark

func NewNullableLark(val *Lark) *NullableLark

func (*NullableLark) Get

func (v *NullableLark) Get() *Lark

func (*NullableLark) IsSet

func (v *NullableLark) IsSet() bool

func (NullableLark) MarshalJSON

func (v NullableLark) MarshalJSON() ([]byte, error)

func (*NullableLark) Set

func (v *NullableLark) Set(val *Lark)

func (*NullableLark) UnmarshalJSON

func (v *NullableLark) UnmarshalJSON(src []byte) error

func (*NullableLark) Unset

func (v *NullableLark) Unset()
type NullableLink struct {
	// contains filtered or unexported fields
}
func NewNullableLink(val *Link) *NullableLink

func (*NullableLink) Get

func (v *NullableLink) Get() *Link

func (*NullableLink) IsSet

func (v *NullableLink) IsSet() bool

func (NullableLink) MarshalJSON

func (v NullableLink) MarshalJSON() ([]byte, error)

func (*NullableLink) Set

func (v *NullableLink) Set(val *Link)

func (*NullableLink) UnmarshalJSON

func (v *NullableLink) UnmarshalJSON(src []byte) error

func (*NullableLink) Unset

func (v *NullableLink) Unset()

type NullableMarkdown

type NullableMarkdown struct {
	// contains filtered or unexported fields
}

func NewNullableMarkdown

func NewNullableMarkdown(val *Markdown) *NullableMarkdown

func (*NullableMarkdown) Get

func (v *NullableMarkdown) Get() *Markdown

func (*NullableMarkdown) IsSet

func (v *NullableMarkdown) IsSet() bool

func (NullableMarkdown) MarshalJSON

func (v NullableMarkdown) MarshalJSON() ([]byte, error)

func (*NullableMarkdown) Set

func (v *NullableMarkdown) Set(val *Markdown)

func (*NullableMarkdown) UnmarshalJSON

func (v *NullableMarkdown) UnmarshalJSON(src []byte) error

func (*NullableMarkdown) Unset

func (v *NullableMarkdown) Unset()

type NullableMessage

type NullableMessage struct {
	// contains filtered or unexported fields
}

func NewNullableMessage

func NewNullableMessage(val *Message) *NullableMessage

func (*NullableMessage) Get

func (v *NullableMessage) Get() *Message

func (*NullableMessage) IsSet

func (v *NullableMessage) IsSet() bool

func (NullableMessage) MarshalJSON

func (v NullableMessage) MarshalJSON() ([]byte, error)

func (*NullableMessage) Set

func (v *NullableMessage) Set(val *Message)

func (*NullableMessage) UnmarshalJSON

func (v *NullableMessage) UnmarshalJSON(src []byte) error

func (*NullableMessage) Unset

func (v *NullableMessage) Unset()

type NullableMessage1

type NullableMessage1 struct {
	// contains filtered or unexported fields
}

func NewNullableMessage1

func NewNullableMessage1(val *Message1) *NullableMessage1

func (*NullableMessage1) Get

func (v *NullableMessage1) Get() *Message1

func (*NullableMessage1) IsSet

func (v *NullableMessage1) IsSet() bool

func (NullableMessage1) MarshalJSON

func (v NullableMessage1) MarshalJSON() ([]byte, error)

func (*NullableMessage1) Set

func (v *NullableMessage1) Set(val *Message1)

func (*NullableMessage1) UnmarshalJSON

func (v *NullableMessage1) UnmarshalJSON(src []byte) error

func (*NullableMessage1) Unset

func (v *NullableMessage1) Unset()

type NullableMessage2

type NullableMessage2 struct {
	// contains filtered or unexported fields
}

func NewNullableMessage2

func NewNullableMessage2(val *Message2) *NullableMessage2

func (*NullableMessage2) Get

func (v *NullableMessage2) Get() *Message2

func (*NullableMessage2) IsSet

func (v *NullableMessage2) IsSet() bool

func (NullableMessage2) MarshalJSON

func (v NullableMessage2) MarshalJSON() ([]byte, error)

func (*NullableMessage2) Set

func (v *NullableMessage2) Set(val *Message2)

func (*NullableMessage2) UnmarshalJSON

func (v *NullableMessage2) UnmarshalJSON(src []byte) error

func (*NullableMessage2) Unset

func (v *NullableMessage2) Unset()

type NullableNotificationSpec

type NullableNotificationSpec struct {
	// contains filtered or unexported fields
}

func NewNullableNotificationSpec

func NewNullableNotificationSpec(val *NotificationSpec) *NullableNotificationSpec

func (*NullableNotificationSpec) Get

func (*NullableNotificationSpec) IsSet

func (v *NullableNotificationSpec) IsSet() bool

func (NullableNotificationSpec) MarshalJSON

func (v NullableNotificationSpec) MarshalJSON() ([]byte, error)

func (*NullableNotificationSpec) Set

func (*NullableNotificationSpec) UnmarshalJSON

func (v *NullableNotificationSpec) UnmarshalJSON(src []byte) error

func (*NullableNotificationSpec) Unset

func (v *NullableNotificationSpec) Unset()

type NullableOption

type NullableOption struct {
	// contains filtered or unexported fields
}

func NewNullableOption

func NewNullableOption(val *Option) *NullableOption

func (*NullableOption) Get

func (v *NullableOption) Get() *Option

func (*NullableOption) IsSet

func (v *NullableOption) IsSet() bool

func (NullableOption) MarshalJSON

func (v NullableOption) MarshalJSON() ([]byte, error)

func (*NullableOption) Set

func (v *NullableOption) Set(val *Option)

func (*NullableOption) UnmarshalJSON

func (v *NullableOption) UnmarshalJSON(src []byte) error

func (*NullableOption) Unset

func (v *NullableOption) Unset()

type NullablePassword

type NullablePassword struct {
	// contains filtered or unexported fields
}

func NewNullablePassword

func NewNullablePassword(val *Password) *NullablePassword

func (*NullablePassword) Get

func (v *NullablePassword) Get() *Password

func (*NullablePassword) IsSet

func (v *NullablePassword) IsSet() bool

func (NullablePassword) MarshalJSON

func (v NullablePassword) MarshalJSON() ([]byte, error)

func (*NullablePassword) Set

func (v *NullablePassword) Set(val *Password)

func (*NullablePassword) UnmarshalJSON

func (v *NullablePassword) UnmarshalJSON(src []byte) error

func (*NullablePassword) Unset

func (v *NullablePassword) Unset()

type NullablePasswordOneOf

type NullablePasswordOneOf struct {
	// contains filtered or unexported fields
}

func NewNullablePasswordOneOf

func NewNullablePasswordOneOf(val *PasswordOneOf) *NullablePasswordOneOf

func (*NullablePasswordOneOf) Get

func (*NullablePasswordOneOf) IsSet

func (v *NullablePasswordOneOf) IsSet() bool

func (NullablePasswordOneOf) MarshalJSON

func (v NullablePasswordOneOf) MarshalJSON() ([]byte, error)

func (*NullablePasswordOneOf) Set

func (v *NullablePasswordOneOf) Set(val *PasswordOneOf)

func (*NullablePasswordOneOf) UnmarshalJSON

func (v *NullablePasswordOneOf) UnmarshalJSON(src []byte) error

func (*NullablePasswordOneOf) Unset

func (v *NullablePasswordOneOf) Unset()

type NullableSecretRef

type NullableSecretRef struct {
	// contains filtered or unexported fields
}

func NewNullableSecretRef

func NewNullableSecretRef(val *SecretRef) *NullableSecretRef

func (*NullableSecretRef) Get

func (v *NullableSecretRef) Get() *SecretRef

func (*NullableSecretRef) IsSet

func (v *NullableSecretRef) IsSet() bool

func (NullableSecretRef) MarshalJSON

func (v NullableSecretRef) MarshalJSON() ([]byte, error)

func (*NullableSecretRef) Set

func (v *NullableSecretRef) Set(val *SecretRef)

func (*NullableSecretRef) UnmarshalJSON

func (v *NullableSecretRef) UnmarshalJSON(src []byte) error

func (*NullableSecretRef) Unset

func (v *NullableSecretRef) Unset()

type NullableSlack

type NullableSlack struct {
	// contains filtered or unexported fields
}

func NewNullableSlack

func NewNullableSlack(val *Slack) *NullableSlack

func (*NullableSlack) Get

func (v *NullableSlack) Get() *Slack

func (*NullableSlack) IsSet

func (v *NullableSlack) IsSet() bool

func (NullableSlack) MarshalJSON

func (v NullableSlack) MarshalJSON() ([]byte, error)

func (*NullableSlack) Set

func (v *NullableSlack) Set(val *Slack)

func (*NullableSlack) UnmarshalJSON

func (v *NullableSlack) UnmarshalJSON(src []byte) error

func (*NullableSlack) Unset

func (v *NullableSlack) Unset()

type NullableText

type NullableText struct {
	// contains filtered or unexported fields
}

func NewNullableText

func NewNullableText(val *Text) *NullableText

func (*NullableText) Get

func (v *NullableText) Get() *Text

func (*NullableText) IsSet

func (v *NullableText) IsSet() bool

func (NullableText) MarshalJSON

func (v NullableText) MarshalJSON() ([]byte, error)

func (*NullableText) Set

func (v *NullableText) Set(val *Text)

func (*NullableText) UnmarshalJSON

func (v *NullableText) UnmarshalJSON(src []byte) error

func (*NullableText) Unset

func (v *NullableText) Unset()

type NullableTextType

type NullableTextType struct {
	// contains filtered or unexported fields
}

func NewNullableTextType

func NewNullableTextType(val *TextType) *NullableTextType

func (*NullableTextType) Get

func (v *NullableTextType) Get() *TextType

func (*NullableTextType) IsSet

func (v *NullableTextType) IsSet() bool

func (NullableTextType) MarshalJSON

func (v NullableTextType) MarshalJSON() ([]byte, error)

func (*NullableTextType) Set

func (v *NullableTextType) Set(val *TextType)

func (*NullableTextType) UnmarshalJSON

func (v *NullableTextType) UnmarshalJSON(src []byte) error

func (*NullableTextType) Unset

func (v *NullableTextType) Unset()

type NullableUrl

type NullableUrl struct {
	// contains filtered or unexported fields
}

func NewNullableUrl

func NewNullableUrl(val *Url) *NullableUrl

func (*NullableUrl) Get

func (v *NullableUrl) Get() *Url

func (*NullableUrl) IsSet

func (v *NullableUrl) IsSet() bool

func (NullableUrl) MarshalJSON

func (v NullableUrl) MarshalJSON() ([]byte, error)

func (*NullableUrl) Set

func (v *NullableUrl) Set(val *Url)

func (*NullableUrl) UnmarshalJSON

func (v *NullableUrl) UnmarshalJSON(src []byte) error

func (*NullableUrl) Unset

func (v *NullableUrl) Unset()

type NullableUrl1

type NullableUrl1 struct {
	// contains filtered or unexported fields
}

func NewNullableUrl1

func NewNullableUrl1(val *Url1) *NullableUrl1

func (*NullableUrl1) Get

func (v *NullableUrl1) Get() *Url1

func (*NullableUrl1) IsSet

func (v *NullableUrl1) IsSet() bool

func (NullableUrl1) MarshalJSON

func (v NullableUrl1) MarshalJSON() ([]byte, error)

func (*NullableUrl1) Set

func (v *NullableUrl1) Set(val *Url1)

func (*NullableUrl1) UnmarshalJSON

func (v *NullableUrl1) UnmarshalJSON(src []byte) error

func (*NullableUrl1) Unset

func (v *NullableUrl1) Unset()

type NullableUrl2

type NullableUrl2 struct {
	// contains filtered or unexported fields
}

func NewNullableUrl2

func NewNullableUrl2(val *Url2) *NullableUrl2

func (*NullableUrl2) Get

func (v *NullableUrl2) Get() *Url2

func (*NullableUrl2) IsSet

func (v *NullableUrl2) IsSet() bool

func (NullableUrl2) MarshalJSON

func (v NullableUrl2) MarshalJSON() ([]byte, error)

func (*NullableUrl2) Set

func (v *NullableUrl2) Set(val *Url2)

func (*NullableUrl2) UnmarshalJSON

func (v *NullableUrl2) UnmarshalJSON(src []byte) error

func (*NullableUrl2) Unset

func (v *NullableUrl2) Unset()

type NullableUrlOneOf

type NullableUrlOneOf struct {
	// contains filtered or unexported fields
}

func NewNullableUrlOneOf

func NewNullableUrlOneOf(val *UrlOneOf) *NullableUrlOneOf

func (*NullableUrlOneOf) Get

func (v *NullableUrlOneOf) Get() *UrlOneOf

func (*NullableUrlOneOf) IsSet

func (v *NullableUrlOneOf) IsSet() bool

func (NullableUrlOneOf) MarshalJSON

func (v NullableUrlOneOf) MarshalJSON() ([]byte, error)

func (*NullableUrlOneOf) Set

func (v *NullableUrlOneOf) Set(val *UrlOneOf)

func (*NullableUrlOneOf) UnmarshalJSON

func (v *NullableUrlOneOf) UnmarshalJSON(src []byte) error

func (*NullableUrlOneOf) Unset

func (v *NullableUrlOneOf) Unset()

type NullableUrlOneOf1

type NullableUrlOneOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableUrlOneOf1

func NewNullableUrlOneOf1(val *UrlOneOf1) *NullableUrlOneOf1

func (*NullableUrlOneOf1) Get

func (v *NullableUrlOneOf1) Get() *UrlOneOf1

func (*NullableUrlOneOf1) IsSet

func (v *NullableUrlOneOf1) IsSet() bool

func (NullableUrlOneOf1) MarshalJSON

func (v NullableUrlOneOf1) MarshalJSON() ([]byte, error)

func (*NullableUrlOneOf1) Set

func (v *NullableUrlOneOf1) Set(val *UrlOneOf1)

func (*NullableUrlOneOf1) UnmarshalJSON

func (v *NullableUrlOneOf1) UnmarshalJSON(src []byte) error

func (*NullableUrlOneOf1) Unset

func (v *NullableUrlOneOf1) Unset()

type Option

type Option struct {
	Description *TextType `json:"description,omitempty"`
	Text        *TextType `json:"text"`
	Url         *string   `json:"url,omitempty"`
	Value       *string   `json:"value"`
}

Option struct for Option

func NewOption

func NewOption() *Option

NewOption is short for NewOptionWithDefault which instantiates a new Option object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewOptionEmpty

func NewOptionEmpty() *Option

NewOptionEmpty instantiates a new Option object with no properties set. This constructor will not assign any default values to properties.

func NewOptionList

func NewOptionList(ps ...*Option) []Option

NewOptions converts a list Option pointers to objects. This is helpful when the SetOption requires a list of objects

func NewOptionWith

func NewOptionWith(text TextType, value string) *Option

NewOptionWith instantiates a new Option object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewOptionWithDefault

func NewOptionWithDefault() *Option

NewOptionWithDefault instantiates a new Option object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Option) GetDescription

func (o *Option) GetDescription() TextType

GetDescription returns the Description field value if set, zero value otherwise.

func (*Option) GetDescriptionOk

func (o *Option) GetDescriptionOk() (*TextType, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Option) GetText

func (o *Option) GetText() TextType

GetText returns the Text field value

func (*Option) GetTextOk

func (o *Option) GetTextOk() (*TextType, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*Option) GetUrl

func (o *Option) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Option) GetUrlOk

func (o *Option) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Option) GetValue

func (o *Option) GetValue() string

GetValue returns the Value field value

func (*Option) GetValueOk

func (o *Option) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*Option) HasDescription

func (o *Option) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Option) HasUrl

func (o *Option) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (Option) MarshalJSON

func (o Option) MarshalJSON() ([]byte, error)

func (*Option) SetDescription

func (o *Option) SetDescription(v TextType) *Option

SetDescription gets a reference to the given TextType and assigns it to the description field. Description:

func (*Option) SetText

func (o *Option) SetText(v TextType) *Option

SetText sets field value

func (*Option) SetUrl

func (o *Option) SetUrl(v string) *Option

SetUrl gets a reference to the given string and assigns it to the url field. Url:

func (*Option) SetValue

func (o *Option) SetValue(v string) *Option

SetValue sets field value

func (Option) ToMap

func (o Option) ToMap() (map[string]interface{}, error)

func (*Option) Validate

func (o *Option) Validate() error

Validate validates this Option 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Password

type Password struct {
	PasswordOneOf *PasswordOneOf
	UrlOneOf1     *UrlOneOf1
}

Password - Specify the password of the email, you can either sepcify it in value or use secretRef

func PasswordOneOfAsPassword

func PasswordOneOfAsPassword(v *PasswordOneOf) Password

PasswordOneOfAsPassword is is a convenience function that returns PasswordOneOf wrapped in Password

func UrlOneOf1AsPassword

func UrlOneOf1AsPassword(v *UrlOneOf1) Password

UrlOneOf1AsPassword is is a convenience function that returns UrlOneOf1 wrapped in Password

func (*Password) GetActualInstance

func (obj *Password) GetActualInstance() interface{}

Get the actual instance

func (Password) MarshalJSON

func (src Password) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Password) UnmarshalJSON

func (dst *Password) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

func (*Password) Validate

func (o *Password) Validate() error

Validate validates this Password

type PasswordOneOf

type PasswordOneOf struct {
	// the password content in string
	Value *string `json:"value"`
}

PasswordOneOf struct for PasswordOneOf

func NewPasswordOneOf

func NewPasswordOneOf() *PasswordOneOf

NewPasswordOneOf is short for NewPasswordOneOfWithDefault which instantiates a new PasswordOneOf object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewPasswordOneOfEmpty

func NewPasswordOneOfEmpty() *PasswordOneOf

NewPasswordOneOfEmpty instantiates a new PasswordOneOf object with no properties set. This constructor will not assign any default values to properties.

func NewPasswordOneOfList

func NewPasswordOneOfList(ps ...*PasswordOneOf) []PasswordOneOf

NewPasswordOneOfs converts a list PasswordOneOf pointers to objects. This is helpful when the SetPasswordOneOf requires a list of objects

func NewPasswordOneOfWith

func NewPasswordOneOfWith(value string) *PasswordOneOf

NewPasswordOneOfWith instantiates a new PasswordOneOf object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewPasswordOneOfWithDefault

func NewPasswordOneOfWithDefault() *PasswordOneOf

NewPasswordOneOfWithDefault instantiates a new PasswordOneOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PasswordOneOf) GetValue

func (o *PasswordOneOf) GetValue() string

GetValue returns the Value field value

func (*PasswordOneOf) GetValueOk

func (o *PasswordOneOf) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (PasswordOneOf) MarshalJSON

func (o PasswordOneOf) MarshalJSON() ([]byte, error)

func (*PasswordOneOf) SetValue

func (o *PasswordOneOf) SetValue(v string) *PasswordOneOf

SetValue sets field value

func (PasswordOneOf) ToMap

func (o PasswordOneOf) ToMap() (map[string]interface{}, error)

func (*PasswordOneOf) Validate

func (o *PasswordOneOf) Validate() error

Validate validates this PasswordOneOf 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type SecretRef

type SecretRef struct {
	// key is the key in the secret
	Key *string `json:"key"`
	// name is the name of the secret
	Name *string `json:"name"`
}

SecretRef struct for SecretRef

func NewSecretRef

func NewSecretRef() *SecretRef

NewSecretRef is short for NewSecretRefWithDefault which instantiates a new SecretRef object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewSecretRefEmpty

func NewSecretRefEmpty() *SecretRef

NewSecretRefEmpty instantiates a new SecretRef object with no properties set. This constructor will not assign any default values to properties.

func NewSecretRefList

func NewSecretRefList(ps ...*SecretRef) []SecretRef

NewSecretRefs converts a list SecretRef pointers to objects. This is helpful when the SetSecretRef requires a list of objects

func NewSecretRefWith

func NewSecretRefWith(key string, name string) *SecretRef

NewSecretRefWith instantiates a new SecretRef object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewSecretRefWithDefault

func NewSecretRefWithDefault() *SecretRef

NewSecretRefWithDefault instantiates a new SecretRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecretRef) GetKey

func (o *SecretRef) GetKey() string

GetKey returns the Key field value

func (*SecretRef) GetKeyOk

func (o *SecretRef) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*SecretRef) GetName

func (o *SecretRef) GetName() string

GetName returns the Name field value

func (*SecretRef) GetNameOk

func (o *SecretRef) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (SecretRef) MarshalJSON

func (o SecretRef) MarshalJSON() ([]byte, error)

func (*SecretRef) SetKey

func (o *SecretRef) SetKey(v string) *SecretRef

SetKey sets field value

func (*SecretRef) SetName

func (o *SecretRef) SetName(v string) *SecretRef

SetName sets field value

func (SecretRef) ToMap

func (o SecretRef) ToMap() (map[string]interface{}, error)

func (*SecretRef) Validate

func (o *SecretRef) Validate() error

Validate validates this SecretRef 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Slack

type Slack struct {
	Message *Message2 `json:"message"`
	Url     *Url2     `json:"url"`
}

Slack Please fulfill its url and message if you want to send Slack messages

func NewSlack

func NewSlack() *Slack

NewSlack is short for NewSlackWithDefault which instantiates a new Slack object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewSlackEmpty

func NewSlackEmpty() *Slack

NewSlackEmpty instantiates a new Slack object with no properties set. This constructor will not assign any default values to properties.

func NewSlackList

func NewSlackList(ps ...*Slack) []Slack

NewSlacks converts a list Slack pointers to objects. This is helpful when the SetSlack requires a list of objects

func NewSlackWith

func NewSlackWith(message Message2, url Url2) *Slack

NewSlackWith instantiates a new Slack object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewSlackWithDefault

func NewSlackWithDefault() *Slack

NewSlackWithDefault instantiates a new Slack object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Slack) GetMessage

func (o *Slack) GetMessage() Message2

GetMessage returns the Message field value

func (*Slack) GetMessageOk

func (o *Slack) GetMessageOk() (*Message2, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Slack) GetUrl

func (o *Slack) GetUrl() Url2

GetUrl returns the Url field value

func (*Slack) GetUrlOk

func (o *Slack) GetUrlOk() (*Url2, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (Slack) MarshalJSON

func (o Slack) MarshalJSON() ([]byte, error)

func (*Slack) SetMessage

func (o *Slack) SetMessage(v Message2) *Slack

SetMessage sets field value

func (*Slack) SetUrl

func (o *Slack) SetUrl(v Url2) *Slack

SetUrl sets field value

func (Slack) ToMap

func (o Slack) ToMap() (map[string]interface{}, error)

func (*Slack) Validate

func (o *Slack) Validate() error

Validate validates this Slack 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Text

type Text struct {
	Content *string `json:"content"`
}

Text Specify the message content of dingtalk notification

func NewText

func NewText() *Text

NewText is short for NewTextWithDefault which instantiates a new Text object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewTextEmpty

func NewTextEmpty() *Text

NewTextEmpty instantiates a new Text object with no properties set. This constructor will not assign any default values to properties.

func NewTextList

func NewTextList(ps ...*Text) []Text

NewTexts converts a list Text pointers to objects. This is helpful when the SetText requires a list of objects

func NewTextWith

func NewTextWith(content string) *Text

NewTextWith instantiates a new Text object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewTextWithDefault

func NewTextWithDefault() *Text

NewTextWithDefault instantiates a new Text object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Text) GetContent

func (o *Text) GetContent() string

GetContent returns the Content field value

func (*Text) GetContentOk

func (o *Text) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (Text) MarshalJSON

func (o Text) MarshalJSON() ([]byte, error)

func (*Text) SetContent

func (o *Text) SetContent(v string) *Text

SetContent sets field value

func (Text) ToMap

func (o Text) ToMap() (map[string]interface{}, error)

func (*Text) Validate

func (o *Text) Validate() error

Validate validates this Text 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type TextType

type TextType struct {
	Emoji    *bool   `json:"emoji,omitempty"`
	Text     *string `json:"text"`
	Type     *string `json:"type"`
	Verbatim *bool   `json:"verbatim,omitempty"`
}

TextType struct for TextType

func NewTextType

func NewTextType() *TextType

NewTextType is short for NewTextTypeWithDefault which instantiates a new TextType object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewTextTypeEmpty

func NewTextTypeEmpty() *TextType

NewTextTypeEmpty instantiates a new TextType object with no properties set. This constructor will not assign any default values to properties.

func NewTextTypeList

func NewTextTypeList(ps ...*TextType) []TextType

NewTextTypes converts a list TextType pointers to objects. This is helpful when the SetTextType requires a list of objects

func NewTextTypeWith

func NewTextTypeWith(text string, type_ string) *TextType

NewTextTypeWith instantiates a new TextType object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewTextTypeWithDefault

func NewTextTypeWithDefault() *TextType

NewTextTypeWithDefault instantiates a new TextType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TextType) GetEmoji

func (o *TextType) GetEmoji() bool

GetEmoji returns the Emoji field value if set, zero value otherwise.

func (*TextType) GetEmojiOk

func (o *TextType) GetEmojiOk() (*bool, bool)

GetEmojiOk returns a tuple with the Emoji field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TextType) GetText

func (o *TextType) GetText() string

GetText returns the Text field value

func (*TextType) GetTextOk

func (o *TextType) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.

func (*TextType) GetType

func (o *TextType) GetType() string

GetType returns the Type field value

func (*TextType) GetTypeOk

func (o *TextType) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TextType) GetVerbatim

func (o *TextType) GetVerbatim() bool

GetVerbatim returns the Verbatim field value if set, zero value otherwise.

func (*TextType) GetVerbatimOk

func (o *TextType) GetVerbatimOk() (*bool, bool)

GetVerbatimOk returns a tuple with the Verbatim field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TextType) HasEmoji

func (o *TextType) HasEmoji() bool

HasEmoji returns a boolean if a field has been set.

func (*TextType) HasVerbatim

func (o *TextType) HasVerbatim() bool

HasVerbatim returns a boolean if a field has been set.

func (TextType) MarshalJSON

func (o TextType) MarshalJSON() ([]byte, error)

func (*TextType) SetEmoji

func (o *TextType) SetEmoji(v bool) *TextType

SetEmoji gets a reference to the given bool and assigns it to the emoji field. Emoji:

func (*TextType) SetText

func (o *TextType) SetText(v string) *TextType

SetText sets field value

func (*TextType) SetType

func (o *TextType) SetType(v string) *TextType

SetType sets field value

func (*TextType) SetVerbatim

func (o *TextType) SetVerbatim(v bool) *TextType

SetVerbatim gets a reference to the given bool and assigns it to the verbatim field. Verbatim:

func (TextType) ToMap

func (o TextType) ToMap() (map[string]interface{}, error)

func (*TextType) Validate

func (o *TextType) Validate() error

Validate validates this TextType 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type Url

type Url struct {
	UrlOneOf  *UrlOneOf
	UrlOneOf1 *UrlOneOf1
}

Url - Specify the the dingding url, you can either sepcify it in value or use secretRef

func UrlOneOf1AsUrl

func UrlOneOf1AsUrl(v *UrlOneOf1) Url

UrlOneOf1AsUrl is is a convenience function that returns UrlOneOf1 wrapped in Url

func UrlOneOfAsUrl

func UrlOneOfAsUrl(v *UrlOneOf) Url

UrlOneOfAsUrl is is a convenience function that returns UrlOneOf wrapped in Url

func (*Url) GetActualInstance

func (obj *Url) GetActualInstance() interface{}

Get the actual instance

func (Url) MarshalJSON

func (src Url) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Url) UnmarshalJSON

func (dst *Url) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

func (*Url) Validate

func (o *Url) Validate() error

Validate validates this Url

type Url1

type Url1 struct {
	UrlOneOf  *UrlOneOf
	UrlOneOf1 *UrlOneOf1
}

Url1 - Specify the the lark url, you can either sepcify it in value or use secretRef

func UrlOneOf1AsUrl1

func UrlOneOf1AsUrl1(v *UrlOneOf1) Url1

UrlOneOf1AsUrl1 is is a convenience function that returns UrlOneOf1 wrapped in Url1

func UrlOneOfAsUrl1

func UrlOneOfAsUrl1(v *UrlOneOf) Url1

UrlOneOfAsUrl1 is is a convenience function that returns UrlOneOf wrapped in Url1

func (*Url1) GetActualInstance

func (obj *Url1) GetActualInstance() interface{}

Get the actual instance

func (Url1) MarshalJSON

func (src Url1) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Url1) UnmarshalJSON

func (dst *Url1) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

func (*Url1) Validate

func (o *Url1) Validate() error

Validate validates this Url1

type Url2

type Url2 struct {
	UrlOneOf  *UrlOneOf
	UrlOneOf1 *UrlOneOf1
}

Url2 - Specify the the slack url, you can either sepcify it in value or use secretRef

func UrlOneOf1AsUrl2

func UrlOneOf1AsUrl2(v *UrlOneOf1) Url2

UrlOneOf1AsUrl2 is is a convenience function that returns UrlOneOf1 wrapped in Url2

func UrlOneOfAsUrl2

func UrlOneOfAsUrl2(v *UrlOneOf) Url2

UrlOneOfAsUrl2 is is a convenience function that returns UrlOneOf wrapped in Url2

func (*Url2) GetActualInstance

func (obj *Url2) GetActualInstance() interface{}

Get the actual instance

func (Url2) MarshalJSON

func (src Url2) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Url2) UnmarshalJSON

func (dst *Url2) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

func (*Url2) Validate

func (o *Url2) Validate() error

Validate validates this Url2

type UrlOneOf

type UrlOneOf struct {
	// the url address content in string
	Value *string `json:"value"`
}

UrlOneOf struct for UrlOneOf

func NewUrlOneOf

func NewUrlOneOf() *UrlOneOf

NewUrlOneOf is short for NewUrlOneOfWithDefault which instantiates a new UrlOneOf object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewUrlOneOfEmpty

func NewUrlOneOfEmpty() *UrlOneOf

NewUrlOneOfEmpty instantiates a new UrlOneOf object with no properties set. This constructor will not assign any default values to properties.

func NewUrlOneOfList

func NewUrlOneOfList(ps ...*UrlOneOf) []UrlOneOf

NewUrlOneOfs converts a list UrlOneOf pointers to objects. This is helpful when the SetUrlOneOf requires a list of objects

func NewUrlOneOfWith

func NewUrlOneOfWith(value string) *UrlOneOf

NewUrlOneOfWith instantiates a new UrlOneOf object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewUrlOneOfWithDefault

func NewUrlOneOfWithDefault() *UrlOneOf

NewUrlOneOfWithDefault instantiates a new UrlOneOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UrlOneOf) GetValue

func (o *UrlOneOf) GetValue() string

GetValue returns the Value field value

func (*UrlOneOf) GetValueOk

func (o *UrlOneOf) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (UrlOneOf) MarshalJSON

func (o UrlOneOf) MarshalJSON() ([]byte, error)

func (*UrlOneOf) SetValue

func (o *UrlOneOf) SetValue(v string) *UrlOneOf

SetValue sets field value

func (UrlOneOf) ToMap

func (o UrlOneOf) ToMap() (map[string]interface{}, error)

func (*UrlOneOf) Validate

func (o *UrlOneOf) Validate() error

Validate validates this UrlOneOf 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

type UrlOneOf1

type UrlOneOf1 struct {
	SecretRef *SecretRef `json:"secretRef"`
}

UrlOneOf1 struct for UrlOneOf1

func NewUrlOneOf1

func NewUrlOneOf1() *UrlOneOf1

NewUrlOneOf1 is short for NewUrlOneOf1WithDefault which instantiates a new UrlOneOf1 object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func NewUrlOneOf1Empty

func NewUrlOneOf1Empty() *UrlOneOf1

NewUrlOneOf1Empty instantiates a new UrlOneOf1 object with no properties set. This constructor will not assign any default values to properties.

func NewUrlOneOf1List

func NewUrlOneOf1List(ps ...*UrlOneOf1) []UrlOneOf1

NewUrlOneOf1s converts a list UrlOneOf1 pointers to objects. This is helpful when the SetUrlOneOf1 requires a list of objects

func NewUrlOneOf1With

func NewUrlOneOf1With(secretRef SecretRef) *UrlOneOf1

NewUrlOneOf1With instantiates a new UrlOneOf1 object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed

func NewUrlOneOf1WithDefault

func NewUrlOneOf1WithDefault() *UrlOneOf1

NewUrlOneOf1WithDefault instantiates a new UrlOneOf1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UrlOneOf1) GetSecretRef

func (o *UrlOneOf1) GetSecretRef() SecretRef

GetSecretRef returns the SecretRef field value

func (*UrlOneOf1) GetSecretRefOk

func (o *UrlOneOf1) GetSecretRefOk() (*SecretRef, bool)

GetSecretRefOk returns a tuple with the SecretRef field value and a boolean to check if the value has been set.

func (UrlOneOf1) MarshalJSON

func (o UrlOneOf1) MarshalJSON() ([]byte, error)

func (*UrlOneOf1) SetSecretRef

func (o *UrlOneOf1) SetSecretRef(v SecretRef) *UrlOneOf1

SetSecretRef sets field value

func (UrlOneOf1) ToMap

func (o UrlOneOf1) ToMap() (map[string]interface{}, error)

func (*UrlOneOf1) Validate

func (o *UrlOneOf1) Validate() error

Validate validates this UrlOneOf1 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set

Jump to

Keyboard shortcuts

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