mirror of
https://github.com/hanzo-go/sdk.git
synced 2026-11-20 20:13:42 +00:00
687 lines
18 KiB
Go
687 lines
18 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 TrustClauseCoverage type satisfies the MappedNullable interface at compile time
|
|
var _ MappedNullable = &TrustClauseCoverage{}
|
|
|
|
// TrustClauseCoverage struct for TrustClauseCoverage
|
|
type TrustClauseCoverage struct {
|
|
// Automated is how many clauses have an automated control behind them that something can fail on behalf of.
|
|
Automated *int64 `json:"automated,omitempty"`
|
|
// Clauses is every clause the standard publishes, with what stands behind it.
|
|
Clauses []TrustClauseRow `json:"clauses,omitempty"`
|
|
// Edition is which edition this clause list is taken from.
|
|
Edition *string `json:"edition,omitempty"`
|
|
// Framework is the framework id — \"soc2\", \"iso27001\", \"nist80053\".
|
|
Framework *string `json:"framework,omitempty"`
|
|
// Generated is when this was computed, unix milliseconds.
|
|
Generated *int64 `json:"generated,omitempty"`
|
|
// Name is the published standard's name.
|
|
Name *string `json:"name,omitempty"`
|
|
// None is how many have nothing behind them.
|
|
None *int64 `json:"none,omitempty"`
|
|
// Note is what this clause list is scoped to, when a count alone would misrepresent it.
|
|
Note *string `json:"note,omitempty"`
|
|
// Partial is how many are answered in part.
|
|
Partial *int64 `json:"partial,omitempty"`
|
|
// Publisher is who publishes it — AICPA, ISO/IEC, NIST.
|
|
Publisher *string `json:"publisher,omitempty"`
|
|
// Statement is the counts as one sentence, carrying the unit.
|
|
Statement *string `json:"statement,omitempty"`
|
|
// Total is the framework's WHOLE published clause list — the denominator.
|
|
Total *int64 `json:"total,omitempty"`
|
|
// Unit is what ONE clause is — \"criterion\", \"control\", \"family\".
|
|
Unit *string `json:"unit,omitempty"`
|
|
// Units is the plural of Unit, for rendering a sentence.
|
|
Units *string `json:"units,omitempty"`
|
|
// Version is the embedded inventory's version.
|
|
Version *string `json:"version,omitempty"`
|
|
AdditionalProperties map[string]interface{}
|
|
}
|
|
|
|
type _TrustClauseCoverage TrustClauseCoverage
|
|
|
|
// NewTrustClauseCoverage instantiates a new TrustClauseCoverage 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 NewTrustClauseCoverage() *TrustClauseCoverage {
|
|
this := TrustClauseCoverage{}
|
|
return &this
|
|
}
|
|
|
|
// NewTrustClauseCoverageWithDefaults instantiates a new TrustClauseCoverage 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 NewTrustClauseCoverageWithDefaults() *TrustClauseCoverage {
|
|
this := TrustClauseCoverage{}
|
|
return &this
|
|
}
|
|
|
|
// GetAutomated returns the Automated field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetAutomated() int64 {
|
|
if o == nil || IsNil(o.Automated) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.Automated
|
|
}
|
|
|
|
// GetAutomatedOk returns a tuple with the Automated field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetAutomatedOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.Automated) {
|
|
return nil, false
|
|
}
|
|
return o.Automated, true
|
|
}
|
|
|
|
// HasAutomated returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasAutomated() bool {
|
|
if o != nil && !IsNil(o.Automated) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetAutomated gets a reference to the given int64 and assigns it to the Automated field.
|
|
func (o *TrustClauseCoverage) SetAutomated(v int64) {
|
|
o.Automated = &v
|
|
}
|
|
|
|
// GetClauses returns the Clauses field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetClauses() []TrustClauseRow {
|
|
if o == nil || IsNil(o.Clauses) {
|
|
var ret []TrustClauseRow
|
|
return ret
|
|
}
|
|
return o.Clauses
|
|
}
|
|
|
|
// GetClausesOk returns a tuple with the Clauses field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetClausesOk() ([]TrustClauseRow, bool) {
|
|
if o == nil || IsNil(o.Clauses) {
|
|
return nil, false
|
|
}
|
|
return o.Clauses, true
|
|
}
|
|
|
|
// HasClauses returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasClauses() bool {
|
|
if o != nil && !IsNil(o.Clauses) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetClauses gets a reference to the given []TrustClauseRow and assigns it to the Clauses field.
|
|
func (o *TrustClauseCoverage) SetClauses(v []TrustClauseRow) {
|
|
o.Clauses = v
|
|
}
|
|
|
|
// GetEdition returns the Edition field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetEdition() string {
|
|
if o == nil || IsNil(o.Edition) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Edition
|
|
}
|
|
|
|
// GetEditionOk returns a tuple with the Edition field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetEditionOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Edition) {
|
|
return nil, false
|
|
}
|
|
return o.Edition, true
|
|
}
|
|
|
|
// HasEdition returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasEdition() bool {
|
|
if o != nil && !IsNil(o.Edition) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetEdition gets a reference to the given string and assigns it to the Edition field.
|
|
func (o *TrustClauseCoverage) SetEdition(v string) {
|
|
o.Edition = &v
|
|
}
|
|
|
|
// GetFramework returns the Framework field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetFramework() string {
|
|
if o == nil || IsNil(o.Framework) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Framework
|
|
}
|
|
|
|
// GetFrameworkOk returns a tuple with the Framework field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetFrameworkOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Framework) {
|
|
return nil, false
|
|
}
|
|
return o.Framework, true
|
|
}
|
|
|
|
// HasFramework returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasFramework() bool {
|
|
if o != nil && !IsNil(o.Framework) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetFramework gets a reference to the given string and assigns it to the Framework field.
|
|
func (o *TrustClauseCoverage) SetFramework(v string) {
|
|
o.Framework = &v
|
|
}
|
|
|
|
// GetGenerated returns the Generated field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetGenerated() int64 {
|
|
if o == nil || IsNil(o.Generated) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.Generated
|
|
}
|
|
|
|
// GetGeneratedOk returns a tuple with the Generated field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetGeneratedOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.Generated) {
|
|
return nil, false
|
|
}
|
|
return o.Generated, true
|
|
}
|
|
|
|
// HasGenerated returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasGenerated() bool {
|
|
if o != nil && !IsNil(o.Generated) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetGenerated gets a reference to the given int64 and assigns it to the Generated field.
|
|
func (o *TrustClauseCoverage) SetGenerated(v int64) {
|
|
o.Generated = &v
|
|
}
|
|
|
|
// GetName returns the Name field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) 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 *TrustClauseCoverage) 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 *TrustClauseCoverage) 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 *TrustClauseCoverage) SetName(v string) {
|
|
o.Name = &v
|
|
}
|
|
|
|
// GetNone returns the None field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetNone() int64 {
|
|
if o == nil || IsNil(o.None) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.None
|
|
}
|
|
|
|
// GetNoneOk returns a tuple with the None field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetNoneOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.None) {
|
|
return nil, false
|
|
}
|
|
return o.None, true
|
|
}
|
|
|
|
// HasNone returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasNone() bool {
|
|
if o != nil && !IsNil(o.None) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetNone gets a reference to the given int64 and assigns it to the None field.
|
|
func (o *TrustClauseCoverage) SetNone(v int64) {
|
|
o.None = &v
|
|
}
|
|
|
|
// GetNote returns the Note field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetNote() string {
|
|
if o == nil || IsNil(o.Note) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Note
|
|
}
|
|
|
|
// GetNoteOk returns a tuple with the Note field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetNoteOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Note) {
|
|
return nil, false
|
|
}
|
|
return o.Note, true
|
|
}
|
|
|
|
// HasNote returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasNote() bool {
|
|
if o != nil && !IsNil(o.Note) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetNote gets a reference to the given string and assigns it to the Note field.
|
|
func (o *TrustClauseCoverage) SetNote(v string) {
|
|
o.Note = &v
|
|
}
|
|
|
|
// GetPartial returns the Partial field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetPartial() int64 {
|
|
if o == nil || IsNil(o.Partial) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.Partial
|
|
}
|
|
|
|
// GetPartialOk returns a tuple with the Partial field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetPartialOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.Partial) {
|
|
return nil, false
|
|
}
|
|
return o.Partial, true
|
|
}
|
|
|
|
// HasPartial returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasPartial() bool {
|
|
if o != nil && !IsNil(o.Partial) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetPartial gets a reference to the given int64 and assigns it to the Partial field.
|
|
func (o *TrustClauseCoverage) SetPartial(v int64) {
|
|
o.Partial = &v
|
|
}
|
|
|
|
// GetPublisher returns the Publisher field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetPublisher() string {
|
|
if o == nil || IsNil(o.Publisher) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Publisher
|
|
}
|
|
|
|
// GetPublisherOk returns a tuple with the Publisher field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetPublisherOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Publisher) {
|
|
return nil, false
|
|
}
|
|
return o.Publisher, true
|
|
}
|
|
|
|
// HasPublisher returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasPublisher() bool {
|
|
if o != nil && !IsNil(o.Publisher) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetPublisher gets a reference to the given string and assigns it to the Publisher field.
|
|
func (o *TrustClauseCoverage) SetPublisher(v string) {
|
|
o.Publisher = &v
|
|
}
|
|
|
|
// GetStatement returns the Statement field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetStatement() string {
|
|
if o == nil || IsNil(o.Statement) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Statement
|
|
}
|
|
|
|
// GetStatementOk returns a tuple with the Statement field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetStatementOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Statement) {
|
|
return nil, false
|
|
}
|
|
return o.Statement, true
|
|
}
|
|
|
|
// HasStatement returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasStatement() bool {
|
|
if o != nil && !IsNil(o.Statement) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetStatement gets a reference to the given string and assigns it to the Statement field.
|
|
func (o *TrustClauseCoverage) SetStatement(v string) {
|
|
o.Statement = &v
|
|
}
|
|
|
|
// GetTotal returns the Total field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetTotal() int64 {
|
|
if o == nil || IsNil(o.Total) {
|
|
var ret int64
|
|
return ret
|
|
}
|
|
return *o.Total
|
|
}
|
|
|
|
// GetTotalOk returns a tuple with the Total field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetTotalOk() (*int64, bool) {
|
|
if o == nil || IsNil(o.Total) {
|
|
return nil, false
|
|
}
|
|
return o.Total, true
|
|
}
|
|
|
|
// HasTotal returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasTotal() bool {
|
|
if o != nil && !IsNil(o.Total) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetTotal gets a reference to the given int64 and assigns it to the Total field.
|
|
func (o *TrustClauseCoverage) SetTotal(v int64) {
|
|
o.Total = &v
|
|
}
|
|
|
|
// GetUnit returns the Unit field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetUnit() string {
|
|
if o == nil || IsNil(o.Unit) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Unit
|
|
}
|
|
|
|
// GetUnitOk returns a tuple with the Unit field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetUnitOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Unit) {
|
|
return nil, false
|
|
}
|
|
return o.Unit, true
|
|
}
|
|
|
|
// HasUnit returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasUnit() bool {
|
|
if o != nil && !IsNil(o.Unit) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetUnit gets a reference to the given string and assigns it to the Unit field.
|
|
func (o *TrustClauseCoverage) SetUnit(v string) {
|
|
o.Unit = &v
|
|
}
|
|
|
|
// GetUnits returns the Units field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetUnits() string {
|
|
if o == nil || IsNil(o.Units) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Units
|
|
}
|
|
|
|
// GetUnitsOk returns a tuple with the Units field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetUnitsOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Units) {
|
|
return nil, false
|
|
}
|
|
return o.Units, true
|
|
}
|
|
|
|
// HasUnits returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasUnits() bool {
|
|
if o != nil && !IsNil(o.Units) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetUnits gets a reference to the given string and assigns it to the Units field.
|
|
func (o *TrustClauseCoverage) SetUnits(v string) {
|
|
o.Units = &v
|
|
}
|
|
|
|
// GetVersion returns the Version field value if set, zero value otherwise.
|
|
func (o *TrustClauseCoverage) GetVersion() string {
|
|
if o == nil || IsNil(o.Version) {
|
|
var ret string
|
|
return ret
|
|
}
|
|
return *o.Version
|
|
}
|
|
|
|
// GetVersionOk returns a tuple with the Version field value if set, nil otherwise
|
|
// and a boolean to check if the value has been set.
|
|
func (o *TrustClauseCoverage) GetVersionOk() (*string, bool) {
|
|
if o == nil || IsNil(o.Version) {
|
|
return nil, false
|
|
}
|
|
return o.Version, true
|
|
}
|
|
|
|
// HasVersion returns a boolean if a field has been set.
|
|
func (o *TrustClauseCoverage) HasVersion() bool {
|
|
if o != nil && !IsNil(o.Version) {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
// SetVersion gets a reference to the given string and assigns it to the Version field.
|
|
func (o *TrustClauseCoverage) SetVersion(v string) {
|
|
o.Version = &v
|
|
}
|
|
|
|
func (o TrustClauseCoverage) MarshalJSON() ([]byte, error) {
|
|
toSerialize, err := o.ToMap()
|
|
if err != nil {
|
|
return []byte{}, err
|
|
}
|
|
return json.Marshal(toSerialize)
|
|
}
|
|
|
|
func (o TrustClauseCoverage) ToMap() (map[string]interface{}, error) {
|
|
toSerialize := map[string]interface{}{}
|
|
if !IsNil(o.Automated) {
|
|
toSerialize["automated"] = o.Automated
|
|
}
|
|
if !IsNil(o.Clauses) {
|
|
toSerialize["clauses"] = o.Clauses
|
|
}
|
|
if !IsNil(o.Edition) {
|
|
toSerialize["edition"] = o.Edition
|
|
}
|
|
if !IsNil(o.Framework) {
|
|
toSerialize["framework"] = o.Framework
|
|
}
|
|
if !IsNil(o.Generated) {
|
|
toSerialize["generated"] = o.Generated
|
|
}
|
|
if !IsNil(o.Name) {
|
|
toSerialize["name"] = o.Name
|
|
}
|
|
if !IsNil(o.None) {
|
|
toSerialize["none"] = o.None
|
|
}
|
|
if !IsNil(o.Note) {
|
|
toSerialize["note"] = o.Note
|
|
}
|
|
if !IsNil(o.Partial) {
|
|
toSerialize["partial"] = o.Partial
|
|
}
|
|
if !IsNil(o.Publisher) {
|
|
toSerialize["publisher"] = o.Publisher
|
|
}
|
|
if !IsNil(o.Statement) {
|
|
toSerialize["statement"] = o.Statement
|
|
}
|
|
if !IsNil(o.Total) {
|
|
toSerialize["total"] = o.Total
|
|
}
|
|
if !IsNil(o.Unit) {
|
|
toSerialize["unit"] = o.Unit
|
|
}
|
|
if !IsNil(o.Units) {
|
|
toSerialize["units"] = o.Units
|
|
}
|
|
if !IsNil(o.Version) {
|
|
toSerialize["version"] = o.Version
|
|
}
|
|
|
|
for key, value := range o.AdditionalProperties {
|
|
toSerialize[key] = value
|
|
}
|
|
|
|
return toSerialize, nil
|
|
}
|
|
|
|
func (o *TrustClauseCoverage) UnmarshalJSON(data []byte) (err error) {
|
|
varTrustClauseCoverage := _TrustClauseCoverage{}
|
|
|
|
err = json.Unmarshal(data, &varTrustClauseCoverage)
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
*o = TrustClauseCoverage(varTrustClauseCoverage)
|
|
|
|
additionalProperties := make(map[string]interface{})
|
|
|
|
if err = json.Unmarshal(data, &additionalProperties); err == nil {
|
|
delete(additionalProperties, "automated")
|
|
delete(additionalProperties, "clauses")
|
|
delete(additionalProperties, "edition")
|
|
delete(additionalProperties, "framework")
|
|
delete(additionalProperties, "generated")
|
|
delete(additionalProperties, "name")
|
|
delete(additionalProperties, "none")
|
|
delete(additionalProperties, "note")
|
|
delete(additionalProperties, "partial")
|
|
delete(additionalProperties, "publisher")
|
|
delete(additionalProperties, "statement")
|
|
delete(additionalProperties, "total")
|
|
delete(additionalProperties, "unit")
|
|
delete(additionalProperties, "units")
|
|
delete(additionalProperties, "version")
|
|
o.AdditionalProperties = additionalProperties
|
|
}
|
|
|
|
return err
|
|
}
|
|
|
|
type NullableTrustClauseCoverage struct {
|
|
value *TrustClauseCoverage
|
|
isSet bool
|
|
}
|
|
|
|
func (v NullableTrustClauseCoverage) Get() *TrustClauseCoverage {
|
|
return v.value
|
|
}
|
|
|
|
func (v *NullableTrustClauseCoverage) Set(val *TrustClauseCoverage) {
|
|
v.value = val
|
|
v.isSet = true
|
|
}
|
|
|
|
func (v NullableTrustClauseCoverage) IsSet() bool {
|
|
return v.isSet
|
|
}
|
|
|
|
func (v *NullableTrustClauseCoverage) Unset() {
|
|
v.value = nil
|
|
v.isSet = false
|
|
}
|
|
|
|
func NewNullableTrustClauseCoverage(val *TrustClauseCoverage) *NullableTrustClauseCoverage {
|
|
return &NullableTrustClauseCoverage{value: val, isSet: true}
|
|
}
|
|
|
|
func (v NullableTrustClauseCoverage) MarshalJSON() ([]byte, error) {
|
|
return json.Marshal(v.value)
|
|
}
|
|
|
|
func (v *NullableTrustClauseCoverage) UnmarshalJSON(src []byte) error {
|
|
v.isSet = true
|
|
return json.Unmarshal(src, &v.value)
|
|
}
|