Password returns the value of the "password" field in the mutation.
()
| 9086 | |
| 9087 | // Password returns the value of the "password" field in the mutation. |
| 9088 | func (m *MachineMutation) Password() (r string, exists bool) { |
| 9089 | v := m.password |
| 9090 | if v == nil { |
| 9091 | return |
| 9092 | } |
| 9093 | return *v, true |
| 9094 | } |
| 9095 | |
| 9096 | // OldPassword returns the old "password" field's value of the Machine entity. |
| 9097 | // If the Machine object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls