github.com/ravendb/ravendb-go-client@v0.0.0-20240229102137-4474ee7aa0fa/subscription_creation_options.go (about)

     1  package ravendb
     2  
     3  // SubscriptionCreationOptions describes options for creating a subscription
     4  type SubscriptionCreationOptions struct {
     5  	// must omitempty Name or else the server will try to find a subscription
     6  	// with empty name
     7  	Name         string  `json:"Name,omitempty"`
     8  	Query        string  `json:"Query"`
     9  	ChangeVector *string `json:"ChangeVector"`
    10  	MentorNode   string  `json:"MentorNode,omitempty"`
    11  }