Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
convert json to tfsdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiggi33 committed Jul 31, 2024
1 parent ee197dd commit 438d555
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions internal/provider/node_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ type nodeResource struct {
// nodeResourceModel maps the resource schema data.
type nodeResourceModel struct {
ID types.Int32 `tfsdk:"id"`
Name types.String `json:"name"`
Description types.String `json:"description"`
Public types.Bool `json:"public"`
BehindProxy types.Bool `json:"behind_proxy"`
MaintenanceMode types.Bool `json:"maintenance_mode"`
LocationID types.Int32 `json:"location_id"`
FQDN types.String `json:"fqdn"`
Scheme types.String `json:"scheme"`
Memory types.Int32 `json:"memory"`
MemoryOverallocate types.Int32 `json:"memory_overallocate"`
Disk types.Int32 `json:"disk"`
DiskOverallocate types.Int32 `json:"disk_overallocate"`
UploadSize types.Int32 `json:"upload_size"`
DaemonSFTP types.Int32 `json:"daemon_sftp"`
DaemonListen types.Int32 `json:"daemon_listen"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
Public types.Bool `tfsdk:"public"`
BehindProxy types.Bool `tfsdk:"behind_proxy"`
MaintenanceMode types.Bool `tfsdk:"maintenance_mode"`
LocationID types.Int32 `tfsdk:"location_id"`
FQDN types.String `tfsdk:"fqdn"`
Scheme types.String `tfsdk:"scheme"`
Memory types.Int32 `tfsdk:"memory"`
MemoryOverallocate types.Int32 `tfsdk:"memory_overallocate"`
Disk types.Int32 `tfsdk:"disk"`
DiskOverallocate types.Int32 `tfsdk:"disk_overallocate"`
UploadSize types.Int32 `tfsdk:"upload_size"`
DaemonSFTP types.Int32 `tfsdk:"daemon_sftp"`
DaemonListen types.Int32 `tfsdk:"daemon_listen"`
CreatedAt types.String `tfsdk:"created_at"`
UpdatedAt types.String `tfsdk:"updated_at"`
}
Expand Down

0 comments on commit 438d555

Please sign in to comment.