Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.78 KB

Credentials.md

File metadata and controls

114 lines (61 loc) · 2.78 KB

Credentials

Properties

Name Type Description Notes
Host string
Port int32
Login string
Password string

Methods

NewCredentials

func NewCredentials(host string, port int32, login string, password string, ) *Credentials

NewCredentials instantiates a new Credentials 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

NewCredentialsWithDefaults

func NewCredentialsWithDefaults() *Credentials

NewCredentialsWithDefaults instantiates a new Credentials 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

GetHost

func (o *Credentials) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

GetHostOk

func (o *Credentials) GetHostOk() (*string, bool)

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

SetHost

func (o *Credentials) SetHost(v string)

SetHost sets Host field to given value.

GetPort

func (o *Credentials) GetPort() int32

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *Credentials) GetPortOk() (*int32, bool)

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

SetPort

func (o *Credentials) SetPort(v int32)

SetPort sets Port field to given value.

GetLogin

func (o *Credentials) GetLogin() string

GetLogin returns the Login field if non-nil, zero value otherwise.

GetLoginOk

func (o *Credentials) 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 *Credentials) SetLogin(v string)

SetLogin sets Login field to given value.

GetPassword

func (o *Credentials) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *Credentials) GetPasswordOk() (*string, bool)

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

SetPassword

func (o *Credentials) SetPassword(v string)

SetPassword sets Password field to given value.

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