Documentation ¶
Index ¶
- func CreateWebAPIAssetInputFromResourceData(d *schema.ResourceData) (models.CreateWebAPIAssetInput, error)
- func DeleteWebAPIAsset(ctx context.Context, c *api.Client, id string) (bool, error)
- func GetWebAPIAsset(ctx context.Context, c *api.Client, id string) (models.WebAPIAsset, error)
- func NewWebAPIAsset(ctx context.Context, c *api.Client, input models.CreateWebAPIAssetInput) (models.WebAPIAsset, error)
- func ReadWebAPIAssetToResourceData(asset models.WebAPIAsset, d *schema.ResourceData) error
- func UpdateWebAPIAsset(ctx context.Context, c *api.Client, id any, ...) (bool, error)
- func UpdateWebAPIAssetInputFromResourceData(d *schema.ResourceData) (models.UpdateWebAPIAssetInput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWebAPIAssetInputFromResourceData ¶
func CreateWebAPIAssetInputFromResourceData(d *schema.ResourceData) (models.CreateWebAPIAssetInput, error)
func DeleteWebAPIAsset ¶
func GetWebAPIAsset ¶
func NewWebAPIAsset ¶
func NewWebAPIAsset(ctx context.Context, c *api.Client, input models.CreateWebAPIAssetInput) (models.WebAPIAsset, error)
NewWebAPIAsset sends a request to create the WebAPIAsset and returns the newly created asset
func ReadWebAPIAssetToResourceData ¶
func ReadWebAPIAssetToResourceData(asset models.WebAPIAsset, d *schema.ResourceData) error
func UpdateWebAPIAsset ¶
func UpdateWebAPIAssetInputFromResourceData ¶
func UpdateWebAPIAssetInputFromResourceData(d *schema.ResourceData) (models.UpdateWebAPIAssetInput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.