Documentation
¶
Index ¶
- func PlansResourceSchema(ctx context.Context) schema.Schema
- type ChargesType
- func (t ChargesType) Equal(o attr.Type) bool
- func (t ChargesType) String() string
- func (t ChargesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ChargesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ChargesType) ValueType(ctx context.Context) attr.Value
- type ChargesValue
- func NewChargesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ChargesValue, diag.Diagnostics)
- func NewChargesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ChargesValue
- func NewChargesValueNull() ChargesValue
- func NewChargesValueUnknown() ChargesValue
- func (v ChargesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ChargesValue) Equal(o attr.Value) bool
- func (v ChargesValue) IsNull() bool
- func (v ChargesValue) IsUnknown() bool
- func (v ChargesValue) String() string
- func (v ChargesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ChargesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ChargesValue) Type(ctx context.Context) attr.Type
- type FiltersType
- func (t FiltersType) Equal(o attr.Type) bool
- func (t FiltersType) String() string
- func (t FiltersType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t FiltersType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t FiltersType) ValueType(ctx context.Context) attr.Value
- type FiltersValue
- func NewFiltersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FiltersValue, diag.Diagnostics)
- func NewFiltersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FiltersValue
- func NewFiltersValueNull() FiltersValue
- func NewFiltersValueUnknown() FiltersValue
- func (v FiltersValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v FiltersValue) Equal(o attr.Value) bool
- func (v FiltersValue) IsNull() bool
- func (v FiltersValue) IsUnknown() bool
- func (v FiltersValue) String() string
- func (v FiltersValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v FiltersValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v FiltersValue) Type(ctx context.Context) attr.Type
- type GraduatedPercentageRangesType
- func (t GraduatedPercentageRangesType) Equal(o attr.Type) bool
- func (t GraduatedPercentageRangesType) String() string
- func (t GraduatedPercentageRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t GraduatedPercentageRangesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t GraduatedPercentageRangesType) ValueType(ctx context.Context) attr.Value
- type GraduatedPercentageRangesValue
- func NewGraduatedPercentageRangesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (GraduatedPercentageRangesValue, diag.Diagnostics)
- func NewGraduatedPercentageRangesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GraduatedPercentageRangesValue
- func NewGraduatedPercentageRangesValueNull() GraduatedPercentageRangesValue
- func NewGraduatedPercentageRangesValueUnknown() GraduatedPercentageRangesValue
- func (v GraduatedPercentageRangesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v GraduatedPercentageRangesValue) Equal(o attr.Value) bool
- func (v GraduatedPercentageRangesValue) IsNull() bool
- func (v GraduatedPercentageRangesValue) IsUnknown() bool
- func (v GraduatedPercentageRangesValue) String() string
- func (v GraduatedPercentageRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v GraduatedPercentageRangesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v GraduatedPercentageRangesValue) Type(ctx context.Context) attr.Type
- type GraduatedRangesType
- func (t GraduatedRangesType) Equal(o attr.Type) bool
- func (t GraduatedRangesType) String() string
- func (t GraduatedRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t GraduatedRangesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t GraduatedRangesType) ValueType(ctx context.Context) attr.Value
- type GraduatedRangesValue
- func NewGraduatedRangesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (GraduatedRangesValue, diag.Diagnostics)
- func NewGraduatedRangesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GraduatedRangesValue
- func NewGraduatedRangesValueNull() GraduatedRangesValue
- func NewGraduatedRangesValueUnknown() GraduatedRangesValue
- func (v GraduatedRangesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v GraduatedRangesValue) Equal(o attr.Value) bool
- func (v GraduatedRangesValue) IsNull() bool
- func (v GraduatedRangesValue) IsUnknown() bool
- func (v GraduatedRangesValue) String() string
- func (v GraduatedRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v GraduatedRangesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v GraduatedRangesValue) Type(ctx context.Context) attr.Type
- type MinimumCommitmentType
- func (t MinimumCommitmentType) Equal(o attr.Type) bool
- func (t MinimumCommitmentType) String() string
- func (t MinimumCommitmentType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t MinimumCommitmentType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t MinimumCommitmentType) ValueType(ctx context.Context) attr.Value
- type MinimumCommitmentValue
- func NewMinimumCommitmentValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MinimumCommitmentValue, diag.Diagnostics)
- func NewMinimumCommitmentValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MinimumCommitmentValue
- func NewMinimumCommitmentValueNull() MinimumCommitmentValue
- func NewMinimumCommitmentValueUnknown() MinimumCommitmentValue
- func (v MinimumCommitmentValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v MinimumCommitmentValue) Equal(o attr.Value) bool
- func (v MinimumCommitmentValue) IsNull() bool
- func (v MinimumCommitmentValue) IsUnknown() bool
- func (v MinimumCommitmentValue) String() string
- func (v MinimumCommitmentValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v MinimumCommitmentValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v MinimumCommitmentValue) Type(ctx context.Context) attr.Type
- type PlanType
- func (t PlanType) Equal(o attr.Type) bool
- func (t PlanType) String() string
- func (t PlanType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PlanType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PlanType) ValueType(ctx context.Context) attr.Value
- type PlanValue
- func (v PlanValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PlanValue) Equal(o attr.Value) bool
- func (v PlanValue) IsNull() bool
- func (v PlanValue) IsUnknown() bool
- func (v PlanValue) String() string
- func (v PlanValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PlanValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PlanValue) Type(ctx context.Context) attr.Type
- type PlansModel
- type PropertiesType
- func (t PropertiesType) Equal(o attr.Type) bool
- func (t PropertiesType) String() string
- func (t PropertiesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PropertiesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PropertiesType) ValueType(ctx context.Context) attr.Value
- type PropertiesValue
- func NewPropertiesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PropertiesValue, diag.Diagnostics)
- func NewPropertiesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PropertiesValue
- func NewPropertiesValueNull() PropertiesValue
- func NewPropertiesValueUnknown() PropertiesValue
- func (v PropertiesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PropertiesValue) Equal(o attr.Value) bool
- func (v PropertiesValue) IsNull() bool
- func (v PropertiesValue) IsUnknown() bool
- func (v PropertiesValue) String() string
- func (v PropertiesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PropertiesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PropertiesValue) Type(ctx context.Context) attr.Type
- type TaxesType
- func (t TaxesType) Equal(o attr.Type) bool
- func (t TaxesType) String() string
- func (t TaxesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t TaxesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TaxesType) ValueType(ctx context.Context) attr.Value
- type TaxesValue
- func NewTaxesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TaxesValue, diag.Diagnostics)
- func NewTaxesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TaxesValue
- func NewTaxesValueNull() TaxesValue
- func NewTaxesValueUnknown() TaxesValue
- func (v TaxesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v TaxesValue) Equal(o attr.Value) bool
- func (v TaxesValue) IsNull() bool
- func (v TaxesValue) IsUnknown() bool
- func (v TaxesValue) String() string
- func (v TaxesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v TaxesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v TaxesValue) Type(ctx context.Context) attr.Type
- type UsageThresholdsType
- func (t UsageThresholdsType) Equal(o attr.Type) bool
- func (t UsageThresholdsType) String() string
- func (t UsageThresholdsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t UsageThresholdsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t UsageThresholdsType) ValueType(ctx context.Context) attr.Value
- type UsageThresholdsValue
- func NewUsageThresholdsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (UsageThresholdsValue, diag.Diagnostics)
- func NewUsageThresholdsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UsageThresholdsValue
- func NewUsageThresholdsValueNull() UsageThresholdsValue
- func NewUsageThresholdsValueUnknown() UsageThresholdsValue
- func (v UsageThresholdsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v UsageThresholdsValue) Equal(o attr.Value) bool
- func (v UsageThresholdsValue) IsNull() bool
- func (v UsageThresholdsValue) IsUnknown() bool
- func (v UsageThresholdsValue) String() string
- func (v UsageThresholdsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v UsageThresholdsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v UsageThresholdsValue) Type(ctx context.Context) attr.Type
- type VolumeRangesType
- func (t VolumeRangesType) Equal(o attr.Type) bool
- func (t VolumeRangesType) String() string
- func (t VolumeRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t VolumeRangesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t VolumeRangesType) ValueType(ctx context.Context) attr.Value
- type VolumeRangesValue
- func NewVolumeRangesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VolumeRangesValue, diag.Diagnostics)
- func NewVolumeRangesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VolumeRangesValue
- func NewVolumeRangesValueNull() VolumeRangesValue
- func NewVolumeRangesValueUnknown() VolumeRangesValue
- func (v VolumeRangesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v VolumeRangesValue) Equal(o attr.Value) bool
- func (v VolumeRangesValue) IsNull() bool
- func (v VolumeRangesValue) IsUnknown() bool
- func (v VolumeRangesValue) String() string
- func (v VolumeRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v VolumeRangesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v VolumeRangesValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChargesType ¶
type ChargesType struct {
basetypes.ObjectType
}
func (ChargesType) String ¶
func (t ChargesType) String() string
func (ChargesType) ValueFromObject ¶
func (t ChargesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ChargesType) ValueFromTerraform ¶
type ChargesValue ¶
type ChargesValue struct { BillableMetricCode basetypes.StringValue `tfsdk:"billable_metric_code"` BillableMetricId basetypes.StringValue `tfsdk:"billable_metric_id"` ChargeModel basetypes.StringValue `tfsdk:"charge_model"` CreatedAt basetypes.StringValue `tfsdk:"created_at"` Filters basetypes.ListValue `tfsdk:"filters"` InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"` Invoiceable basetypes.BoolValue `tfsdk:"invoiceable"` LagoBillableMetricId basetypes.StringValue `tfsdk:"lago_billable_metric_id"` LagoId basetypes.StringValue `tfsdk:"lago_id"` MinAmountCents basetypes.Int64Value `tfsdk:"min_amount_cents"` PayInAdvance basetypes.BoolValue `tfsdk:"pay_in_advance"` Properties basetypes.ObjectValue `tfsdk:"properties"` Prorated basetypes.BoolValue `tfsdk:"prorated"` RegroupPaidFees basetypes.StringValue `tfsdk:"regroup_paid_fees"` TaxCodes basetypes.ListValue `tfsdk:"tax_codes"` Taxes basetypes.ListValue `tfsdk:"taxes"` // contains filtered or unexported fields }
func NewChargesValue ¶
func NewChargesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ChargesValue, diag.Diagnostics)
func NewChargesValueMust ¶
func NewChargesValueNull ¶
func NewChargesValueNull() ChargesValue
func NewChargesValueUnknown ¶
func NewChargesValueUnknown() ChargesValue
func (ChargesValue) AttributeTypes ¶
func (ChargesValue) IsNull ¶
func (v ChargesValue) IsNull() bool
func (ChargesValue) IsUnknown ¶
func (v ChargesValue) IsUnknown() bool
func (ChargesValue) String ¶
func (v ChargesValue) String() string
func (ChargesValue) ToObjectValue ¶
func (v ChargesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ChargesValue) ToTerraformValue ¶
type FiltersType ¶
type FiltersType struct {
basetypes.ObjectType
}
func (FiltersType) String ¶
func (t FiltersType) String() string
func (FiltersType) ValueFromObject ¶
func (t FiltersType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (FiltersType) ValueFromTerraform ¶
type FiltersValue ¶
type FiltersValue struct { InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"` Properties basetypes.ObjectValue `tfsdk:"properties"` Values basetypes.MapValue `tfsdk:"values"` // contains filtered or unexported fields }
func NewFiltersValue ¶
func NewFiltersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FiltersValue, diag.Diagnostics)
func NewFiltersValueMust ¶
func NewFiltersValueNull ¶
func NewFiltersValueNull() FiltersValue
func NewFiltersValueUnknown ¶
func NewFiltersValueUnknown() FiltersValue
func (FiltersValue) AttributeTypes ¶
func (FiltersValue) IsNull ¶
func (v FiltersValue) IsNull() bool
func (FiltersValue) IsUnknown ¶
func (v FiltersValue) IsUnknown() bool
func (FiltersValue) String ¶
func (v FiltersValue) String() string
func (FiltersValue) ToObjectValue ¶
func (v FiltersValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (FiltersValue) ToTerraformValue ¶
type GraduatedPercentageRangesType ¶
type GraduatedPercentageRangesType struct {
basetypes.ObjectType
}
func (GraduatedPercentageRangesType) String ¶
func (t GraduatedPercentageRangesType) String() string
func (GraduatedPercentageRangesType) ValueFromObject ¶
func (t GraduatedPercentageRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (GraduatedPercentageRangesType) ValueFromTerraform ¶
type GraduatedPercentageRangesValue ¶
type GraduatedPercentageRangesValue struct { FlatAmount basetypes.StringValue `tfsdk:"flat_amount"` FromValue basetypes.Int64Value `tfsdk:"from_value"` Rate basetypes.StringValue `tfsdk:"rate"` ToValue basetypes.Int64Value `tfsdk:"to_value"` // contains filtered or unexported fields }
func NewGraduatedPercentageRangesValueNull ¶
func NewGraduatedPercentageRangesValueNull() GraduatedPercentageRangesValue
func NewGraduatedPercentageRangesValueUnknown ¶
func NewGraduatedPercentageRangesValueUnknown() GraduatedPercentageRangesValue
func (GraduatedPercentageRangesValue) AttributeTypes ¶
func (GraduatedPercentageRangesValue) IsNull ¶
func (v GraduatedPercentageRangesValue) IsNull() bool
func (GraduatedPercentageRangesValue) IsUnknown ¶
func (v GraduatedPercentageRangesValue) IsUnknown() bool
func (GraduatedPercentageRangesValue) String ¶
func (v GraduatedPercentageRangesValue) String() string
func (GraduatedPercentageRangesValue) ToObjectValue ¶
func (v GraduatedPercentageRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (GraduatedPercentageRangesValue) ToTerraformValue ¶
type GraduatedRangesType ¶
type GraduatedRangesType struct {
basetypes.ObjectType
}
func (GraduatedRangesType) ValueFromObject ¶
func (t GraduatedRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (GraduatedRangesType) ValueFromTerraform ¶
type GraduatedRangesValue ¶
type GraduatedRangesValue struct { FlatAmount basetypes.StringValue `tfsdk:"flat_amount"` FromValue basetypes.Int64Value `tfsdk:"from_value"` PerUnitAmount basetypes.StringValue `tfsdk:"per_unit_amount"` ToValue basetypes.Int64Value `tfsdk:"to_value"` // contains filtered or unexported fields }
func NewGraduatedRangesValue ¶
func NewGraduatedRangesValueNull ¶
func NewGraduatedRangesValueNull() GraduatedRangesValue
func NewGraduatedRangesValueUnknown ¶
func NewGraduatedRangesValueUnknown() GraduatedRangesValue
func (GraduatedRangesValue) AttributeTypes ¶
func (GraduatedRangesValue) ToObjectValue ¶
func (v GraduatedRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (GraduatedRangesValue) ToTerraformValue ¶
type MinimumCommitmentType ¶
type MinimumCommitmentType struct {
basetypes.ObjectType
}
func (MinimumCommitmentType) String ¶
func (t MinimumCommitmentType) String() string
func (MinimumCommitmentType) ValueFromObject ¶
func (t MinimumCommitmentType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (MinimumCommitmentType) ValueFromTerraform ¶
type MinimumCommitmentValue ¶
type MinimumCommitmentValue struct { AmountCents basetypes.Int64Value `tfsdk:"amount_cents"` CreatedAt basetypes.StringValue `tfsdk:"created_at"` Interval basetypes.StringValue `tfsdk:"interval"` InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"` LagoId basetypes.StringValue `tfsdk:"lago_id"` PlanCode basetypes.StringValue `tfsdk:"plan_code"` TaxCodes basetypes.ListValue `tfsdk:"tax_codes"` Taxes basetypes.ListValue `tfsdk:"taxes"` UpdatedAt basetypes.StringValue `tfsdk:"updated_at"` // contains filtered or unexported fields }
func NewMinimumCommitmentValue ¶
func NewMinimumCommitmentValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MinimumCommitmentValue, diag.Diagnostics)
func NewMinimumCommitmentValueNull ¶
func NewMinimumCommitmentValueNull() MinimumCommitmentValue
func NewMinimumCommitmentValueUnknown ¶
func NewMinimumCommitmentValueUnknown() MinimumCommitmentValue
func (MinimumCommitmentValue) AttributeTypes ¶
func (MinimumCommitmentValue) IsNull ¶
func (v MinimumCommitmentValue) IsNull() bool
func (MinimumCommitmentValue) IsUnknown ¶
func (v MinimumCommitmentValue) IsUnknown() bool
func (MinimumCommitmentValue) String ¶
func (v MinimumCommitmentValue) String() string
func (MinimumCommitmentValue) ToObjectValue ¶
func (v MinimumCommitmentValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (MinimumCommitmentValue) ToTerraformValue ¶
type PlanType ¶
type PlanType struct {
basetypes.ObjectType
}
func (PlanType) ValueFromObject ¶
func (t PlanType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PlanType) ValueFromTerraform ¶
type PlanValue ¶
type PlanValue struct { AmountCents basetypes.Int64Value `tfsdk:"amount_cents"` AmountCurrency basetypes.StringValue `tfsdk:"amount_currency"` BillChargesMonthly basetypes.BoolValue `tfsdk:"bill_charges_monthly"` Charges basetypes.ListValue `tfsdk:"charges"` Code basetypes.StringValue `tfsdk:"code"` CreatedAt basetypes.StringValue `tfsdk:"created_at"` Description basetypes.StringValue `tfsdk:"description"` Interval basetypes.StringValue `tfsdk:"interval"` InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"` LagoId basetypes.StringValue `tfsdk:"lago_id"` MinimumCommitment basetypes.ObjectValue `tfsdk:"minimum_commitment"` Name basetypes.StringValue `tfsdk:"name"` PayInAdvance basetypes.BoolValue `tfsdk:"pay_in_advance"` TaxCodes basetypes.ListValue `tfsdk:"tax_codes"` Taxes basetypes.ListValue `tfsdk:"taxes"` TrialPeriod basetypes.NumberValue `tfsdk:"trial_period"` UsageThresholds basetypes.ListValue `tfsdk:"usage_thresholds"` // contains filtered or unexported fields }
func NewPlanValue ¶
func NewPlanValueMust ¶
func NewPlanValueNull ¶
func NewPlanValueNull() PlanValue
func NewPlanValueUnknown ¶
func NewPlanValueUnknown() PlanValue
func (PlanValue) AttributeTypes ¶
func (PlanValue) ToObjectValue ¶
func (v PlanValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PlanValue) ToTerraformValue ¶
type PlansModel ¶
type PropertiesType ¶
type PropertiesType struct {
basetypes.ObjectType
}
func (PropertiesType) ValueFromObject ¶
func (t PropertiesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PropertiesType) ValueFromTerraform ¶
type PropertiesValue ¶
type PropertiesValue struct { Amount basetypes.StringValue `tfsdk:"amount"` FixedAmount basetypes.StringValue `tfsdk:"fixed_amount"` FreeUnits basetypes.Int64Value `tfsdk:"free_units"` FreeUnitsPerEvents basetypes.Int64Value `tfsdk:"free_units_per_events"` FreeUnitsPerTotalAggregation basetypes.StringValue `tfsdk:"free_units_per_total_aggregation"` GraduatedPercentageRanges basetypes.ListValue `tfsdk:"graduated_percentage_ranges"` GraduatedRanges basetypes.ListValue `tfsdk:"graduated_ranges"` GroupedBy basetypes.ListValue `tfsdk:"grouped_by"` PackageSize basetypes.Int64Value `tfsdk:"package_size"` PerTransactionMaxAmount basetypes.StringValue `tfsdk:"per_transaction_max_amount"` PerTransactionMinAmount basetypes.StringValue `tfsdk:"per_transaction_min_amount"` Rate basetypes.StringValue `tfsdk:"rate"` VolumeRanges basetypes.ListValue `tfsdk:"volume_ranges"` // contains filtered or unexported fields }
func NewPropertiesValue ¶
func NewPropertiesValueMust ¶
func NewPropertiesValueNull ¶
func NewPropertiesValueNull() PropertiesValue
func NewPropertiesValueUnknown ¶
func NewPropertiesValueUnknown() PropertiesValue
func (PropertiesValue) AttributeTypes ¶
func (PropertiesValue) ToObjectValue ¶
func (v PropertiesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PropertiesValue) ToTerraformValue ¶
type TaxesType ¶
type TaxesType struct {
basetypes.ObjectType
}
func (TaxesType) ValueFromObject ¶
func (t TaxesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (TaxesType) ValueFromTerraform ¶
type TaxesValue ¶
type TaxesValue struct { AppliedToOrganization basetypes.BoolValue `tfsdk:"applied_to_organization"` Code basetypes.StringValue `tfsdk:"code"` CreatedAt basetypes.StringValue `tfsdk:"created_at"` Description basetypes.StringValue `tfsdk:"description"` LagoId basetypes.StringValue `tfsdk:"lago_id"` Name basetypes.StringValue `tfsdk:"name"` Rate basetypes.NumberValue `tfsdk:"rate"` // contains filtered or unexported fields }
func NewTaxesValue ¶
func NewTaxesValueMust ¶
func NewTaxesValueNull ¶
func NewTaxesValueNull() TaxesValue
func NewTaxesValueUnknown ¶
func NewTaxesValueUnknown() TaxesValue
func (TaxesValue) AttributeTypes ¶
func (TaxesValue) ToObjectValue ¶
func (v TaxesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (TaxesValue) ToTerraformValue ¶
type UsageThresholdsType ¶
type UsageThresholdsType struct {
basetypes.ObjectType
}
func (UsageThresholdsType) String ¶
func (t UsageThresholdsType) String() string
func (UsageThresholdsType) ValueFromObject ¶
func (t UsageThresholdsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (UsageThresholdsType) ValueFromTerraform ¶
type UsageThresholdsValue ¶
type UsageThresholdsValue struct { AmountCents basetypes.Int64Value `tfsdk:"amount_cents"` CreatedAt basetypes.StringValue `tfsdk:"created_at"` Id basetypes.StringValue `tfsdk:"id"` LagoId basetypes.StringValue `tfsdk:"lago_id"` Recurring basetypes.BoolValue `tfsdk:"recurring"` ThresholdDisplayName basetypes.StringValue `tfsdk:"threshold_display_name"` UpdatedAt basetypes.StringValue `tfsdk:"updated_at"` // contains filtered or unexported fields }
func NewUsageThresholdsValue ¶
func NewUsageThresholdsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (UsageThresholdsValue, diag.Diagnostics)
func NewUsageThresholdsValueNull ¶
func NewUsageThresholdsValueNull() UsageThresholdsValue
func NewUsageThresholdsValueUnknown ¶
func NewUsageThresholdsValueUnknown() UsageThresholdsValue
func (UsageThresholdsValue) AttributeTypes ¶
func (UsageThresholdsValue) IsNull ¶
func (v UsageThresholdsValue) IsNull() bool
func (UsageThresholdsValue) IsUnknown ¶
func (v UsageThresholdsValue) IsUnknown() bool
func (UsageThresholdsValue) String ¶
func (v UsageThresholdsValue) String() string
func (UsageThresholdsValue) ToObjectValue ¶
func (v UsageThresholdsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (UsageThresholdsValue) ToTerraformValue ¶
type VolumeRangesType ¶
type VolumeRangesType struct {
basetypes.ObjectType
}
func (VolumeRangesType) ValueFromObject ¶
func (t VolumeRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (VolumeRangesType) ValueFromTerraform ¶
type VolumeRangesValue ¶
type VolumeRangesValue struct { FlatAmount basetypes.StringValue `tfsdk:"flat_amount"` FromValue basetypes.Int64Value `tfsdk:"from_value"` PerUnitAmount basetypes.StringValue `tfsdk:"per_unit_amount"` ToValue basetypes.Int64Value `tfsdk:"to_value"` // contains filtered or unexported fields }
func NewVolumeRangesValue ¶
func NewVolumeRangesValueNull ¶
func NewVolumeRangesValueNull() VolumeRangesValue
func NewVolumeRangesValueUnknown ¶
func NewVolumeRangesValueUnknown() VolumeRangesValue
func (VolumeRangesValue) AttributeTypes ¶
func (VolumeRangesValue) ToObjectValue ¶
func (v VolumeRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (VolumeRangesValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.