// Field returns the value of a field with the given name. The second boolean
// return value indicates that this field was not set, or was not defined in the
// schema.
Field returns the value of a field with the given name. The second boolean
return value indicates that this field was not set, or was not defined in the
schema.
// Field returns the value of a field with the given name . The second boolean // return value indicates that this field was not set or was not defined in the // schema .
func (m *APIAuditMutation) Field(name string) (ent.Value, bool) {
	switch name {
	case apiaudit.FieldCreatedAt:
		return m.CreatedAt()
	case apiaudit.FieldUpdatedAt:
		return m.UpdatedAt()
	case apiaudit.FieldDeletedAt:
		return m.DeletedAt()
	case apiaudit.FieldPlane:
		return m.Plane()
	case apiaudit.FieldHashedGrantToken:
		return m.HashedGrantToken()
	case apiaudit.FieldDomain:
		return m.Domain()
	case apiaudit.FieldHTTPPath:
		return m.HTTPPath()
	case apiaudit.FieldHTTPMethod:
		return m.HTTPMethod()
	case apiaudit.FieldSentHTTPStatus:
		return m.SentHTTPStatus()
	}
	return nil, false
}
func ( m * APIAuditMutation ) Field ( name string ) ( ent . Value , bool ) { switch name { case apiaudit . FieldCreatedAt : return m . CreatedAt ( ) case apiaudit . FieldUpdatedAt : return m . UpdatedAt ( ) case apiaudit . FieldDeletedAt : return m . DeletedAt ( ) case apiaudit . FieldPlane : return m . Plane ( ) case apiaudit . FieldHashedGrantToken : return m . HashedGrantToken ( ) case apiaudit . FieldDomain : return m . Domain ( ) case apiaudit . FieldHTTPPath : return m . HTTPPath ( ) case apiaudit . FieldHTTPMethod : return m . HTTPMethod ( ) case apiaudit . FieldSentHTTPStatus : return m . SentHTTPStatus ( ) } return nil , false }
Field returns the value of a field with the given name.
Field returns the value of a field with the given name .