Documentation
¶
Index ¶
- type Contact
- type ContactAttributes
- func (c ContactAttributes) CompanyName() terra.StringValue
- func (c ContactAttributes) Emails() terra.SetValue[terra.StringValue]
- func (c ContactAttributes) InternalRef() (terra.Reference, error)
- func (c ContactAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ContactAttributes) InternalWithRef(ref terra.Reference) ContactAttributes
- func (c ContactAttributes) Name() terra.StringValue
- func (c ContactAttributes) PhoneNumber() terra.StringValue
- type ContactState
- type ReturnTracking
- type ReturnTrackingAttributes
- func (rt ReturnTrackingAttributes) CarrierName() terra.StringValue
- func (rt ReturnTrackingAttributes) InternalRef() (terra.Reference, error)
- func (rt ReturnTrackingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rt ReturnTrackingAttributes) InternalWithRef(ref terra.Reference) ReturnTrackingAttributes
- func (rt ReturnTrackingAttributes) SerialNumber() terra.StringValue
- func (rt ReturnTrackingAttributes) TrackingId() terra.StringValue
- func (rt ReturnTrackingAttributes) TrackingUrl() terra.StringValue
- type ReturnTrackingState
- type ShipmentAddress
- type ShipmentAddressAttributes
- func (sa ShipmentAddressAttributes) Address() terra.ListValue[terra.StringValue]
- func (sa ShipmentAddressAttributes) City() terra.StringValue
- func (sa ShipmentAddressAttributes) Country() terra.StringValue
- func (sa ShipmentAddressAttributes) InternalRef() (terra.Reference, error)
- func (sa ShipmentAddressAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa ShipmentAddressAttributes) InternalWithRef(ref terra.Reference) ShipmentAddressAttributes
- func (sa ShipmentAddressAttributes) PostalCode() terra.StringValue
- func (sa ShipmentAddressAttributes) State() terra.StringValue
- type ShipmentAddressState
- type ShipmentHistory
- type ShipmentHistoryAttributes
- func (sh ShipmentHistoryAttributes) AdditionalDetails() terra.MapValue[terra.StringValue]
- func (sh ShipmentHistoryAttributes) Comments() terra.StringValue
- func (sh ShipmentHistoryAttributes) InternalRef() (terra.Reference, error)
- func (sh ShipmentHistoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sh ShipmentHistoryAttributes) InternalWithRef(ref terra.Reference) ShipmentHistoryAttributes
- func (sh ShipmentHistoryAttributes) LastUpdate() terra.StringValue
- type ShipmentHistoryState
- type ShipmentTracking
- type ShipmentTrackingAttributes
- func (st ShipmentTrackingAttributes) CarrierName() terra.StringValue
- func (st ShipmentTrackingAttributes) InternalRef() (terra.Reference, error)
- func (st ShipmentTrackingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st ShipmentTrackingAttributes) InternalWithRef(ref terra.Reference) ShipmentTrackingAttributes
- func (st ShipmentTrackingAttributes) SerialNumber() terra.StringValue
- func (st ShipmentTrackingAttributes) TrackingId() terra.StringValue
- func (st ShipmentTrackingAttributes) TrackingUrl() terra.StringValue
- type ShipmentTrackingState
- type Status
- type StatusAttributes
- func (s StatusAttributes) AdditionalDetails() terra.MapValue[terra.StringValue]
- func (s StatusAttributes) Comments() terra.StringValue
- func (s StatusAttributes) Info() terra.StringValue
- func (s StatusAttributes) InternalRef() (terra.Reference, error)
- func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
- func (s StatusAttributes) LastUpdate() terra.StringValue
- type StatusState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct { // CompanyName: string, required CompanyName terra.StringValue `hcl:"company_name,attr" validate:"required"` // Emails: set of string, required Emails terra.SetValue[terra.StringValue] `hcl:"emails,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PhoneNumber: string, required PhoneNumber terra.StringValue `hcl:"phone_number,attr" validate:"required"` }
type ContactAttributes ¶
type ContactAttributes struct {
// contains filtered or unexported fields
}
func (ContactAttributes) CompanyName ¶
func (c ContactAttributes) CompanyName() terra.StringValue
func (ContactAttributes) Emails ¶
func (c ContactAttributes) Emails() terra.SetValue[terra.StringValue]
func (ContactAttributes) InternalRef ¶
func (c ContactAttributes) InternalRef() (terra.Reference, error)
func (ContactAttributes) InternalTokens ¶
func (c ContactAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContactAttributes) InternalWithRef ¶
func (c ContactAttributes) InternalWithRef(ref terra.Reference) ContactAttributes
func (ContactAttributes) Name ¶
func (c ContactAttributes) Name() terra.StringValue
func (ContactAttributes) PhoneNumber ¶
func (c ContactAttributes) PhoneNumber() terra.StringValue
type ContactState ¶
type ReturnTracking ¶
type ReturnTracking struct{}
type ReturnTrackingAttributes ¶
type ReturnTrackingAttributes struct {
// contains filtered or unexported fields
}
func (ReturnTrackingAttributes) CarrierName ¶
func (rt ReturnTrackingAttributes) CarrierName() terra.StringValue
func (ReturnTrackingAttributes) InternalRef ¶
func (rt ReturnTrackingAttributes) InternalRef() (terra.Reference, error)
func (ReturnTrackingAttributes) InternalTokens ¶
func (rt ReturnTrackingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReturnTrackingAttributes) InternalWithRef ¶
func (rt ReturnTrackingAttributes) InternalWithRef(ref terra.Reference) ReturnTrackingAttributes
func (ReturnTrackingAttributes) SerialNumber ¶
func (rt ReturnTrackingAttributes) SerialNumber() terra.StringValue
func (ReturnTrackingAttributes) TrackingId ¶
func (rt ReturnTrackingAttributes) TrackingId() terra.StringValue
func (ReturnTrackingAttributes) TrackingUrl ¶
func (rt ReturnTrackingAttributes) TrackingUrl() terra.StringValue
type ReturnTrackingState ¶
type ShipmentAddress ¶
type ShipmentAddress struct { // Address: list of string, required Address terra.ListValue[terra.StringValue] `hcl:"address,attr" validate:"required"` // City: string, required City terra.StringValue `hcl:"city,attr" validate:"required"` // Country: string, required Country terra.StringValue `hcl:"country,attr" validate:"required"` // PostalCode: string, required PostalCode terra.StringValue `hcl:"postal_code,attr" validate:"required"` // State: string, required State terra.StringValue `hcl:"state,attr" validate:"required"` }
type ShipmentAddressAttributes ¶
type ShipmentAddressAttributes struct {
// contains filtered or unexported fields
}
func (ShipmentAddressAttributes) Address ¶
func (sa ShipmentAddressAttributes) Address() terra.ListValue[terra.StringValue]
func (ShipmentAddressAttributes) City ¶
func (sa ShipmentAddressAttributes) City() terra.StringValue
func (ShipmentAddressAttributes) Country ¶
func (sa ShipmentAddressAttributes) Country() terra.StringValue
func (ShipmentAddressAttributes) InternalRef ¶
func (sa ShipmentAddressAttributes) InternalRef() (terra.Reference, error)
func (ShipmentAddressAttributes) InternalTokens ¶
func (sa ShipmentAddressAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShipmentAddressAttributes) InternalWithRef ¶
func (sa ShipmentAddressAttributes) InternalWithRef(ref terra.Reference) ShipmentAddressAttributes
func (ShipmentAddressAttributes) PostalCode ¶
func (sa ShipmentAddressAttributes) PostalCode() terra.StringValue
func (ShipmentAddressAttributes) State ¶
func (sa ShipmentAddressAttributes) State() terra.StringValue
type ShipmentAddressState ¶
type ShipmentHistory ¶
type ShipmentHistory struct{}
type ShipmentHistoryAttributes ¶
type ShipmentHistoryAttributes struct {
// contains filtered or unexported fields
}
func (ShipmentHistoryAttributes) AdditionalDetails ¶
func (sh ShipmentHistoryAttributes) AdditionalDetails() terra.MapValue[terra.StringValue]
func (ShipmentHistoryAttributes) Comments ¶
func (sh ShipmentHistoryAttributes) Comments() terra.StringValue
func (ShipmentHistoryAttributes) InternalRef ¶
func (sh ShipmentHistoryAttributes) InternalRef() (terra.Reference, error)
func (ShipmentHistoryAttributes) InternalTokens ¶
func (sh ShipmentHistoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShipmentHistoryAttributes) InternalWithRef ¶
func (sh ShipmentHistoryAttributes) InternalWithRef(ref terra.Reference) ShipmentHistoryAttributes
func (ShipmentHistoryAttributes) LastUpdate ¶
func (sh ShipmentHistoryAttributes) LastUpdate() terra.StringValue
type ShipmentHistoryState ¶
type ShipmentTracking ¶
type ShipmentTracking struct{}
type ShipmentTrackingAttributes ¶
type ShipmentTrackingAttributes struct {
// contains filtered or unexported fields
}
func (ShipmentTrackingAttributes) CarrierName ¶
func (st ShipmentTrackingAttributes) CarrierName() terra.StringValue
func (ShipmentTrackingAttributes) InternalRef ¶
func (st ShipmentTrackingAttributes) InternalRef() (terra.Reference, error)
func (ShipmentTrackingAttributes) InternalTokens ¶
func (st ShipmentTrackingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShipmentTrackingAttributes) InternalWithRef ¶
func (st ShipmentTrackingAttributes) InternalWithRef(ref terra.Reference) ShipmentTrackingAttributes
func (ShipmentTrackingAttributes) SerialNumber ¶
func (st ShipmentTrackingAttributes) SerialNumber() terra.StringValue
func (ShipmentTrackingAttributes) TrackingId ¶
func (st ShipmentTrackingAttributes) TrackingId() terra.StringValue
func (ShipmentTrackingAttributes) TrackingUrl ¶
func (st ShipmentTrackingAttributes) TrackingUrl() terra.StringValue
type ShipmentTrackingState ¶
type StatusAttributes ¶
type StatusAttributes struct {
// contains filtered or unexported fields
}
func (StatusAttributes) AdditionalDetails ¶
func (s StatusAttributes) AdditionalDetails() terra.MapValue[terra.StringValue]
func (StatusAttributes) Comments ¶
func (s StatusAttributes) Comments() terra.StringValue
func (StatusAttributes) Info ¶
func (s StatusAttributes) Info() terra.StringValue
func (StatusAttributes) InternalRef ¶
func (s StatusAttributes) InternalRef() (terra.Reference, error)
func (StatusAttributes) InternalTokens ¶
func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAttributes) InternalWithRef ¶
func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
func (StatusAttributes) LastUpdate ¶
func (s StatusAttributes) LastUpdate() terra.StringValue
type StatusState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.