Files
sdk/docs/SyncSyncReq.md

5.7 KiB

SyncSyncReq

Properties

Name Type Description Notes
Actor Pointer to string Actor is the identity the sync writes as, used as the loop guard so its own writes do not re-trigger it. Defaults to the deployment's GIT_SYNC_ACTOR. [optional]
Direction Pointer to string Direction is both (the default), pull, push or off. [optional]
Kind Pointer to string Kind is what is being synced. Only "git" today, which is also the default. [optional]
Run Pointer to bool Run reconciles once immediately after the upsert, in the background. [optional]
Source Pointer to SyncEndpointReq Source is the upstream end. Required. [optional]
Target Pointer to SyncEndpointReq Target is the downstream end. Optional for git: a native repository named after the source is derived when it is omitted. [optional]
Trigger Pointer to string Trigger is what starts a reconcile: webhook (the default), poll or manual. [optional]

Methods

NewSyncSyncReq

func NewSyncSyncReq() *SyncSyncReq

NewSyncSyncReq instantiates a new SyncSyncReq 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

NewSyncSyncReqWithDefaults

func NewSyncSyncReqWithDefaults() *SyncSyncReq

NewSyncSyncReqWithDefaults instantiates a new SyncSyncReq 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

GetActor

func (o *SyncSyncReq) GetActor() string

GetActor returns the Actor field if non-nil, zero value otherwise.

GetActorOk

func (o *SyncSyncReq) GetActorOk() (*string, bool)

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

SetActor

func (o *SyncSyncReq) SetActor(v string)

SetActor sets Actor field to given value.

HasActor

func (o *SyncSyncReq) HasActor() bool

HasActor returns a boolean if a field has been set.

GetDirection

func (o *SyncSyncReq) GetDirection() string

GetDirection returns the Direction field if non-nil, zero value otherwise.

GetDirectionOk

func (o *SyncSyncReq) GetDirectionOk() (*string, bool)

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

SetDirection

func (o *SyncSyncReq) SetDirection(v string)

SetDirection sets Direction field to given value.

HasDirection

func (o *SyncSyncReq) HasDirection() bool

HasDirection returns a boolean if a field has been set.

GetKind

func (o *SyncSyncReq) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *SyncSyncReq) GetKindOk() (*string, bool)

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

SetKind

func (o *SyncSyncReq) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *SyncSyncReq) HasKind() bool

HasKind returns a boolean if a field has been set.

GetRun

func (o *SyncSyncReq) GetRun() bool

GetRun returns the Run field if non-nil, zero value otherwise.

GetRunOk

func (o *SyncSyncReq) GetRunOk() (*bool, bool)

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

SetRun

func (o *SyncSyncReq) SetRun(v bool)

SetRun sets Run field to given value.

HasRun

func (o *SyncSyncReq) HasRun() bool

HasRun returns a boolean if a field has been set.

GetSource

func (o *SyncSyncReq) GetSource() SyncEndpointReq

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *SyncSyncReq) GetSourceOk() (*SyncEndpointReq, bool)

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

SetSource

func (o *SyncSyncReq) SetSource(v SyncEndpointReq)

SetSource sets Source field to given value.

HasSource

func (o *SyncSyncReq) HasSource() bool

HasSource returns a boolean if a field has been set.

GetTarget

func (o *SyncSyncReq) GetTarget() SyncEndpointReq

GetTarget returns the Target field if non-nil, zero value otherwise.

GetTargetOk

func (o *SyncSyncReq) GetTargetOk() (*SyncEndpointReq, bool)

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

SetTarget

func (o *SyncSyncReq) SetTarget(v SyncEndpointReq)

SetTarget sets Target field to given value.

HasTarget

func (o *SyncSyncReq) HasTarget() bool

HasTarget returns a boolean if a field has been set.

GetTrigger

func (o *SyncSyncReq) GetTrigger() string

GetTrigger returns the Trigger field if non-nil, zero value otherwise.

GetTriggerOk

func (o *SyncSyncReq) GetTriggerOk() (*string, bool)

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

SetTrigger

func (o *SyncSyncReq) SetTrigger(v string)

SetTrigger sets Trigger field to given value.

HasTrigger

func (o *SyncSyncReq) HasTrigger() bool

HasTrigger returns a boolean if a field has been set.

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