property_interfaces.go (3902B)
1 package pub 2 3 import ( 4 "net/url" 5 6 "github.com/superseriousbusiness/activity/streams/vocab" 7 ) 8 9 // inReplyToer is an ActivityStreams type with an 'inReplyTo' property 10 type inReplyToer interface { 11 GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty 12 } 13 14 // objecter is an ActivityStreams type with an 'object' property 15 type objecter interface { 16 GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty 17 } 18 19 // targeter is an ActivityStreams type with a 'target' property 20 type targeter interface { 21 GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty 22 } 23 24 // tagger is an ActivityStreams type with a 'tag' property 25 type tagger interface { 26 GetActivityStreamsTag() vocab.ActivityStreamsTagProperty 27 } 28 29 // hrefer is an ActivityStreams type with a 'href' property 30 type hrefer interface { 31 GetActivityStreamsHref() vocab.ActivityStreamsHrefProperty 32 } 33 34 // itemser is an ActivityStreams type with an 'items' property 35 type itemser interface { 36 GetActivityStreamsItems() vocab.ActivityStreamsItemsProperty 37 SetActivityStreamsItems(vocab.ActivityStreamsItemsProperty) 38 } 39 40 // orderedItemser is an ActivityStreams type with an 'orderedItems' property 41 type orderedItemser interface { 42 GetActivityStreamsOrderedItems() vocab.ActivityStreamsOrderedItemsProperty 43 SetActivityStreamsOrderedItems(vocab.ActivityStreamsOrderedItemsProperty) 44 } 45 46 // publisheder is an ActivityStreams type with a 'published' property 47 type publisheder interface { 48 GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty 49 } 50 51 // updateder is an ActivityStreams type with an 'updateder' property 52 type updateder interface { 53 GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty 54 } 55 56 // toer is an ActivityStreams type with a 'to' property 57 type toer interface { 58 GetActivityStreamsTo() vocab.ActivityStreamsToProperty 59 SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) 60 } 61 62 // btoer is an ActivityStreams type with a 'bto' property 63 type btoer interface { 64 GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty 65 SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) 66 } 67 68 // ccer is an ActivityStreams type with a 'cc' property 69 type ccer interface { 70 GetActivityStreamsCc() vocab.ActivityStreamsCcProperty 71 SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) 72 } 73 74 // bccer is an ActivityStreams type with a 'bcc' property 75 type bccer interface { 76 GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty 77 SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) 78 } 79 80 // audiencer is an ActivityStreams type with an 'audience' property 81 type audiencer interface { 82 GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty 83 SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) 84 } 85 86 // inboxer is an ActivityStreams type with an 'inbox' property 87 type inboxer interface { 88 GetActivityStreamsInbox() vocab.ActivityStreamsInboxProperty 89 } 90 91 // attributedToer is an ActivityStreams type with an 'attributedTo' property 92 type attributedToer interface { 93 GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty 94 SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) 95 } 96 97 // likeser is an ActivityStreams type with a 'likes' property 98 type likeser interface { 99 GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty 100 SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) 101 } 102 103 // shareser is an ActivityStreams type with a 'shares' property 104 type shareser interface { 105 GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty 106 SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) 107 } 108 109 // actorer is an ActivityStreams type with an 'actor' property 110 type actorer interface { 111 GetActivityStreamsActor() vocab.ActivityStreamsActorProperty 112 SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) 113 } 114 115 // appendIRIer is an ActivityStreams type that can Append IRIs. 116 type appendIRIer interface { 117 AppendIRI(v *url.URL) 118 }