Documentation ¶
Index ¶
- Constants
- type ASN
- type ASNParam
- type Action
- type ActionParam
- type ActionType
- type Address
- type AddressDeleteResponseEnvelope
- type AddressDeleteResponseEnvelopeSuccess
- type AddressGetResponseEnvelope
- type AddressGetResponseEnvelopeSuccess
- type AddressListParams
- type AddressListParamsDirection
- type AddressListParamsVerified
- type AddressNewParams
- type AddressNewResponseEnvelope
- type AddressNewResponseEnvelopeSuccess
- type AddressService
- func (r *AddressService) Delete(ctx context.Context, accountIdentifier string, ...) (res *Address, err error)
- func (r *AddressService) Get(ctx context.Context, accountIdentifier string, ...) (res *Address, err error)
- func (r *AddressService) List(ctx context.Context, accountIdentifier string, query AddressListParams, ...) (res *pagination.V4PagePaginationArray[Address], err error)
- func (r *AddressService) ListAutoPaging(ctx context.Context, accountIdentifier string, query AddressListParams, ...) *pagination.V4PagePaginationArrayAutoPager[Address]
- func (r *AddressService) New(ctx context.Context, accountIdentifier string, body AddressNewParams, ...) (res *Address, err error)
- type AuditLog
- type AuditLogAction
- type AuditLogActor
- type AuditLogActorType
- type AuditLogOwner
- type AuditLogResource
- type CatchAllAction
- type CatchAllActionParam
- type CatchAllActionType
- type CatchAllMatcher
- type CatchAllMatcherParam
- type CatchAllMatcherType
- type CloudflareTunnel
- type CloudflareTunnelConnection
- type CloudflareTunnelTunType
- type DNSGetResponseEnvelope
- type DNSGetResponseEnvelopeResultInfo
- type DNSGetResponseEnvelopeSuccess
- type DNSRecord
- type DNSRecordTTLNumber
- type DNSRecordTTLUnion
- type DNSRecordType
- type DNSService
- type EmailRoutingDisableParams
- type EmailRoutingDisableResponseEnvelope
- type EmailRoutingDisableResponseEnvelopeSuccess
- type EmailRoutingEnableParams
- type EmailRoutingEnableResponseEnvelope
- type EmailRoutingEnableResponseEnvelopeSuccess
- type EmailRoutingGetResponseEnvelope
- type EmailRoutingGetResponseEnvelopeSuccess
- type EmailRoutingRule
- type EmailRoutingRuleEnabled
- type EmailRoutingService
- func (r *EmailRoutingService) Disable(ctx context.Context, zoneIdentifier string, body EmailRoutingDisableParams, ...) (res *Settings, err error)
- func (r *EmailRoutingService) Enable(ctx context.Context, zoneIdentifier string, body EmailRoutingEnableParams, ...) (res *Settings, err error)
- func (r *EmailRoutingService) Get(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *Settings, err error)
- type Error
- type ErrorData
- type Matcher
- type MatcherField
- type MatcherParam
- type MatcherType
- type Member
- type MemberParam
- type MemberRole
- type MemberRoleParam
- type MemberRolesPermissions
- type MemberRolesPermissionsParam
- type MemberUser
- type MemberUserParam
- type Permission
- type PermissionGrant
- type PermissionGrantParam
- type ResponseInfo
- type Role
- type RuleCatchAllGetResponse
- type RuleCatchAllGetResponseEnabled
- type RuleCatchAllGetResponseEnvelope
- type RuleCatchAllGetResponseEnvelopeSuccess
- type RuleCatchAllService
- func (r *RuleCatchAllService) Get(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *RuleCatchAllGetResponse, err error)
- func (r *RuleCatchAllService) Update(ctx context.Context, zoneIdentifier string, body RuleCatchAllUpdateParams, ...) (res *RuleCatchAllUpdateResponse, err error)
- type RuleCatchAllUpdateParams
- type RuleCatchAllUpdateParamsEnabled
- type RuleCatchAllUpdateResponse
- type RuleCatchAllUpdateResponseEnabled
- type RuleCatchAllUpdateResponseEnvelope
- type RuleCatchAllUpdateResponseEnvelopeSuccess
- type RuleDeleteResponseEnvelope
- type RuleDeleteResponseEnvelopeSuccess
- type RuleGetResponseEnvelope
- type RuleGetResponseEnvelopeSuccess
- type RuleListParams
- type RuleListParamsEnabled
- type RuleNewParams
- type RuleNewParamsEnabled
- type RuleNewResponseEnvelope
- type RuleNewResponseEnvelopeSuccess
- type RuleService
- func (r *RuleService) Delete(ctx context.Context, zoneIdentifier string, ruleIdentifier string, ...) (res *EmailRoutingRule, err error)
- func (r *RuleService) Get(ctx context.Context, zoneIdentifier string, ruleIdentifier string, ...) (res *EmailRoutingRule, err error)
- func (r *RuleService) List(ctx context.Context, zoneIdentifier string, query RuleListParams, ...) (res *pagination.V4PagePaginationArray[EmailRoutingRule], err error)
- func (r *RuleService) ListAutoPaging(ctx context.Context, zoneIdentifier string, query RuleListParams, ...) *pagination.V4PagePaginationArrayAutoPager[EmailRoutingRule]
- func (r *RuleService) New(ctx context.Context, zoneIdentifier string, body RuleNewParams, ...) (res *EmailRoutingRule, err error)
- func (r *RuleService) Update(ctx context.Context, zoneIdentifier string, ruleIdentifier string, ...) (res *EmailRoutingRule, err error)
- type RuleUpdateParams
- type RuleUpdateParamsEnabled
- type RuleUpdateResponseEnvelope
- type RuleUpdateResponseEnvelopeSuccess
- type Settings
- type SettingsEnabled
- type SettingsSkipWizard
- type SettingsStatus
Constants ¶
const AuditLogActorTypeAdmin = shared.AuditLogActorTypeAdmin
This is an alias to an internal value.
const AuditLogActorTypeCloudflare = shared.AuditLogActorTypeCloudflare
This is an alias to an internal value.
const AuditLogActorTypeUser = shared.AuditLogActorTypeUser
This is an alias to an internal value.
const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI
This is an alias to an internal value.
const CloudflareTunnelTunTypeCfdTunnel = shared.CloudflareTunnelTunTypeCfdTunnel
This is an alias to an internal value.
const CloudflareTunnelTunTypeGRE = shared.CloudflareTunnelTunTypeGRE
This is an alias to an internal value.
const CloudflareTunnelTunTypeIPSec = shared.CloudflareTunnelTunTypeIPSec
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARPConnector = shared.CloudflareTunnelTunTypeWARPConnector
This is an alias to an internal value.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Type of supported action. Type ActionType `json:"type,required"` Value []string `json:"value,required"` JSON actionJSON `json:"-"` }
Actions pattern.
func (*Action) UnmarshalJSON ¶
type ActionParam ¶
type ActionParam struct { // Type of supported action. Type param.Field[ActionType] `json:"type,required"` Value param.Field[[]string] `json:"value,required"` }
Actions pattern.
func (ActionParam) MarshalJSON ¶
func (r ActionParam) MarshalJSON() (data []byte, err error)
type ActionType ¶
type ActionType string
Type of supported action.
const ( ActionTypeDrop ActionType = "drop" ActionTypeForward ActionType = "forward" ActionTypeWorker ActionType = "worker" )
func (ActionType) IsKnown ¶
func (r ActionType) IsKnown() bool
type Address ¶
type Address struct { // Destination address identifier. ID string `json:"id"` // The date and time the destination address has been created. Created time.Time `json:"created" format:"date-time"` // The contact email address of the user. Email string `json:"email"` // The date and time the destination address was last modified. Modified time.Time `json:"modified" format:"date-time"` // Destination address tag. (Deprecated, replaced by destination address // identifier) Tag string `json:"tag"` // The date and time the destination address has been verified. Null means not // verified yet. Verified time.Time `json:"verified" format:"date-time"` JSON addressJSON `json:"-"` }
func (*Address) UnmarshalJSON ¶
type AddressDeleteResponseEnvelope ¶
type AddressDeleteResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Address `json:"result,required"` // Whether the API call was successful Success AddressDeleteResponseEnvelopeSuccess `json:"success,required"` JSON addressDeleteResponseEnvelopeJSON `json:"-"` }
func (*AddressDeleteResponseEnvelope) UnmarshalJSON ¶
func (r *AddressDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type AddressDeleteResponseEnvelopeSuccess ¶
type AddressDeleteResponseEnvelopeSuccess bool
Whether the API call was successful
const (
AddressDeleteResponseEnvelopeSuccessTrue AddressDeleteResponseEnvelopeSuccess = true
)
func (AddressDeleteResponseEnvelopeSuccess) IsKnown ¶
func (r AddressDeleteResponseEnvelopeSuccess) IsKnown() bool
type AddressGetResponseEnvelope ¶
type AddressGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Address `json:"result,required"` // Whether the API call was successful Success AddressGetResponseEnvelopeSuccess `json:"success,required"` JSON addressGetResponseEnvelopeJSON `json:"-"` }
func (*AddressGetResponseEnvelope) UnmarshalJSON ¶
func (r *AddressGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type AddressGetResponseEnvelopeSuccess ¶
type AddressGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
AddressGetResponseEnvelopeSuccessTrue AddressGetResponseEnvelopeSuccess = true
)
func (AddressGetResponseEnvelopeSuccess) IsKnown ¶
func (r AddressGetResponseEnvelopeSuccess) IsKnown() bool
type AddressListParams ¶
type AddressListParams struct { // Sorts results in an ascending or descending order. Direction param.Field[AddressListParamsDirection] `query:"direction"` // Page number of paginated results. Page param.Field[float64] `query:"page"` // Maximum number of results per page. PerPage param.Field[float64] `query:"per_page"` // Filter by verified destination addresses. Verified param.Field[AddressListParamsVerified] `query:"verified"` }
func (AddressListParams) URLQuery ¶
func (r AddressListParams) URLQuery() (v url.Values)
URLQuery serializes AddressListParams's query parameters as `url.Values`.
type AddressListParamsDirection ¶
type AddressListParamsDirection string
Sorts results in an ascending or descending order.
const ( AddressListParamsDirectionAsc AddressListParamsDirection = "asc" AddressListParamsDirectionDesc AddressListParamsDirection = "desc" )
func (AddressListParamsDirection) IsKnown ¶
func (r AddressListParamsDirection) IsKnown() bool
type AddressListParamsVerified ¶
type AddressListParamsVerified bool
Filter by verified destination addresses.
const ( AddressListParamsVerifiedTrue AddressListParamsVerified = true AddressListParamsVerifiedFalse AddressListParamsVerified = false )
func (AddressListParamsVerified) IsKnown ¶
func (r AddressListParamsVerified) IsKnown() bool
type AddressNewParams ¶
type AddressNewParams struct { // The contact email address of the user. Email param.Field[string] `json:"email,required"` }
func (AddressNewParams) MarshalJSON ¶
func (r AddressNewParams) MarshalJSON() (data []byte, err error)
type AddressNewResponseEnvelope ¶
type AddressNewResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Address `json:"result,required"` // Whether the API call was successful Success AddressNewResponseEnvelopeSuccess `json:"success,required"` JSON addressNewResponseEnvelopeJSON `json:"-"` }
func (*AddressNewResponseEnvelope) UnmarshalJSON ¶
func (r *AddressNewResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type AddressNewResponseEnvelopeSuccess ¶
type AddressNewResponseEnvelopeSuccess bool
Whether the API call was successful
const (
AddressNewResponseEnvelopeSuccessTrue AddressNewResponseEnvelopeSuccess = true
)
func (AddressNewResponseEnvelopeSuccess) IsKnown ¶
func (r AddressNewResponseEnvelopeSuccess) IsKnown() bool
type AddressService ¶
type AddressService struct {
Options []option.RequestOption
}
AddressService contains methods and other services that help with interacting with the cloudflare API. Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewAddressService method instead.
func NewAddressService ¶
func NewAddressService(opts ...option.RequestOption) (r *AddressService)
NewAddressService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*AddressService) Delete ¶
func (r *AddressService) Delete(ctx context.Context, accountIdentifier string, destinationAddressIdentifier string, opts ...option.RequestOption) (res *Address, err error)
Deletes a specific destination address.
func (*AddressService) Get ¶
func (r *AddressService) Get(ctx context.Context, accountIdentifier string, destinationAddressIdentifier string, opts ...option.RequestOption) (res *Address, err error)
Gets information for a specific destination email already created.
func (*AddressService) List ¶
func (r *AddressService) List(ctx context.Context, accountIdentifier string, query AddressListParams, opts ...option.RequestOption) (res *pagination.V4PagePaginationArray[Address], err error)
Lists existing destination addresses.
func (*AddressService) ListAutoPaging ¶
func (r *AddressService) ListAutoPaging(ctx context.Context, accountIdentifier string, query AddressListParams, opts ...option.RequestOption) *pagination.V4PagePaginationArrayAutoPager[Address]
Lists existing destination addresses.
func (*AddressService) New ¶
func (r *AddressService) New(ctx context.Context, accountIdentifier string, body AddressNewParams, opts ...option.RequestOption) (res *Address, err error)
Create a destination address to forward your emails to. Destination addresses need to be verified before they can be used.
type AuditLogAction ¶
type AuditLogAction = shared.AuditLogAction
This is an alias to an internal type.
type AuditLogActor ¶
type AuditLogActor = shared.AuditLogActor
This is an alias to an internal type.
type AuditLogActorType ¶
type AuditLogActorType = shared.AuditLogActorType
The type of actor, whether a User, Cloudflare Admin, or an Automated System.
This is an alias to an internal type.
type AuditLogOwner ¶
type AuditLogOwner = shared.AuditLogOwner
This is an alias to an internal type.
type AuditLogResource ¶
type AuditLogResource = shared.AuditLogResource
This is an alias to an internal type.
type CatchAllAction ¶
type CatchAllAction struct { // Type of action for catch-all rule. Type CatchAllActionType `json:"type,required"` Value []string `json:"value"` JSON catchAllActionJSON `json:"-"` }
Action for the catch-all routing rule.
func (*CatchAllAction) UnmarshalJSON ¶
func (r *CatchAllAction) UnmarshalJSON(data []byte) (err error)
type CatchAllActionParam ¶
type CatchAllActionParam struct { // Type of action for catch-all rule. Type param.Field[CatchAllActionType] `json:"type,required"` Value param.Field[[]string] `json:"value"` }
Action for the catch-all routing rule.
func (CatchAllActionParam) MarshalJSON ¶
func (r CatchAllActionParam) MarshalJSON() (data []byte, err error)
type CatchAllActionType ¶
type CatchAllActionType string
Type of action for catch-all rule.
const ( CatchAllActionTypeDrop CatchAllActionType = "drop" CatchAllActionTypeForward CatchAllActionType = "forward" CatchAllActionTypeWorker CatchAllActionType = "worker" )
func (CatchAllActionType) IsKnown ¶
func (r CatchAllActionType) IsKnown() bool
type CatchAllMatcher ¶
type CatchAllMatcher struct { // Type of matcher. Default is 'all'. Type CatchAllMatcherType `json:"type,required"` JSON catchAllMatcherJSON `json:"-"` }
Matcher for catch-all routing rule.
func (*CatchAllMatcher) UnmarshalJSON ¶
func (r *CatchAllMatcher) UnmarshalJSON(data []byte) (err error)
type CatchAllMatcherParam ¶
type CatchAllMatcherParam struct { // Type of matcher. Default is 'all'. Type param.Field[CatchAllMatcherType] `json:"type,required"` }
Matcher for catch-all routing rule.
func (CatchAllMatcherParam) MarshalJSON ¶
func (r CatchAllMatcherParam) MarshalJSON() (data []byte, err error)
type CatchAllMatcherType ¶
type CatchAllMatcherType string
Type of matcher. Default is 'all'.
const (
CatchAllMatcherTypeAll CatchAllMatcherType = "all"
)
func (CatchAllMatcherType) IsKnown ¶
func (r CatchAllMatcherType) IsKnown() bool
type CloudflareTunnel ¶
type CloudflareTunnel = shared.CloudflareTunnel
A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
This is an alias to an internal type.
type CloudflareTunnelConnection ¶
type CloudflareTunnelConnection = shared.CloudflareTunnelConnection
This is an alias to an internal type.
type CloudflareTunnelTunType ¶
type CloudflareTunnelTunType = shared.CloudflareTunnelTunType
The type of tunnel.
This is an alias to an internal type.
type DNSGetResponseEnvelope ¶
type DNSGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result []DNSRecord `json:"result,required,nullable"` // Whether the API call was successful Success DNSGetResponseEnvelopeSuccess `json:"success,required"` ResultInfo DNSGetResponseEnvelopeResultInfo `json:"result_info"` JSON dnsGetResponseEnvelopeJSON `json:"-"` }
func (*DNSGetResponseEnvelope) UnmarshalJSON ¶
func (r *DNSGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type DNSGetResponseEnvelopeResultInfo ¶
type DNSGetResponseEnvelopeResultInfo struct { // Total number of results for the requested service Count float64 `json:"count"` // Current page within paginated list of results Page float64 `json:"page"` // Number of results per page of results PerPage float64 `json:"per_page"` // Total results available without any search parameters TotalCount float64 `json:"total_count"` JSON dnsGetResponseEnvelopeResultInfoJSON `json:"-"` }
func (*DNSGetResponseEnvelopeResultInfo) UnmarshalJSON ¶
func (r *DNSGetResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error)
type DNSGetResponseEnvelopeSuccess ¶
type DNSGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
DNSGetResponseEnvelopeSuccessTrue DNSGetResponseEnvelopeSuccess = true
)
func (DNSGetResponseEnvelopeSuccess) IsKnown ¶
func (r DNSGetResponseEnvelopeSuccess) IsKnown() bool
type DNSRecord ¶
type DNSRecord struct { // DNS record content. Content string `json:"content"` // DNS record name (or @ for the zone apex). Name string `json:"name"` // Required for MX, SRV and URI records. Unused by other record types. Records with // lower priorities are preferred. Priority float64 `json:"priority"` // Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 // for 'automatic'. TTL DNSRecordTTLUnion `json:"ttl"` // DNS record type. Type DNSRecordType `json:"type"` JSON dnsRecordJSON `json:"-"` }
List of records needed to enable an Email Routing zone.
func (*DNSRecord) UnmarshalJSON ¶
type DNSRecordTTLNumber ¶
type DNSRecordTTLNumber float64
const (
DNSRecordTTLNumber1 DNSRecordTTLNumber = 1
)
func (DNSRecordTTLNumber) IsKnown ¶
func (r DNSRecordTTLNumber) IsKnown() bool
type DNSRecordTTLUnion ¶
type DNSRecordTTLUnion interface {
ImplementsEmailRoutingDNSRecordTTLUnion()
}
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Union satisfied by shared.UnionFloat or email_routing.DNSRecordTTLNumber.
type DNSRecordType ¶
type DNSRecordType string
DNS record type.
const ( DNSRecordTypeA DNSRecordType = "A" DNSRecordTypeAAAA DNSRecordType = "AAAA" DNSRecordTypeCNAME DNSRecordType = "CNAME" DNSRecordTypeHTTPS DNSRecordType = "HTTPS" DNSRecordTypeTXT DNSRecordType = "TXT" DNSRecordTypeSRV DNSRecordType = "SRV" DNSRecordTypeLOC DNSRecordType = "LOC" DNSRecordTypeMX DNSRecordType = "MX" DNSRecordTypeNS DNSRecordType = "NS" DNSRecordTypeCERT DNSRecordType = "CERT" DNSRecordTypeDNSKEY DNSRecordType = "DNSKEY" DNSRecordTypeDS DNSRecordType = "DS" DNSRecordTypeNAPTR DNSRecordType = "NAPTR" DNSRecordTypeSMIMEA DNSRecordType = "SMIMEA" DNSRecordTypeSSHFP DNSRecordType = "SSHFP" DNSRecordTypeSVCB DNSRecordType = "SVCB" DNSRecordTypeTLSA DNSRecordType = "TLSA" DNSRecordTypeURI DNSRecordType = "URI" )
func (DNSRecordType) IsKnown ¶
func (r DNSRecordType) IsKnown() bool
type DNSService ¶
type DNSService struct {
Options []option.RequestOption
}
DNSService contains methods and other services that help with interacting with the cloudflare API. Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewDNSService method instead.
func NewDNSService ¶
func NewDNSService(opts ...option.RequestOption) (r *DNSService)
NewDNSService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*DNSService) Get ¶
func (r *DNSService) Get(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *[]DNSRecord, err error)
Show the DNS records needed to configure your Email Routing zone.
type EmailRoutingDisableParams ¶
type EmailRoutingDisableParams struct {
Body interface{} `json:"body,required"`
}
func (EmailRoutingDisableParams) MarshalJSON ¶
func (r EmailRoutingDisableParams) MarshalJSON() (data []byte, err error)
type EmailRoutingDisableResponseEnvelope ¶
type EmailRoutingDisableResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Settings `json:"result,required"` // Whether the API call was successful Success EmailRoutingDisableResponseEnvelopeSuccess `json:"success,required"` JSON emailRoutingDisableResponseEnvelopeJSON `json:"-"` }
func (*EmailRoutingDisableResponseEnvelope) UnmarshalJSON ¶
func (r *EmailRoutingDisableResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type EmailRoutingDisableResponseEnvelopeSuccess ¶
type EmailRoutingDisableResponseEnvelopeSuccess bool
Whether the API call was successful
const (
EmailRoutingDisableResponseEnvelopeSuccessTrue EmailRoutingDisableResponseEnvelopeSuccess = true
)
func (EmailRoutingDisableResponseEnvelopeSuccess) IsKnown ¶
func (r EmailRoutingDisableResponseEnvelopeSuccess) IsKnown() bool
type EmailRoutingEnableParams ¶
type EmailRoutingEnableParams struct {
Body interface{} `json:"body,required"`
}
func (EmailRoutingEnableParams) MarshalJSON ¶
func (r EmailRoutingEnableParams) MarshalJSON() (data []byte, err error)
type EmailRoutingEnableResponseEnvelope ¶
type EmailRoutingEnableResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Settings `json:"result,required"` // Whether the API call was successful Success EmailRoutingEnableResponseEnvelopeSuccess `json:"success,required"` JSON emailRoutingEnableResponseEnvelopeJSON `json:"-"` }
func (*EmailRoutingEnableResponseEnvelope) UnmarshalJSON ¶
func (r *EmailRoutingEnableResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type EmailRoutingEnableResponseEnvelopeSuccess ¶
type EmailRoutingEnableResponseEnvelopeSuccess bool
Whether the API call was successful
const (
EmailRoutingEnableResponseEnvelopeSuccessTrue EmailRoutingEnableResponseEnvelopeSuccess = true
)
func (EmailRoutingEnableResponseEnvelopeSuccess) IsKnown ¶
func (r EmailRoutingEnableResponseEnvelopeSuccess) IsKnown() bool
type EmailRoutingGetResponseEnvelope ¶
type EmailRoutingGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Settings `json:"result,required"` // Whether the API call was successful Success EmailRoutingGetResponseEnvelopeSuccess `json:"success,required"` JSON emailRoutingGetResponseEnvelopeJSON `json:"-"` }
func (*EmailRoutingGetResponseEnvelope) UnmarshalJSON ¶
func (r *EmailRoutingGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type EmailRoutingGetResponseEnvelopeSuccess ¶
type EmailRoutingGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
EmailRoutingGetResponseEnvelopeSuccessTrue EmailRoutingGetResponseEnvelopeSuccess = true
)
func (EmailRoutingGetResponseEnvelopeSuccess) IsKnown ¶
func (r EmailRoutingGetResponseEnvelopeSuccess) IsKnown() bool
type EmailRoutingRule ¶
type EmailRoutingRule struct { // Routing rule identifier. ID string `json:"id"` // List actions patterns. Actions []Action `json:"actions"` // Routing rule status. Enabled EmailRoutingRuleEnabled `json:"enabled"` // Matching patterns to forward to your actions. Matchers []Matcher `json:"matchers"` // Routing rule name. Name string `json:"name"` // Priority of the routing rule. Priority float64 `json:"priority"` // Routing rule tag. (Deprecated, replaced by routing rule identifier) Tag string `json:"tag"` JSON emailRoutingRuleJSON `json:"-"` }
func (*EmailRoutingRule) UnmarshalJSON ¶
func (r *EmailRoutingRule) UnmarshalJSON(data []byte) (err error)
type EmailRoutingRuleEnabled ¶
type EmailRoutingRuleEnabled bool
Routing rule status.
const ( EmailRoutingRuleEnabledTrue EmailRoutingRuleEnabled = true EmailRoutingRuleEnabledFalse EmailRoutingRuleEnabled = false )
func (EmailRoutingRuleEnabled) IsKnown ¶
func (r EmailRoutingRuleEnabled) IsKnown() bool
type EmailRoutingService ¶
type EmailRoutingService struct { Options []option.RequestOption DNS *DNSService Rules *RuleService Addresses *AddressService }
EmailRoutingService contains methods and other services that help with interacting with the cloudflare API. Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewEmailRoutingService method instead.
func NewEmailRoutingService ¶
func NewEmailRoutingService(opts ...option.RequestOption) (r *EmailRoutingService)
NewEmailRoutingService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*EmailRoutingService) Disable ¶
func (r *EmailRoutingService) Disable(ctx context.Context, zoneIdentifier string, body EmailRoutingDisableParams, opts ...option.RequestOption) (res *Settings, err error)
Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.
func (*EmailRoutingService) Enable ¶
func (r *EmailRoutingService) Enable(ctx context.Context, zoneIdentifier string, body EmailRoutingEnableParams, opts ...option.RequestOption) (res *Settings, err error)
Enable you Email Routing zone. Add and lock the necessary MX and SPF records.
func (*EmailRoutingService) Get ¶
func (r *EmailRoutingService) Get(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *Settings, err error)
Get information about the settings for your Email Routing zone.
type Matcher ¶
type Matcher struct { // Field for type matcher. Field MatcherField `json:"field,required"` // Type of matcher. Type MatcherType `json:"type,required"` // Value for matcher. Value string `json:"value,required"` JSON matcherJSON `json:"-"` }
Matching pattern to forward your actions.
func (*Matcher) UnmarshalJSON ¶
type MatcherField ¶
type MatcherField string
Field for type matcher.
const (
MatcherFieldTo MatcherField = "to"
)
func (MatcherField) IsKnown ¶
func (r MatcherField) IsKnown() bool
type MatcherParam ¶
type MatcherParam struct { // Field for type matcher. Field param.Field[MatcherField] `json:"field,required"` // Type of matcher. Type param.Field[MatcherType] `json:"type,required"` // Value for matcher. Value param.Field[string] `json:"value,required"` }
Matching pattern to forward your actions.
func (MatcherParam) MarshalJSON ¶
func (r MatcherParam) MarshalJSON() (data []byte, err error)
type MatcherType ¶
type MatcherType string
Type of matcher.
const (
MatcherTypeLiteral MatcherType = "literal"
)
func (MatcherType) IsKnown ¶
func (r MatcherType) IsKnown() bool
type MemberParam ¶ added in v2.1.0
type MemberParam = shared.MemberParam
This is an alias to an internal type.
type MemberRole ¶ added in v2.1.0
type MemberRole = shared.MemberRole
This is an alias to an internal type.
type MemberRoleParam ¶ added in v2.1.0
type MemberRoleParam = shared.MemberRoleParam
This is an alias to an internal type.
type MemberRolesPermissions ¶ added in v2.1.0
type MemberRolesPermissions = shared.MemberRolesPermissions
This is an alias to an internal type.
type MemberRolesPermissionsParam ¶ added in v2.1.0
type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam
This is an alias to an internal type.
type MemberUser ¶ added in v2.1.0
type MemberUser = shared.MemberUser
This is an alias to an internal type.
type MemberUserParam ¶ added in v2.1.0
type MemberUserParam = shared.MemberUserParam
This is an alias to an internal type.
type PermissionGrant ¶
type PermissionGrant = shared.PermissionGrant
This is an alias to an internal type.
type PermissionGrantParam ¶
type PermissionGrantParam = shared.PermissionGrantParam
This is an alias to an internal type.
type RuleCatchAllGetResponse ¶
type RuleCatchAllGetResponse struct { // Routing rule identifier. ID string `json:"id"` // List actions for the catch-all routing rule. Actions []CatchAllAction `json:"actions"` // Routing rule status. Enabled RuleCatchAllGetResponseEnabled `json:"enabled"` // List of matchers for the catch-all routing rule. Matchers []CatchAllMatcher `json:"matchers"` // Routing rule name. Name string `json:"name"` // Routing rule tag. (Deprecated, replaced by routing rule identifier) Tag string `json:"tag"` JSON ruleCatchAllGetResponseJSON `json:"-"` }
func (*RuleCatchAllGetResponse) UnmarshalJSON ¶
func (r *RuleCatchAllGetResponse) UnmarshalJSON(data []byte) (err error)
type RuleCatchAllGetResponseEnabled ¶
type RuleCatchAllGetResponseEnabled bool
Routing rule status.
const ( RuleCatchAllGetResponseEnabledTrue RuleCatchAllGetResponseEnabled = true RuleCatchAllGetResponseEnabledFalse RuleCatchAllGetResponseEnabled = false )
func (RuleCatchAllGetResponseEnabled) IsKnown ¶
func (r RuleCatchAllGetResponseEnabled) IsKnown() bool
type RuleCatchAllGetResponseEnvelope ¶
type RuleCatchAllGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result RuleCatchAllGetResponse `json:"result,required"` // Whether the API call was successful Success RuleCatchAllGetResponseEnvelopeSuccess `json:"success,required"` JSON ruleCatchAllGetResponseEnvelopeJSON `json:"-"` }
func (*RuleCatchAllGetResponseEnvelope) UnmarshalJSON ¶
func (r *RuleCatchAllGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type RuleCatchAllGetResponseEnvelopeSuccess ¶
type RuleCatchAllGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
RuleCatchAllGetResponseEnvelopeSuccessTrue RuleCatchAllGetResponseEnvelopeSuccess = true
)
func (RuleCatchAllGetResponseEnvelopeSuccess) IsKnown ¶
func (r RuleCatchAllGetResponseEnvelopeSuccess) IsKnown() bool
type RuleCatchAllService ¶
type RuleCatchAllService struct {
Options []option.RequestOption
}
RuleCatchAllService contains methods and other services that help with interacting with the cloudflare API. Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewRuleCatchAllService method instead.
func NewRuleCatchAllService ¶
func NewRuleCatchAllService(opts ...option.RequestOption) (r *RuleCatchAllService)
NewRuleCatchAllService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*RuleCatchAllService) Get ¶
func (r *RuleCatchAllService) Get(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *RuleCatchAllGetResponse, err error)
Get information on the default catch-all routing rule.
func (*RuleCatchAllService) Update ¶
func (r *RuleCatchAllService) Update(ctx context.Context, zoneIdentifier string, body RuleCatchAllUpdateParams, opts ...option.RequestOption) (res *RuleCatchAllUpdateResponse, err error)
Enable or disable catch-all routing rule, or change action to forward to specific destination address.
type RuleCatchAllUpdateParams ¶
type RuleCatchAllUpdateParams struct { // List actions for the catch-all routing rule. Actions param.Field[[]CatchAllActionParam] `json:"actions,required"` // List of matchers for the catch-all routing rule. Matchers param.Field[[]CatchAllMatcherParam] `json:"matchers,required"` // Routing rule status. Enabled param.Field[RuleCatchAllUpdateParamsEnabled] `json:"enabled"` // Routing rule name. Name param.Field[string] `json:"name"` }
func (RuleCatchAllUpdateParams) MarshalJSON ¶
func (r RuleCatchAllUpdateParams) MarshalJSON() (data []byte, err error)
type RuleCatchAllUpdateParamsEnabled ¶
type RuleCatchAllUpdateParamsEnabled bool
Routing rule status.
const ( RuleCatchAllUpdateParamsEnabledTrue RuleCatchAllUpdateParamsEnabled = true RuleCatchAllUpdateParamsEnabledFalse RuleCatchAllUpdateParamsEnabled = false )
func (RuleCatchAllUpdateParamsEnabled) IsKnown ¶
func (r RuleCatchAllUpdateParamsEnabled) IsKnown() bool
type RuleCatchAllUpdateResponse ¶
type RuleCatchAllUpdateResponse struct { // Routing rule identifier. ID string `json:"id"` // List actions for the catch-all routing rule. Actions []CatchAllAction `json:"actions"` // Routing rule status. Enabled RuleCatchAllUpdateResponseEnabled `json:"enabled"` // List of matchers for the catch-all routing rule. Matchers []CatchAllMatcher `json:"matchers"` // Routing rule name. Name string `json:"name"` // Routing rule tag. (Deprecated, replaced by routing rule identifier) Tag string `json:"tag"` JSON ruleCatchAllUpdateResponseJSON `json:"-"` }
func (*RuleCatchAllUpdateResponse) UnmarshalJSON ¶
func (r *RuleCatchAllUpdateResponse) UnmarshalJSON(data []byte) (err error)
type RuleCatchAllUpdateResponseEnabled ¶
type RuleCatchAllUpdateResponseEnabled bool
Routing rule status.
const ( RuleCatchAllUpdateResponseEnabledTrue RuleCatchAllUpdateResponseEnabled = true RuleCatchAllUpdateResponseEnabledFalse RuleCatchAllUpdateResponseEnabled = false )
func (RuleCatchAllUpdateResponseEnabled) IsKnown ¶
func (r RuleCatchAllUpdateResponseEnabled) IsKnown() bool
type RuleCatchAllUpdateResponseEnvelope ¶
type RuleCatchAllUpdateResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result RuleCatchAllUpdateResponse `json:"result,required"` // Whether the API call was successful Success RuleCatchAllUpdateResponseEnvelopeSuccess `json:"success,required"` JSON ruleCatchAllUpdateResponseEnvelopeJSON `json:"-"` }
func (*RuleCatchAllUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *RuleCatchAllUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type RuleCatchAllUpdateResponseEnvelopeSuccess ¶
type RuleCatchAllUpdateResponseEnvelopeSuccess bool
Whether the API call was successful
const (
RuleCatchAllUpdateResponseEnvelopeSuccessTrue RuleCatchAllUpdateResponseEnvelopeSuccess = true
)
func (RuleCatchAllUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r RuleCatchAllUpdateResponseEnvelopeSuccess) IsKnown() bool
type RuleDeleteResponseEnvelope ¶
type RuleDeleteResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result EmailRoutingRule `json:"result,required"` // Whether the API call was successful Success RuleDeleteResponseEnvelopeSuccess `json:"success,required"` JSON ruleDeleteResponseEnvelopeJSON `json:"-"` }
func (*RuleDeleteResponseEnvelope) UnmarshalJSON ¶
func (r *RuleDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type RuleDeleteResponseEnvelopeSuccess ¶
type RuleDeleteResponseEnvelopeSuccess bool
Whether the API call was successful
const (
RuleDeleteResponseEnvelopeSuccessTrue RuleDeleteResponseEnvelopeSuccess = true
)
func (RuleDeleteResponseEnvelopeSuccess) IsKnown ¶
func (r RuleDeleteResponseEnvelopeSuccess) IsKnown() bool
type RuleGetResponseEnvelope ¶
type RuleGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result EmailRoutingRule `json:"result,required"` // Whether the API call was successful Success RuleGetResponseEnvelopeSuccess `json:"success,required"` JSON ruleGetResponseEnvelopeJSON `json:"-"` }
func (*RuleGetResponseEnvelope) UnmarshalJSON ¶
func (r *RuleGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type RuleGetResponseEnvelopeSuccess ¶
type RuleGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
RuleGetResponseEnvelopeSuccessTrue RuleGetResponseEnvelopeSuccess = true
)
func (RuleGetResponseEnvelopeSuccess) IsKnown ¶
func (r RuleGetResponseEnvelopeSuccess) IsKnown() bool
type RuleListParams ¶
type RuleListParams struct { // Filter by enabled routing rules. Enabled param.Field[RuleListParamsEnabled] `query:"enabled"` // Page number of paginated results. Page param.Field[float64] `query:"page"` // Maximum number of results per page. PerPage param.Field[float64] `query:"per_page"` }
func (RuleListParams) URLQuery ¶
func (r RuleListParams) URLQuery() (v url.Values)
URLQuery serializes RuleListParams's query parameters as `url.Values`.
type RuleListParamsEnabled ¶
type RuleListParamsEnabled bool
Filter by enabled routing rules.
const ( RuleListParamsEnabledTrue RuleListParamsEnabled = true RuleListParamsEnabledFalse RuleListParamsEnabled = false )
func (RuleListParamsEnabled) IsKnown ¶
func (r RuleListParamsEnabled) IsKnown() bool
type RuleNewParams ¶
type RuleNewParams struct { // List actions patterns. Actions param.Field[[]ActionParam] `json:"actions,required"` // Matching patterns to forward to your actions. Matchers param.Field[[]MatcherParam] `json:"matchers,required"` // Routing rule status. Enabled param.Field[RuleNewParamsEnabled] `json:"enabled"` // Routing rule name. Name param.Field[string] `json:"name"` // Priority of the routing rule. Priority param.Field[float64] `json:"priority"` }
func (RuleNewParams) MarshalJSON ¶
func (r RuleNewParams) MarshalJSON() (data []byte, err error)
type RuleNewParamsEnabled ¶
type RuleNewParamsEnabled bool
Routing rule status.
const ( RuleNewParamsEnabledTrue RuleNewParamsEnabled = true RuleNewParamsEnabledFalse RuleNewParamsEnabled = false )
func (RuleNewParamsEnabled) IsKnown ¶
func (r RuleNewParamsEnabled) IsKnown() bool
type RuleNewResponseEnvelope ¶
type RuleNewResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result EmailRoutingRule `json:"result,required"` // Whether the API call was successful Success RuleNewResponseEnvelopeSuccess `json:"success,required"` JSON ruleNewResponseEnvelopeJSON `json:"-"` }
func (*RuleNewResponseEnvelope) UnmarshalJSON ¶
func (r *RuleNewResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type RuleNewResponseEnvelopeSuccess ¶
type RuleNewResponseEnvelopeSuccess bool
Whether the API call was successful
const (
RuleNewResponseEnvelopeSuccessTrue RuleNewResponseEnvelopeSuccess = true
)
func (RuleNewResponseEnvelopeSuccess) IsKnown ¶
func (r RuleNewResponseEnvelopeSuccess) IsKnown() bool
type RuleService ¶
type RuleService struct { Options []option.RequestOption CatchAlls *RuleCatchAllService }
RuleService contains methods and other services that help with interacting with the cloudflare API. Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewRuleService method instead.
func NewRuleService ¶
func NewRuleService(opts ...option.RequestOption) (r *RuleService)
NewRuleService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*RuleService) Delete ¶
func (r *RuleService) Delete(ctx context.Context, zoneIdentifier string, ruleIdentifier string, opts ...option.RequestOption) (res *EmailRoutingRule, err error)
Delete a specific routing rule.
func (*RuleService) Get ¶
func (r *RuleService) Get(ctx context.Context, zoneIdentifier string, ruleIdentifier string, opts ...option.RequestOption) (res *EmailRoutingRule, err error)
Get information for a specific routing rule already created.
func (*RuleService) List ¶
func (r *RuleService) List(ctx context.Context, zoneIdentifier string, query RuleListParams, opts ...option.RequestOption) (res *pagination.V4PagePaginationArray[EmailRoutingRule], err error)
Lists existing routing rules.
func (*RuleService) ListAutoPaging ¶
func (r *RuleService) ListAutoPaging(ctx context.Context, zoneIdentifier string, query RuleListParams, opts ...option.RequestOption) *pagination.V4PagePaginationArrayAutoPager[EmailRoutingRule]
Lists existing routing rules.
func (*RuleService) New ¶
func (r *RuleService) New(ctx context.Context, zoneIdentifier string, body RuleNewParams, opts ...option.RequestOption) (res *EmailRoutingRule, err error)
Rules consist of a set of criteria for matching emails (such as an email being sent to a specific custom email address) plus a set of actions to take on the email (like forwarding it to a specific destination address).
func (*RuleService) Update ¶
func (r *RuleService) Update(ctx context.Context, zoneIdentifier string, ruleIdentifier string, body RuleUpdateParams, opts ...option.RequestOption) (res *EmailRoutingRule, err error)
Update actions and matches, or enable/disable specific routing rules.
type RuleUpdateParams ¶
type RuleUpdateParams struct { // List actions patterns. Actions param.Field[[]ActionParam] `json:"actions,required"` // Matching patterns to forward to your actions. Matchers param.Field[[]MatcherParam] `json:"matchers,required"` // Routing rule status. Enabled param.Field[RuleUpdateParamsEnabled] `json:"enabled"` // Routing rule name. Name param.Field[string] `json:"name"` // Priority of the routing rule. Priority param.Field[float64] `json:"priority"` }
func (RuleUpdateParams) MarshalJSON ¶
func (r RuleUpdateParams) MarshalJSON() (data []byte, err error)
type RuleUpdateParamsEnabled ¶
type RuleUpdateParamsEnabled bool
Routing rule status.
const ( RuleUpdateParamsEnabledTrue RuleUpdateParamsEnabled = true RuleUpdateParamsEnabledFalse RuleUpdateParamsEnabled = false )
func (RuleUpdateParamsEnabled) IsKnown ¶
func (r RuleUpdateParamsEnabled) IsKnown() bool
type RuleUpdateResponseEnvelope ¶
type RuleUpdateResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result EmailRoutingRule `json:"result,required"` // Whether the API call was successful Success RuleUpdateResponseEnvelopeSuccess `json:"success,required"` JSON ruleUpdateResponseEnvelopeJSON `json:"-"` }
func (*RuleUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *RuleUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type RuleUpdateResponseEnvelopeSuccess ¶
type RuleUpdateResponseEnvelopeSuccess bool
Whether the API call was successful
const (
RuleUpdateResponseEnvelopeSuccessTrue RuleUpdateResponseEnvelopeSuccess = true
)
func (RuleUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r RuleUpdateResponseEnvelopeSuccess) IsKnown() bool
type Settings ¶
type Settings struct { // Email Routing settings identifier. ID string `json:"id"` // The date and time the settings have been created. Created time.Time `json:"created" format:"date-time"` // State of the zone settings for Email Routing. Enabled SettingsEnabled `json:"enabled"` // The date and time the settings have been modified. Modified time.Time `json:"modified" format:"date-time"` // Domain of your zone. Name string `json:"name"` // Flag to check if the user skipped the configuration wizard. SkipWizard SettingsSkipWizard `json:"skip_wizard"` // Show the state of your account, and the type or configuration error. Status SettingsStatus `json:"status"` // Email Routing settings tag. (Deprecated, replaced by Email Routing settings // identifier) Tag string `json:"tag"` JSON settingsJSON `json:"-"` }
func (*Settings) UnmarshalJSON ¶
type SettingsEnabled ¶
type SettingsEnabled bool
State of the zone settings for Email Routing.
const ( SettingsEnabledTrue SettingsEnabled = true SettingsEnabledFalse SettingsEnabled = false )
func (SettingsEnabled) IsKnown ¶
func (r SettingsEnabled) IsKnown() bool
type SettingsSkipWizard ¶
type SettingsSkipWizard bool
Flag to check if the user skipped the configuration wizard.
const ( SettingsSkipWizardTrue SettingsSkipWizard = true SettingsSkipWizardFalse SettingsSkipWizard = false )
func (SettingsSkipWizard) IsKnown ¶
func (r SettingsSkipWizard) IsKnown() bool
type SettingsStatus ¶
type SettingsStatus string
Show the state of your account, and the type or configuration error.
const ( SettingsStatusReady SettingsStatus = "ready" SettingsStatusUnconfigured SettingsStatus = "unconfigured" SettingsStatusMisconfigured SettingsStatus = "misconfigured" SettingsStatusMisconfiguredLocked SettingsStatus = "misconfigured/locked" SettingsStatusUnlocked SettingsStatus = "unlocked" )
func (SettingsStatus) IsKnown ¶
func (r SettingsStatus) IsKnown() bool