Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.54 KB

File metadata and controls

108 lines (59 loc) · 3.54 KB

ConnectedRepositoryRequestPatch

Properties

Name Type Description Notes
IsActive Pointer to bool [optional] [default to true]
Priority Pointer to int64 Repositories are checked in ascending order (starting at 1). If multiple repositories have the same priority, the oldest one is used first. [optional]
TargetRepository Pointer to string The slug of the target repository to connect to. [optional]

Methods

NewConnectedRepositoryRequestPatch

func NewConnectedRepositoryRequestPatch() *ConnectedRepositoryRequestPatch

NewConnectedRepositoryRequestPatch instantiates a new ConnectedRepositoryRequestPatch 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

NewConnectedRepositoryRequestPatchWithDefaults

func NewConnectedRepositoryRequestPatchWithDefaults() *ConnectedRepositoryRequestPatch

NewConnectedRepositoryRequestPatchWithDefaults instantiates a new ConnectedRepositoryRequestPatch 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

GetIsActive

func (o *ConnectedRepositoryRequestPatch) GetIsActive() bool

GetIsActive returns the IsActive field if non-nil, zero value otherwise.

GetIsActiveOk

func (o *ConnectedRepositoryRequestPatch) GetIsActiveOk() (*bool, bool)

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

SetIsActive

func (o *ConnectedRepositoryRequestPatch) SetIsActive(v bool)

SetIsActive sets IsActive field to given value.

HasIsActive

func (o *ConnectedRepositoryRequestPatch) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

GetPriority

func (o *ConnectedRepositoryRequestPatch) GetPriority() int64

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

func (o *ConnectedRepositoryRequestPatch) GetPriorityOk() (*int64, bool)

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

SetPriority

func (o *ConnectedRepositoryRequestPatch) SetPriority(v int64)

SetPriority sets Priority field to given value.

HasPriority

func (o *ConnectedRepositoryRequestPatch) HasPriority() bool

HasPriority returns a boolean if a field has been set.

GetTargetRepository

func (o *ConnectedRepositoryRequestPatch) GetTargetRepository() string

GetTargetRepository returns the TargetRepository field if non-nil, zero value otherwise.

GetTargetRepositoryOk

func (o *ConnectedRepositoryRequestPatch) GetTargetRepositoryOk() (*string, bool)

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

SetTargetRepository

func (o *ConnectedRepositoryRequestPatch) SetTargetRepository(v string)

SetTargetRepository sets TargetRepository field to given value.

HasTargetRepository

func (o *ConnectedRepositoryRequestPatch) HasTargetRepository() bool

HasTargetRepository returns a boolean if a field has been set.

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