Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, id string, opts ...option.RequestOption) (*management.CreateActionModuleVersionResponseContent, error)
- func (c *Client) Get(ctx context.Context, id string, versionID string, opts ...option.RequestOption) (*management.GetActionModuleVersionResponseContent, error)
- func (c *Client) List(ctx context.Context, id string, opts ...option.RequestOption) (*management.GetActionModuleVersionsResponseContent, error)
- type RawClient
- func (r *RawClient) Create(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[*management.CreateActionModuleVersionResponseContent], error)
- func (r *RawClient) Get(ctx context.Context, id string, versionID string, opts ...option.RequestOption) (*core.Response[*management.GetActionModuleVersionResponseContent], error)
- func (r *RawClient) List(ctx context.Context, id string, opts ...option.RequestOption) (*core.Response[*management.GetActionModuleVersionsResponseContent], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WithRawResponse *RawClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *core.RequestOptions) *Client
func (*Client) Create ¶
func (c *Client) Create( ctx context.Context, id string, opts ...option.RequestOption, ) (*management.CreateActionModuleVersionResponseContent, error)
Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development.
func (*Client) Get ¶
func (c *Client) Get( ctx context.Context, id string, versionID string, opts ...option.RequestOption, ) (*management.GetActionModuleVersionResponseContent, error)
Retrieve the details of a specific, immutable version of an Actions Module.
func (*Client) List ¶
func (c *Client) List( ctx context.Context, id string, opts ...option.RequestOption, ) (*management.GetActionModuleVersionsResponseContent, error)
List all published versions of a specific Actions Module.
type RawClient ¶
type RawClient struct {
// contains filtered or unexported fields
}
func NewRawClient ¶
func NewRawClient(options *core.RequestOptions) *RawClient
func (*RawClient) Create ¶
func (r *RawClient) Create( ctx context.Context, id string, opts ...option.RequestOption, ) (*core.Response[*management.CreateActionModuleVersionResponseContent], error)
func (*RawClient) Get ¶
func (r *RawClient) Get( ctx context.Context, id string, versionID string, opts ...option.RequestOption, ) (*core.Response[*management.GetActionModuleVersionResponseContent], error)
func (*RawClient) List ¶
func (r *RawClient) List( ctx context.Context, id string, opts ...option.RequestOption, ) (*core.Response[*management.GetActionModuleVersionsResponseContent], error)
Click to show internal directories.
Click to hide internal directories.