Name | Type | Description | Notes |
---|---|---|---|
Name | string | The name of the owner. | |
Description | Pointer to string | A description of the owner. | [optional] |
AccessRequestEscalationPeriod | Pointer to int32 | The amount of time (in minutes) before the next reviewer is notified. Use 0 to remove escalation policy. | [optional] |
UserIds | []string | Users to add to the created owner. If setting a source_group_id this list must be empty. | |
ReviewerMessageChannelId | Pointer to string | The message channel id for the reviewer channel. | [optional] |
SourceGroupId | Pointer to string | Sync this owner's user list with a source group. | [optional] |
func NewCreateOwnerInfo(name string, userIds []string, ) *CreateOwnerInfo
NewCreateOwnerInfo instantiates a new CreateOwnerInfo 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 NewCreateOwnerInfoWithDefaults() *CreateOwnerInfo
NewCreateOwnerInfoWithDefaults instantiates a new CreateOwnerInfo 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 *CreateOwnerInfo) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateOwnerInfo) 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.
func (o *CreateOwnerInfo) SetName(v string)
SetName sets Name field to given value.
func (o *CreateOwnerInfo) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateOwnerInfo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOwnerInfo) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateOwnerInfo) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateOwnerInfo) GetAccessRequestEscalationPeriod() int32
GetAccessRequestEscalationPeriod returns the AccessRequestEscalationPeriod field if non-nil, zero value otherwise.
func (o *CreateOwnerInfo) GetAccessRequestEscalationPeriodOk() (*int32, bool)
GetAccessRequestEscalationPeriodOk returns a tuple with the AccessRequestEscalationPeriod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOwnerInfo) SetAccessRequestEscalationPeriod(v int32)
SetAccessRequestEscalationPeriod sets AccessRequestEscalationPeriod field to given value.
func (o *CreateOwnerInfo) HasAccessRequestEscalationPeriod() bool
HasAccessRequestEscalationPeriod returns a boolean if a field has been set.
func (o *CreateOwnerInfo) GetUserIds() []string
GetUserIds returns the UserIds field if non-nil, zero value otherwise.
func (o *CreateOwnerInfo) GetUserIdsOk() (*[]string, bool)
GetUserIdsOk returns a tuple with the UserIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOwnerInfo) SetUserIds(v []string)
SetUserIds sets UserIds field to given value.
func (o *CreateOwnerInfo) GetReviewerMessageChannelId() string
GetReviewerMessageChannelId returns the ReviewerMessageChannelId field if non-nil, zero value otherwise.
func (o *CreateOwnerInfo) GetReviewerMessageChannelIdOk() (*string, bool)
GetReviewerMessageChannelIdOk returns a tuple with the ReviewerMessageChannelId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOwnerInfo) SetReviewerMessageChannelId(v string)
SetReviewerMessageChannelId sets ReviewerMessageChannelId field to given value.
func (o *CreateOwnerInfo) HasReviewerMessageChannelId() bool
HasReviewerMessageChannelId returns a boolean if a field has been set.
func (o *CreateOwnerInfo) GetSourceGroupId() string
GetSourceGroupId returns the SourceGroupId field if non-nil, zero value otherwise.
func (o *CreateOwnerInfo) GetSourceGroupIdOk() (*string, bool)
GetSourceGroupIdOk returns a tuple with the SourceGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateOwnerInfo) SetSourceGroupId(v string)
SetSourceGroupId sets SourceGroupId field to given value.
func (o *CreateOwnerInfo) HasSourceGroupId() bool
HasSourceGroupId returns a boolean if a field has been set.