Name | Type | Description | Notes |
---|---|---|---|
Cid | Pointer to string | Self-describing content-addressed identifiers for distributed systems. Check spec for more info. | [optional] |
Name | Pointer to string | [optional] | |
Status | Pointer to PinStatus | [optional] | |
Created | Pointer to time.Time | This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. | [optional] |
Size | Pointer to float32 | [optional] |
func NewPin() *Pin
NewPin instantiates a new Pin 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 NewPinWithDefaults() *Pin
NewPinWithDefaults instantiates a new Pin 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 *Pin) GetCid() string
GetCid returns the Cid field if non-nil, zero value otherwise.
func (o *Pin) GetCidOk() (*string, bool)
GetCidOk returns a tuple with the Cid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Pin) SetCid(v string)
SetCid sets Cid field to given value.
func (o *Pin) HasCid() bool
HasCid returns a boolean if a field has been set.
func (o *Pin) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Pin) 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 *Pin) SetName(v string)
SetName sets Name field to given value.
func (o *Pin) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Pin) GetStatus() PinStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Pin) GetStatusOk() (*PinStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Pin) SetStatus(v PinStatus)
SetStatus sets Status field to given value.
func (o *Pin) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *Pin) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Pin) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Pin) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Pin) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Pin) GetSize() float32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *Pin) GetSizeOk() (*float32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Pin) SetSize(v float32)
SetSize sets Size field to given value.
func (o *Pin) HasSize() bool
HasSize returns a boolean if a field has been set.