Files
sdk/model_captable_captable_share_in.go

763 lines
24 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 CaptableCaptableShareIn type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &CaptableCaptableShareIn{}
// CaptableCaptableShareIn struct for CaptableCaptableShareIn
type CaptableCaptableShareIn struct {
BoardApprovalDate interface{} `json:"boardApprovalDate,omitempty"`
CapitalContribution interface{} `json:"capitalContribution,omitempty"`
CertificateId interface{} `json:"certificateId,omitempty"`
CliffYears interface{} `json:"cliffYears,omitempty"`
// CompanyLegends are the restrictive legends printed on the certificate. A LIST, and it must be sent as one: the bundle substitutes an EMPTY list for anything that is not an array, so a single string would be accepted and silently discarded — the certificate issued with no legends and nothing reporting it.
CompanyLegends []interface{} `json:"companyLegends,omitempty"`
DebtCancelled interface{} `json:"debtCancelled,omitempty"`
IpContribution interface{} `json:"ipContribution,omitempty"`
IssueDate interface{} `json:"issueDate,omitempty"`
OtherContributions interface{} `json:"otherContributions,omitempty"`
PricePerShare interface{} `json:"pricePerShare,omitempty"`
Quantity interface{} `json:"quantity,omitempty"`
Rule144Date interface{} `json:"rule144Date,omitempty"`
ShareClassId interface{} `json:"shareClassId,omitempty"`
StakeholderId interface{} `json:"stakeholderId,omitempty"`
Status interface{} `json:"status,omitempty"`
VestingStartDate interface{} `json:"vestingStartDate,omitempty"`
VestingYears interface{} `json:"vestingYears,omitempty"`
AdditionalProperties map[string]interface{}
}
type _CaptableCaptableShareIn CaptableCaptableShareIn
// NewCaptableCaptableShareIn instantiates a new CaptableCaptableShareIn 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 NewCaptableCaptableShareIn() *CaptableCaptableShareIn {
this := CaptableCaptableShareIn{}
return &this
}
// NewCaptableCaptableShareInWithDefaults instantiates a new CaptableCaptableShareIn 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 NewCaptableCaptableShareInWithDefaults() *CaptableCaptableShareIn {
this := CaptableCaptableShareIn{}
return &this
}
// GetBoardApprovalDate returns the BoardApprovalDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetBoardApprovalDate() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.BoardApprovalDate
}
// GetBoardApprovalDateOk returns a tuple with the BoardApprovalDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetBoardApprovalDateOk() (*interface{}, bool) {
if o == nil || IsNil(o.BoardApprovalDate) {
return nil, false
}
return &o.BoardApprovalDate, true
}
// HasBoardApprovalDate returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasBoardApprovalDate() bool {
if o != nil && !IsNil(o.BoardApprovalDate) {
return true
}
return false
}
// SetBoardApprovalDate gets a reference to the given interface{} and assigns it to the BoardApprovalDate field.
func (o *CaptableCaptableShareIn) SetBoardApprovalDate(v interface{}) {
o.BoardApprovalDate = v
}
// GetCapitalContribution returns the CapitalContribution field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetCapitalContribution() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.CapitalContribution
}
// GetCapitalContributionOk returns a tuple with the CapitalContribution field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetCapitalContributionOk() (*interface{}, bool) {
if o == nil || IsNil(o.CapitalContribution) {
return nil, false
}
return &o.CapitalContribution, true
}
// HasCapitalContribution returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasCapitalContribution() bool {
if o != nil && !IsNil(o.CapitalContribution) {
return true
}
return false
}
// SetCapitalContribution gets a reference to the given interface{} and assigns it to the CapitalContribution field.
func (o *CaptableCaptableShareIn) SetCapitalContribution(v interface{}) {
o.CapitalContribution = v
}
// GetCertificateId returns the CertificateId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetCertificateId() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.CertificateId
}
// GetCertificateIdOk returns a tuple with the CertificateId field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetCertificateIdOk() (*interface{}, bool) {
if o == nil || IsNil(o.CertificateId) {
return nil, false
}
return &o.CertificateId, true
}
// HasCertificateId returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasCertificateId() bool {
if o != nil && !IsNil(o.CertificateId) {
return true
}
return false
}
// SetCertificateId gets a reference to the given interface{} and assigns it to the CertificateId field.
func (o *CaptableCaptableShareIn) SetCertificateId(v interface{}) {
o.CertificateId = v
}
// GetCliffYears returns the CliffYears field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetCliffYears() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.CliffYears
}
// GetCliffYearsOk returns a tuple with the CliffYears field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetCliffYearsOk() (*interface{}, bool) {
if o == nil || IsNil(o.CliffYears) {
return nil, false
}
return &o.CliffYears, true
}
// HasCliffYears returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasCliffYears() bool {
if o != nil && !IsNil(o.CliffYears) {
return true
}
return false
}
// SetCliffYears gets a reference to the given interface{} and assigns it to the CliffYears field.
func (o *CaptableCaptableShareIn) SetCliffYears(v interface{}) {
o.CliffYears = v
}
// GetCompanyLegends returns the CompanyLegends field value if set, zero value otherwise.
func (o *CaptableCaptableShareIn) GetCompanyLegends() []interface{} {
if o == nil || IsNil(o.CompanyLegends) {
var ret []interface{}
return ret
}
return o.CompanyLegends
}
// GetCompanyLegendsOk returns a tuple with the CompanyLegends field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CaptableCaptableShareIn) GetCompanyLegendsOk() ([]interface{}, bool) {
if o == nil || IsNil(o.CompanyLegends) {
return nil, false
}
return o.CompanyLegends, true
}
// HasCompanyLegends returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasCompanyLegends() bool {
if o != nil && !IsNil(o.CompanyLegends) {
return true
}
return false
}
// SetCompanyLegends gets a reference to the given []interface{} and assigns it to the CompanyLegends field.
func (o *CaptableCaptableShareIn) SetCompanyLegends(v []interface{}) {
o.CompanyLegends = v
}
// GetDebtCancelled returns the DebtCancelled field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetDebtCancelled() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.DebtCancelled
}
// GetDebtCancelledOk returns a tuple with the DebtCancelled field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetDebtCancelledOk() (*interface{}, bool) {
if o == nil || IsNil(o.DebtCancelled) {
return nil, false
}
return &o.DebtCancelled, true
}
// HasDebtCancelled returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasDebtCancelled() bool {
if o != nil && !IsNil(o.DebtCancelled) {
return true
}
return false
}
// SetDebtCancelled gets a reference to the given interface{} and assigns it to the DebtCancelled field.
func (o *CaptableCaptableShareIn) SetDebtCancelled(v interface{}) {
o.DebtCancelled = v
}
// GetIpContribution returns the IpContribution field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetIpContribution() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.IpContribution
}
// GetIpContributionOk returns a tuple with the IpContribution field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetIpContributionOk() (*interface{}, bool) {
if o == nil || IsNil(o.IpContribution) {
return nil, false
}
return &o.IpContribution, true
}
// HasIpContribution returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasIpContribution() bool {
if o != nil && !IsNil(o.IpContribution) {
return true
}
return false
}
// SetIpContribution gets a reference to the given interface{} and assigns it to the IpContribution field.
func (o *CaptableCaptableShareIn) SetIpContribution(v interface{}) {
o.IpContribution = v
}
// GetIssueDate returns the IssueDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetIssueDate() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.IssueDate
}
// GetIssueDateOk returns a tuple with the IssueDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetIssueDateOk() (*interface{}, bool) {
if o == nil || IsNil(o.IssueDate) {
return nil, false
}
return &o.IssueDate, true
}
// HasIssueDate returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasIssueDate() bool {
if o != nil && !IsNil(o.IssueDate) {
return true
}
return false
}
// SetIssueDate gets a reference to the given interface{} and assigns it to the IssueDate field.
func (o *CaptableCaptableShareIn) SetIssueDate(v interface{}) {
o.IssueDate = v
}
// GetOtherContributions returns the OtherContributions field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetOtherContributions() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.OtherContributions
}
// GetOtherContributionsOk returns a tuple with the OtherContributions field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetOtherContributionsOk() (*interface{}, bool) {
if o == nil || IsNil(o.OtherContributions) {
return nil, false
}
return &o.OtherContributions, true
}
// HasOtherContributions returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasOtherContributions() bool {
if o != nil && !IsNil(o.OtherContributions) {
return true
}
return false
}
// SetOtherContributions gets a reference to the given interface{} and assigns it to the OtherContributions field.
func (o *CaptableCaptableShareIn) SetOtherContributions(v interface{}) {
o.OtherContributions = v
}
// GetPricePerShare returns the PricePerShare field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetPricePerShare() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.PricePerShare
}
// GetPricePerShareOk returns a tuple with the PricePerShare field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetPricePerShareOk() (*interface{}, bool) {
if o == nil || IsNil(o.PricePerShare) {
return nil, false
}
return &o.PricePerShare, true
}
// HasPricePerShare returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasPricePerShare() bool {
if o != nil && !IsNil(o.PricePerShare) {
return true
}
return false
}
// SetPricePerShare gets a reference to the given interface{} and assigns it to the PricePerShare field.
func (o *CaptableCaptableShareIn) SetPricePerShare(v interface{}) {
o.PricePerShare = v
}
// GetQuantity returns the Quantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetQuantity() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.Quantity
}
// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetQuantityOk() (*interface{}, bool) {
if o == nil || IsNil(o.Quantity) {
return nil, false
}
return &o.Quantity, true
}
// HasQuantity returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasQuantity() bool {
if o != nil && !IsNil(o.Quantity) {
return true
}
return false
}
// SetQuantity gets a reference to the given interface{} and assigns it to the Quantity field.
func (o *CaptableCaptableShareIn) SetQuantity(v interface{}) {
o.Quantity = v
}
// GetRule144Date returns the Rule144Date field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetRule144Date() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.Rule144Date
}
// GetRule144DateOk returns a tuple with the Rule144Date field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetRule144DateOk() (*interface{}, bool) {
if o == nil || IsNil(o.Rule144Date) {
return nil, false
}
return &o.Rule144Date, true
}
// HasRule144Date returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasRule144Date() bool {
if o != nil && !IsNil(o.Rule144Date) {
return true
}
return false
}
// SetRule144Date gets a reference to the given interface{} and assigns it to the Rule144Date field.
func (o *CaptableCaptableShareIn) SetRule144Date(v interface{}) {
o.Rule144Date = v
}
// GetShareClassId returns the ShareClassId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetShareClassId() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.ShareClassId
}
// GetShareClassIdOk returns a tuple with the ShareClassId field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetShareClassIdOk() (*interface{}, bool) {
if o == nil || IsNil(o.ShareClassId) {
return nil, false
}
return &o.ShareClassId, true
}
// HasShareClassId returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasShareClassId() bool {
if o != nil && !IsNil(o.ShareClassId) {
return true
}
return false
}
// SetShareClassId gets a reference to the given interface{} and assigns it to the ShareClassId field.
func (o *CaptableCaptableShareIn) SetShareClassId(v interface{}) {
o.ShareClassId = v
}
// GetStakeholderId returns the StakeholderId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetStakeholderId() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.StakeholderId
}
// GetStakeholderIdOk returns a tuple with the StakeholderId field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetStakeholderIdOk() (*interface{}, bool) {
if o == nil || IsNil(o.StakeholderId) {
return nil, false
}
return &o.StakeholderId, true
}
// HasStakeholderId returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasStakeholderId() bool {
if o != nil && !IsNil(o.StakeholderId) {
return true
}
return false
}
// SetStakeholderId gets a reference to the given interface{} and assigns it to the StakeholderId field.
func (o *CaptableCaptableShareIn) SetStakeholderId(v interface{}) {
o.StakeholderId = v
}
// GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetStatus() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.Status
}
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetStatusOk() (*interface{}, bool) {
if o == nil || IsNil(o.Status) {
return nil, false
}
return &o.Status, true
}
// HasStatus returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasStatus() bool {
if o != nil && !IsNil(o.Status) {
return true
}
return false
}
// SetStatus gets a reference to the given interface{} and assigns it to the Status field.
func (o *CaptableCaptableShareIn) SetStatus(v interface{}) {
o.Status = v
}
// GetVestingStartDate returns the VestingStartDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetVestingStartDate() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.VestingStartDate
}
// GetVestingStartDateOk returns a tuple with the VestingStartDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetVestingStartDateOk() (*interface{}, bool) {
if o == nil || IsNil(o.VestingStartDate) {
return nil, false
}
return &o.VestingStartDate, true
}
// HasVestingStartDate returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasVestingStartDate() bool {
if o != nil && !IsNil(o.VestingStartDate) {
return true
}
return false
}
// SetVestingStartDate gets a reference to the given interface{} and assigns it to the VestingStartDate field.
func (o *CaptableCaptableShareIn) SetVestingStartDate(v interface{}) {
o.VestingStartDate = v
}
// GetVestingYears returns the VestingYears field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *CaptableCaptableShareIn) GetVestingYears() interface{} {
if o == nil {
var ret interface{}
return ret
}
return o.VestingYears
}
// GetVestingYearsOk returns a tuple with the VestingYears field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *CaptableCaptableShareIn) GetVestingYearsOk() (*interface{}, bool) {
if o == nil || IsNil(o.VestingYears) {
return nil, false
}
return &o.VestingYears, true
}
// HasVestingYears returns a boolean if a field has been set.
func (o *CaptableCaptableShareIn) HasVestingYears() bool {
if o != nil && !IsNil(o.VestingYears) {
return true
}
return false
}
// SetVestingYears gets a reference to the given interface{} and assigns it to the VestingYears field.
func (o *CaptableCaptableShareIn) SetVestingYears(v interface{}) {
o.VestingYears = v
}
func (o CaptableCaptableShareIn) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o CaptableCaptableShareIn) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if o.BoardApprovalDate != nil {
toSerialize["boardApprovalDate"] = o.BoardApprovalDate
}
if o.CapitalContribution != nil {
toSerialize["capitalContribution"] = o.CapitalContribution
}
if o.CertificateId != nil {
toSerialize["certificateId"] = o.CertificateId
}
if o.CliffYears != nil {
toSerialize["cliffYears"] = o.CliffYears
}
if !IsNil(o.CompanyLegends) {
toSerialize["companyLegends"] = o.CompanyLegends
}
if o.DebtCancelled != nil {
toSerialize["debtCancelled"] = o.DebtCancelled
}
if o.IpContribution != nil {
toSerialize["ipContribution"] = o.IpContribution
}
if o.IssueDate != nil {
toSerialize["issueDate"] = o.IssueDate
}
if o.OtherContributions != nil {
toSerialize["otherContributions"] = o.OtherContributions
}
if o.PricePerShare != nil {
toSerialize["pricePerShare"] = o.PricePerShare
}
if o.Quantity != nil {
toSerialize["quantity"] = o.Quantity
}
if o.Rule144Date != nil {
toSerialize["rule144Date"] = o.Rule144Date
}
if o.ShareClassId != nil {
toSerialize["shareClassId"] = o.ShareClassId
}
if o.StakeholderId != nil {
toSerialize["stakeholderId"] = o.StakeholderId
}
if o.Status != nil {
toSerialize["status"] = o.Status
}
if o.VestingStartDate != nil {
toSerialize["vestingStartDate"] = o.VestingStartDate
}
if o.VestingYears != nil {
toSerialize["vestingYears"] = o.VestingYears
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *CaptableCaptableShareIn) UnmarshalJSON(data []byte) (err error) {
varCaptableCaptableShareIn := _CaptableCaptableShareIn{}
err = json.Unmarshal(data, &varCaptableCaptableShareIn)
if err != nil {
return err
}
*o = CaptableCaptableShareIn(varCaptableCaptableShareIn)
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(data, &additionalProperties); err == nil {
delete(additionalProperties, "boardApprovalDate")
delete(additionalProperties, "capitalContribution")
delete(additionalProperties, "certificateId")
delete(additionalProperties, "cliffYears")
delete(additionalProperties, "companyLegends")
delete(additionalProperties, "debtCancelled")
delete(additionalProperties, "ipContribution")
delete(additionalProperties, "issueDate")
delete(additionalProperties, "otherContributions")
delete(additionalProperties, "pricePerShare")
delete(additionalProperties, "quantity")
delete(additionalProperties, "rule144Date")
delete(additionalProperties, "shareClassId")
delete(additionalProperties, "stakeholderId")
delete(additionalProperties, "status")
delete(additionalProperties, "vestingStartDate")
delete(additionalProperties, "vestingYears")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullableCaptableCaptableShareIn struct {
value *CaptableCaptableShareIn
isSet bool
}
func (v NullableCaptableCaptableShareIn) Get() *CaptableCaptableShareIn {
return v.value
}
func (v *NullableCaptableCaptableShareIn) Set(val *CaptableCaptableShareIn) {
v.value = val
v.isSet = true
}
func (v NullableCaptableCaptableShareIn) IsSet() bool {
return v.isSet
}
func (v *NullableCaptableCaptableShareIn) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableCaptableCaptableShareIn(val *CaptableCaptableShareIn) *NullableCaptableCaptableShareIn {
return &NullableCaptableCaptableShareIn{value: val, isSet: true}
}
func (v NullableCaptableCaptableShareIn) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableCaptableCaptableShareIn) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}