| Name | Type | Description | Notes |
|---|---|---|---|
| Id | Pointer to int32 | Unique identifier. Leave it at 0 for new records as it will be set automatically. | [optional] |
| Created | Pointer to time.Time | Creation date. It is set automatically. | [optional] |
| Version | Pointer to int32 | Row version, for optimistic concurrency. It is set automatically. | [optional] |
| UserId | Pointer to int32 | User id. | [optional] |
| Vat | string | Vat number. Must include the country code. | |
| FiscalCode | string | Fiscal code. In most cases it's the same as the vat number. | |
| Name | string | Name |
func NewCompany(vat string, fiscalCode string, name string, ) *Company
NewCompany instantiates a new Company 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 NewCompanyWithDefaults() *Company
NewCompanyWithDefaults instantiates a new Company 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 *Company) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Company) 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 *Company) SetId(v int32)
SetId sets Id field to given value.
func (o *Company) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Company) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Company) 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 *Company) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Company) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Company) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Company) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Company) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *Company) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *Company) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *Company) GetUserIdOk() (*int32, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Company) SetUserId(v int32)
SetUserId sets UserId field to given value.
func (o *Company) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *Company) GetVat() string
GetVat returns the Vat field if non-nil, zero value otherwise.
func (o *Company) GetVatOk() (*string, bool)
GetVatOk returns a tuple with the Vat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Company) SetVat(v string)
SetVat sets Vat field to given value.
func (o *Company) GetFiscalCode() string
GetFiscalCode returns the FiscalCode field if non-nil, zero value otherwise.
func (o *Company) GetFiscalCodeOk() (*string, bool)
GetFiscalCodeOk returns a tuple with the FiscalCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Company) SetFiscalCode(v string)
SetFiscalCode sets FiscalCode field to given value.
func (o *Company) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Company) 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 *Company) SetName(v string)
SetName sets Name field to given value.