Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Name | string | ||
Description | Pointer to string | [optional] | |
Type | GitProviderEnum | ||
ExpiredAt | Pointer to string | [optional] | |
Workspace | Pointer to string | Mandatory only for BITBUCKET git provider | [optional] |
AssociatedServicesCount | float32 | The number of services using this git token |
func NewGitTokenResponse(id string, createdAt time.Time, name string, type_ GitProviderEnum, associatedServicesCount float32, ) *GitTokenResponse
NewGitTokenResponse instantiates a new GitTokenResponse 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 NewGitTokenResponseWithDefaults() *GitTokenResponse
NewGitTokenResponseWithDefaults instantiates a new GitTokenResponse 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 *GitTokenResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetIdOk() (*string, 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 *GitTokenResponse) SetId(v string)
SetId sets Id field to given value.
func (o *GitTokenResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *GitTokenResponse) 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 *GitTokenResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *GitTokenResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetUpdatedAtOk() (*time.Time, 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 *GitTokenResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *GitTokenResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *GitTokenResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitTokenResponse) SetName(v string)
SetName sets Name field to given value.
func (o *GitTokenResponse) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitTokenResponse) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *GitTokenResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *GitTokenResponse) GetType() GitProviderEnum
GetType returns the Type field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetTypeOk() (*GitProviderEnum, 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 *GitTokenResponse) SetType(v GitProviderEnum)
SetType sets Type field to given value.
func (o *GitTokenResponse) GetExpiredAt() string
GetExpiredAt returns the ExpiredAt field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetExpiredAtOk() (*string, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitTokenResponse) SetExpiredAt(v string)
SetExpiredAt sets ExpiredAt field to given value.
func (o *GitTokenResponse) HasExpiredAt() bool
HasExpiredAt returns a boolean if a field has been set.
func (o *GitTokenResponse) GetWorkspace() string
GetWorkspace returns the Workspace field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetWorkspaceOk() (*string, bool)
GetWorkspaceOk returns a tuple with the Workspace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitTokenResponse) SetWorkspace(v string)
SetWorkspace sets Workspace field to given value.
func (o *GitTokenResponse) HasWorkspace() bool
HasWorkspace returns a boolean if a field has been set.
func (o *GitTokenResponse) GetAssociatedServicesCount() float32
GetAssociatedServicesCount returns the AssociatedServicesCount field if non-nil, zero value otherwise.
func (o *GitTokenResponse) GetAssociatedServicesCountOk() (*float32, bool)
GetAssociatedServicesCountOk returns a tuple with the AssociatedServicesCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitTokenResponse) SetAssociatedServicesCount(v float32)
SetAssociatedServicesCount sets AssociatedServicesCount field to given value.