/
model_ezsignsignature_get_object_v1_response_all_of.go
110 lines (87 loc) · 3.45 KB
/
model_ezsignsignature_get_object_v1_response_all_of.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/*
eZmax API Definition
This API expose all the functionnalities for the eZmax and eZsign applications.
API version: 1.1.3
Contact: support-api@ezmax.ca
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package eZmaxApi
import (
"encoding/json"
)
// EzsignsignatureGetObjectV1ResponseAllOf struct for EzsignsignatureGetObjectV1ResponseAllOf
type EzsignsignatureGetObjectV1ResponseAllOf struct {
// Payload for the /1/object/ezsignsignature/getObject API Request
MPayload map[string]interface{} `json:"mPayload"`
}
// NewEzsignsignatureGetObjectV1ResponseAllOf instantiates a new EzsignsignatureGetObjectV1ResponseAllOf 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 NewEzsignsignatureGetObjectV1ResponseAllOf(mPayload map[string]interface{}) *EzsignsignatureGetObjectV1ResponseAllOf {
this := EzsignsignatureGetObjectV1ResponseAllOf{}
this.MPayload = mPayload
return &this
}
// NewEzsignsignatureGetObjectV1ResponseAllOfWithDefaults instantiates a new EzsignsignatureGetObjectV1ResponseAllOf 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 NewEzsignsignatureGetObjectV1ResponseAllOfWithDefaults() *EzsignsignatureGetObjectV1ResponseAllOf {
this := EzsignsignatureGetObjectV1ResponseAllOf{}
return &this
}
// GetMPayload returns the MPayload field value
func (o *EzsignsignatureGetObjectV1ResponseAllOf) GetMPayload() map[string]interface{} {
if o == nil {
var ret map[string]interface{}
return ret
}
return o.MPayload
}
// GetMPayloadOk returns a tuple with the MPayload field value
// and a boolean to check if the value has been set.
func (o *EzsignsignatureGetObjectV1ResponseAllOf) GetMPayloadOk() (*map[string]interface{}, bool) {
if o == nil {
return nil, false
}
return &o.MPayload, true
}
// SetMPayload sets field value
func (o *EzsignsignatureGetObjectV1ResponseAllOf) SetMPayload(v map[string]interface{}) {
o.MPayload = v
}
func (o EzsignsignatureGetObjectV1ResponseAllOf) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if true {
toSerialize["mPayload"] = o.MPayload
}
return json.Marshal(toSerialize)
}
type NullableEzsignsignatureGetObjectV1ResponseAllOf struct {
value *EzsignsignatureGetObjectV1ResponseAllOf
isSet bool
}
func (v NullableEzsignsignatureGetObjectV1ResponseAllOf) Get() *EzsignsignatureGetObjectV1ResponseAllOf {
return v.value
}
func (v *NullableEzsignsignatureGetObjectV1ResponseAllOf) Set(val *EzsignsignatureGetObjectV1ResponseAllOf) {
v.value = val
v.isSet = true
}
func (v NullableEzsignsignatureGetObjectV1ResponseAllOf) IsSet() bool {
return v.isSet
}
func (v *NullableEzsignsignatureGetObjectV1ResponseAllOf) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableEzsignsignatureGetObjectV1ResponseAllOf(val *EzsignsignatureGetObjectV1ResponseAllOf) *NullableEzsignsignatureGetObjectV1ResponseAllOf {
return &NullableEzsignsignatureGetObjectV1ResponseAllOf{value: val, isSet: true}
}
func (v NullableEzsignsignatureGetObjectV1ResponseAllOf) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableEzsignsignatureGetObjectV1ResponseAllOf) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}