mirror of
https://github.com/hanzo-go/sdk.git
synced 2026-11-20 20:13:42 +00:00
649 lines
19 KiB
Go
649 lines
19 KiB
Go
/*
|
|
Hanzo Cloud API
|
|
|
|
The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
|
|
API version: v1
|
|
*/
|
|
|
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
|
|
|
package hanzoai
|
|
|
|
import (
|
|
"encoding/json"
|
|
)
|
|
|
|
// checks if the CaptableCaptableStakeholder type satisfies the MappedNullable interface at compile time
|
|
var _ MappedNullable = &CaptableCaptableStakeholder{}
|
|
|
|
// CaptableCaptableStakeholder struct for CaptableCaptableStakeholder
|
|
type CaptableCaptableStakeholder struct {
|
|
// City is the stakeholder's city, if recorded.
|
|
City *string `json:"city,omitempty"`
|
|
// CompanyName is the name of the company whose cap table this is.
|
|
CompanyName *string `json:"companyName,omitempty"`
|
|
// Country is the stakeholder's two-letter country code.
|
|
Country *string `json:"country,omitempty"`
|
|
// CreatedAt is when the stakeholder was added, in unix milliseconds.
|
|
CreatedAt *int64 `json:"createdAt,omitempty"`
|
|
// CurrentRelationship is how the stakeholder relates to the company, e.g. FOUNDER, INVESTOR or EMPLOYEE.
|
|
CurrentRelationship *string `json:"currentRelationship,omitempty"`
|
|
// Email is the stakeholder's email, unique within the company.
|
|
Email *string `json:"email,omitempty"`
|
|
// ID is the stakeholder id.
|
|
Id *string `json:"id,omitempty"`
|
|
// InstitutionName names the institution, when the stakeholder is one.
|
|
InstitutionName *string `json:"institutionName,omitempty"`
|
|
// Name is the stakeholder's full name.
|
|
Name *string `json:"name,omitempty"`
|
|
// StakeholderType is INDIVIDUAL or INSTITUTION.
|
|
StakeholderType *string `json:"stakeholderType,omitempty"`
|
|
// State is the stakeholder's state or province, if recorded.
|
|
State *string `json:"state,omitempty"`
|
|
// StreetAddress is the stakeholder's street address, if recorded.
|
|
StreetAddress *string `json:"streetAddress,omitempty"`
|
|
// TaxID is the stakeholder's tax identifier, if recorded.
|
|
TaxId *string `json:"taxId,omitempty"`
|
|
// Zipcode is the stakeholder's postal code, if recorded.
|
|
Zipcode *string `json:"zipcode,omitempty"`
|
|
AdditionalProperties map[string]interface{}
|
|
}
|
|
|
|
type _CaptableCaptableStakeholder CaptableCaptableStakeholder
|
|
|
|
// NewCaptableCaptableStakeholder instantiates a new CaptableCaptableStakeholder 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 NewCaptableCaptableStakeholder() *CaptableCaptableStakeholder {
|
|
this := CaptableCaptableStakeholder{}
|
|
return &this
|
|
}
|
|
|
|
// NewCaptableCaptableStakeholderWithDefaults instantiates a new CaptableCaptableStakeholder 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 NewCaptableCaptableStakeholderWithDefaults() *CaptableCaptableStakeholder {
|
|
this := CaptableCaptableStakeholder{}
|
|
return &this
|
|
}
|
|
|
|
// GetCity returns the City field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetCity() string {
|
|
if o == nil || IsNil(o.City) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.City
|
|
}
|
|
|
|
// GetCityOk returns a tuple with the City field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetCityOk() (*string, bool) {
|
|
if o == nil || IsNil(o.City) {
|
|
return nil, false
|
|
}
|
|
return o.City, true
|
|
}
|
|
|
|
// HasCity returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasCity() bool {
|
|
if o != nil && !IsNil(o.City) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCity gets a reference to the given string and assigns it to the City field.
|
|
func (o *CaptableCaptableStakeholder) SetCity(v string) {
|
|
o.City = &v
|
|
}
|
|
|
|
// GetCompanyName returns the CompanyName field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetCompanyName() string {
|
|
if o == nil || IsNil(o.CompanyName) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.CompanyName
|
|
}
|
|
|
|
// GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetCompanyNameOk() (*string, bool) {
|
|
if o == nil || IsNil(o.CompanyName) {
|
|
return nil, false
|
|
}
|
|
return o.CompanyName, true
|
|
}
|
|
|
|
// HasCompanyName returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasCompanyName() bool {
|
|
if o != nil && !IsNil(o.CompanyName) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
|
|
func (o *CaptableCaptableStakeholder) SetCompanyName(v string) {
|
|
o.CompanyName = &v
|
|
}
|
|
|
|
// GetCountry returns the Country field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetCountry() string {
|
|
if o == nil || IsNil(o.Country) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Country
|
|
}
|
|
|
|
// GetCountryOk returns a tuple with the Country field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetCountryOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Country) {
|
|
return nil, false
|
|
}
|
|
return o.Country, true
|
|
}
|
|
|
|
// HasCountry returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasCountry() bool {
|
|
if o != nil && !IsNil(o.Country) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCountry gets a reference to the given string and assigns it to the Country field.
|
|
func (o *CaptableCaptableStakeholder) SetCountry(v string) {
|
|
o.Country = &v
|
|
}
|
|
|
|
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetCreatedAt() int64 {
|
|
if o == nil || IsNil(o.CreatedAt) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.CreatedAt
|
|
}
|
|
|
|
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetCreatedAtOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.CreatedAt) {
|
|
return nil, false
|
|
}
|
|
return o.CreatedAt, true
|
|
}
|
|
|
|
// HasCreatedAt returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasCreatedAt() bool {
|
|
if o != nil && !IsNil(o.CreatedAt) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
|
|
func (o *CaptableCaptableStakeholder) SetCreatedAt(v int64) {
|
|
o.CreatedAt = &v
|
|
}
|
|
|
|
// GetCurrentRelationship returns the CurrentRelationship field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetCurrentRelationship() string {
|
|
if o == nil || IsNil(o.CurrentRelationship) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.CurrentRelationship
|
|
}
|
|
|
|
// GetCurrentRelationshipOk returns a tuple with the CurrentRelationship field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetCurrentRelationshipOk() (*string, bool) {
|
|
if o == nil || IsNil(o.CurrentRelationship) {
|
|
return nil, false
|
|
}
|
|
return o.CurrentRelationship, true
|
|
}
|
|
|
|
// HasCurrentRelationship returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasCurrentRelationship() bool {
|
|
if o != nil && !IsNil(o.CurrentRelationship) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetCurrentRelationship gets a reference to the given string and assigns it to the CurrentRelationship field.
|
|
func (o *CaptableCaptableStakeholder) SetCurrentRelationship(v string) {
|
|
o.CurrentRelationship = &v
|
|
}
|
|
|
|
// GetEmail returns the Email field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetEmail() string {
|
|
if o == nil || IsNil(o.Email) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Email
|
|
}
|
|
|
|
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetEmailOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Email) {
|
|
return nil, false
|
|
}
|
|
return o.Email, true
|
|
}
|
|
|
|
// HasEmail returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasEmail() bool {
|
|
if o != nil && !IsNil(o.Email) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEmail gets a reference to the given string and assigns it to the Email field.
|
|
func (o *CaptableCaptableStakeholder) SetEmail(v string) {
|
|
o.Email = &v
|
|
}
|
|
|
|
// GetId returns the Id field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetId() string {
|
|
if o == nil || IsNil(o.Id) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Id
|
|
}
|
|
|
|
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetIdOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Id) {
|
|
return nil, false
|
|
}
|
|
return o.Id, true
|
|
}
|
|
|
|
// HasId returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasId() bool {
|
|
if o != nil && !IsNil(o.Id) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetId gets a reference to the given string and assigns it to the Id field.
|
|
func (o *CaptableCaptableStakeholder) SetId(v string) {
|
|
o.Id = &v
|
|
}
|
|
|
|
// GetInstitutionName returns the InstitutionName field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetInstitutionName() string {
|
|
if o == nil || IsNil(o.InstitutionName) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.InstitutionName
|
|
}
|
|
|
|
// GetInstitutionNameOk returns a tuple with the InstitutionName field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetInstitutionNameOk() (*string, bool) {
|
|
if o == nil || IsNil(o.InstitutionName) {
|
|
return nil, false
|
|
}
|
|
return o.InstitutionName, true
|
|
}
|
|
|
|
// HasInstitutionName returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasInstitutionName() bool {
|
|
if o != nil && !IsNil(o.InstitutionName) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetInstitutionName gets a reference to the given string and assigns it to the InstitutionName field.
|
|
func (o *CaptableCaptableStakeholder) SetInstitutionName(v string) {
|
|
o.InstitutionName = &v
|
|
}
|
|
|
|
// GetName returns the Name field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetName() string {
|
|
if o == nil || IsNil(o.Name) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Name
|
|
}
|
|
|
|
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetNameOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Name) {
|
|
return nil, false
|
|
}
|
|
return o.Name, true
|
|
}
|
|
|
|
// HasName returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasName() bool {
|
|
if o != nil && !IsNil(o.Name) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetName gets a reference to the given string and assigns it to the Name field.
|
|
func (o *CaptableCaptableStakeholder) SetName(v string) {
|
|
o.Name = &v
|
|
}
|
|
|
|
// GetStakeholderType returns the StakeholderType field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetStakeholderType() string {
|
|
if o == nil || IsNil(o.StakeholderType) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.StakeholderType
|
|
}
|
|
|
|
// GetStakeholderTypeOk returns a tuple with the StakeholderType field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetStakeholderTypeOk() (*string, bool) {
|
|
if o == nil || IsNil(o.StakeholderType) {
|
|
return nil, false
|
|
}
|
|
return o.StakeholderType, true
|
|
}
|
|
|
|
// HasStakeholderType returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasStakeholderType() bool {
|
|
if o != nil && !IsNil(o.StakeholderType) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetStakeholderType gets a reference to the given string and assigns it to the StakeholderType field.
|
|
func (o *CaptableCaptableStakeholder) SetStakeholderType(v string) {
|
|
o.StakeholderType = &v
|
|
}
|
|
|
|
// GetState returns the State field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetState() string {
|
|
if o == nil || IsNil(o.State) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.State
|
|
}
|
|
|
|
// GetStateOk returns a tuple with the State field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetStateOk() (*string, bool) {
|
|
if o == nil || IsNil(o.State) {
|
|
return nil, false
|
|
}
|
|
return o.State, true
|
|
}
|
|
|
|
// HasState returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasState() bool {
|
|
if o != nil && !IsNil(o.State) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetState gets a reference to the given string and assigns it to the State field.
|
|
func (o *CaptableCaptableStakeholder) SetState(v string) {
|
|
o.State = &v
|
|
}
|
|
|
|
// GetStreetAddress returns the StreetAddress field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetStreetAddress() string {
|
|
if o == nil || IsNil(o.StreetAddress) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.StreetAddress
|
|
}
|
|
|
|
// GetStreetAddressOk returns a tuple with the StreetAddress field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetStreetAddressOk() (*string, bool) {
|
|
if o == nil || IsNil(o.StreetAddress) {
|
|
return nil, false
|
|
}
|
|
return o.StreetAddress, true
|
|
}
|
|
|
|
// HasStreetAddress returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasStreetAddress() bool {
|
|
if o != nil && !IsNil(o.StreetAddress) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetStreetAddress gets a reference to the given string and assigns it to the StreetAddress field.
|
|
func (o *CaptableCaptableStakeholder) SetStreetAddress(v string) {
|
|
o.StreetAddress = &v
|
|
}
|
|
|
|
// GetTaxId returns the TaxId field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetTaxId() string {
|
|
if o == nil || IsNil(o.TaxId) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.TaxId
|
|
}
|
|
|
|
// GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetTaxIdOk() (*string, bool) {
|
|
if o == nil || IsNil(o.TaxId) {
|
|
return nil, false
|
|
}
|
|
return o.TaxId, true
|
|
}
|
|
|
|
// HasTaxId returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasTaxId() bool {
|
|
if o != nil && !IsNil(o.TaxId) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetTaxId gets a reference to the given string and assigns it to the TaxId field.
|
|
func (o *CaptableCaptableStakeholder) SetTaxId(v string) {
|
|
o.TaxId = &v
|
|
}
|
|
|
|
// GetZipcode returns the Zipcode field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableStakeholder) GetZipcode() string {
|
|
if o == nil || IsNil(o.Zipcode) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Zipcode
|
|
}
|
|
|
|
// GetZipcodeOk returns a tuple with the Zipcode field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *CaptableCaptableStakeholder) GetZipcodeOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Zipcode) {
|
|
return nil, false
|
|
}
|
|
return o.Zipcode, true
|
|
}
|
|
|
|
// HasZipcode returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableStakeholder) HasZipcode() bool {
|
|
if o != nil && !IsNil(o.Zipcode) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetZipcode gets a reference to the given string and assigns it to the Zipcode field.
|
|
func (o *CaptableCaptableStakeholder) SetZipcode(v string) {
|
|
o.Zipcode = &v
|
|
}
|
|
|
|
func (o CaptableCaptableStakeholder) MarshalJSON() ([]byte, error) {
|
|
toSerialize, err := o.ToMap()
|
|
if err != nil {
|
|
return []byte{}, err
|
|
}
|
|
return json.Marshal(toSerialize)
|
|
}
|
|
|
|
func (o CaptableCaptableStakeholder) ToMap() (map[string]interface{}, error) {
|
|
toSerialize := map[string]interface{}{}
|
|
if !IsNil(o.City) {
|
|
toSerialize["city"] = o.City
|
|
}
|
|
if !IsNil(o.CompanyName) {
|
|
toSerialize["companyName"] = o.CompanyName
|
|
}
|
|
if !IsNil(o.Country) {
|
|
toSerialize["country"] = o.Country
|
|
}
|
|
if !IsNil(o.CreatedAt) {
|
|
toSerialize["createdAt"] = o.CreatedAt
|
|
}
|
|
if !IsNil(o.CurrentRelationship) {
|
|
toSerialize["currentRelationship"] = o.CurrentRelationship
|
|
}
|
|
if !IsNil(o.Email) {
|
|
toSerialize["email"] = o.Email
|
|
}
|
|
if !IsNil(o.Id) {
|
|
toSerialize["id"] = o.Id
|
|
}
|
|
if !IsNil(o.InstitutionName) {
|
|
toSerialize["institutionName"] = o.InstitutionName
|
|
}
|
|
if !IsNil(o.Name) {
|
|
toSerialize["name"] = o.Name
|
|
}
|
|
if !IsNil(o.StakeholderType) {
|
|
toSerialize["stakeholderType"] = o.StakeholderType
|
|
}
|
|
if !IsNil(o.State) {
|
|
toSerialize["state"] = o.State
|
|
}
|
|
if !IsNil(o.StreetAddress) {
|
|
toSerialize["streetAddress"] = o.StreetAddress
|
|
}
|
|
if !IsNil(o.TaxId) {
|
|
toSerialize["taxId"] = o.TaxId
|
|
}
|
|
if !IsNil(o.Zipcode) {
|
|
toSerialize["zipcode"] = o.Zipcode
|
|
}
|
|
|
|
for key, value := range o.AdditionalProperties {
|
|
toSerialize[key] = value
|
|
}
|
|
|
|
return toSerialize, nil
|
|
}
|
|
|
|
func (o *CaptableCaptableStakeholder) UnmarshalJSON(data []byte) (err error) {
|
|
varCaptableCaptableStakeholder := _CaptableCaptableStakeholder{}
|
|
|
|
err = json.Unmarshal(data, &varCaptableCaptableStakeholder)
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
*o = CaptableCaptableStakeholder(varCaptableCaptableStakeholder)
|
|
|
|
additionalProperties := make(map[string]interface{})
|
|
|
|
if err = json.Unmarshal(data, &additionalProperties); err == nil {
|
|
delete(additionalProperties, "city")
|
|
delete(additionalProperties, "companyName")
|
|
delete(additionalProperties, "country")
|
|
delete(additionalProperties, "createdAt")
|
|
delete(additionalProperties, "currentRelationship")
|
|
delete(additionalProperties, "email")
|
|
delete(additionalProperties, "id")
|
|
delete(additionalProperties, "institutionName")
|
|
delete(additionalProperties, "name")
|
|
delete(additionalProperties, "stakeholderType")
|
|
delete(additionalProperties, "state")
|
|
delete(additionalProperties, "streetAddress")
|
|
delete(additionalProperties, "taxId")
|
|
delete(additionalProperties, "zipcode")
|
|
o.AdditionalProperties = additionalProperties
|
|
}
|
|
|
|
return err
|
|
}
|
|
|
|
type NullableCaptableCaptableStakeholder struct {
|
|
value *CaptableCaptableStakeholder
|
|
isSet bool
|
|
}
|
|
|
|
func (v NullableCaptableCaptableStakeholder) Get() *CaptableCaptableStakeholder {
|
|
return v.value
|
|
}
|
|
|
|
func (v *NullableCaptableCaptableStakeholder) Set(val *CaptableCaptableStakeholder) {
|
|
v.value = val
|
|
v.isSet = true
|
|
}
|
|
|
|
func (v NullableCaptableCaptableStakeholder) IsSet() bool {
|
|
return v.isSet
|
|
}
|
|
|
|
func (v *NullableCaptableCaptableStakeholder) Unset() {
|
|
v.value = nil
|
|
v.isSet = false
|
|
}
|
|
|
|
func NewNullableCaptableCaptableStakeholder(val *CaptableCaptableStakeholder) *NullableCaptableCaptableStakeholder {
|
|
return &NullableCaptableCaptableStakeholder{value: val, isSet: true}
|
|
}
|
|
|
|
func (v NullableCaptableCaptableStakeholder) MarshalJSON() ([]byte, error) {
|
|
return json.Marshal(v.value)
|
|
}
|
|
|
|
func (v *NullableCaptableCaptableStakeholder) UnmarshalJSON(src []byte) error {
|
|
v.isSet = true
|
|
return json.Unmarshal(src, &v.value)
|
|
}
|