Documentation ¶
Index ¶
- func DeleteTerraformToSdk(ctx context.Context) (*models.WlanPortalTemplate, diag.Diagnostics)
- func SiteWlanPortalTemplateResourceSchema(ctx context.Context) schema.Schema
- func TerraformToSdk(ctx context.Context, plan *SiteWlanPortalTemplateModel) (models.WlanPortalTemplate, diag.Diagnostics)
- type LocalesType
- func (t LocalesType) Equal(o attr.Type) bool
- func (t LocalesType) String() string
- func (t LocalesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t LocalesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t LocalesType) ValueType(ctx context.Context) attr.Value
- type LocalesValue
- func NewLocalesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LocalesValue, diag.Diagnostics)
- func NewLocalesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LocalesValue
- func NewLocalesValueNull() LocalesValue
- func NewLocalesValueUnknown() LocalesValue
- func (v LocalesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v LocalesValue) Equal(o attr.Value) bool
- func (v LocalesValue) IsNull() bool
- func (v LocalesValue) IsUnknown() bool
- func (v LocalesValue) String() string
- func (v LocalesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v LocalesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v LocalesValue) Type(ctx context.Context) attr.Type
- type PortalTemplateType
- func (t PortalTemplateType) Equal(o attr.Type) bool
- func (t PortalTemplateType) String() string
- func (t PortalTemplateType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PortalTemplateType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PortalTemplateType) ValueType(ctx context.Context) attr.Value
- type PortalTemplateValue
- func NewPortalTemplateValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PortalTemplateValue, diag.Diagnostics)
- func NewPortalTemplateValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PortalTemplateValue
- func NewPortalTemplateValueNull() PortalTemplateValue
- func NewPortalTemplateValueUnknown() PortalTemplateValue
- func (v PortalTemplateValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PortalTemplateValue) Equal(o attr.Value) bool
- func (v PortalTemplateValue) IsNull() bool
- func (v PortalTemplateValue) IsUnknown() bool
- func (v PortalTemplateValue) String() string
- func (v PortalTemplateValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PortalTemplateValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PortalTemplateValue) Type(ctx context.Context) attr.Type
- type SiteWlanPortalTemplateModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTerraformToSdk ¶
func DeleteTerraformToSdk(ctx context.Context) (*models.WlanPortalTemplate, diag.Diagnostics)
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *SiteWlanPortalTemplateModel) (models.WlanPortalTemplate, diag.Diagnostics)
Types ¶
type LocalesType ¶
type LocalesType struct {
basetypes.ObjectType
}
func (LocalesType) String ¶
func (t LocalesType) String() string
func (LocalesType) ValueFromObject ¶
func (t LocalesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (LocalesType) ValueFromTerraform ¶
type LocalesValue ¶
type LocalesValue struct { AuthButtonAmazon basetypes.StringValue `tfsdk:"auth_button_amazon"` AuthButtonAzure basetypes.StringValue `tfsdk:"auth_button_azure"` AuthButtonEmail basetypes.StringValue `tfsdk:"auth_button_email"` AuthButtonFacebook basetypes.StringValue `tfsdk:"auth_button_facebook"` AuthButtonGoogle basetypes.StringValue `tfsdk:"auth_button_google"` AuthButtonMicrosoft basetypes.StringValue `tfsdk:"auth_button_microsoft"` AuthButtonPassphrase basetypes.StringValue `tfsdk:"auth_button_passphrase"` AuthButtonSms basetypes.StringValue `tfsdk:"auth_button_sms"` AuthButtonSponsor basetypes.StringValue `tfsdk:"auth_button_sponsor"` AuthLabel basetypes.StringValue `tfsdk:"auth_label"` BackLink basetypes.StringValue `tfsdk:"back_link"` CompanyError basetypes.StringValue `tfsdk:"company_error"` CompanyLabel basetypes.StringValue `tfsdk:"company_label"` EmailAccessDomainError basetypes.StringValue `tfsdk:"email_access_domain_error"` EmailCancel basetypes.StringValue `tfsdk:"email_cancel"` EmailCodeCancel basetypes.StringValue `tfsdk:"email_code_cancel"` EmailCodeError basetypes.StringValue `tfsdk:"email_code_error"` EmailCodeFieldLabel basetypes.StringValue `tfsdk:"email_code_field_label"` EmailCodeMessage basetypes.StringValue `tfsdk:"email_code_message"` EmailCodeSubmit basetypes.StringValue `tfsdk:"email_code_submit"` EmailCodeTitle basetypes.StringValue `tfsdk:"email_code_title"` EmailError basetypes.StringValue `tfsdk:"email_error"` EmailFieldLabel basetypes.StringValue `tfsdk:"email_field_label"` EmailLabel basetypes.StringValue `tfsdk:"email_label"` EmailMessage basetypes.StringValue `tfsdk:"email_message"` EmailSubmit basetypes.StringValue `tfsdk:"email_submit"` EmailTitle basetypes.StringValue `tfsdk:"email_title"` Field1error basetypes.StringValue `tfsdk:"field1error"` Field1label basetypes.StringValue `tfsdk:"field1label"` Field2error basetypes.StringValue `tfsdk:"field2error"` Field2label basetypes.StringValue `tfsdk:"field2label"` Field3error basetypes.StringValue `tfsdk:"field3error"` Field3label basetypes.StringValue `tfsdk:"field3label"` Field4error basetypes.StringValue `tfsdk:"field4error"` Field4label basetypes.StringValue `tfsdk:"field4label"` Message basetypes.StringValue `tfsdk:"message"` NameError basetypes.StringValue `tfsdk:"name_error"` NameLabel basetypes.StringValue `tfsdk:"name_label"` OptoutLabel basetypes.StringValue `tfsdk:"optout_label"` PageTitle basetypes.StringValue `tfsdk:"page_title"` PassphraseCancel basetypes.StringValue `tfsdk:"passphrase_cancel"` PassphraseError basetypes.StringValue `tfsdk:"passphrase_error"` PassphraseLabel basetypes.StringValue `tfsdk:"passphrase_label"` PassphraseMessage basetypes.StringValue `tfsdk:"passphrase_message"` PassphraseSubmit basetypes.StringValue `tfsdk:"passphrase_submit"` PassphraseTitle basetypes.StringValue `tfsdk:"passphrase_title"` PrivacyPolicyAcceptLabel basetypes.StringValue `tfsdk:"privacy_policy_accept_label"` PrivacyPolicyError basetypes.StringValue `tfsdk:"privacy_policy_error"` PrivacyPolicyLink basetypes.StringValue `tfsdk:"privacy_policy_link"` PrivacyPolicyText basetypes.StringValue `tfsdk:"privacy_policy_text"` RequiredFieldLabel basetypes.StringValue `tfsdk:"required_field_label"` SignInLabel basetypes.StringValue `tfsdk:"sign_in_label"` SmsCarrierDefault basetypes.StringValue `tfsdk:"sms_carrier_default"` SmsCarrierError basetypes.StringValue `tfsdk:"sms_carrier_error"` SmsCarrierFieldLabel basetypes.StringValue `tfsdk:"sms_carrier_field_label"` SmsCodeCancel basetypes.StringValue `tfsdk:"sms_code_cancel"` SmsCodeError basetypes.StringValue `tfsdk:"sms_code_error"` SmsCodeFieldLabel basetypes.StringValue `tfsdk:"sms_code_field_label"` SmsCodeMessage basetypes.StringValue `tfsdk:"sms_code_message"` SmsCodeSubmit basetypes.StringValue `tfsdk:"sms_code_submit"` SmsCodeTitle basetypes.StringValue `tfsdk:"sms_code_title"` SmsCountryFieldLabel basetypes.StringValue `tfsdk:"sms_country_field_label"` SmsCountryFormat basetypes.StringValue `tfsdk:"sms_country_format"` SmsHaveAccessCode basetypes.StringValue `tfsdk:"sms_have_access_code"` SmsMessageFormat basetypes.StringValue `tfsdk:"sms_message_format"` SmsNumberCancel basetypes.StringValue `tfsdk:"sms_number_cancel"` SmsNumberError basetypes.StringValue `tfsdk:"sms_number_error"` SmsNumberFieldLabel basetypes.StringValue `tfsdk:"sms_number_field_label"` SmsNumberFormat basetypes.StringValue `tfsdk:"sms_number_format"` SmsNumberMessage basetypes.StringValue `tfsdk:"sms_number_message"` SmsNumberSubmit basetypes.StringValue `tfsdk:"sms_number_submit"` SmsNumberTitle basetypes.StringValue `tfsdk:"sms_number_title"` SmsUsernameFormat basetypes.StringValue `tfsdk:"sms_username_format"` SponsorBackLink basetypes.StringValue `tfsdk:"sponsor_back_link"` SponsorCancel basetypes.StringValue `tfsdk:"sponsor_cancel"` SponsorEmail basetypes.StringValue `tfsdk:"sponsor_email"` SponsorEmailError basetypes.StringValue `tfsdk:"sponsor_email_error"` SponsorInfoApproved basetypes.StringValue `tfsdk:"sponsor_info_approved"` SponsorInfoDenied basetypes.StringValue `tfsdk:"sponsor_info_denied"` SponsorInfoPending basetypes.StringValue `tfsdk:"sponsor_info_pending"` SponsorName basetypes.StringValue `tfsdk:"sponsor_name"` SponsorNameError basetypes.StringValue `tfsdk:"sponsor_name_error"` SponsorNotePending basetypes.StringValue `tfsdk:"sponsor_note_pending"` SponsorRequestAccess basetypes.StringValue `tfsdk:"sponsor_request_access"` SponsorStatusApproved basetypes.StringValue `tfsdk:"sponsor_status_approved"` SponsorStatusDenied basetypes.StringValue `tfsdk:"sponsor_status_denied"` SponsorStatusPending basetypes.StringValue `tfsdk:"sponsor_status_pending"` SponsorSubmit basetypes.StringValue `tfsdk:"sponsor_submit"` SponsorsError basetypes.StringValue `tfsdk:"sponsors_error"` SponsorsFieldLabel basetypes.StringValue `tfsdk:"sponsors_field_label"` TosAcceptLabel basetypes.StringValue `tfsdk:"tos_accept_label"` TosError basetypes.StringValue `tfsdk:"tos_error"` TosLink basetypes.StringValue `tfsdk:"tos_link"` TosText basetypes.StringValue `tfsdk:"tos_text"` // contains filtered or unexported fields }
func NewLocalesValue ¶
func NewLocalesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (LocalesValue, diag.Diagnostics)
func NewLocalesValueMust ¶
func NewLocalesValueNull ¶
func NewLocalesValueNull() LocalesValue
func NewLocalesValueUnknown ¶
func NewLocalesValueUnknown() LocalesValue
func (LocalesValue) AttributeTypes ¶
func (LocalesValue) IsNull ¶
func (v LocalesValue) IsNull() bool
func (LocalesValue) IsUnknown ¶
func (v LocalesValue) IsUnknown() bool
func (LocalesValue) String ¶
func (v LocalesValue) String() string
func (LocalesValue) ToObjectValue ¶
func (v LocalesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (LocalesValue) ToTerraformValue ¶
type PortalTemplateType ¶
type PortalTemplateType struct {
basetypes.ObjectType
}
func (PortalTemplateType) String ¶
func (t PortalTemplateType) String() string
func (PortalTemplateType) ValueFromObject ¶
func (t PortalTemplateType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PortalTemplateType) ValueFromTerraform ¶
type PortalTemplateValue ¶
type PortalTemplateValue struct { AccessCodeAlternateEmail basetypes.StringValue `tfsdk:"access_code_alternate_email"` Alignment basetypes.StringValue `tfsdk:"alignment"` AuthButtonAmazon basetypes.StringValue `tfsdk:"auth_button_amazon"` AuthButtonAzure basetypes.StringValue `tfsdk:"auth_button_azure"` AuthButtonEmail basetypes.StringValue `tfsdk:"auth_button_email"` AuthButtonFacebook basetypes.StringValue `tfsdk:"auth_button_facebook"` AuthButtonGoogle basetypes.StringValue `tfsdk:"auth_button_google"` AuthButtonMicrosoft basetypes.StringValue `tfsdk:"auth_button_microsoft"` AuthButtonPassphrase basetypes.StringValue `tfsdk:"auth_button_passphrase"` AuthButtonSms basetypes.StringValue `tfsdk:"auth_button_sms"` AuthButtonSponsor basetypes.StringValue `tfsdk:"auth_button_sponsor"` AuthLabel basetypes.StringValue `tfsdk:"auth_label"` BackLink basetypes.StringValue `tfsdk:"back_link"` Color basetypes.StringValue `tfsdk:"color"` ColorDark basetypes.StringValue `tfsdk:"color_dark"` ColorLight basetypes.StringValue `tfsdk:"color_light"` Company basetypes.BoolValue `tfsdk:"company"` CompanyError basetypes.StringValue `tfsdk:"company_error"` CompanyLabel basetypes.StringValue `tfsdk:"company_label"` Email basetypes.BoolValue `tfsdk:"email"` EmailAccessDomainError basetypes.StringValue `tfsdk:"email_access_domain_error"` EmailCancel basetypes.StringValue `tfsdk:"email_cancel"` EmailCodeCancel basetypes.StringValue `tfsdk:"email_code_cancel"` EmailCodeError basetypes.StringValue `tfsdk:"email_code_error"` EmailCodeFieldLabel basetypes.StringValue `tfsdk:"email_code_field_label"` EmailCodeMessage basetypes.StringValue `tfsdk:"email_code_message"` EmailCodeSubmit basetypes.StringValue `tfsdk:"email_code_submit"` EmailCodeTitle basetypes.StringValue `tfsdk:"email_code_title"` EmailError basetypes.StringValue `tfsdk:"email_error"` EmailFieldLabel basetypes.StringValue `tfsdk:"email_field_label"` EmailLabel basetypes.StringValue `tfsdk:"email_label"` EmailMessage basetypes.StringValue `tfsdk:"email_message"` EmailSubmit basetypes.StringValue `tfsdk:"email_submit"` EmailTitle basetypes.StringValue `tfsdk:"email_title"` Field1 basetypes.BoolValue `tfsdk:"field1"` Field1error basetypes.StringValue `tfsdk:"field1error"` Field1label basetypes.StringValue `tfsdk:"field1label"` Field1required basetypes.BoolValue `tfsdk:"field1required"` Field2 basetypes.BoolValue `tfsdk:"field2"` Field2error basetypes.StringValue `tfsdk:"field2error"` Field2label basetypes.StringValue `tfsdk:"field2label"` Field2required basetypes.BoolValue `tfsdk:"field2required"` Field3 basetypes.BoolValue `tfsdk:"field3"` Field3error basetypes.StringValue `tfsdk:"field3error"` Field3label basetypes.StringValue `tfsdk:"field3label"` Field3required basetypes.BoolValue `tfsdk:"field3required"` Field4 basetypes.BoolValue `tfsdk:"field4"` Field4error basetypes.StringValue `tfsdk:"field4error"` Field4label basetypes.StringValue `tfsdk:"field4label"` Field4required basetypes.BoolValue `tfsdk:"field4required"` Locales basetypes.MapValue `tfsdk:"locales"` Logo basetypes.StringValue `tfsdk:"logo"` Message basetypes.StringValue `tfsdk:"message"` MultiAuth basetypes.BoolValue `tfsdk:"multi_auth"` Name basetypes.BoolValue `tfsdk:"name"` NameError basetypes.StringValue `tfsdk:"name_error"` NameLabel basetypes.StringValue `tfsdk:"name_label"` OptOutDefault basetypes.BoolValue `tfsdk:"opt_out_default"` Optout basetypes.BoolValue `tfsdk:"optout"` OptoutLabel basetypes.StringValue `tfsdk:"optout_label"` PageTitle basetypes.StringValue `tfsdk:"page_title"` PassphraseCancel basetypes.StringValue `tfsdk:"passphrase_cancel"` PassphraseError basetypes.StringValue `tfsdk:"passphrase_error"` PassphraseLabel basetypes.StringValue `tfsdk:"passphrase_label"` PassphraseMessage basetypes.StringValue `tfsdk:"passphrase_message"` PassphraseSubmit basetypes.StringValue `tfsdk:"passphrase_submit"` PassphraseTitle basetypes.StringValue `tfsdk:"passphrase_title"` PoweredBy basetypes.BoolValue `tfsdk:"powered_by"` Privacy basetypes.BoolValue `tfsdk:"privacy"` PrivacyPolicyAcceptLabel basetypes.StringValue `tfsdk:"privacy_policy_accept_label"` PrivacyPolicyError basetypes.StringValue `tfsdk:"privacy_policy_error"` PrivacyPolicyLink basetypes.StringValue `tfsdk:"privacy_policy_link"` PrivacyPolicyText basetypes.StringValue `tfsdk:"privacy_policy_text"` RequiredFieldLabel basetypes.StringValue `tfsdk:"required_field_label"` ResponsiveLayout basetypes.BoolValue `tfsdk:"responsive_layout"` SignInLabel basetypes.StringValue `tfsdk:"sign_in_label"` SmsCarrierDefault basetypes.StringValue `tfsdk:"sms_carrier_default"` SmsCarrierError basetypes.StringValue `tfsdk:"sms_carrier_error"` SmsCarrierFieldLabel basetypes.StringValue `tfsdk:"sms_carrier_field_label"` SmsCodeCancel basetypes.StringValue `tfsdk:"sms_code_cancel"` SmsCodeError basetypes.StringValue `tfsdk:"sms_code_error"` SmsCodeFieldLabel basetypes.StringValue `tfsdk:"sms_code_field_label"` SmsCodeMessage basetypes.StringValue `tfsdk:"sms_code_message"` SmsCodeSubmit basetypes.StringValue `tfsdk:"sms_code_submit"` SmsCodeTitle basetypes.StringValue `tfsdk:"sms_code_title"` SmsCountryFieldLabel basetypes.StringValue `tfsdk:"sms_country_field_label"` SmsCountryFormat basetypes.StringValue `tfsdk:"sms_country_format"` SmsHaveAccessCode basetypes.StringValue `tfsdk:"sms_have_access_code"` SmsIsTwilio basetypes.BoolValue `tfsdk:"sms_is_twilio"` SmsMessageFormat basetypes.StringValue `tfsdk:"sms_message_format"` SmsNumberCancel basetypes.StringValue `tfsdk:"sms_number_cancel"` SmsNumberError basetypes.StringValue `tfsdk:"sms_number_error"` SmsNumberFieldLabel basetypes.StringValue `tfsdk:"sms_number_field_label"` SmsNumberFormat basetypes.StringValue `tfsdk:"sms_number_format"` SmsNumberMessage basetypes.StringValue `tfsdk:"sms_number_message"` SmsNumberSubmit basetypes.StringValue `tfsdk:"sms_number_submit"` SmsNumberTitle basetypes.StringValue `tfsdk:"sms_number_title"` SmsUsernameFormat basetypes.StringValue `tfsdk:"sms_username_format"` SmsValidityDuration basetypes.Int64Value `tfsdk:"sms_validity_duration"` SponsorBackLink basetypes.StringValue `tfsdk:"sponsor_back_link"` SponsorCancel basetypes.StringValue `tfsdk:"sponsor_cancel"` SponsorEmail basetypes.StringValue `tfsdk:"sponsor_email"` SponsorEmailError basetypes.StringValue `tfsdk:"sponsor_email_error"` SponsorEmailTemplate basetypes.StringValue `tfsdk:"sponsor_email_template"` SponsorInfoApproved basetypes.StringValue `tfsdk:"sponsor_info_approved"` SponsorInfoDenied basetypes.StringValue `tfsdk:"sponsor_info_denied"` SponsorInfoPending basetypes.StringValue `tfsdk:"sponsor_info_pending"` SponsorName basetypes.StringValue `tfsdk:"sponsor_name"` SponsorNameError basetypes.StringValue `tfsdk:"sponsor_name_error"` SponsorNotePending basetypes.StringValue `tfsdk:"sponsor_note_pending"` SponsorRequestAccess basetypes.StringValue `tfsdk:"sponsor_request_access"` SponsorStatusApproved basetypes.StringValue `tfsdk:"sponsor_status_approved"` SponsorStatusDenied basetypes.StringValue `tfsdk:"sponsor_status_denied"` SponsorStatusPending basetypes.StringValue `tfsdk:"sponsor_status_pending"` SponsorSubmit basetypes.StringValue `tfsdk:"sponsor_submit"` SponsorsError basetypes.StringValue `tfsdk:"sponsors_error"` SponsorsFieldLabel basetypes.StringValue `tfsdk:"sponsors_field_label"` Tos basetypes.BoolValue `tfsdk:"tos"` TosAcceptLabel basetypes.StringValue `tfsdk:"tos_accept_label"` TosError basetypes.StringValue `tfsdk:"tos_error"` TosLink basetypes.StringValue `tfsdk:"tos_link"` TosText basetypes.StringValue `tfsdk:"tos_text"` // contains filtered or unexported fields }
func NewPortalTemplateValue ¶
func NewPortalTemplateValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PortalTemplateValue, diag.Diagnostics)
func NewPortalTemplateValueNull ¶
func NewPortalTemplateValueNull() PortalTemplateValue
func NewPortalTemplateValueUnknown ¶
func NewPortalTemplateValueUnknown() PortalTemplateValue
func (PortalTemplateValue) AttributeTypes ¶
func (PortalTemplateValue) IsNull ¶
func (v PortalTemplateValue) IsNull() bool
func (PortalTemplateValue) IsUnknown ¶
func (v PortalTemplateValue) IsUnknown() bool
func (PortalTemplateValue) String ¶
func (v PortalTemplateValue) String() string
func (PortalTemplateValue) ToObjectValue ¶
func (v PortalTemplateValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PortalTemplateValue) ToTerraformValue ¶
type SiteWlanPortalTemplateModel ¶
type SiteWlanPortalTemplateModel struct { PortalTemplate PortalTemplateValue `tfsdk:"portal_template"` SiteId types.String `tfsdk:"site_id"` WlanId types.String `tfsdk:"wlan_id"` }
Click to show internal directories.
Click to hide internal directories.