Setter for additional properties for Person
(fieldName string, value interface{})
| 27 | |
| 28 | // Setter for additional properties for Person |
| 29 | func (a *Person) Set(fieldName string, value interface{}) { |
| 30 | if a.AdditionalProperties == nil { |
| 31 | a.AdditionalProperties = make(map[string]interface{}) |
| 32 | } |
| 33 | a.AdditionalProperties[fieldName] = value |
| 34 | } |
| 35 | |
| 36 | // Override default JSON handling for Person to handle AdditionalProperties |
| 37 | func (a *Person) UnmarshalJSON(b []byte) error { |
no outgoing calls