| Name | Type | Description | Notes |
|---|---|---|---|
| CanViewTargetRepositorySettings | Pointer to bool | Whether the current user has permission to view the target repository's settings. When false, `configured_upstreams` will be empty even if upstreams are configured. | [optional] [readonly] |
| ConfiguredUpstreams | Pointer to []ConnectedRepositoryUpstream | The upstream sources configured on the target repository, used to display which formats/upstreams the connection exposes. | [optional] [readonly] |
| CreatedAt | Pointer to time.Time | The date and time when the connection was created. | [optional] [readonly] |
| DisableReason | Pointer to string | [optional] [readonly] [default to "N/A"] | |
| DisableReasonText | Pointer to string | Human-readable explanation of why this connection is disabled. | [optional] [readonly] |
| IsActive | Pointer to bool | [optional] [default to false] | |
| 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] |
| SlugPerm | Pointer to string | [optional] [readonly] | |
| TargetRepository | string | The slug of the target repository to connect to. | |
| TargetRepositorySummary | Pointer to ConnectedRepositoryTargetSummary | [optional] |
func NewConnectedRepository(targetRepository string, ) *ConnectedRepository
NewConnectedRepository instantiates a new ConnectedRepository 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 NewConnectedRepositoryWithDefaults() *ConnectedRepository
NewConnectedRepositoryWithDefaults instantiates a new ConnectedRepository 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 *ConnectedRepository) GetCanViewTargetRepositorySettings() bool
GetCanViewTargetRepositorySettings returns the CanViewTargetRepositorySettings field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetCanViewTargetRepositorySettingsOk() (*bool, bool)
GetCanViewTargetRepositorySettingsOk returns a tuple with the CanViewTargetRepositorySettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetCanViewTargetRepositorySettings(v bool)
SetCanViewTargetRepositorySettings sets CanViewTargetRepositorySettings field to given value.
func (o *ConnectedRepository) HasCanViewTargetRepositorySettings() bool
HasCanViewTargetRepositorySettings returns a boolean if a field has been set.
func (o *ConnectedRepository) GetConfiguredUpstreams() []ConnectedRepositoryUpstream
GetConfiguredUpstreams returns the ConfiguredUpstreams field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetConfiguredUpstreamsOk() (*[]ConnectedRepositoryUpstream, bool)
GetConfiguredUpstreamsOk returns a tuple with the ConfiguredUpstreams field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetConfiguredUpstreams(v []ConnectedRepositoryUpstream)
SetConfiguredUpstreams sets ConfiguredUpstreams field to given value.
func (o *ConnectedRepository) HasConfiguredUpstreams() bool
HasConfiguredUpstreams returns a boolean if a field has been set.
func (o *ConnectedRepository) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ConnectedRepository) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *ConnectedRepository) GetDisableReason() string
GetDisableReason returns the DisableReason field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetDisableReasonOk() (*string, bool)
GetDisableReasonOk returns a tuple with the DisableReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetDisableReason(v string)
SetDisableReason sets DisableReason field to given value.
func (o *ConnectedRepository) HasDisableReason() bool
HasDisableReason returns a boolean if a field has been set.
func (o *ConnectedRepository) GetDisableReasonText() string
GetDisableReasonText returns the DisableReasonText field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetDisableReasonTextOk() (*string, bool)
GetDisableReasonTextOk returns a tuple with the DisableReasonText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetDisableReasonText(v string)
SetDisableReasonText sets DisableReasonText field to given value.
func (o *ConnectedRepository) HasDisableReasonText() bool
HasDisableReasonText returns a boolean if a field has been set.
func (o *ConnectedRepository) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *ConnectedRepository) 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.
func (o *ConnectedRepository) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *ConnectedRepository) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *ConnectedRepository) GetPriority() int64
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *ConnectedRepository) 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.
func (o *ConnectedRepository) SetPriority(v int64)
SetPriority sets Priority field to given value.
func (o *ConnectedRepository) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *ConnectedRepository) GetSlugPerm() string
GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetSlugPermOk() (*string, bool)
GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetSlugPerm(v string)
SetSlugPerm sets SlugPerm field to given value.
func (o *ConnectedRepository) HasSlugPerm() bool
HasSlugPerm returns a boolean if a field has been set.
func (o *ConnectedRepository) GetTargetRepository() string
GetTargetRepository returns the TargetRepository field if non-nil, zero value otherwise.
func (o *ConnectedRepository) 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.
func (o *ConnectedRepository) SetTargetRepository(v string)
SetTargetRepository sets TargetRepository field to given value.
func (o *ConnectedRepository) GetTargetRepositorySummary() ConnectedRepositoryTargetSummary
GetTargetRepositorySummary returns the TargetRepositorySummary field if non-nil, zero value otherwise.
func (o *ConnectedRepository) GetTargetRepositorySummaryOk() (*ConnectedRepositoryTargetSummary, bool)
GetTargetRepositorySummaryOk returns a tuple with the TargetRepositorySummary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConnectedRepository) SetTargetRepositorySummary(v ConnectedRepositoryTargetSummary)
SetTargetRepositorySummary sets TargetRepositorySummary field to given value.
func (o *ConnectedRepository) HasTargetRepositorySummary() bool
HasTargetRepositorySummary returns a boolean if a field has been set.