// NewService returns a new 'Service' actor type.
NewService returns a new 'Service' actor type.
// NewService returns a new ' Service ' actor type .
func NewService(id *url.URL, opts ...Opt) *ActorType {
	options := NewOptions(opts...)
	return &ActorType{
		ObjectType: NewObject(
			WithContext(getContexts(options, ContextActivityStreams, ContextSecurity, ContextActivityAnchors)...),
			WithID(id),
			WithType(TypeService),
		),
		actor: &actorType{
			PublicKey:  options.PublicKey,
			Inbox:      NewURLProperty(options.Inbox),
			Outbox:     NewURLProperty(options.Outbox),
			Followers:  NewURLProperty(options.Followers),
			Following:  NewURLProperty(options.Following),
			Witnesses:  NewURLProperty(options.Witnesses),
			Witnessing: NewURLProperty(options.Witnessing),
			Liked:      NewURLProperty(options.Liked),
			Likes:      NewURLProperty(options.Likes),
			Shares:     NewURLProperty(options.Shares),
		},
	}
}
func NewService ( id * url . URL , opts ... Opt ) * ActorType { options := NewOptions ( opts ... ) return & ActorType { ObjectType : NewObject ( WithContext ( getContexts ( options , ContextActivityStreams , ContextSecurity , ContextActivityAnchors ) ... ) , WithID ( id ) , WithType ( TypeService ) , ) , actor : & actorType { PublicKey : options . PublicKey , Inbox : NewURLProperty ( options . Inbox ) , Outbox : NewURLProperty ( options . Outbox ) , Followers : NewURLProperty ( options . Followers ) , Following : NewURLProperty ( options . Following ) , Witnesses : NewURLProperty ( options . Witnesses ) , Witnessing : NewURLProperty ( options . Witnessing ) , Liked : NewURLProperty ( options . Liked ) , Likes : NewURLProperty ( options . Likes ) , Shares : NewURLProperty ( options . Shares ) , } , } }
NewService returns a new 'Service' actor type.
NewService returns a new ' Service ' actor type .