Contracts
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewContracts() *Contracts
NewContracts instantiates a new Contracts 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 NewContractsWithDefaults() *Contracts
NewContractsWithDefaults instantiates a new Contracts 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 *Contracts) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *Contracts) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Contracts) SetHref(v string)
SetHref sets Href field to given value.
func (o *Contracts) HasHref() bool
HasHref returns a boolean if a field has been set.
func (o *Contracts) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Contracts) 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 *Contracts) SetId(v string)
SetId sets Id field to given value.
func (o *Contracts) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Contracts) GetItems() []Contract
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *Contracts) GetItemsOk() (*[]Contract, bool)
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Contracts) SetItems(v []Contract)
SetItems sets Items field to given value.
func (o *Contracts) HasItems() bool
HasItems returns a boolean if a field has been set.
func (o *Contracts) GetType() Type
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Contracts) GetTypeOk() (*Type, 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 *Contracts) SetType(v Type)
SetType sets Type field to given value.
func (o *Contracts) HasType() bool
HasType returns a boolean if a field has been set.
Href
Pointer to string
The URL to the object representation (absolute path).
[optional] [readonly]
Id
Pointer to string
The resource's unique identifier.
[optional] [readonly]
Items
Pointer to []Contract
Array of items in the collection.
[optional] [readonly]
Type
Pointer to Type
The type of object that has been created.
[optional]