@@ -24907,6 +24907,192 @@ func (u *UserAgentParser) SetTarget(v string) {
24907
24907
u.Target = &v
24908
24908
}
24909
24909
24910
+ // GetCustomPayload returns the CustomPayload field if non-nil, zero value otherwise.
24911
+ func (w *Webhook) GetCustomPayload() string {
24912
+ if w == nil || w.CustomPayload == nil {
24913
+ return ""
24914
+ }
24915
+ return *w.CustomPayload
24916
+ }
24917
+
24918
+ // GetCustomPayloadOk returns a tuple with the CustomPayload field if it's non-nil, zero value otherwise
24919
+ // and a boolean to check if the value has been set.
24920
+ func (w *Webhook) GetCustomPayloadOk() (string, bool) {
24921
+ if w == nil || w.CustomPayload == nil {
24922
+ return "", false
24923
+ }
24924
+ return *w.CustomPayload, true
24925
+ }
24926
+
24927
+ // HasCustomPayload returns a boolean if a field has been set.
24928
+ func (w *Webhook) HasCustomPayload() bool {
24929
+ if w != nil && w.CustomPayload != nil {
24930
+ return true
24931
+ }
24932
+
24933
+ return false
24934
+ }
24935
+
24936
+ // SetCustomPayload allocates a new w.CustomPayload and returns the pointer to it.
24937
+ func (w *Webhook) SetCustomPayload(v string) {
24938
+ w.CustomPayload = &v
24939
+ }
24940
+
24941
+ // GetEncodeAsForm returns the EncodeAsForm field if non-nil, zero value otherwise.
24942
+ func (w *Webhook) GetEncodeAsForm() string {
24943
+ if w == nil || w.EncodeAsForm == nil {
24944
+ return ""
24945
+ }
24946
+ return *w.EncodeAsForm
24947
+ }
24948
+
24949
+ // GetEncodeAsFormOk returns a tuple with the EncodeAsForm field if it's non-nil, zero value otherwise
24950
+ // and a boolean to check if the value has been set.
24951
+ func (w *Webhook) GetEncodeAsFormOk() (string, bool) {
24952
+ if w == nil || w.EncodeAsForm == nil {
24953
+ return "", false
24954
+ }
24955
+ return *w.EncodeAsForm, true
24956
+ }
24957
+
24958
+ // HasEncodeAsForm returns a boolean if a field has been set.
24959
+ func (w *Webhook) HasEncodeAsForm() bool {
24960
+ if w != nil && w.EncodeAsForm != nil {
24961
+ return true
24962
+ }
24963
+
24964
+ return false
24965
+ }
24966
+
24967
+ // SetEncodeAsForm allocates a new w.EncodeAsForm and returns the pointer to it.
24968
+ func (w *Webhook) SetEncodeAsForm(v string) {
24969
+ w.EncodeAsForm = &v
24970
+ }
24971
+
24972
+ // GetHeaders returns the Headers field if non-nil, zero value otherwise.
24973
+ func (w *Webhook) GetHeaders() string {
24974
+ if w == nil || w.Headers == nil {
24975
+ return ""
24976
+ }
24977
+ return *w.Headers
24978
+ }
24979
+
24980
+ // GetHeadersOk returns a tuple with the Headers field if it's non-nil, zero value otherwise
24981
+ // and a boolean to check if the value has been set.
24982
+ func (w *Webhook) GetHeadersOk() (string, bool) {
24983
+ if w == nil || w.Headers == nil {
24984
+ return "", false
24985
+ }
24986
+ return *w.Headers, true
24987
+ }
24988
+
24989
+ // HasHeaders returns a boolean if a field has been set.
24990
+ func (w *Webhook) HasHeaders() bool {
24991
+ if w != nil && w.Headers != nil {
24992
+ return true
24993
+ }
24994
+
24995
+ return false
24996
+ }
24997
+
24998
+ // SetHeaders allocates a new w.Headers and returns the pointer to it.
24999
+ func (w *Webhook) SetHeaders(v string) {
25000
+ w.Headers = &v
25001
+ }
25002
+
25003
+ // GetName returns the Name field if non-nil, zero value otherwise.
25004
+ func (w *Webhook) GetName() string {
25005
+ if w == nil || w.Name == nil {
25006
+ return ""
25007
+ }
25008
+ return *w.Name
25009
+ }
25010
+
25011
+ // GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
25012
+ // and a boolean to check if the value has been set.
25013
+ func (w *Webhook) GetNameOk() (string, bool) {
25014
+ if w == nil || w.Name == nil {
25015
+ return "", false
25016
+ }
25017
+ return *w.Name, true
25018
+ }
25019
+
25020
+ // HasName returns a boolean if a field has been set.
25021
+ func (w *Webhook) HasName() bool {
25022
+ if w != nil && w.Name != nil {
25023
+ return true
25024
+ }
25025
+
25026
+ return false
25027
+ }
25028
+
25029
+ // SetName allocates a new w.Name and returns the pointer to it.
25030
+ func (w *Webhook) SetName(v string) {
25031
+ w.Name = &v
25032
+ }
25033
+
25034
+ // GetURL returns the URL field if non-nil, zero value otherwise.
25035
+ func (w *Webhook) GetURL() string {
25036
+ if w == nil || w.URL == nil {
25037
+ return ""
25038
+ }
25039
+ return *w.URL
25040
+ }
25041
+
25042
+ // GetURLOk returns a tuple with the URL field if it's non-nil, zero value otherwise
25043
+ // and a boolean to check if the value has been set.
25044
+ func (w *Webhook) GetURLOk() (string, bool) {
25045
+ if w == nil || w.URL == nil {
25046
+ return "", false
25047
+ }
25048
+ return *w.URL, true
25049
+ }
25050
+
25051
+ // HasURL returns a boolean if a field has been set.
25052
+ func (w *Webhook) HasURL() bool {
25053
+ if w != nil && w.URL != nil {
25054
+ return true
25055
+ }
25056
+
25057
+ return false
25058
+ }
25059
+
25060
+ // SetURL allocates a new w.URL and returns the pointer to it.
25061
+ func (w *Webhook) SetURL(v string) {
25062
+ w.URL = &v
25063
+ }
25064
+
25065
+ // GetUseCustomPayload returns the UseCustomPayload field if non-nil, zero value otherwise.
25066
+ func (w *Webhook) GetUseCustomPayload() string {
25067
+ if w == nil || w.UseCustomPayload == nil {
25068
+ return ""
25069
+ }
25070
+ return *w.UseCustomPayload
25071
+ }
25072
+
25073
+ // GetUseCustomPayloadOk returns a tuple with the UseCustomPayload field if it's non-nil, zero value otherwise
25074
+ // and a boolean to check if the value has been set.
25075
+ func (w *Webhook) GetUseCustomPayloadOk() (string, bool) {
25076
+ if w == nil || w.UseCustomPayload == nil {
25077
+ return "", false
25078
+ }
25079
+ return *w.UseCustomPayload, true
25080
+ }
25081
+
25082
+ // HasUseCustomPayload returns a boolean if a field has been set.
25083
+ func (w *Webhook) HasUseCustomPayload() bool {
25084
+ if w != nil && w.UseCustomPayload != nil {
25085
+ return true
25086
+ }
25087
+
25088
+ return false
25089
+ }
25090
+
25091
+ // SetUseCustomPayload allocates a new w.UseCustomPayload and returns the pointer to it.
25092
+ func (w *Webhook) SetUseCustomPayload(v string) {
25093
+ w.UseCustomPayload = &v
25094
+ }
25095
+
24910
25096
// GetAlertID returns the AlertID field if non-nil, zero value otherwise.
24911
25097
func (w *Widget) GetAlertID() int {
24912
25098
if w == nil || w.AlertID == nil {
0 commit comments