Files
sdk/docs/GitSubscribeReq.md

3.1 KiB

GitSubscribeReq

Properties

Name Type Description Notes
Channel Pointer to string Channel is the Slack channel the notifier posts to — an id (C…/G…), a #name, or a bare name. Required. [optional]
Events Pointer to []string Events narrows delivery to these lifecycle kinds (push.landed, deploy.live, deploy.failed). Omit it to receive every deliverable kind; a kind that is never posted to Slack is refused rather than silently dropped. [optional]
Name Pointer to string Name is the repo to subscribe, from the :name path segment. [optional]

Methods

NewGitSubscribeReq

func NewGitSubscribeReq() *GitSubscribeReq

NewGitSubscribeReq instantiates a new GitSubscribeReq 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

NewGitSubscribeReqWithDefaults

func NewGitSubscribeReqWithDefaults() *GitSubscribeReq

NewGitSubscribeReqWithDefaults instantiates a new GitSubscribeReq 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

GetChannel

func (o *GitSubscribeReq) GetChannel() string

GetChannel returns the Channel field if non-nil, zero value otherwise.

GetChannelOk

func (o *GitSubscribeReq) GetChannelOk() (*string, bool)

GetChannelOk returns a tuple with the Channel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetChannel

func (o *GitSubscribeReq) SetChannel(v string)

SetChannel sets Channel field to given value.

HasChannel

func (o *GitSubscribeReq) HasChannel() bool

HasChannel returns a boolean if a field has been set.

GetEvents

func (o *GitSubscribeReq) GetEvents() []string

GetEvents returns the Events field if non-nil, zero value otherwise.

GetEventsOk

func (o *GitSubscribeReq) GetEventsOk() (*[]string, bool)

GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEvents

func (o *GitSubscribeReq) SetEvents(v []string)

SetEvents sets Events field to given value.

HasEvents

func (o *GitSubscribeReq) HasEvents() bool

HasEvents returns a boolean if a field has been set.

GetName

func (o *GitSubscribeReq) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *GitSubscribeReq) 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 *GitSubscribeReq) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *GitSubscribeReq) HasName() bool

HasName returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]