OpenApiWebhookSettingAddVO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | Webhook name. It should contain 1 to 128 characters. | |
| RetryPolicy | int32 | Webhook retry policy. It should be a value as follows: 0:None, 1:Important (Up to 5 retries over 60 minutes), 2:Critical (Up to 5 retries over 24 hours) | |
| ShardedSecret | Pointer to string | Webhook Sharded Secret. It should contain 0 to 128 characters. | [optional] |
| Template | int32 | Webhook template, it should be a value as follow: 0:Omada template, 1:Google chat template. Example: 0. | |
| UrlList | []string | Webhook URL List. Up to 3 entries are allowed for the URL list |
Methods
NewOpenApiWebhookSettingAddVO
func NewOpenApiWebhookSettingAddVO(name string, retryPolicy int32, template int32, urlList []string, ) *OpenApiWebhookSettingAddVO
NewOpenApiWebhookSettingAddVO instantiates a new OpenApiWebhookSettingAddVO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewOpenApiWebhookSettingAddVOWithDefaults
func NewOpenApiWebhookSettingAddVOWithDefaults() *OpenApiWebhookSettingAddVO
NewOpenApiWebhookSettingAddVOWithDefaults instantiates a new OpenApiWebhookSettingAddVO 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
GetName
func (o *OpenApiWebhookSettingAddVO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *OpenApiWebhookSettingAddVO) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *OpenApiWebhookSettingAddVO) SetName(v string)
SetName sets Name field to given value.
GetRetryPolicy
func (o *OpenApiWebhookSettingAddVO) GetRetryPolicy() int32
GetRetryPolicy returns the RetryPolicy field if non-nil, zero value otherwise.
GetRetryPolicyOk
func (o *OpenApiWebhookSettingAddVO) GetRetryPolicyOk() (*int32, bool)
GetRetryPolicyOk returns a tuple with the RetryPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRetryPolicy
func (o *OpenApiWebhookSettingAddVO) SetRetryPolicy(v int32)
SetRetryPolicy sets RetryPolicy field to given value.
GetShardedSecret
func (o *OpenApiWebhookSettingAddVO) GetShardedSecret() string
GetShardedSecret returns the ShardedSecret field if non-nil, zero value otherwise.
GetShardedSecretOk
func (o *OpenApiWebhookSettingAddVO) GetShardedSecretOk() (*string, bool)
GetShardedSecretOk returns a tuple with the ShardedSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetShardedSecret
func (o *OpenApiWebhookSettingAddVO) SetShardedSecret(v string)
SetShardedSecret sets ShardedSecret field to given value.
HasShardedSecret
func (o *OpenApiWebhookSettingAddVO) HasShardedSecret() bool
HasShardedSecret returns a boolean if a field has been set.
GetTemplate
func (o *OpenApiWebhookSettingAddVO) GetTemplate() int32
GetTemplate returns the Template field if non-nil, zero value otherwise.
GetTemplateOk
func (o *OpenApiWebhookSettingAddVO) GetTemplateOk() (*int32, bool)
GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTemplate
func (o *OpenApiWebhookSettingAddVO) SetTemplate(v int32)
SetTemplate sets Template field to given value.
GetUrlList
func (o *OpenApiWebhookSettingAddVO) GetUrlList() []string
GetUrlList returns the UrlList field if non-nil, zero value otherwise.
GetUrlListOk
func (o *OpenApiWebhookSettingAddVO) GetUrlListOk() (*[]string, bool)
GetUrlListOk returns a tuple with the UrlList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUrlList
func (o *OpenApiWebhookSettingAddVO) SetUrlList(v []string)
SetUrlList sets UrlList field to given value.