scalebase

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() provider.Provider

func NewCatalogItemDataSource

func NewCatalogItemDataSource() datasource.DataSource

func NewContractDataSource

func NewContractDataSource() datasource.DataSource

func NewCustomFieldMasterDataSource

func NewCustomFieldMasterDataSource() datasource.DataSource

func NewCustomerDataSource

func NewCustomerDataSource() datasource.DataSource

func NewCustomerResource

func NewCustomerResource() resource.Resource

func NewCustomerStaffResource

func NewCustomerStaffResource() resource.Resource

func NewProductDataSource

func NewProductDataSource() datasource.DataSource

func NewResourceResource

func NewResourceResource() resource.Resource

Types

type CatalogItemModel

type CatalogItemModel struct {
	ID types.String `tfsdk:"id"`

	OptionalID types.String `tfsdk:"optional_id"`
	Name       types.String `tfsdk:"name"`
	ProductID  types.String `tfsdk:"product_id"`
	Status     types.String `tfsdk:"status"`
}

type ContractModel

type ContractModel struct {
	OptionalID types.String `tfsdk:"optional_id"`

	ID types.String `tfsdk:"id"`
}

type CustomField

type CustomField struct {
	ID types.String `tfsdk:"id"`

	String types.String `tfsdk:"string"`
	Select types.String `tfsdk:"select"`
	Date   types.String `tfsdk:"date"`
}

type CustomFieldMasterModel

type CustomFieldMasterModel struct {
	Name      types.String `tfsdk:"name"`
	FieldType types.String `tfsdk:"field_type"`

	ID       types.String `tfsdk:"id"`
	DataType types.String `tfsdk:"data_type"`
}

type CustomerModel

type CustomerModel struct {
	OptionalID types.String `tfsdk:"optional_id"`

	ID   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
}

type CustomerStaffAddress

type CustomerStaffAddress struct {
	ZipCode      types.String `tfsdk:"zip_code"`
	Country      types.String `tfsdk:"country"`
	Prefecture   types.String `tfsdk:"prefecture"`
	City         types.String `tfsdk:"city"`
	AddressLines types.List   `tfsdk:"address_lines"`
}

type CustomerStaffModel

type CustomerStaffModel struct {
	CustomerID types.String `tfsdk:"customer_id"`
	OptionalID types.String `tfsdk:"optional_id"`

	ID           types.String          `tfsdk:"id"`
	Name         *CustomerStaffName    `tfsdk:"name"`
	EmailAddress types.String          `tfsdk:"email_address"`
	PhoneNumber  types.String          `tfsdk:"phone_number"`
	Department   types.String          `tfsdk:"department"`
	Title        types.String          `tfsdk:"title"`
	Address      *CustomerStaffAddress `tfsdk:"address"`
}

type CustomerStaffName

type CustomerStaffName struct {
	FirstName types.String `tfsdk:"first_name"`
	LastName  types.String `tfsdk:"last_name"`
}

type ProductModel

type ProductModel struct {
	OptionalID types.String `tfsdk:"optional_id"`

	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
}

type ResourceModel

type ResourceModel struct {
	SRN SRN `tfsdk:"srn"`

	CustomFields []*CustomField `tfsdk:"custom_fields"`
}

type SRN

type SRN struct {
	ID   types.String `tfsdk:"id"`
	Type types.String `tfsdk:"type"`
}

func (*SRN) String

func (r *SRN) String() string

Jump to

Keyboard shortcuts

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