Getter for additional properties for Person. Returns the specified element and whether it was found
(fieldName string)
| 19 | // Getter for additional properties for Person. Returns the specified |
| 20 | // element and whether it was found |
| 21 | func (a Person) Get(fieldName string) (value interface{}, found bool) { |
| 22 | if a.AdditionalProperties != nil { |
| 23 | value, found = a.AdditionalProperties[fieldName] |
| 24 | } |
| 25 | return |
| 26 | } |
| 27 | |
| 28 | // Setter for additional properties for Person |
| 29 | func (a *Person) Set(fieldName string, value interface{}) { |
no outgoing calls