Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type ActionCard
- func (o *ActionCard) GetBtnOrientation() string
- func (o *ActionCard) GetBtnOrientationOk() (*string, bool)
- func (o *ActionCard) GetBtns() []Btns
- func (o *ActionCard) GetBtnsOk() ([]Btns, bool)
- func (o *ActionCard) GetHideAvatar() string
- func (o *ActionCard) GetHideAvatarOk() (*string, bool)
- func (o *ActionCard) GetSingleTitle() string
- func (o *ActionCard) GetSingleTitleOk() (*string, bool)
- func (o *ActionCard) GetSingleURL() string
- func (o *ActionCard) GetSingleURLOk() (*string, bool)
- func (o *ActionCard) GetText() string
- func (o *ActionCard) GetTextOk() (*string, bool)
- func (o *ActionCard) GetTitle() string
- func (o *ActionCard) GetTitleOk() (*string, bool)
- func (o *ActionCard) HasBtns() bool
- func (o ActionCard) MarshalJSON() ([]byte, error)
- func (o *ActionCard) SetBtnOrientation(v string) *ActionCard
- func (o *ActionCard) SetBtns(v []Btns) *ActionCard
- func (o *ActionCard) SetHideAvatar(v string) *ActionCard
- func (o *ActionCard) SetSingleTitle(v string) *ActionCard
- func (o *ActionCard) SetSingleURL(v string) *ActionCard
- func (o *ActionCard) SetText(v string) *ActionCard
- func (o *ActionCard) SetTitle(v string) *ActionCard
- func (o ActionCard) ToMap() (map[string]interface{}, error)
- func (o *ActionCard) Validate() error
- type At
- func (o *At) GetAtMobiles() []string
- func (o *At) GetAtMobilesOk() ([]string, bool)
- func (o *At) GetIsAtAll() bool
- func (o *At) GetIsAtAllOk() (*bool, bool)
- func (o *At) HasAtMobiles() bool
- func (o *At) HasIsAtAll() bool
- func (o At) MarshalJSON() ([]byte, error)
- func (o *At) SetAtMobiles(v []string) *At
- func (o *At) SetIsAtAll(v bool) *At
- func (o At) ToMap() (map[string]interface{}, error)
- func (o *At) Validate() error
- type Attachments
- func (o *Attachments) GetBlocks() []Block
- func (o *Attachments) GetBlocksOk() ([]Block, bool)
- func (o *Attachments) GetColor() string
- func (o *Attachments) GetColorOk() (*string, bool)
- func (o *Attachments) HasBlocks() bool
- func (o *Attachments) HasColor() bool
- func (o Attachments) MarshalJSON() ([]byte, error)
- func (o *Attachments) SetBlocks(v []Block) *Attachments
- func (o *Attachments) SetColor(v string) *Attachments
- func (o Attachments) ToMap() (map[string]interface{}, error)
- func (o *Attachments) Validate() error
- type Block
- func (o *Block) GetBlockId() string
- func (o *Block) GetBlockIdOk() (*string, bool)
- func (o *Block) GetElements() []Elements
- func (o *Block) GetElementsOk() ([]Elements, bool)
- func (o *Block) GetType() string
- func (o *Block) GetTypeOk() (*string, bool)
- func (o *Block) HasBlockId() bool
- func (o *Block) HasElements() bool
- func (o Block) MarshalJSON() ([]byte, error)
- func (o *Block) SetBlockId(v string) *Block
- func (o *Block) SetElements(v []Elements) *Block
- func (o *Block) SetType(v string) *Block
- func (o Block) ToMap() (map[string]interface{}, error)
- func (o *Block) Validate() error
- type Btns
- func (o *Btns) GetActionURL() string
- func (o *Btns) GetActionURLOk() (*string, bool)
- func (o *Btns) GetTitle() string
- func (o *Btns) GetTitleOk() (*string, bool)
- func (o Btns) MarshalJSON() ([]byte, error)
- func (o *Btns) SetActionURL(v string) *Btns
- func (o *Btns) SetTitle(v string) *Btns
- func (o Btns) ToMap() (map[string]interface{}, error)
- func (o *Btns) Validate() error
- type Confirm
- func (o *Confirm) GetConfirm() TextType
- func (o *Confirm) GetConfirmOk() (*TextType, bool)
- func (o *Confirm) GetDeny() TextType
- func (o *Confirm) GetDenyOk() (*TextType, bool)
- func (o *Confirm) GetStyle() string
- func (o *Confirm) GetStyleOk() (*string, bool)
- func (o *Confirm) GetText() TextType
- func (o *Confirm) GetTextOk() (*TextType, bool)
- func (o *Confirm) GetTitle() TextType
- func (o *Confirm) GetTitleOk() (*TextType, bool)
- func (o *Confirm) HasStyle() bool
- func (o Confirm) MarshalJSON() ([]byte, error)
- func (o *Confirm) SetConfirm(v TextType) *Confirm
- func (o *Confirm) SetDeny(v TextType) *Confirm
- func (o *Confirm) SetStyle(v string) *Confirm
- func (o *Confirm) SetText(v TextType) *Confirm
- func (o *Confirm) SetTitle(v TextType) *Confirm
- func (o Confirm) ToMap() (map[string]interface{}, error)
- func (o *Confirm) Validate() error
- type Content
- func (o *Content) GetBody() string
- func (o *Content) GetBodyOk() (*string, bool)
- func (o *Content) GetSubject() string
- func (o *Content) GetSubjectOk() (*string, bool)
- func (o Content) MarshalJSON() ([]byte, error)
- func (o *Content) SetBody(v string) *Content
- func (o *Content) SetSubject(v string) *Content
- func (o Content) ToMap() (map[string]interface{}, error)
- func (o *Content) Validate() error
- type Dingding
- func (o *Dingding) GetMessage() Message
- func (o *Dingding) GetMessageOk() (*Message, bool)
- func (o *Dingding) GetUrl() Url
- func (o *Dingding) GetUrlOk() (*Url, bool)
- func (o Dingding) MarshalJSON() ([]byte, error)
- func (o *Dingding) SetMessage(v Message) *Dingding
- func (o *Dingding) SetUrl(v Url) *Dingding
- func (o Dingding) ToMap() (map[string]interface{}, error)
- func (o *Dingding) Validate() error
- type DispatchActionConfig
- func NewDispatchActionConfig() *DispatchActionConfig
- func NewDispatchActionConfigEmpty() *DispatchActionConfig
- func NewDispatchActionConfigList(ps ...*DispatchActionConfig) []DispatchActionConfig
- func NewDispatchActionConfigWith() *DispatchActionConfig
- func NewDispatchActionConfigWithDefault() *DispatchActionConfig
- func (o *DispatchActionConfig) GetTriggerActionsOn() []string
- func (o *DispatchActionConfig) GetTriggerActionsOnOk() ([]string, bool)
- func (o *DispatchActionConfig) HasTriggerActionsOn() bool
- func (o DispatchActionConfig) MarshalJSON() ([]byte, error)
- func (o *DispatchActionConfig) SetTriggerActionsOn(v []string) *DispatchActionConfig
- func (o DispatchActionConfig) ToMap() (map[string]interface{}, error)
- func (o *DispatchActionConfig) Validate() error
- type Elements
- func (o *Elements) GetActionId() string
- func (o *Elements) GetActionIdOk() (*string, bool)
- func (o *Elements) GetAltText() string
- func (o *Elements) GetAltTextOk() (*string, bool)
- func (o *Elements) GetConfirm() Confirm
- func (o *Elements) GetConfirmOk() (*Confirm, bool)
- func (o *Elements) GetDispatchActionConfig() DispatchActionConfig
- func (o *Elements) GetDispatchActionConfigOk() (*DispatchActionConfig, bool)
- func (o *Elements) GetImageUrl() string
- func (o *Elements) GetImageUrlOk() (*string, bool)
- func (o *Elements) GetInitialDate() string
- func (o *Elements) GetInitialDateOk() (*string, bool)
- func (o *Elements) GetInitialOptions() []Option
- func (o *Elements) GetInitialOptionsOk() ([]Option, bool)
- func (o *Elements) GetInitialTime() string
- func (o *Elements) GetInitialTimeOk() (*string, bool)
- func (o *Elements) GetInitialValue() string
- func (o *Elements) GetInitialValueOk() (*string, bool)
- func (o *Elements) GetMaxLength() int32
- func (o *Elements) GetMaxLengthOk() (*int32, bool)
- func (o *Elements) GetMaxSelectedItems() int32
- func (o *Elements) GetMaxSelectedItemsOk() (*int32, bool)
- func (o *Elements) GetMinLength() int32
- func (o *Elements) GetMinLengthOk() (*int32, bool)
- func (o *Elements) GetMultiline() bool
- func (o *Elements) GetMultilineOk() (*bool, bool)
- func (o *Elements) GetOptionGroups() []Option
- func (o *Elements) GetOptionGroupsOk() ([]Option, bool)
- func (o *Elements) GetOptions() []Option
- func (o *Elements) GetOptionsOk() ([]Option, bool)
- func (o *Elements) GetPlaceholder() TextType
- func (o *Elements) GetPlaceholderOk() (*TextType, bool)
- func (o *Elements) GetStyle() string
- func (o *Elements) GetStyleOk() (*string, bool)
- func (o *Elements) GetText() TextType
- func (o *Elements) GetTextOk() (*TextType, bool)
- func (o *Elements) GetType() string
- func (o *Elements) GetTypeOk() (*string, bool)
- func (o *Elements) GetUrl() string
- func (o *Elements) GetUrlOk() (*string, bool)
- func (o *Elements) GetValue() string
- func (o *Elements) GetValueOk() (*string, bool)
- func (o *Elements) HasActionId() bool
- func (o *Elements) HasAltText() bool
- func (o *Elements) HasConfirm() bool
- func (o *Elements) HasDispatchActionConfig() bool
- func (o *Elements) HasImageUrl() bool
- func (o *Elements) HasInitialDate() bool
- func (o *Elements) HasInitialOptions() bool
- func (o *Elements) HasInitialTime() bool
- func (o *Elements) HasInitialValue() bool
- func (o *Elements) HasMaxLength() bool
- func (o *Elements) HasMaxSelectedItems() bool
- func (o *Elements) HasMinLength() bool
- func (o *Elements) HasMultiline() bool
- func (o *Elements) HasOptionGroups() bool
- func (o *Elements) HasOptions() bool
- func (o *Elements) HasPlaceholder() bool
- func (o *Elements) HasStyle() bool
- func (o *Elements) HasText() bool
- func (o *Elements) HasUrl() bool
- func (o *Elements) HasValue() bool
- func (o Elements) MarshalJSON() ([]byte, error)
- func (o *Elements) SetActionId(v string) *Elements
- func (o *Elements) SetAltText(v string) *Elements
- func (o *Elements) SetConfirm(v Confirm) *Elements
- func (o *Elements) SetDispatchActionConfig(v DispatchActionConfig) *Elements
- func (o *Elements) SetImageUrl(v string) *Elements
- func (o *Elements) SetInitialDate(v string) *Elements
- func (o *Elements) SetInitialOptions(v []Option) *Elements
- func (o *Elements) SetInitialTime(v string) *Elements
- func (o *Elements) SetInitialValue(v string) *Elements
- func (o *Elements) SetMaxLength(v int32) *Elements
- func (o *Elements) SetMaxSelectedItems(v int32) *Elements
- func (o *Elements) SetMinLength(v int32) *Elements
- func (o *Elements) SetMultiline(v bool) *Elements
- func (o *Elements) SetOptionGroups(v []Option) *Elements
- func (o *Elements) SetOptions(v []Option) *Elements
- func (o *Elements) SetPlaceholder(v TextType) *Elements
- func (o *Elements) SetStyle(v string) *Elements
- func (o *Elements) SetText(v TextType) *Elements
- func (o *Elements) SetType(v string) *Elements
- func (o *Elements) SetUrl(v string) *Elements
- func (o *Elements) SetValue(v string) *Elements
- func (o Elements) ToMap() (map[string]interface{}, error)
- func (o *Elements) Validate() error
- type Email
- func (o *Email) GetContent() Content
- func (o *Email) GetContentOk() (*Content, bool)
- func (o *Email) GetFrom() From
- func (o *Email) GetFromOk() (*From, bool)
- func (o *Email) GetTo() []string
- func (o *Email) GetToOk() ([]string, bool)
- func (o Email) MarshalJSON() ([]byte, error)
- func (o *Email) SetContent(v Content) *Email
- func (o *Email) SetFrom(v From) *Email
- func (o *Email) SetTo(v []string) *Email
- func (o Email) ToMap() (map[string]interface{}, error)
- func (o *Email) Validate() error
- type FeedCard
- type From
- func (o *From) GetAddress() string
- func (o *From) GetAddressOk() (*string, bool)
- func (o *From) GetAlias() string
- func (o *From) GetAliasOk() (*string, bool)
- func (o *From) GetHost() string
- func (o *From) GetHostOk() (*string, bool)
- func (o *From) GetPassword() Password
- func (o *From) GetPasswordOk() (*Password, bool)
- func (o *From) GetPort() int32
- func (o *From) GetPortOk() (*int32, bool)
- func (o *From) HasAlias() bool
- func (o From) MarshalJSON() ([]byte, error)
- func (o *From) SetAddress(v string) *From
- func (o *From) SetAlias(v string) *From
- func (o *From) SetHost(v string) *From
- func (o *From) SetPassword(v Password) *From
- func (o *From) SetPort(v int32) *From
- func (o From) ToMap() (map[string]interface{}, error)
- func (o *From) Validate() error
- type Lark
- func (o *Lark) GetMessage() Message1
- func (o *Lark) GetMessageOk() (*Message1, bool)
- func (o *Lark) GetUrl() Url1
- func (o *Lark) GetUrlOk() (*Url1, bool)
- func (o Lark) MarshalJSON() ([]byte, error)
- func (o *Lark) SetMessage(v Message1) *Lark
- func (o *Lark) SetUrl(v Url1) *Lark
- func (o Lark) ToMap() (map[string]interface{}, error)
- func (o *Lark) Validate() error
- type Link
- func (o *Link) GetMessageUrl() string
- func (o *Link) GetMessageUrlOk() (*string, bool)
- func (o *Link) GetPicUrl() string
- func (o *Link) GetPicUrlOk() (*string, bool)
- func (o *Link) GetText() string
- func (o *Link) GetTextOk() (*string, bool)
- func (o *Link) GetTitle() string
- func (o *Link) GetTitleOk() (*string, bool)
- func (o *Link) HasMessageUrl() bool
- func (o *Link) HasPicUrl() bool
- func (o *Link) HasText() bool
- func (o *Link) HasTitle() bool
- func (o Link) MarshalJSON() ([]byte, error)
- func (o *Link) SetMessageUrl(v string) *Link
- func (o *Link) SetPicUrl(v string) *Link
- func (o *Link) SetText(v string) *Link
- func (o *Link) SetTitle(v string) *Link
- func (o Link) ToMap() (map[string]interface{}, error)
- func (o *Link) Validate() error
- type Markdown
- func (o *Markdown) GetText() string
- func (o *Markdown) GetTextOk() (*string, bool)
- func (o *Markdown) GetTitle() string
- func (o *Markdown) GetTitleOk() (*string, bool)
- func (o Markdown) MarshalJSON() ([]byte, error)
- func (o *Markdown) SetText(v string) *Markdown
- func (o *Markdown) SetTitle(v string) *Markdown
- func (o Markdown) ToMap() (map[string]interface{}, error)
- func (o *Markdown) Validate() error
- type Message
- func (o *Message) GetActionCard() ActionCard
- func (o *Message) GetActionCardOk() (*ActionCard, bool)
- func (o *Message) GetAt() At
- func (o *Message) GetAtOk() (*At, bool)
- func (o *Message) GetFeedCard() FeedCard
- func (o *Message) GetFeedCardOk() (*FeedCard, bool)
- func (o *Message) GetLink() Link
- func (o *Message) GetLinkOk() (*Link, bool)
- func (o *Message) GetMarkdown() Markdown
- func (o *Message) GetMarkdownOk() (*Markdown, bool)
- func (o *Message) GetMsgtype() string
- func (o *Message) GetMsgtypeOk() (*string, bool)
- func (o *Message) GetText() Text
- func (o *Message) GetTextOk() (*Text, bool)
- func (o *Message) HasActionCard() bool
- func (o *Message) HasAt() bool
- func (o *Message) HasFeedCard() bool
- func (o *Message) HasLink() bool
- func (o *Message) HasMarkdown() bool
- func (o *Message) HasText() bool
- func (o Message) MarshalJSON() ([]byte, error)
- func (o *Message) SetActionCard(v ActionCard) *Message
- func (o *Message) SetAt(v At) *Message
- func (o *Message) SetFeedCard(v FeedCard) *Message
- func (o *Message) SetLink(v Link) *Message
- func (o *Message) SetMarkdown(v Markdown) *Message
- func (o *Message) SetMsgtype(v string) *Message
- func (o *Message) SetText(v Text) *Message
- func (o Message) ToMap() (map[string]interface{}, error)
- func (o *Message) Validate() error
- type Message1
- func (o *Message1) GetContent() string
- func (o *Message1) GetContentOk() (*string, bool)
- func (o *Message1) GetMsgType() string
- func (o *Message1) GetMsgTypeOk() (*string, bool)
- func (o Message1) MarshalJSON() ([]byte, error)
- func (o *Message1) SetContent(v string) *Message1
- func (o *Message1) SetMsgType(v string) *Message1
- func (o Message1) ToMap() (map[string]interface{}, error)
- func (o *Message1) Validate() error
- type Message2
- func (o *Message2) GetAttachments() Attachments
- func (o *Message2) GetAttachmentsOk() (*Attachments, bool)
- func (o *Message2) GetBlocks() []Block
- func (o *Message2) GetBlocksOk() ([]Block, bool)
- func (o *Message2) GetMrkdwn() bool
- func (o *Message2) GetMrkdwnOk() (*bool, bool)
- func (o *Message2) GetText() string
- func (o *Message2) GetTextOk() (*string, bool)
- func (o *Message2) GetThreadTs() string
- func (o *Message2) GetThreadTsOk() (*string, bool)
- func (o *Message2) HasAttachments() bool
- func (o *Message2) HasBlocks() bool
- func (o *Message2) HasMrkdwn() bool
- func (o *Message2) HasThreadTs() bool
- func (o Message2) MarshalJSON() ([]byte, error)
- func (o *Message2) SetAttachments(v Attachments) *Message2
- func (o *Message2) SetBlocks(v []Block) *Message2
- func (o *Message2) SetMrkdwn(v bool) *Message2
- func (o *Message2) SetText(v string) *Message2
- func (o *Message2) SetThreadTs(v string) *Message2
- func (o Message2) ToMap() (map[string]interface{}, error)
- func (o *Message2) Validate() error
- type NotificationSpec
- type NotificationWorkflowStep
- func (n *NotificationWorkflowStep) Alias(alias string) *NotificationWorkflowStep
- func (n *NotificationWorkflowStep) Build() v1beta1.WorkflowStep
- func (n *NotificationWorkflowStep) DefType() string
- func (n *NotificationWorkflowStep) DependsOn(dependsOn []string) *NotificationWorkflowStep
- func (n *NotificationWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*NotificationWorkflowStep, error)
- func (n *NotificationWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*NotificationWorkflowStep, error)
- func (o *NotificationWorkflowStep) GetDingding() Dingding
- func (o *NotificationWorkflowStep) GetDingdingOk() (*Dingding, bool)
- func (o *NotificationWorkflowStep) GetEmail() Email
- func (o *NotificationWorkflowStep) GetEmailOk() (*Email, bool)
- func (o *NotificationWorkflowStep) GetLark() Lark
- func (o *NotificationWorkflowStep) GetLarkOk() (*Lark, bool)
- func (o *NotificationWorkflowStep) GetSlack() Slack
- func (o *NotificationWorkflowStep) GetSlackOk() (*Slack, bool)
- func (o *NotificationWorkflowStep) HasDingding() bool
- func (o *NotificationWorkflowStep) HasEmail() bool
- func (o *NotificationWorkflowStep) HasLark() bool
- func (o *NotificationWorkflowStep) HasSlack() bool
- func (n *NotificationWorkflowStep) If(_if string) *NotificationWorkflowStep
- func (n *NotificationWorkflowStep) Inputs(input common.StepInputs) *NotificationWorkflowStep
- func (n *NotificationWorkflowStep) Outputs(output common.StepOutputs) *NotificationWorkflowStep
- func (o *NotificationWorkflowStep) SetDingding(v Dingding) *NotificationWorkflowStep
- func (o *NotificationWorkflowStep) SetEmail(v Email) *NotificationWorkflowStep
- func (o *NotificationWorkflowStep) SetLark(v Lark) *NotificationWorkflowStep
- func (o *NotificationWorkflowStep) SetSlack(v Slack) *NotificationWorkflowStep
- func (n *NotificationWorkflowStep) Timeout(timeout string) *NotificationWorkflowStep
- func (o *NotificationWorkflowStep) Validate() error
- func (n *NotificationWorkflowStep) WorkflowStepName() string
- type NullableActionCard
- type NullableAt
- type NullableAttachments
- func (v *NullableAttachments) Get() *Attachments
- func (v *NullableAttachments) IsSet() bool
- func (v NullableAttachments) MarshalJSON() ([]byte, error)
- func (v *NullableAttachments) Set(val *Attachments)
- func (v *NullableAttachments) UnmarshalJSON(src []byte) error
- func (v *NullableAttachments) Unset()
- type NullableBlock
- type NullableBtns
- type NullableConfirm
- type NullableContent
- type NullableDingding
- type NullableDispatchActionConfig
- func (v *NullableDispatchActionConfig) Get() *DispatchActionConfig
- func (v *NullableDispatchActionConfig) IsSet() bool
- func (v NullableDispatchActionConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDispatchActionConfig) Set(val *DispatchActionConfig)
- func (v *NullableDispatchActionConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDispatchActionConfig) Unset()
- type NullableElements
- type NullableEmail
- type NullableFeedCard
- type NullableFrom
- type NullableLark
- type NullableLink
- type NullableMarkdown
- type NullableMessage
- type NullableMessage1
- type NullableMessage2
- type NullableNotificationSpec
- func (v *NullableNotificationSpec) Get() *NotificationSpec
- func (v *NullableNotificationSpec) IsSet() bool
- func (v NullableNotificationSpec) MarshalJSON() ([]byte, error)
- func (v *NullableNotificationSpec) Set(val *NotificationSpec)
- func (v *NullableNotificationSpec) UnmarshalJSON(src []byte) error
- func (v *NullableNotificationSpec) Unset()
- type NullableOption
- type NullablePassword
- type NullablePasswordOneOf
- func (v *NullablePasswordOneOf) Get() *PasswordOneOf
- func (v *NullablePasswordOneOf) IsSet() bool
- func (v NullablePasswordOneOf) MarshalJSON() ([]byte, error)
- func (v *NullablePasswordOneOf) Set(val *PasswordOneOf)
- func (v *NullablePasswordOneOf) UnmarshalJSON(src []byte) error
- func (v *NullablePasswordOneOf) Unset()
- type NullableSecretRef
- type NullableSlack
- type NullableText
- type NullableTextType
- type NullableUrl
- type NullableUrl1
- type NullableUrl2
- type NullableUrlOneOf
- type NullableUrlOneOf1
- type Option
- func (o *Option) GetDescription() TextType
- func (o *Option) GetDescriptionOk() (*TextType, bool)
- func (o *Option) GetText() TextType
- func (o *Option) GetTextOk() (*TextType, bool)
- func (o *Option) GetUrl() string
- func (o *Option) GetUrlOk() (*string, bool)
- func (o *Option) GetValue() string
- func (o *Option) GetValueOk() (*string, bool)
- func (o *Option) HasDescription() bool
- func (o *Option) HasUrl() bool
- func (o Option) MarshalJSON() ([]byte, error)
- func (o *Option) SetDescription(v TextType) *Option
- func (o *Option) SetText(v TextType) *Option
- func (o *Option) SetUrl(v string) *Option
- func (o *Option) SetValue(v string) *Option
- func (o Option) ToMap() (map[string]interface{}, error)
- func (o *Option) Validate() error
- type Password
- type PasswordOneOf
- func (o *PasswordOneOf) GetValue() string
- func (o *PasswordOneOf) GetValueOk() (*string, bool)
- func (o PasswordOneOf) MarshalJSON() ([]byte, error)
- func (o *PasswordOneOf) SetValue(v string) *PasswordOneOf
- func (o PasswordOneOf) ToMap() (map[string]interface{}, error)
- func (o *PasswordOneOf) Validate() error
- type SecretRef
- func (o *SecretRef) GetKey() string
- func (o *SecretRef) GetKeyOk() (*string, bool)
- func (o *SecretRef) GetName() string
- func (o *SecretRef) GetNameOk() (*string, bool)
- func (o SecretRef) MarshalJSON() ([]byte, error)
- func (o *SecretRef) SetKey(v string) *SecretRef
- func (o *SecretRef) SetName(v string) *SecretRef
- func (o SecretRef) ToMap() (map[string]interface{}, error)
- func (o *SecretRef) Validate() error
- type Slack
- func (o *Slack) GetMessage() Message2
- func (o *Slack) GetMessageOk() (*Message2, bool)
- func (o *Slack) GetUrl() Url2
- func (o *Slack) GetUrlOk() (*Url2, bool)
- func (o Slack) MarshalJSON() ([]byte, error)
- func (o *Slack) SetMessage(v Message2) *Slack
- func (o *Slack) SetUrl(v Url2) *Slack
- func (o Slack) ToMap() (map[string]interface{}, error)
- func (o *Slack) Validate() error
- type Text
- type TextType
- func (o *TextType) GetEmoji() bool
- func (o *TextType) GetEmojiOk() (*bool, bool)
- func (o *TextType) GetText() string
- func (o *TextType) GetTextOk() (*string, bool)
- func (o *TextType) GetType() string
- func (o *TextType) GetTypeOk() (*string, bool)
- func (o *TextType) GetVerbatim() bool
- func (o *TextType) GetVerbatimOk() (*bool, bool)
- func (o *TextType) HasEmoji() bool
- func (o *TextType) HasVerbatim() bool
- func (o TextType) MarshalJSON() ([]byte, error)
- func (o *TextType) SetEmoji(v bool) *TextType
- func (o *TextType) SetText(v string) *TextType
- func (o *TextType) SetType(v string) *TextType
- func (o *TextType) SetVerbatim(v bool) *TextType
- func (o TextType) ToMap() (map[string]interface{}, error)
- func (o *TextType) Validate() error
- type Url
- type Url1
- type Url2
- type UrlOneOf
- type UrlOneOf1
- func (o *UrlOneOf1) GetSecretRef() SecretRef
- func (o *UrlOneOf1) GetSecretRefOk() (*SecretRef, bool)
- func (o UrlOneOf1) MarshalJSON() ([]byte, error)
- func (o *UrlOneOf1) SetSecretRef(v SecretRef) *UrlOneOf1
- func (o UrlOneOf1) ToMap() (map[string]interface{}, error)
- func (o *UrlOneOf1) Validate() error
Constants ¶
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 ¶
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 ¶
GetAtMobiles returns the AtMobiles field value if set, zero value otherwise.
func (*At) GetAtMobilesOk ¶
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 ¶
GetIsAtAll returns the IsAtAll field value if set, zero value otherwise.
func (*At) GetIsAtAllOk ¶
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 ¶
HasAtMobiles returns a boolean if a field has been set.
func (*At) HasIsAtAll ¶
HasIsAtAll returns a boolean if a field has been set.
func (At) MarshalJSON ¶
func (*At) SetAtMobiles ¶
SetAtMobiles gets a reference to the given []string and assigns it to the atMobiles field. AtMobiles:
func (*At) SetIsAtAll ¶
SetIsAtAll gets a reference to the given bool and assigns it to the isAtAll field. IsAtAll:
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 ¶
NewBlocks converts a list Block pointers to objects. This is helpful when the SetBlock requires a list of objects
func NewBlockWith ¶
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 ¶
GetBlockId returns the BlockId field value if set, zero value otherwise.
func (*Block) GetBlockIdOk ¶
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 ¶
GetElements returns the Elements field value if set, zero value otherwise.
func (*Block) GetElementsOk ¶
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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Block) HasBlockId ¶
HasBlockId returns a boolean if a field has been set.
func (*Block) HasElements ¶
HasElements returns a boolean if a field has been set.
func (Block) MarshalJSON ¶
func (*Block) SetBlockId ¶
SetBlockId gets a reference to the given string and assigns it to the blockId field. BlockId:
func (*Block) SetElements ¶
SetElements gets a reference to the given []Elements and assigns it to the elements field. Elements:
type Btns ¶
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 ¶
NewBtnss converts a list Btns pointers to objects. This is helpful when the SetBtns requires a list of objects
func NewBtnsWith ¶
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 ¶
GetActionURL returns the ActionURL field value
func (*Btns) GetActionURLOk ¶
GetActionURLOk returns a tuple with the ActionURL field value and a boolean to check if the value has been set.
func (*Btns) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (Btns) MarshalJSON ¶
func (*Btns) SetActionURL ¶
SetActionURL sets field value
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 ¶
NewConfirms converts a list Confirm pointers to objects. This is helpful when the SetConfirm requires a list of objects
func NewConfirmWith ¶
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 ¶
GetConfirm returns the Confirm field value
func (*Confirm) GetConfirmOk ¶
GetConfirmOk returns a tuple with the Confirm field value and a boolean to check if the value has been set.
func (*Confirm) GetDenyOk ¶
GetDenyOk returns a tuple with the Deny field value and a boolean to check if the value has been set.
func (*Confirm) GetStyleOk ¶
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) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*Confirm) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (Confirm) MarshalJSON ¶
func (*Confirm) SetConfirm ¶
SetConfirm sets field value
func (*Confirm) SetStyle ¶
SetStyle gets a reference to the given string and assigns it to the style field. Style:
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 ¶
NewContents converts a list Content pointers to objects. This is helpful when the SetContent requires a list of objects
func NewContentWith ¶
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) GetBodyOk ¶
GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.
func (*Content) GetSubject ¶
GetSubject returns the Subject field value
func (*Content) GetSubjectOk ¶
GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.
func (Content) MarshalJSON ¶
func (*Content) SetSubject ¶
SetSubject sets field value
type Dingding ¶
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 ¶
NewDingdings converts a list Dingding pointers to objects. This is helpful when the SetDingding requires a list of objects
func NewDingdingWith ¶
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 ¶
GetMessage returns the Message field value
func (*Dingding) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Dingding) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (Dingding) MarshalJSON ¶
func (*Dingding) SetMessage ¶
SetMessage sets field value
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 ¶
NewElementss converts a list Elements pointers to objects. This is helpful when the SetElements requires a list of objects
func NewElementsWith ¶
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 ¶
GetActionId returns the ActionId field value if set, zero value otherwise.
func (*Elements) GetActionIdOk ¶
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 ¶
GetAltText returns the AltText field value if set, zero value otherwise.
func (*Elements) GetAltTextOk ¶
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 ¶
GetConfirm returns the Confirm field value if set, zero value otherwise.
func (*Elements) GetConfirmOk ¶
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 ¶
GetImageUrl returns the ImageUrl field value if set, zero value otherwise.
func (*Elements) GetImageUrlOk ¶
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 ¶
GetInitialDate returns the InitialDate field value if set, zero value otherwise.
func (*Elements) GetInitialDateOk ¶
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 ¶
GetInitialOptions returns the InitialOptions field value if set, zero value otherwise.
func (*Elements) GetInitialOptionsOk ¶
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 ¶
GetInitialTime returns the InitialTime field value if set, zero value otherwise.
func (*Elements) GetInitialTimeOk ¶
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 ¶
GetInitialValue returns the InitialValue field value if set, zero value otherwise.
func (*Elements) GetInitialValueOk ¶
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 ¶
GetMaxLength returns the MaxLength field value if set, zero value otherwise.
func (*Elements) GetMaxLengthOk ¶
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 ¶
GetMaxSelectedItems returns the MaxSelectedItems field value if set, zero value otherwise.
func (*Elements) GetMaxSelectedItemsOk ¶
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 ¶
GetMinLength returns the MinLength field value if set, zero value otherwise.
func (*Elements) GetMinLengthOk ¶
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 ¶
GetMultiline returns the Multiline field value if set, zero value otherwise.
func (*Elements) GetMultilineOk ¶
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 ¶
GetOptionGroups returns the OptionGroups field value if set, zero value otherwise.
func (*Elements) GetOptionGroupsOk ¶
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 ¶
GetOptions returns the Options field value if set, zero value otherwise.
func (*Elements) GetOptionsOk ¶
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 ¶
GetPlaceholder returns the Placeholder field value if set, zero value otherwise.
func (*Elements) GetPlaceholderOk ¶
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) GetStyleOk ¶
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) GetTextOk ¶
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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Elements) GetUrlOk ¶
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) GetValueOk ¶
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 ¶
HasActionId returns a boolean if a field has been set.
func (*Elements) HasAltText ¶
HasAltText returns a boolean if a field has been set.
func (*Elements) HasConfirm ¶
HasConfirm returns a boolean if a field has been set.
func (*Elements) HasDispatchActionConfig ¶
HasDispatchActionConfig returns a boolean if a field has been set.
func (*Elements) HasImageUrl ¶
HasImageUrl returns a boolean if a field has been set.
func (*Elements) HasInitialDate ¶
HasInitialDate returns a boolean if a field has been set.
func (*Elements) HasInitialOptions ¶
HasInitialOptions returns a boolean if a field has been set.
func (*Elements) HasInitialTime ¶
HasInitialTime returns a boolean if a field has been set.
func (*Elements) HasInitialValue ¶
HasInitialValue returns a boolean if a field has been set.
func (*Elements) HasMaxLength ¶
HasMaxLength returns a boolean if a field has been set.
func (*Elements) HasMaxSelectedItems ¶
HasMaxSelectedItems returns a boolean if a field has been set.
func (*Elements) HasMinLength ¶
HasMinLength returns a boolean if a field has been set.
func (*Elements) HasMultiline ¶
HasMultiline returns a boolean if a field has been set.
func (*Elements) HasOptionGroups ¶
HasOptionGroups returns a boolean if a field has been set.
func (*Elements) HasOptions ¶
HasOptions returns a boolean if a field has been set.
func (*Elements) HasPlaceholder ¶
HasPlaceholder returns a boolean if a field has been set.
func (Elements) MarshalJSON ¶
func (*Elements) SetActionId ¶
SetActionId gets a reference to the given string and assigns it to the actionId field. ActionId:
func (*Elements) SetAltText ¶
SetAltText gets a reference to the given string and assigns it to the altText field. AltText:
func (*Elements) SetConfirm ¶
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 ¶
SetImageUrl gets a reference to the given string and assigns it to the imageUrl field. ImageUrl:
func (*Elements) SetInitialDate ¶
SetInitialDate gets a reference to the given string and assigns it to the initialDate field. InitialDate:
func (*Elements) SetInitialOptions ¶
SetInitialOptions gets a reference to the given []Option and assigns it to the initialOptions field. InitialOptions:
func (*Elements) SetInitialTime ¶
SetInitialTime gets a reference to the given string and assigns it to the initialTime field. InitialTime:
func (*Elements) SetInitialValue ¶
SetInitialValue gets a reference to the given string and assigns it to the initialValue field. InitialValue:
func (*Elements) SetMaxLength ¶
SetMaxLength gets a reference to the given int32 and assigns it to the maxLength field. MaxLength:
func (*Elements) SetMaxSelectedItems ¶
SetMaxSelectedItems gets a reference to the given int32 and assigns it to the maxSelectedItems field. MaxSelectedItems:
func (*Elements) SetMinLength ¶
SetMinLength gets a reference to the given int32 and assigns it to the minLength field. MinLength:
func (*Elements) SetMultiline ¶
SetMultiline gets a reference to the given bool and assigns it to the multiline field. Multiline:
func (*Elements) SetOptionGroups ¶
SetOptionGroups gets a reference to the given []Option and assigns it to the optionGroups field. OptionGroups:
func (*Elements) SetOptions ¶
SetOptions gets a reference to the given []Option and assigns it to the options field. Options:
func (*Elements) SetPlaceholder ¶
SetPlaceholder gets a reference to the given TextType and assigns it to the placeholder field. Placeholder:
func (*Elements) SetStyle ¶
SetStyle gets a reference to the given string and assigns it to the style field. Style:
func (*Elements) SetText ¶
SetText gets a reference to the given TextType and assigns it to the text field. Text:
func (*Elements) SetUrl ¶
SetUrl gets a reference to the given string and assigns it to the url field. Url:
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 ¶
NewEmails converts a list Email pointers to objects. This is helpful when the SetEmail requires a list of objects
func NewEmailWith ¶
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 ¶
GetContent returns the Content field value
func (*Email) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Email) GetFromOk ¶
GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.
func (*Email) GetToOk ¶
GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.
func (Email) MarshalJSON ¶
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 ¶
NewFeedCards converts a list FeedCard pointers to objects. This is helpful when the SetFeedCard requires a list of objects
func NewFeedCardWith ¶
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 (*FeedCard) GetLinksOk ¶
GetLinksOk returns a tuple with the Links field value and a boolean to check if the value has been set.
func (FeedCard) MarshalJSON ¶
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 ¶
NewFroms converts a list From pointers to objects. This is helpful when the SetFrom requires a list of objects
func NewFromWith ¶
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 ¶
GetAddress returns the Address field value
func (*From) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*From) GetAliasOk ¶
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) GetHostOk ¶
GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.
func (*From) GetPassword ¶
GetPassword returns the Password field value
func (*From) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*From) GetPortOk ¶
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (From) MarshalJSON ¶
func (*From) SetAlias ¶
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) SetPassword ¶
SetPassword sets field value
type Lark ¶
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 ¶
NewLarks converts a list Lark pointers to objects. This is helpful when the SetLark requires a list of objects
func NewLarkWith ¶
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 ¶
GetMessage returns the Message field value
func (*Lark) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Lark) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (Lark) MarshalJSON ¶
type Link ¶
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 ¶
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 ¶
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 ¶
GetMessageUrl returns the MessageUrl field value if set, zero value otherwise.
func (*Link) GetMessageUrlOk ¶
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) GetPicUrlOk ¶
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) GetTextOk ¶
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) GetTitleOk ¶
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 ¶
HasMessageUrl returns a boolean if a field has been set.
func (Link) MarshalJSON ¶
func (*Link) SetMessageUrl ¶
SetMessageUrl gets a reference to the given string and assigns it to the messageUrl field. MessageUrl:
func (*Link) SetPicUrl ¶
SetPicUrl gets a reference to the given string and assigns it to the picUrl field. PicUrl:
func (*Link) SetText ¶
SetText gets a reference to the given string and assigns it to the text field. Text:
type Markdown ¶
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 ¶
NewMarkdowns converts a list Markdown pointers to objects. This is helpful when the SetMarkdown requires a list of objects
func NewMarkdownWith ¶
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) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*Markdown) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (Markdown) MarshalJSON ¶
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 ¶
NewMessages converts a list Message pointers to objects. This is helpful when the SetMessage requires a list of objects
func NewMessageWith ¶
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) GetAtOk ¶
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 ¶
GetFeedCard returns the FeedCard field value if set, zero value otherwise.
func (*Message) GetFeedCardOk ¶
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 (*Message) GetLinkOk ¶
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 ¶
GetMarkdown returns the Markdown field value if set, zero value otherwise.
func (*Message) GetMarkdownOk ¶
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 ¶
GetMsgtype returns the Msgtype field value
func (*Message) GetMsgtypeOk ¶
GetMsgtypeOk returns a tuple with the Msgtype field value and a boolean to check if the value has been set.
func (*Message) GetTextOk ¶
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 ¶
HasActionCard returns a boolean if a field has been set.
func (*Message) HasFeedCard ¶
HasFeedCard returns a boolean if a field has been set.
func (*Message) HasMarkdown ¶
HasMarkdown returns a boolean if a field has been set.
func (Message) MarshalJSON ¶
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) SetFeedCard ¶
SetFeedCard gets a reference to the given FeedCard and assigns it to the feedCard field. FeedCard:
func (*Message) SetLink ¶
SetLink gets a reference to the given Link and assigns it to the link field. Link:
func (*Message) SetMarkdown ¶
SetMarkdown gets a reference to the given Markdown and assigns it to the markdown field. Markdown:
func (*Message) SetMsgtype ¶
SetMsgtype sets field value
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 ¶
NewMessage1s converts a list Message1 pointers to objects. This is helpful when the SetMessage1 requires a list of objects
func NewMessage1With ¶
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 ¶
GetContent returns the Content field value
func (*Message1) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Message1) GetMsgType ¶
GetMsgType returns the MsgType field value
func (*Message1) GetMsgTypeOk ¶
GetMsgTypeOk returns a tuple with the MsgType field value and a boolean to check if the value has been set.
func (Message1) MarshalJSON ¶
func (*Message1) SetContent ¶
SetContent sets field value
func (*Message1) SetMsgType ¶
SetMsgType sets field value
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 ¶
NewMessage2s converts a list Message2 pointers to objects. This is helpful when the SetMessage2 requires a list of objects
func NewMessage2With ¶
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) GetBlocksOk ¶
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) GetMrkdwnOk ¶
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) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*Message2) GetThreadTs ¶
GetThreadTs returns the ThreadTs field value if set, zero value otherwise.
func (*Message2) GetThreadTsOk ¶
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 ¶
HasAttachments returns a boolean if a field has been set.
func (*Message2) HasThreadTs ¶
HasThreadTs returns a boolean if a field has been set.
func (Message2) MarshalJSON ¶
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 ¶
SetBlocks gets a reference to the given []Block and assigns it to the blocks field. Blocks:
func (*Message2) SetMrkdwn ¶
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) SetThreadTs ¶
SetThreadTs gets a reference to the given string and assigns it to the threadTs field. ThreadTs:
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 (n *NotificationWorkflowStep) Alias(alias string) *NotificationWorkflowStep
func (*NotificationWorkflowStep) Build ¶
func (n *NotificationWorkflowStep) Build() v1beta1.WorkflowStep
func (*NotificationWorkflowStep) DefType ¶
func (n *NotificationWorkflowStep) DefType() string
func (*NotificationWorkflowStep) DependsOn ¶
func (n *NotificationWorkflowStep) DependsOn(dependsOn []string) *NotificationWorkflowStep
func (*NotificationWorkflowStep) FromWorkflowStep ¶
func (n *NotificationWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*NotificationWorkflowStep, error)
func (*NotificationWorkflowStep) FromWorkflowSubStep ¶
func (n *NotificationWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*NotificationWorkflowStep, error)
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 (n *NotificationWorkflowStep) If(_if string) *NotificationWorkflowStep
func (*NotificationWorkflowStep) Inputs ¶
func (n *NotificationWorkflowStep) Inputs(input common.StepInputs) *NotificationWorkflowStep
func (*NotificationWorkflowStep) Outputs ¶
func (n *NotificationWorkflowStep) Outputs(output common.StepOutputs) *NotificationWorkflowStep
func (*NotificationWorkflowStep) SetDingding ¶
func (o *NotificationWorkflowStep) SetDingding(v Dingding) *NotificationWorkflowStep
SetDingding gets a reference to the given Dingding and assigns it to the dingding field. Dingding:
func (*NotificationWorkflowStep) SetEmail ¶
func (o *NotificationWorkflowStep) SetEmail(v Email) *NotificationWorkflowStep
SetEmail gets a reference to the given Email and assigns it to the email field. Email:
func (*NotificationWorkflowStep) SetLark ¶
func (o *NotificationWorkflowStep) SetLark(v Lark) *NotificationWorkflowStep
SetLark gets a reference to the given Lark and assigns it to the lark field. Lark:
func (*NotificationWorkflowStep) SetSlack ¶
func (o *NotificationWorkflowStep) SetSlack(v Slack) *NotificationWorkflowStep
SetSlack gets a reference to the given Slack and assigns it to the slack field. Slack:
func (*NotificationWorkflowStep) Timeout ¶
func (n *NotificationWorkflowStep) Timeout(timeout string) *NotificationWorkflowStep
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 (v *NullableDispatchActionConfig) Get() *DispatchActionConfig
func (*NullableDispatchActionConfig) IsSet ¶
func (v *NullableDispatchActionConfig) IsSet() bool
func (NullableDispatchActionConfig) MarshalJSON ¶
func (v NullableDispatchActionConfig) MarshalJSON() ([]byte, error)
func (*NullableDispatchActionConfig) Set ¶
func (v *NullableDispatchActionConfig) Set(val *DispatchActionConfig)
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 ¶
type NullableLink struct {
// contains filtered or unexported fields
}
func NewNullableLink ¶
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 (v *NullableNotificationSpec) Get() *NotificationSpec
func (*NullableNotificationSpec) IsSet ¶
func (v *NullableNotificationSpec) IsSet() bool
func (NullableNotificationSpec) MarshalJSON ¶
func (v NullableNotificationSpec) MarshalJSON() ([]byte, error)
func (*NullableNotificationSpec) Set ¶
func (v *NullableNotificationSpec) Set(val *NotificationSpec)
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 (v *NullablePasswordOneOf) Get() *PasswordOneOf
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 ¶
NewOptions converts a list Option pointers to objects. This is helpful when the SetOption requires a list of objects
func NewOptionWith ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Option) GetDescriptionOk ¶
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) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*Option) GetUrlOk ¶
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) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*Option) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Option) MarshalJSON ¶
func (*Option) SetDescription ¶
SetDescription gets a reference to the given TextType and assigns it to the description field. Description:
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 ¶
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 ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Password) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
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 ¶
NewSecretRefs converts a list SecretRef pointers to objects. This is helpful when the SetSecretRef requires a list of objects
func NewSecretRefWith ¶
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) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*SecretRef) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SecretRef) MarshalJSON ¶
type Slack ¶
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 ¶
NewSlacks converts a list Slack pointers to objects. This is helpful when the SetSlack requires a list of objects
func NewSlackWith ¶
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 ¶
GetMessage returns the Message field value
func (*Slack) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Slack) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (Slack) MarshalJSON ¶
func (*Slack) SetMessage ¶
SetMessage sets field value
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 ¶
NewTexts converts a list Text pointers to objects. This is helpful when the SetText requires a list of objects
func NewTextWith ¶
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 ¶
GetContent returns the Content field value
func (*Text) GetContentOk ¶
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (Text) MarshalJSON ¶
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 ¶
NewTextTypes converts a list TextType pointers to objects. This is helpful when the SetTextType requires a list of objects
func NewTextTypeWith ¶
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) GetEmojiOk ¶
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) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TextType) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*TextType) GetVerbatim ¶
GetVerbatim returns the Verbatim field value if set, zero value otherwise.
func (*TextType) GetVerbatimOk ¶
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) HasVerbatim ¶
HasVerbatim returns a boolean if a field has been set.
func (TextType) MarshalJSON ¶
func (*TextType) SetEmoji ¶
SetEmoji gets a reference to the given bool and assigns it to the emoji field. Emoji:
func (*TextType) SetVerbatim ¶
SetVerbatim gets a reference to the given bool and assigns it to the verbatim field. Verbatim:
type Url ¶
Url - Specify the the dingding url, you can either sepcify it in value or use secretRef
func UrlOneOf1AsUrl ¶
UrlOneOf1AsUrl is is a convenience function that returns UrlOneOf1 wrapped in Url
func UrlOneOfAsUrl ¶
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 ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Url) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Url1 ¶
Url1 - Specify the the lark url, you can either sepcify it in value or use secretRef
func UrlOneOf1AsUrl1 ¶
UrlOneOf1AsUrl1 is is a convenience function that returns UrlOneOf1 wrapped in Url1
func UrlOneOfAsUrl1 ¶
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 ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Url1) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Url2 ¶
Url2 - Specify the the slack url, you can either sepcify it in value or use secretRef
func UrlOneOf1AsUrl2 ¶
UrlOneOf1AsUrl2 is is a convenience function that returns UrlOneOf1 wrapped in Url2
func UrlOneOfAsUrl2 ¶
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 ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Url2) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
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 ¶
NewUrlOneOfs converts a list UrlOneOf pointers to objects. This is helpful when the SetUrlOneOf requires a list of objects
func NewUrlOneOfWith ¶
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) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (UrlOneOf) MarshalJSON ¶
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 ¶
NewUrlOneOf1s converts a list UrlOneOf1 pointers to objects. This is helpful when the SetUrlOneOf1 requires a list of objects
func NewUrlOneOf1With ¶
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 ¶
GetSecretRef returns the SecretRef field value
func (*UrlOneOf1) GetSecretRefOk ¶
GetSecretRefOk returns a tuple with the SecretRef field value and a boolean to check if the value has been set.
func (UrlOneOf1) MarshalJSON ¶
func (*UrlOneOf1) SetSecretRef ¶
SetSecretRef sets field value
Source Files ¶
- action_card.go
- at.go
- attachments.go
- block.go
- btns.go
- confirm.go
- content.go
- dingding.go
- dispatch_action_config.go
- elements.go
- email.go
- feed_card.go
- from.go
- lark.go
- link.go
- markdown.go
- message.go
- message_1.go
- message_2.go
- notification.go
- option.go
- password.go
- password_one_of.go
- secret_ref.go
- slack.go
- text.go
- text_type.go
- url.go
- url_1.go
- url_2.go
- url_one_of.go
- url_one_of_1.go