| Name | Type | Description | Notes |
|---|---|---|---|
| Links | PATItemLinks | ||
| Metadata | NullableCommonMetadata | ||
| LastUsed | time.Time | UTC date and time when the token was last used. | [readonly] |
| Name | string | Unique ID of the personal access token. | [readonly] |
| Title | string | Human readable name of the personal access token. | [readonly] |
func NewPATItem(links PATItemLinks, metadata NullableCommonMetadata, lastUsed time.Time, name string, title string, ) *PATItem
NewPATItem instantiates a new PATItem 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 NewPATItemWithDefaults() *PATItem
NewPATItemWithDefaults instantiates a new PATItem 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 *PATItem) GetLinks() PATItemLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *PATItem) GetLinksOk() (*PATItemLinks, 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 *PATItem) SetLinks(v PATItemLinks)
SetLinks sets Links field to given value.
func (o *PATItem) GetMetadata() CommonMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PATItem) GetMetadataOk() (*CommonMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PATItem) SetMetadata(v CommonMetadata)
SetMetadata sets Metadata field to given value.
func (o *PATItem) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *PATItem) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *PATItem) GetLastUsed() time.Time
GetLastUsed returns the LastUsed field if non-nil, zero value otherwise.
func (o *PATItem) GetLastUsedOk() (*time.Time, bool)
GetLastUsedOk returns a tuple with the LastUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PATItem) SetLastUsed(v time.Time)
SetLastUsed sets LastUsed field to given value.
func (o *PATItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PATItem) 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 *PATItem) SetName(v string)
SetName sets Name field to given value.
func (o *PATItem) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *PATItem) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PATItem) SetTitle(v string)
SetTitle sets Title field to given value.