SetProps sets the "props" field.
(tp *types.ShareProps)
| 11952 | |
| 11953 | // SetProps sets the "props" field. |
| 11954 | func (m *ShareMutation) SetProps(tp *types.ShareProps) { |
| 11955 | m.props = &tp |
| 11956 | } |
| 11957 | |
| 11958 | // Props returns the value of the "props" field in the mutation. |
| 11959 | func (m *ShareMutation) Props() (r *types.ShareProps, exists bool) { |