Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | ||
MetaType | string | ||
CreatedAt | string | ||
UpdatedAt | string | ||
ConnectionUrl | string | ||
Type | string | ||
Default | bool | ||
Links | Pointer to DatabaseCredentialLinks | [optional] |
func NewDatabaseCredential(id int32, metaType string, createdAt string, updatedAt string, connectionUrl string, type_ string, default_ bool, ) *DatabaseCredential
NewDatabaseCredential instantiates a new DatabaseCredential 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 NewDatabaseCredentialWithDefaults() *DatabaseCredential
NewDatabaseCredentialWithDefaults instantiates a new DatabaseCredential 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 *DatabaseCredential) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseCredential) SetId(v int32)
SetId sets Id field to given value.
func (o *DatabaseCredential) GetMetaType() string
GetMetaType returns the MetaType field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetMetaTypeOk() (*string, bool)
GetMetaTypeOk returns a tuple with the MetaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseCredential) SetMetaType(v string)
SetMetaType sets MetaType field to given value.
func (o *DatabaseCredential) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetCreatedAtOk() (*string, 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 *DatabaseCredential) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *DatabaseCredential) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseCredential) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *DatabaseCredential) GetConnectionUrl() string
GetConnectionUrl returns the ConnectionUrl field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetConnectionUrlOk() (*string, bool)
GetConnectionUrlOk returns a tuple with the ConnectionUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseCredential) SetConnectionUrl(v string)
SetConnectionUrl sets ConnectionUrl field to given value.
func (o *DatabaseCredential) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *DatabaseCredential) 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.
func (o *DatabaseCredential) SetType(v string)
SetType sets Type field to given value.
func (o *DatabaseCredential) GetDefault() bool
GetDefault returns the Default field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseCredential) SetDefault(v bool)
SetDefault sets Default field to given value.
func (o *DatabaseCredential) GetLinks() DatabaseCredentialLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *DatabaseCredential) GetLinksOk() (*DatabaseCredentialLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DatabaseCredential) SetLinks(v DatabaseCredentialLinks)
SetLinks sets Links field to given value.
func (o *DatabaseCredential) HasLinks() bool
HasLinks returns a boolean if a field has been set.