mirror of
https://github.com/hanzo-go/sdk.git
synced 2026-11-20 20:13:42 +00:00
649 lines
22 KiB
Go
649 lines
22 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 CaptableCaptableShareClassAmend type satisfies the MappedNullable interface at compile time
|
|
var _ MappedNullable = &CaptableCaptableShareClassAmend{}
|
|
|
|
// CaptableCaptableShareClassAmend struct for CaptableCaptableShareClassAmend
|
|
type CaptableCaptableShareClassAmend struct {
|
|
BoardApprovalDate interface{} `json:"boardApprovalDate,omitempty"`
|
|
ClassType interface{} `json:"classType,omitempty"`
|
|
ConversionRights interface{} `json:"conversionRights,omitempty"`
|
|
ConvertsToShareClassId interface{} `json:"convertsToShareClassId,omitempty"`
|
|
// ID addresses the resource. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which row is written whatever a body claims.
|
|
Id *string `json:"id,omitempty"`
|
|
InitialSharesAuthorized interface{} `json:"initialSharesAuthorized,omitempty"`
|
|
LiquidationPreferenceMultiple interface{} `json:"liquidationPreferenceMultiple,omitempty"`
|
|
Name interface{} `json:"name,omitempty"`
|
|
ParValue interface{} `json:"parValue,omitempty"`
|
|
ParticipationCapMultiple interface{} `json:"participationCapMultiple,omitempty"`
|
|
PricePerShare interface{} `json:"pricePerShare,omitempty"`
|
|
Seniority interface{} `json:"seniority,omitempty"`
|
|
StockholderApprovalDate interface{} `json:"stockholderApprovalDate,omitempty"`
|
|
VotesPerShare interface{} `json:"votesPerShare,omitempty"`
|
|
AdditionalProperties map[string]interface{}
|
|
}
|
|
|
|
type _CaptableCaptableShareClassAmend CaptableCaptableShareClassAmend
|
|
|
|
// NewCaptableCaptableShareClassAmend instantiates a new CaptableCaptableShareClassAmend 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 NewCaptableCaptableShareClassAmend() *CaptableCaptableShareClassAmend {
|
|
this := CaptableCaptableShareClassAmend{}
|
|
return &this
|
|
}
|
|
|
|
// NewCaptableCaptableShareClassAmendWithDefaults instantiates a new CaptableCaptableShareClassAmend 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 NewCaptableCaptableShareClassAmendWithDefaults() *CaptableCaptableShareClassAmend {
|
|
this := CaptableCaptableShareClassAmend{}
|
|
return &this
|
|
}
|
|
|
|
// GetBoardApprovalDate returns the BoardApprovalDate field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) SetBoardApprovalDate(v interface{}) {
|
|
o.BoardApprovalDate = v
|
|
}
|
|
|
|
// GetClassType returns the ClassType field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetClassType() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.ClassType
|
|
}
|
|
|
|
// GetClassTypeOk returns a tuple with the ClassType 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 *CaptableCaptableShareClassAmend) GetClassTypeOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.ClassType) {
|
|
return nil, false
|
|
}
|
|
return &o.ClassType, true
|
|
}
|
|
|
|
// HasClassType returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasClassType() bool {
|
|
if o != nil && !IsNil(o.ClassType) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetClassType gets a reference to the given interface{} and assigns it to the ClassType field.
|
|
func (o *CaptableCaptableShareClassAmend) SetClassType(v interface{}) {
|
|
o.ClassType = v
|
|
}
|
|
|
|
// GetConversionRights returns the ConversionRights field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetConversionRights() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.ConversionRights
|
|
}
|
|
|
|
// GetConversionRightsOk returns a tuple with the ConversionRights 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 *CaptableCaptableShareClassAmend) GetConversionRightsOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.ConversionRights) {
|
|
return nil, false
|
|
}
|
|
return &o.ConversionRights, true
|
|
}
|
|
|
|
// HasConversionRights returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasConversionRights() bool {
|
|
if o != nil && !IsNil(o.ConversionRights) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetConversionRights gets a reference to the given interface{} and assigns it to the ConversionRights field.
|
|
func (o *CaptableCaptableShareClassAmend) SetConversionRights(v interface{}) {
|
|
o.ConversionRights = v
|
|
}
|
|
|
|
// GetConvertsToShareClassId returns the ConvertsToShareClassId field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetConvertsToShareClassId() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.ConvertsToShareClassId
|
|
}
|
|
|
|
// GetConvertsToShareClassIdOk returns a tuple with the ConvertsToShareClassId 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 *CaptableCaptableShareClassAmend) GetConvertsToShareClassIdOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.ConvertsToShareClassId) {
|
|
return nil, false
|
|
}
|
|
return &o.ConvertsToShareClassId, true
|
|
}
|
|
|
|
// HasConvertsToShareClassId returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasConvertsToShareClassId() bool {
|
|
if o != nil && !IsNil(o.ConvertsToShareClassId) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetConvertsToShareClassId gets a reference to the given interface{} and assigns it to the ConvertsToShareClassId field.
|
|
func (o *CaptableCaptableShareClassAmend) SetConvertsToShareClassId(v interface{}) {
|
|
o.ConvertsToShareClassId = v
|
|
}
|
|
|
|
// GetId returns the Id field value if set, zero value otherwise.
|
|
func (o *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) SetId(v string) {
|
|
o.Id = &v
|
|
}
|
|
|
|
// GetInitialSharesAuthorized returns the InitialSharesAuthorized field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetInitialSharesAuthorized() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.InitialSharesAuthorized
|
|
}
|
|
|
|
// GetInitialSharesAuthorizedOk returns a tuple with the InitialSharesAuthorized 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 *CaptableCaptableShareClassAmend) GetInitialSharesAuthorizedOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.InitialSharesAuthorized) {
|
|
return nil, false
|
|
}
|
|
return &o.InitialSharesAuthorized, true
|
|
}
|
|
|
|
// HasInitialSharesAuthorized returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasInitialSharesAuthorized() bool {
|
|
if o != nil && !IsNil(o.InitialSharesAuthorized) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetInitialSharesAuthorized gets a reference to the given interface{} and assigns it to the InitialSharesAuthorized field.
|
|
func (o *CaptableCaptableShareClassAmend) SetInitialSharesAuthorized(v interface{}) {
|
|
o.InitialSharesAuthorized = v
|
|
}
|
|
|
|
// GetLiquidationPreferenceMultiple returns the LiquidationPreferenceMultiple field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetLiquidationPreferenceMultiple() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.LiquidationPreferenceMultiple
|
|
}
|
|
|
|
// GetLiquidationPreferenceMultipleOk returns a tuple with the LiquidationPreferenceMultiple 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 *CaptableCaptableShareClassAmend) GetLiquidationPreferenceMultipleOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.LiquidationPreferenceMultiple) {
|
|
return nil, false
|
|
}
|
|
return &o.LiquidationPreferenceMultiple, true
|
|
}
|
|
|
|
// HasLiquidationPreferenceMultiple returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasLiquidationPreferenceMultiple() bool {
|
|
if o != nil && !IsNil(o.LiquidationPreferenceMultiple) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetLiquidationPreferenceMultiple gets a reference to the given interface{} and assigns it to the LiquidationPreferenceMultiple field.
|
|
func (o *CaptableCaptableShareClassAmend) SetLiquidationPreferenceMultiple(v interface{}) {
|
|
o.LiquidationPreferenceMultiple = v
|
|
}
|
|
|
|
// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetName() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
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.
|
|
// NOTE: If the value is an explicit nil, `nil, true` will be returned
|
|
func (o *CaptableCaptableShareClassAmend) GetNameOk() (*interface{}, 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 *CaptableCaptableShareClassAmend) HasName() bool {
|
|
if o != nil && !IsNil(o.Name) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetName gets a reference to the given interface{} and assigns it to the Name field.
|
|
func (o *CaptableCaptableShareClassAmend) SetName(v interface{}) {
|
|
o.Name = v
|
|
}
|
|
|
|
// GetParValue returns the ParValue field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetParValue() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.ParValue
|
|
}
|
|
|
|
// GetParValueOk returns a tuple with the ParValue 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 *CaptableCaptableShareClassAmend) GetParValueOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.ParValue) {
|
|
return nil, false
|
|
}
|
|
return &o.ParValue, true
|
|
}
|
|
|
|
// HasParValue returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasParValue() bool {
|
|
if o != nil && !IsNil(o.ParValue) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetParValue gets a reference to the given interface{} and assigns it to the ParValue field.
|
|
func (o *CaptableCaptableShareClassAmend) SetParValue(v interface{}) {
|
|
o.ParValue = v
|
|
}
|
|
|
|
// GetParticipationCapMultiple returns the ParticipationCapMultiple field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetParticipationCapMultiple() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.ParticipationCapMultiple
|
|
}
|
|
|
|
// GetParticipationCapMultipleOk returns a tuple with the ParticipationCapMultiple 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 *CaptableCaptableShareClassAmend) GetParticipationCapMultipleOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.ParticipationCapMultiple) {
|
|
return nil, false
|
|
}
|
|
return &o.ParticipationCapMultiple, true
|
|
}
|
|
|
|
// HasParticipationCapMultiple returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasParticipationCapMultiple() bool {
|
|
if o != nil && !IsNil(o.ParticipationCapMultiple) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetParticipationCapMultiple gets a reference to the given interface{} and assigns it to the ParticipationCapMultiple field.
|
|
func (o *CaptableCaptableShareClassAmend) SetParticipationCapMultiple(v interface{}) {
|
|
o.ParticipationCapMultiple = v
|
|
}
|
|
|
|
// GetPricePerShare returns the PricePerShare field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) 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 *CaptableCaptableShareClassAmend) SetPricePerShare(v interface{}) {
|
|
o.PricePerShare = v
|
|
}
|
|
|
|
// GetSeniority returns the Seniority field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetSeniority() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.Seniority
|
|
}
|
|
|
|
// GetSeniorityOk returns a tuple with the Seniority 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 *CaptableCaptableShareClassAmend) GetSeniorityOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.Seniority) {
|
|
return nil, false
|
|
}
|
|
return &o.Seniority, true
|
|
}
|
|
|
|
// HasSeniority returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasSeniority() bool {
|
|
if o != nil && !IsNil(o.Seniority) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetSeniority gets a reference to the given interface{} and assigns it to the Seniority field.
|
|
func (o *CaptableCaptableShareClassAmend) SetSeniority(v interface{}) {
|
|
o.Seniority = v
|
|
}
|
|
|
|
// GetStockholderApprovalDate returns the StockholderApprovalDate field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetStockholderApprovalDate() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.StockholderApprovalDate
|
|
}
|
|
|
|
// GetStockholderApprovalDateOk returns a tuple with the StockholderApprovalDate 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 *CaptableCaptableShareClassAmend) GetStockholderApprovalDateOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.StockholderApprovalDate) {
|
|
return nil, false
|
|
}
|
|
return &o.StockholderApprovalDate, true
|
|
}
|
|
|
|
// HasStockholderApprovalDate returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasStockholderApprovalDate() bool {
|
|
if o != nil && !IsNil(o.StockholderApprovalDate) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetStockholderApprovalDate gets a reference to the given interface{} and assigns it to the StockholderApprovalDate field.
|
|
func (o *CaptableCaptableShareClassAmend) SetStockholderApprovalDate(v interface{}) {
|
|
o.StockholderApprovalDate = v
|
|
}
|
|
|
|
// GetVotesPerShare returns the VotesPerShare field value if set, zero value otherwise (both if not set or set to explicit null).
|
|
func (o *CaptableCaptableShareClassAmend) GetVotesPerShare() interface{} {
|
|
if o == nil {
|
|
var ret interface{}
|
|
return ret
|
|
}
|
|
return o.VotesPerShare
|
|
}
|
|
|
|
// GetVotesPerShareOk returns a tuple with the VotesPerShare 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 *CaptableCaptableShareClassAmend) GetVotesPerShareOk() (*interface{}, bool) {
|
|
if o == nil || IsNil(o.VotesPerShare) {
|
|
return nil, false
|
|
}
|
|
return &o.VotesPerShare, true
|
|
}
|
|
|
|
// HasVotesPerShare returns a boolean if a field has been set.
|
|
func (o *CaptableCaptableShareClassAmend) HasVotesPerShare() bool {
|
|
if o != nil && !IsNil(o.VotesPerShare) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetVotesPerShare gets a reference to the given interface{} and assigns it to the VotesPerShare field.
|
|
func (o *CaptableCaptableShareClassAmend) SetVotesPerShare(v interface{}) {
|
|
o.VotesPerShare = v
|
|
}
|
|
|
|
func (o CaptableCaptableShareClassAmend) MarshalJSON() ([]byte, error) {
|
|
toSerialize, err := o.ToMap()
|
|
if err != nil {
|
|
return []byte{}, err
|
|
}
|
|
return json.Marshal(toSerialize)
|
|
}
|
|
|
|
func (o CaptableCaptableShareClassAmend) ToMap() (map[string]interface{}, error) {
|
|
toSerialize := map[string]interface{}{}
|
|
if o.BoardApprovalDate != nil {
|
|
toSerialize["boardApprovalDate"] = o.BoardApprovalDate
|
|
}
|
|
if o.ClassType != nil {
|
|
toSerialize["classType"] = o.ClassType
|
|
}
|
|
if o.ConversionRights != nil {
|
|
toSerialize["conversionRights"] = o.ConversionRights
|
|
}
|
|
if o.ConvertsToShareClassId != nil {
|
|
toSerialize["convertsToShareClassId"] = o.ConvertsToShareClassId
|
|
}
|
|
if !IsNil(o.Id) {
|
|
toSerialize["id"] = o.Id
|
|
}
|
|
if o.InitialSharesAuthorized != nil {
|
|
toSerialize["initialSharesAuthorized"] = o.InitialSharesAuthorized
|
|
}
|
|
if o.LiquidationPreferenceMultiple != nil {
|
|
toSerialize["liquidationPreferenceMultiple"] = o.LiquidationPreferenceMultiple
|
|
}
|
|
if o.Name != nil {
|
|
toSerialize["name"] = o.Name
|
|
}
|
|
if o.ParValue != nil {
|
|
toSerialize["parValue"] = o.ParValue
|
|
}
|
|
if o.ParticipationCapMultiple != nil {
|
|
toSerialize["participationCapMultiple"] = o.ParticipationCapMultiple
|
|
}
|
|
if o.PricePerShare != nil {
|
|
toSerialize["pricePerShare"] = o.PricePerShare
|
|
}
|
|
if o.Seniority != nil {
|
|
toSerialize["seniority"] = o.Seniority
|
|
}
|
|
if o.StockholderApprovalDate != nil {
|
|
toSerialize["stockholderApprovalDate"] = o.StockholderApprovalDate
|
|
}
|
|
if o.VotesPerShare != nil {
|
|
toSerialize["votesPerShare"] = o.VotesPerShare
|
|
}
|
|
|
|
for key, value := range o.AdditionalProperties {
|
|
toSerialize[key] = value
|
|
}
|
|
|
|
return toSerialize, nil
|
|
}
|
|
|
|
func (o *CaptableCaptableShareClassAmend) UnmarshalJSON(data []byte) (err error) {
|
|
varCaptableCaptableShareClassAmend := _CaptableCaptableShareClassAmend{}
|
|
|
|
err = json.Unmarshal(data, &varCaptableCaptableShareClassAmend)
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
*o = CaptableCaptableShareClassAmend(varCaptableCaptableShareClassAmend)
|
|
|
|
additionalProperties := make(map[string]interface{})
|
|
|
|
if err = json.Unmarshal(data, &additionalProperties); err == nil {
|
|
delete(additionalProperties, "boardApprovalDate")
|
|
delete(additionalProperties, "classType")
|
|
delete(additionalProperties, "conversionRights")
|
|
delete(additionalProperties, "convertsToShareClassId")
|
|
delete(additionalProperties, "id")
|
|
delete(additionalProperties, "initialSharesAuthorized")
|
|
delete(additionalProperties, "liquidationPreferenceMultiple")
|
|
delete(additionalProperties, "name")
|
|
delete(additionalProperties, "parValue")
|
|
delete(additionalProperties, "participationCapMultiple")
|
|
delete(additionalProperties, "pricePerShare")
|
|
delete(additionalProperties, "seniority")
|
|
delete(additionalProperties, "stockholderApprovalDate")
|
|
delete(additionalProperties, "votesPerShare")
|
|
o.AdditionalProperties = additionalProperties
|
|
}
|
|
|
|
return err
|
|
}
|
|
|
|
type NullableCaptableCaptableShareClassAmend struct {
|
|
value *CaptableCaptableShareClassAmend
|
|
isSet bool
|
|
}
|
|
|
|
func (v NullableCaptableCaptableShareClassAmend) Get() *CaptableCaptableShareClassAmend {
|
|
return v.value
|
|
}
|
|
|
|
func (v *NullableCaptableCaptableShareClassAmend) Set(val *CaptableCaptableShareClassAmend) {
|
|
v.value = val
|
|
v.isSet = true
|
|
}
|
|
|
|
func (v NullableCaptableCaptableShareClassAmend) IsSet() bool {
|
|
return v.isSet
|
|
}
|
|
|
|
func (v *NullableCaptableCaptableShareClassAmend) Unset() {
|
|
v.value = nil
|
|
v.isSet = false
|
|
}
|
|
|
|
func NewNullableCaptableCaptableShareClassAmend(val *CaptableCaptableShareClassAmend) *NullableCaptableCaptableShareClassAmend {
|
|
return &NullableCaptableCaptableShareClassAmend{value: val, isSet: true}
|
|
}
|
|
|
|
func (v NullableCaptableCaptableShareClassAmend) MarshalJSON() ([]byte, error) {
|
|
return json.Marshal(v.value)
|
|
}
|
|
|
|
func (v *NullableCaptableCaptableShareClassAmend) UnmarshalJSON(src []byte) error {
|
|
v.isSet = true
|
|
return json.Unmarshal(src, &v.value)
|
|
}
|