forms

package
v3.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Example:

request := &management.CreateFormRequestContent{
    Name: "name",
}
client.Forms.Create(
    context.TODO(),
    request,
)

func (*Client) Delete

func (c *Client) Delete(
	ctx context.Context,

	id string,
	opts ...option.RequestOption,
) error

Example:

client.Forms.Delete(
    context.TODO(),
    "id",
)

func (*Client) Get

Example:

request := &management.GetFormRequestParameters{
    Hydrate: []*management.FormsRequestParametersHydrateEnum{
        management.FormsRequestParametersHydrateEnumFlowCount.Ptr(),
    },
}
client.Forms.Get(
    context.TODO(),
    "id",
    request,
)

func (*Client) List

Example:

request := &management.ListFormsRequestParameters{
    Page: management.Int(
        1,
    ),
    PerPage: management.Int(
        1,
    ),
    IncludeTotals: management.Bool(
        true,
    ),
    Hydrate: []*management.FormsRequestParametersHydrateEnum{
        management.FormsRequestParametersHydrateEnumFlowCount.Ptr(),
    },
}
client.Forms.List(
    context.TODO(),
    request,
)

func (*Client) Update

Example:

request := &management.UpdateFormRequestContent{}
client.Forms.Update(
    context.TODO(),
    "id",
    request,
)

type RawClient

type RawClient struct {
	// contains filtered or unexported fields
}

func NewRawClient

func NewRawClient(options *core.RequestOptions) *RawClient

func (*RawClient) Delete

func (r *RawClient) Delete(
	ctx context.Context,

	id string,
	opts ...option.RequestOption,
) (*core.Response[any], error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL