Skip to content

Latest commit

 

History

History
102 lines (57 loc) · 3.14 KB

File metadata and controls

102 lines (57 loc) · 3.14 KB

ConnectedRepositoryUpstream

Properties

Name Type Description Notes
Type Pointer to NullableString The format/backend slug of the upstream (e.g. 'npm'). [optional] [readonly]
UpstreamUrl Pointer to NullableString [optional] [readonly]

Methods

NewConnectedRepositoryUpstream

func NewConnectedRepositoryUpstream() *ConnectedRepositoryUpstream

NewConnectedRepositoryUpstream instantiates a new ConnectedRepositoryUpstream 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

NewConnectedRepositoryUpstreamWithDefaults

func NewConnectedRepositoryUpstreamWithDefaults() *ConnectedRepositoryUpstream

NewConnectedRepositoryUpstreamWithDefaults instantiates a new ConnectedRepositoryUpstream 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

GetType

func (o *ConnectedRepositoryUpstream) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ConnectedRepositoryUpstream) GetTypeOk() (*string, bool)

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

SetType

func (o *ConnectedRepositoryUpstream) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ConnectedRepositoryUpstream) HasType() bool

HasType returns a boolean if a field has been set.

SetTypeNil

func (o *ConnectedRepositoryUpstream) SetTypeNil(b bool)

SetTypeNil sets the value for Type to be an explicit nil

UnsetType

func (o *ConnectedRepositoryUpstream) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

GetUpstreamUrl

func (o *ConnectedRepositoryUpstream) GetUpstreamUrl() string

GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise.

GetUpstreamUrlOk

func (o *ConnectedRepositoryUpstream) GetUpstreamUrlOk() (*string, bool)

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

SetUpstreamUrl

func (o *ConnectedRepositoryUpstream) SetUpstreamUrl(v string)

SetUpstreamUrl sets UpstreamUrl field to given value.

HasUpstreamUrl

func (o *ConnectedRepositoryUpstream) HasUpstreamUrl() bool

HasUpstreamUrl returns a boolean if a field has been set.

SetUpstreamUrlNil

func (o *ConnectedRepositoryUpstream) SetUpstreamUrlNil(b bool)

SetUpstreamUrlNil sets the value for UpstreamUrl to be an explicit nil

UnsetUpstreamUrl

func (o *ConnectedRepositoryUpstream) UnsetUpstreamUrl()

UnsetUpstreamUrl ensures that no value is present for UpstreamUrl, not even an explicit nil

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