Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyModel ¶
type KeyModel struct { Actions types.List `tfsdk:"actions"` Collections types.List `tfsdk:"collections"` Description types.String `tfsdk:"description"` ExpiresAt types.Int64 `tfsdk:"expires_at"` Id types.Int64 `tfsdk:"id"` Value types.String `tfsdk:"value"` ValuePrefix types.String `tfsdk:"value_prefix"` }
func (*KeyModel) ReadFromResponse ¶
func (model *KeyModel) ReadFromResponse(ctx context.Context, apiKey *typesense_api.ApiKey) diag.Diagnostics
func (*KeyModel) ToAPIKeySchema ¶
func (model *KeyModel) ToAPIKeySchema(ctx context.Context) (typesense_api.ApiKeySchema, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.