func (this ForgeFedAssignedToProperty) GetType() vocab.Type {
	if this.IsActivityStreamsPerson() {
		return this.Get()
	}
	return nil
}
GetType returns the value in this property as a Type. Returns nil if the value
is not an ActivityStreams type, such as an IRI or another value.
package propertyassignedto
import (
	"fmt"
	vocab "github.com/go-fed/activity/streams/vocab"
	"net/url"
)
type ForgeFedAssignedToProperty struct {
	activitystreamsPersonMember vocab.ActivityStreamsPerson
	unknown                     interface{}
	iri                         *url.URL
	alias                       string
}
func DeserializeAssignedToProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedAssignedToProperty, error) {
	alias := ""
	if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok {
		alias = a
	}
	propName := "assignedTo"
	if len(alias) > 0 {
		propName = fmt.Sprintf("%s:%s", alias, "assignedTo")
	}
	i, ok := m[propName]
	if ok {
		if s, ok := i.(string); ok {
			u, err := url.Parse(s)
			if err == nil && len(u.Scheme) > 0 {
				this := &ForgeFedAssignedToProperty{
					alias: alias,
					iri:   u,
				}
				return this, nil
			}
		}
		if m, ok := i.(map[string]interface{}); ok {
			if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil {
				this := &ForgeFedAssignedToProperty{
					activitystreamsPersonMember: v,
					alias:                       alias,
				}
				return this, nil
			}
		}
		this := &ForgeFedAssignedToProperty{
			alias:   alias,
			unknown: i,
		}
		return this, nil
	}
	return nil, nil
}
func NewForgeFedAssignedToProperty() *ForgeFedAssignedToProperty {
	return &ForgeFedAssignedToProperty{alias: ""}
}
func (this *ForgeFedAssignedToProperty) Clear() {
	this.unknown = nil
	this.iri = nil
	this.activitystreamsPersonMember = nil
}
func (this ForgeFedAssignedToProperty) Get() vocab.ActivityStreamsPerson {
	return this.activitystreamsPersonMember
}
func (this ForgeFedAssignedToProperty) GetIRI() *url.URL {
	return this.iri
}