3.3 KiB
AuthorConnectRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| GithubLogin | Pointer to string | GithubLogin is the account to link. Used only when IAM holds no linked account for the provider — a linked account is stronger proof and always wins. | [optional] |
| Login | Pointer to string | Login is the provider-neutral alias for GithubLogin, preferred when both are sent. | [optional] |
| Provider | Pointer to string | Provider is the forge to enrol with: github (the default) or gitlab. | [optional] |
Methods
NewAuthorConnectRequest
func NewAuthorConnectRequest() *AuthorConnectRequest
NewAuthorConnectRequest instantiates a new AuthorConnectRequest 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
NewAuthorConnectRequestWithDefaults
func NewAuthorConnectRequestWithDefaults() *AuthorConnectRequest
NewAuthorConnectRequestWithDefaults instantiates a new AuthorConnectRequest 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
GetGithubLogin
func (o *AuthorConnectRequest) GetGithubLogin() string
GetGithubLogin returns the GithubLogin field if non-nil, zero value otherwise.
GetGithubLoginOk
func (o *AuthorConnectRequest) GetGithubLoginOk() (*string, bool)
GetGithubLoginOk returns a tuple with the GithubLogin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGithubLogin
func (o *AuthorConnectRequest) SetGithubLogin(v string)
SetGithubLogin sets GithubLogin field to given value.
HasGithubLogin
func (o *AuthorConnectRequest) HasGithubLogin() bool
HasGithubLogin returns a boolean if a field has been set.
GetLogin
func (o *AuthorConnectRequest) GetLogin() string
GetLogin returns the Login field if non-nil, zero value otherwise.
GetLoginOk
func (o *AuthorConnectRequest) GetLoginOk() (*string, bool)
GetLoginOk returns a tuple with the Login field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLogin
func (o *AuthorConnectRequest) SetLogin(v string)
SetLogin sets Login field to given value.
HasLogin
func (o *AuthorConnectRequest) HasLogin() bool
HasLogin returns a boolean if a field has been set.
GetProvider
func (o *AuthorConnectRequest) GetProvider() string
GetProvider returns the Provider field if non-nil, zero value otherwise.
GetProviderOk
func (o *AuthorConnectRequest) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProvider
func (o *AuthorConnectRequest) SetProvider(v string)
SetProvider sets Provider field to given value.
HasProvider
func (o *AuthorConnectRequest) HasProvider() bool
HasProvider returns a boolean if a field has been set.