Name | Type | Description | Notes |
---|---|---|---|
Whitelist | Pointer to []string | [optional] | |
Blacklist | Pointer to []string | [optional] | |
Subscriptions | []string | Get the available subscriptions with /meta/webhooks/twitter | |
Format | string | ||
PreviewLength | Pointer to NullableInt32 | [optional] | |
Callback | string | Discord Webhook URL |
func NewCreateTwitterWebhook(subscriptions []string, format string, callback string, ) *CreateTwitterWebhook
NewCreateTwitterWebhook instantiates a new CreateTwitterWebhook 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
func NewCreateTwitterWebhookWithDefaults() *CreateTwitterWebhook
NewCreateTwitterWebhookWithDefaults instantiates a new CreateTwitterWebhook object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CreateTwitterWebhook) GetWhitelist() []string
GetWhitelist returns the Whitelist field if non-nil, zero value otherwise.
func (o *CreateTwitterWebhook) GetWhitelistOk() (*[]string, bool)
GetWhitelistOk returns a tuple with the Whitelist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTwitterWebhook) SetWhitelist(v []string)
SetWhitelist sets Whitelist field to given value.
func (o *CreateTwitterWebhook) HasWhitelist() bool
HasWhitelist returns a boolean if a field has been set.
func (o *CreateTwitterWebhook) SetWhitelistNil(b bool)
SetWhitelistNil sets the value for Whitelist to be an explicit nil
func (o *CreateTwitterWebhook) UnsetWhitelist()
UnsetWhitelist ensures that no value is present for Whitelist, not even an explicit nil
func (o *CreateTwitterWebhook) GetBlacklist() []string
GetBlacklist returns the Blacklist field if non-nil, zero value otherwise.
func (o *CreateTwitterWebhook) GetBlacklistOk() (*[]string, bool)
GetBlacklistOk returns a tuple with the Blacklist field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTwitterWebhook) SetBlacklist(v []string)
SetBlacklist sets Blacklist field to given value.
func (o *CreateTwitterWebhook) HasBlacklist() bool
HasBlacklist returns a boolean if a field has been set.
func (o *CreateTwitterWebhook) SetBlacklistNil(b bool)
SetBlacklistNil sets the value for Blacklist to be an explicit nil
func (o *CreateTwitterWebhook) UnsetBlacklist()
UnsetBlacklist ensures that no value is present for Blacklist, not even an explicit nil
func (o *CreateTwitterWebhook) GetSubscriptions() []string
GetSubscriptions returns the Subscriptions field if non-nil, zero value otherwise.
func (o *CreateTwitterWebhook) GetSubscriptionsOk() (*[]string, bool)
GetSubscriptionsOk returns a tuple with the Subscriptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTwitterWebhook) SetSubscriptions(v []string)
SetSubscriptions sets Subscriptions field to given value.
func (o *CreateTwitterWebhook) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
func (o *CreateTwitterWebhook) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTwitterWebhook) SetFormat(v string)
SetFormat sets Format field to given value.
func (o *CreateTwitterWebhook) GetPreviewLength() int32
GetPreviewLength returns the PreviewLength field if non-nil, zero value otherwise.
func (o *CreateTwitterWebhook) GetPreviewLengthOk() (*int32, bool)
GetPreviewLengthOk returns a tuple with the PreviewLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTwitterWebhook) SetPreviewLength(v int32)
SetPreviewLength sets PreviewLength field to given value.
func (o *CreateTwitterWebhook) HasPreviewLength() bool
HasPreviewLength returns a boolean if a field has been set.
func (o *CreateTwitterWebhook) SetPreviewLengthNil(b bool)
SetPreviewLengthNil sets the value for PreviewLength to be an explicit nil
func (o *CreateTwitterWebhook) UnsetPreviewLength()
UnsetPreviewLength ensures that no value is present for PreviewLength, not even an explicit nil
func (o *CreateTwitterWebhook) GetCallback() string
GetCallback returns the Callback field if non-nil, zero value otherwise.
func (o *CreateTwitterWebhook) GetCallbackOk() (*string, bool)
GetCallbackOk returns a tuple with the Callback field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTwitterWebhook) SetCallback(v string)
SetCallback sets Callback field to given value.