webapiasset

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWebAPIAssetInputFromResourceData

func CreateWebAPIAssetInputFromResourceData(d *schema.ResourceData) (models.CreateWebAPIAssetInput, error)

func DeleteWebAPIAsset

func DeleteWebAPIAsset(ctx context.Context, c *api.Client, id string) (bool, error)

func GetWebAPIAsset

func GetWebAPIAsset(ctx context.Context, c *api.Client, id string) (models.WebAPIAsset, error)

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 retruns the newly created asset

func ReadWebAPIAssetToResourceData

func ReadWebAPIAssetToResourceData(asset models.WebAPIAsset, d *schema.ResourceData) error

func UpdateWebAPIAsset

func UpdateWebAPIAsset(ctx context.Context, c *api.Client, id any, input models.UpdateWebAPIAssetInput) (bool, error)

func UpdateWebAPIAssetInputFromResourceData

func UpdateWebAPIAssetInputFromResourceData(d *schema.ResourceData) (models.UpdateWebAPIAssetInput, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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