Documentation
¶
Index ¶
- type Client
- func (c Client) Create(ctx context.Context, data []byte, ro rest.RequestOptions) (*http.Response, error)
- func (c Client) Delete(ctx context.Context, id string, ro rest.RequestOptions) (*http.Response, error)
- func (c Client) Get(ctx context.Context, id string, ro rest.RequestOptions) (*http.Response, error)
- func (c Client) List(ctx context.Context, ro rest.RequestOptions) (*http.Response, error)
- func (c Client) Update(ctx context.Context, id string, data []byte, ro rest.RequestOptions) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) Get ¶
Get segment with UID. If the field 'add-fields' in rest.RequestOptions.QueryParams is not specified, it will be set to "INCLUDES", "VARIABLES", "EXTERNALID", "RESOURCECONTEXT".
func (Client) List ¶
List gets the list of the existing segments. It uses the ":lean" endpoint to get the minimum necessary data set. If the field 'add-fields' in rest.RequestOptions.QueryParams is not specified, it will be set to "EXTERNALID".
Click to show internal directories.
Click to hide internal directories.