Documentation ¶
Index ¶
- type AlternativeApprover
- type AlternativeApproverAttributes
- func (aa AlternativeApproverAttributes) Backup() terra.BoolValue
- func (aa AlternativeApproverAttributes) InternalRef() (terra.Reference, error)
- func (aa AlternativeApproverAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aa AlternativeApproverAttributes) InternalWithRef(ref terra.Reference) AlternativeApproverAttributes
- func (aa AlternativeApproverAttributes) ObjectId() terra.StringValue
- func (aa AlternativeApproverAttributes) SubjectType() terra.StringValue
- type AlternativeApproverState
- type ApprovalSettings
- type ApprovalSettingsAttributes
- func (as ApprovalSettingsAttributes) ApprovalRequired() terra.BoolValue
- func (as ApprovalSettingsAttributes) ApprovalRequiredForExtension() terra.BoolValue
- func (as ApprovalSettingsAttributes) ApprovalStage() terra.ListValue[ApprovalStageAttributes]
- func (as ApprovalSettingsAttributes) InternalRef() (terra.Reference, error)
- func (as ApprovalSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ApprovalSettingsAttributes) InternalWithRef(ref terra.Reference) ApprovalSettingsAttributes
- func (as ApprovalSettingsAttributes) RequestorJustificationRequired() terra.BoolValue
- type ApprovalSettingsState
- type ApprovalStage
- type ApprovalStageAttributes
- func (as ApprovalStageAttributes) AlternativeApprovalEnabled() terra.BoolValue
- func (as ApprovalStageAttributes) AlternativeApprover() terra.ListValue[AlternativeApproverAttributes]
- func (as ApprovalStageAttributes) ApprovalTimeoutInDays() terra.NumberValue
- func (as ApprovalStageAttributes) ApproverJustificationRequired() terra.BoolValue
- func (as ApprovalStageAttributes) EnableAlternativeApprovalInDays() terra.NumberValue
- func (as ApprovalStageAttributes) InternalRef() (terra.Reference, error)
- func (as ApprovalStageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ApprovalStageAttributes) InternalWithRef(ref terra.Reference) ApprovalStageAttributes
- func (as ApprovalStageAttributes) PrimaryApprover() terra.ListValue[PrimaryApproverAttributes]
- type ApprovalStageState
- type AssignmentReviewSettings
- type AssignmentReviewSettingsAttributes
- func (ars AssignmentReviewSettingsAttributes) AccessRecommendationEnabled() terra.BoolValue
- func (ars AssignmentReviewSettingsAttributes) AccessReviewTimeoutBehavior() terra.StringValue
- func (ars AssignmentReviewSettingsAttributes) ApproverJustificationRequired() terra.BoolValue
- func (ars AssignmentReviewSettingsAttributes) DurationInDays() terra.NumberValue
- func (ars AssignmentReviewSettingsAttributes) Enabled() terra.BoolValue
- func (ars AssignmentReviewSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ars AssignmentReviewSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ars AssignmentReviewSettingsAttributes) InternalWithRef(ref terra.Reference) AssignmentReviewSettingsAttributes
- func (ars AssignmentReviewSettingsAttributes) ReviewFrequency() terra.StringValue
- func (ars AssignmentReviewSettingsAttributes) ReviewType() terra.StringValue
- func (ars AssignmentReviewSettingsAttributes) Reviewer() terra.ListValue[ReviewerAttributes]
- func (ars AssignmentReviewSettingsAttributes) StartingOn() terra.StringValue
- type AssignmentReviewSettingsState
- type Choice
- type ChoiceAttributes
- func (c ChoiceAttributes) ActualValue() terra.StringValue
- func (c ChoiceAttributes) DisplayValue() terra.ListValue[DisplayValueAttributes]
- func (c ChoiceAttributes) InternalRef() (terra.Reference, error)
- func (c ChoiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ChoiceAttributes) InternalWithRef(ref terra.Reference) ChoiceAttributes
- type ChoiceState
- type DisplayValue
- type DisplayValueAttributes
- func (dv DisplayValueAttributes) DefaultText() terra.StringValue
- func (dv DisplayValueAttributes) InternalRef() (terra.Reference, error)
- func (dv DisplayValueAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dv DisplayValueAttributes) InternalWithRef(ref terra.Reference) DisplayValueAttributes
- func (dv DisplayValueAttributes) LocalizedText() terra.ListValue[DisplayValueLocalizedTextAttributes]
- type DisplayValueLocalizedText
- type DisplayValueLocalizedTextAttributes
- func (lt DisplayValueLocalizedTextAttributes) Content() terra.StringValue
- func (lt DisplayValueLocalizedTextAttributes) InternalRef() (terra.Reference, error)
- func (lt DisplayValueLocalizedTextAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt DisplayValueLocalizedTextAttributes) InternalWithRef(ref terra.Reference) DisplayValueLocalizedTextAttributes
- func (lt DisplayValueLocalizedTextAttributes) LanguageCode() terra.StringValue
- type DisplayValueLocalizedTextState
- type DisplayValueState
- type PrimaryApprover
- type PrimaryApproverAttributes
- func (pa PrimaryApproverAttributes) Backup() terra.BoolValue
- func (pa PrimaryApproverAttributes) InternalRef() (terra.Reference, error)
- func (pa PrimaryApproverAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pa PrimaryApproverAttributes) InternalWithRef(ref terra.Reference) PrimaryApproverAttributes
- func (pa PrimaryApproverAttributes) ObjectId() terra.StringValue
- func (pa PrimaryApproverAttributes) SubjectType() terra.StringValue
- type PrimaryApproverState
- type Question
- type QuestionAttributes
- func (q QuestionAttributes) Choice() terra.ListValue[ChoiceAttributes]
- func (q QuestionAttributes) InternalRef() (terra.Reference, error)
- func (q QuestionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (q QuestionAttributes) InternalWithRef(ref terra.Reference) QuestionAttributes
- func (q QuestionAttributes) Required() terra.BoolValue
- func (q QuestionAttributes) Sequence() terra.NumberValue
- func (q QuestionAttributes) Text() terra.ListValue[TextAttributes]
- type QuestionState
- type Requestor
- type RequestorAttributes
- func (r RequestorAttributes) Backup() terra.BoolValue
- func (r RequestorAttributes) InternalRef() (terra.Reference, error)
- func (r RequestorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RequestorAttributes) InternalWithRef(ref terra.Reference) RequestorAttributes
- func (r RequestorAttributes) ObjectId() terra.StringValue
- func (r RequestorAttributes) SubjectType() terra.StringValue
- type RequestorSettings
- type RequestorSettingsAttributes
- func (rs RequestorSettingsAttributes) InternalRef() (terra.Reference, error)
- func (rs RequestorSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs RequestorSettingsAttributes) InternalWithRef(ref terra.Reference) RequestorSettingsAttributes
- func (rs RequestorSettingsAttributes) Requestor() terra.ListValue[RequestorAttributes]
- func (rs RequestorSettingsAttributes) RequestsAccepted() terra.BoolValue
- func (rs RequestorSettingsAttributes) ScopeType() terra.StringValue
- type RequestorSettingsState
- type RequestorState
- type Reviewer
- type ReviewerAttributes
- func (r ReviewerAttributes) Backup() terra.BoolValue
- func (r ReviewerAttributes) InternalRef() (terra.Reference, error)
- func (r ReviewerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ReviewerAttributes) InternalWithRef(ref terra.Reference) ReviewerAttributes
- func (r ReviewerAttributes) ObjectId() terra.StringValue
- func (r ReviewerAttributes) SubjectType() terra.StringValue
- type ReviewerState
- type Text
- type TextAttributes
- func (t TextAttributes) DefaultText() terra.StringValue
- func (t TextAttributes) InternalRef() (terra.Reference, error)
- func (t TextAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TextAttributes) InternalWithRef(ref terra.Reference) TextAttributes
- func (t TextAttributes) LocalizedText() terra.ListValue[TextLocalizedTextAttributes]
- type TextLocalizedText
- type TextLocalizedTextAttributes
- func (lt TextLocalizedTextAttributes) Content() terra.StringValue
- func (lt TextLocalizedTextAttributes) InternalRef() (terra.Reference, error)
- func (lt TextLocalizedTextAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt TextLocalizedTextAttributes) InternalWithRef(ref terra.Reference) TextLocalizedTextAttributes
- func (lt TextLocalizedTextAttributes) LanguageCode() terra.StringValue
- type TextLocalizedTextState
- type TextState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlternativeApprover ¶
type AlternativeApprover struct { // Backup: bool, optional Backup terra.BoolValue `hcl:"backup,attr"` // ObjectId: string, optional ObjectId terra.StringValue `hcl:"object_id,attr"` // SubjectType: string, required SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"` }
type AlternativeApproverAttributes ¶
type AlternativeApproverAttributes struct {
// contains filtered or unexported fields
}
func (AlternativeApproverAttributes) Backup ¶
func (aa AlternativeApproverAttributes) Backup() terra.BoolValue
func (AlternativeApproverAttributes) InternalRef ¶
func (aa AlternativeApproverAttributes) InternalRef() (terra.Reference, error)
func (AlternativeApproverAttributes) InternalTokens ¶
func (aa AlternativeApproverAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlternativeApproverAttributes) InternalWithRef ¶
func (aa AlternativeApproverAttributes) InternalWithRef(ref terra.Reference) AlternativeApproverAttributes
func (AlternativeApproverAttributes) ObjectId ¶
func (aa AlternativeApproverAttributes) ObjectId() terra.StringValue
func (AlternativeApproverAttributes) SubjectType ¶
func (aa AlternativeApproverAttributes) SubjectType() terra.StringValue
type ApprovalSettings ¶
type ApprovalSettings struct { // ApprovalRequired: bool, optional ApprovalRequired terra.BoolValue `hcl:"approval_required,attr"` // ApprovalRequiredForExtension: bool, optional ApprovalRequiredForExtension terra.BoolValue `hcl:"approval_required_for_extension,attr"` // RequestorJustificationRequired: bool, optional RequestorJustificationRequired terra.BoolValue `hcl:"requestor_justification_required,attr"` // ApprovalStage: min=0 ApprovalStage []ApprovalStage `hcl:"approval_stage,block" validate:"min=0"` }
type ApprovalSettingsAttributes ¶
type ApprovalSettingsAttributes struct {
// contains filtered or unexported fields
}
func (ApprovalSettingsAttributes) ApprovalRequired ¶
func (as ApprovalSettingsAttributes) ApprovalRequired() terra.BoolValue
func (ApprovalSettingsAttributes) ApprovalRequiredForExtension ¶
func (as ApprovalSettingsAttributes) ApprovalRequiredForExtension() terra.BoolValue
func (ApprovalSettingsAttributes) ApprovalStage ¶
func (as ApprovalSettingsAttributes) ApprovalStage() terra.ListValue[ApprovalStageAttributes]
func (ApprovalSettingsAttributes) InternalRef ¶
func (as ApprovalSettingsAttributes) InternalRef() (terra.Reference, error)
func (ApprovalSettingsAttributes) InternalTokens ¶
func (as ApprovalSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApprovalSettingsAttributes) InternalWithRef ¶
func (as ApprovalSettingsAttributes) InternalWithRef(ref terra.Reference) ApprovalSettingsAttributes
func (ApprovalSettingsAttributes) RequestorJustificationRequired ¶
func (as ApprovalSettingsAttributes) RequestorJustificationRequired() terra.BoolValue
type ApprovalSettingsState ¶
type ApprovalSettingsState struct { ApprovalRequired bool `json:"approval_required"` ApprovalRequiredForExtension bool `json:"approval_required_for_extension"` RequestorJustificationRequired bool `json:"requestor_justification_required"` ApprovalStage []ApprovalStageState `json:"approval_stage"` }
type ApprovalStage ¶
type ApprovalStage struct { // AlternativeApprovalEnabled: bool, optional AlternativeApprovalEnabled terra.BoolValue `hcl:"alternative_approval_enabled,attr"` // ApprovalTimeoutInDays: number, required ApprovalTimeoutInDays terra.NumberValue `hcl:"approval_timeout_in_days,attr" validate:"required"` // ApproverJustificationRequired: bool, optional ApproverJustificationRequired terra.BoolValue `hcl:"approver_justification_required,attr"` // EnableAlternativeApprovalInDays: number, optional EnableAlternativeApprovalInDays terra.NumberValue `hcl:"enable_alternative_approval_in_days,attr"` // AlternativeApprover: min=0 AlternativeApprover []AlternativeApprover `hcl:"alternative_approver,block" validate:"min=0"` // PrimaryApprover: min=0 PrimaryApprover []PrimaryApprover `hcl:"primary_approver,block" validate:"min=0"` }
type ApprovalStageAttributes ¶
type ApprovalStageAttributes struct {
// contains filtered or unexported fields
}
func (ApprovalStageAttributes) AlternativeApprovalEnabled ¶
func (as ApprovalStageAttributes) AlternativeApprovalEnabled() terra.BoolValue
func (ApprovalStageAttributes) AlternativeApprover ¶
func (as ApprovalStageAttributes) AlternativeApprover() terra.ListValue[AlternativeApproverAttributes]
func (ApprovalStageAttributes) ApprovalTimeoutInDays ¶
func (as ApprovalStageAttributes) ApprovalTimeoutInDays() terra.NumberValue
func (ApprovalStageAttributes) ApproverJustificationRequired ¶
func (as ApprovalStageAttributes) ApproverJustificationRequired() terra.BoolValue
func (ApprovalStageAttributes) EnableAlternativeApprovalInDays ¶
func (as ApprovalStageAttributes) EnableAlternativeApprovalInDays() terra.NumberValue
func (ApprovalStageAttributes) InternalRef ¶
func (as ApprovalStageAttributes) InternalRef() (terra.Reference, error)
func (ApprovalStageAttributes) InternalTokens ¶
func (as ApprovalStageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApprovalStageAttributes) InternalWithRef ¶
func (as ApprovalStageAttributes) InternalWithRef(ref terra.Reference) ApprovalStageAttributes
func (ApprovalStageAttributes) PrimaryApprover ¶
func (as ApprovalStageAttributes) PrimaryApprover() terra.ListValue[PrimaryApproverAttributes]
type ApprovalStageState ¶
type ApprovalStageState struct { AlternativeApprovalEnabled bool `json:"alternative_approval_enabled"` ApprovalTimeoutInDays float64 `json:"approval_timeout_in_days"` ApproverJustificationRequired bool `json:"approver_justification_required"` EnableAlternativeApprovalInDays float64 `json:"enable_alternative_approval_in_days"` AlternativeApprover []AlternativeApproverState `json:"alternative_approver"` PrimaryApprover []PrimaryApproverState `json:"primary_approver"` }
type AssignmentReviewSettings ¶
type AssignmentReviewSettings struct { // AccessRecommendationEnabled: bool, optional AccessRecommendationEnabled terra.BoolValue `hcl:"access_recommendation_enabled,attr"` // AccessReviewTimeoutBehavior: string, optional AccessReviewTimeoutBehavior terra.StringValue `hcl:"access_review_timeout_behavior,attr"` // ApproverJustificationRequired: bool, optional ApproverJustificationRequired terra.BoolValue `hcl:"approver_justification_required,attr"` // DurationInDays: number, optional DurationInDays terra.NumberValue `hcl:"duration_in_days,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // ReviewFrequency: string, optional ReviewFrequency terra.StringValue `hcl:"review_frequency,attr"` // ReviewType: string, optional ReviewType terra.StringValue `hcl:"review_type,attr"` // StartingOn: string, optional StartingOn terra.StringValue `hcl:"starting_on,attr"` // Reviewer: min=0 Reviewer []Reviewer `hcl:"reviewer,block" validate:"min=0"` }
type AssignmentReviewSettingsAttributes ¶
type AssignmentReviewSettingsAttributes struct {
// contains filtered or unexported fields
}
func (AssignmentReviewSettingsAttributes) AccessRecommendationEnabled ¶
func (ars AssignmentReviewSettingsAttributes) AccessRecommendationEnabled() terra.BoolValue
func (AssignmentReviewSettingsAttributes) AccessReviewTimeoutBehavior ¶
func (ars AssignmentReviewSettingsAttributes) AccessReviewTimeoutBehavior() terra.StringValue
func (AssignmentReviewSettingsAttributes) ApproverJustificationRequired ¶
func (ars AssignmentReviewSettingsAttributes) ApproverJustificationRequired() terra.BoolValue
func (AssignmentReviewSettingsAttributes) DurationInDays ¶
func (ars AssignmentReviewSettingsAttributes) DurationInDays() terra.NumberValue
func (AssignmentReviewSettingsAttributes) Enabled ¶
func (ars AssignmentReviewSettingsAttributes) Enabled() terra.BoolValue
func (AssignmentReviewSettingsAttributes) InternalRef ¶
func (ars AssignmentReviewSettingsAttributes) InternalRef() (terra.Reference, error)
func (AssignmentReviewSettingsAttributes) InternalTokens ¶
func (ars AssignmentReviewSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AssignmentReviewSettingsAttributes) InternalWithRef ¶
func (ars AssignmentReviewSettingsAttributes) InternalWithRef(ref terra.Reference) AssignmentReviewSettingsAttributes
func (AssignmentReviewSettingsAttributes) ReviewFrequency ¶
func (ars AssignmentReviewSettingsAttributes) ReviewFrequency() terra.StringValue
func (AssignmentReviewSettingsAttributes) ReviewType ¶
func (ars AssignmentReviewSettingsAttributes) ReviewType() terra.StringValue
func (AssignmentReviewSettingsAttributes) Reviewer ¶
func (ars AssignmentReviewSettingsAttributes) Reviewer() terra.ListValue[ReviewerAttributes]
func (AssignmentReviewSettingsAttributes) StartingOn ¶
func (ars AssignmentReviewSettingsAttributes) StartingOn() terra.StringValue
type AssignmentReviewSettingsState ¶
type AssignmentReviewSettingsState struct { AccessRecommendationEnabled bool `json:"access_recommendation_enabled"` AccessReviewTimeoutBehavior string `json:"access_review_timeout_behavior"` ApproverJustificationRequired bool `json:"approver_justification_required"` DurationInDays float64 `json:"duration_in_days"` Enabled bool `json:"enabled"` ReviewFrequency string `json:"review_frequency"` ReviewType string `json:"review_type"` StartingOn string `json:"starting_on"` Reviewer []ReviewerState `json:"reviewer"` }
type Choice ¶
type Choice struct { // ActualValue: string, required ActualValue terra.StringValue `hcl:"actual_value,attr" validate:"required"` // DisplayValue: required DisplayValue *DisplayValue `hcl:"display_value,block" validate:"required"` }
type ChoiceAttributes ¶
type ChoiceAttributes struct {
// contains filtered or unexported fields
}
func (ChoiceAttributes) ActualValue ¶
func (c ChoiceAttributes) ActualValue() terra.StringValue
func (ChoiceAttributes) DisplayValue ¶
func (c ChoiceAttributes) DisplayValue() terra.ListValue[DisplayValueAttributes]
func (ChoiceAttributes) InternalRef ¶
func (c ChoiceAttributes) InternalRef() (terra.Reference, error)
func (ChoiceAttributes) InternalTokens ¶
func (c ChoiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ChoiceAttributes) InternalWithRef ¶
func (c ChoiceAttributes) InternalWithRef(ref terra.Reference) ChoiceAttributes
type ChoiceState ¶
type ChoiceState struct { ActualValue string `json:"actual_value"` DisplayValue []DisplayValueState `json:"display_value"` }
type DisplayValue ¶
type DisplayValue struct { // DefaultText: string, required DefaultText terra.StringValue `hcl:"default_text,attr" validate:"required"` // DisplayValueLocalizedText: min=0 LocalizedText []DisplayValueLocalizedText `hcl:"localized_text,block" validate:"min=0"` }
type DisplayValueAttributes ¶
type DisplayValueAttributes struct {
// contains filtered or unexported fields
}
func (DisplayValueAttributes) DefaultText ¶
func (dv DisplayValueAttributes) DefaultText() terra.StringValue
func (DisplayValueAttributes) InternalRef ¶
func (dv DisplayValueAttributes) InternalRef() (terra.Reference, error)
func (DisplayValueAttributes) InternalTokens ¶
func (dv DisplayValueAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DisplayValueAttributes) InternalWithRef ¶
func (dv DisplayValueAttributes) InternalWithRef(ref terra.Reference) DisplayValueAttributes
func (DisplayValueAttributes) LocalizedText ¶
func (dv DisplayValueAttributes) LocalizedText() terra.ListValue[DisplayValueLocalizedTextAttributes]
type DisplayValueLocalizedText ¶
type DisplayValueLocalizedText struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // LanguageCode: string, required LanguageCode terra.StringValue `hcl:"language_code,attr" validate:"required"` }
type DisplayValueLocalizedTextAttributes ¶
type DisplayValueLocalizedTextAttributes struct {
// contains filtered or unexported fields
}
func (DisplayValueLocalizedTextAttributes) Content ¶
func (lt DisplayValueLocalizedTextAttributes) Content() terra.StringValue
func (DisplayValueLocalizedTextAttributes) InternalRef ¶
func (lt DisplayValueLocalizedTextAttributes) InternalRef() (terra.Reference, error)
func (DisplayValueLocalizedTextAttributes) InternalTokens ¶
func (lt DisplayValueLocalizedTextAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DisplayValueLocalizedTextAttributes) InternalWithRef ¶
func (lt DisplayValueLocalizedTextAttributes) InternalWithRef(ref terra.Reference) DisplayValueLocalizedTextAttributes
func (DisplayValueLocalizedTextAttributes) LanguageCode ¶
func (lt DisplayValueLocalizedTextAttributes) LanguageCode() terra.StringValue
type DisplayValueState ¶
type DisplayValueState struct { DefaultText string `json:"default_text"` LocalizedText []DisplayValueLocalizedTextState `json:"localized_text"` }
type PrimaryApprover ¶
type PrimaryApprover struct { // Backup: bool, optional Backup terra.BoolValue `hcl:"backup,attr"` // ObjectId: string, optional ObjectId terra.StringValue `hcl:"object_id,attr"` // SubjectType: string, required SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"` }
type PrimaryApproverAttributes ¶
type PrimaryApproverAttributes struct {
// contains filtered or unexported fields
}
func (PrimaryApproverAttributes) Backup ¶
func (pa PrimaryApproverAttributes) Backup() terra.BoolValue
func (PrimaryApproverAttributes) InternalRef ¶
func (pa PrimaryApproverAttributes) InternalRef() (terra.Reference, error)
func (PrimaryApproverAttributes) InternalTokens ¶
func (pa PrimaryApproverAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PrimaryApproverAttributes) InternalWithRef ¶
func (pa PrimaryApproverAttributes) InternalWithRef(ref terra.Reference) PrimaryApproverAttributes
func (PrimaryApproverAttributes) ObjectId ¶
func (pa PrimaryApproverAttributes) ObjectId() terra.StringValue
func (PrimaryApproverAttributes) SubjectType ¶
func (pa PrimaryApproverAttributes) SubjectType() terra.StringValue
type PrimaryApproverState ¶
type Question ¶
type Question struct { // Required: bool, optional Required terra.BoolValue `hcl:"required,attr"` // Sequence: number, optional Sequence terra.NumberValue `hcl:"sequence,attr"` // Choice: min=0 Choice []Choice `hcl:"choice,block" validate:"min=0"` // Text: required Text *Text `hcl:"text,block" validate:"required"` }
type QuestionAttributes ¶
type QuestionAttributes struct {
// contains filtered or unexported fields
}
func (QuestionAttributes) Choice ¶
func (q QuestionAttributes) Choice() terra.ListValue[ChoiceAttributes]
func (QuestionAttributes) InternalRef ¶
func (q QuestionAttributes) InternalRef() (terra.Reference, error)
func (QuestionAttributes) InternalTokens ¶
func (q QuestionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QuestionAttributes) InternalWithRef ¶
func (q QuestionAttributes) InternalWithRef(ref terra.Reference) QuestionAttributes
func (QuestionAttributes) Required ¶
func (q QuestionAttributes) Required() terra.BoolValue
func (QuestionAttributes) Sequence ¶
func (q QuestionAttributes) Sequence() terra.NumberValue
func (QuestionAttributes) Text ¶
func (q QuestionAttributes) Text() terra.ListValue[TextAttributes]
type QuestionState ¶
type QuestionState struct { Required bool `json:"required"` Sequence float64 `json:"sequence"` Choice []ChoiceState `json:"choice"` Text []TextState `json:"text"` }
type Requestor ¶
type Requestor struct { // Backup: bool, optional Backup terra.BoolValue `hcl:"backup,attr"` // ObjectId: string, optional ObjectId terra.StringValue `hcl:"object_id,attr"` // SubjectType: string, required SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"` }
type RequestorAttributes ¶
type RequestorAttributes struct {
// contains filtered or unexported fields
}
func (RequestorAttributes) Backup ¶
func (r RequestorAttributes) Backup() terra.BoolValue
func (RequestorAttributes) InternalRef ¶
func (r RequestorAttributes) InternalRef() (terra.Reference, error)
func (RequestorAttributes) InternalTokens ¶
func (r RequestorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RequestorAttributes) InternalWithRef ¶
func (r RequestorAttributes) InternalWithRef(ref terra.Reference) RequestorAttributes
func (RequestorAttributes) ObjectId ¶
func (r RequestorAttributes) ObjectId() terra.StringValue
func (RequestorAttributes) SubjectType ¶
func (r RequestorAttributes) SubjectType() terra.StringValue
type RequestorSettings ¶
type RequestorSettings struct { // RequestsAccepted: bool, optional RequestsAccepted terra.BoolValue `hcl:"requests_accepted,attr"` // ScopeType: string, optional ScopeType terra.StringValue `hcl:"scope_type,attr"` // Requestor: min=0 Requestor []Requestor `hcl:"requestor,block" validate:"min=0"` }
type RequestorSettingsAttributes ¶
type RequestorSettingsAttributes struct {
// contains filtered or unexported fields
}
func (RequestorSettingsAttributes) InternalRef ¶
func (rs RequestorSettingsAttributes) InternalRef() (terra.Reference, error)
func (RequestorSettingsAttributes) InternalTokens ¶
func (rs RequestorSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RequestorSettingsAttributes) InternalWithRef ¶
func (rs RequestorSettingsAttributes) InternalWithRef(ref terra.Reference) RequestorSettingsAttributes
func (RequestorSettingsAttributes) Requestor ¶
func (rs RequestorSettingsAttributes) Requestor() terra.ListValue[RequestorAttributes]
func (RequestorSettingsAttributes) RequestsAccepted ¶
func (rs RequestorSettingsAttributes) RequestsAccepted() terra.BoolValue
func (RequestorSettingsAttributes) ScopeType ¶
func (rs RequestorSettingsAttributes) ScopeType() terra.StringValue
type RequestorSettingsState ¶
type RequestorSettingsState struct { RequestsAccepted bool `json:"requests_accepted"` ScopeType string `json:"scope_type"` Requestor []RequestorState `json:"requestor"` }
type RequestorState ¶
type Reviewer ¶
type Reviewer struct { // Backup: bool, optional Backup terra.BoolValue `hcl:"backup,attr"` // ObjectId: string, optional ObjectId terra.StringValue `hcl:"object_id,attr"` // SubjectType: string, required SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"` }
type ReviewerAttributes ¶
type ReviewerAttributes struct {
// contains filtered or unexported fields
}
func (ReviewerAttributes) Backup ¶
func (r ReviewerAttributes) Backup() terra.BoolValue
func (ReviewerAttributes) InternalRef ¶
func (r ReviewerAttributes) InternalRef() (terra.Reference, error)
func (ReviewerAttributes) InternalTokens ¶
func (r ReviewerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReviewerAttributes) InternalWithRef ¶
func (r ReviewerAttributes) InternalWithRef(ref terra.Reference) ReviewerAttributes
func (ReviewerAttributes) ObjectId ¶
func (r ReviewerAttributes) ObjectId() terra.StringValue
func (ReviewerAttributes) SubjectType ¶
func (r ReviewerAttributes) SubjectType() terra.StringValue
type ReviewerState ¶
type Text ¶
type Text struct { // DefaultText: string, required DefaultText terra.StringValue `hcl:"default_text,attr" validate:"required"` // TextLocalizedText: min=0 LocalizedText []TextLocalizedText `hcl:"localized_text,block" validate:"min=0"` }
type TextAttributes ¶
type TextAttributes struct {
// contains filtered or unexported fields
}
func (TextAttributes) DefaultText ¶
func (t TextAttributes) DefaultText() terra.StringValue
func (TextAttributes) InternalRef ¶
func (t TextAttributes) InternalRef() (terra.Reference, error)
func (TextAttributes) InternalTokens ¶
func (t TextAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TextAttributes) InternalWithRef ¶
func (t TextAttributes) InternalWithRef(ref terra.Reference) TextAttributes
func (TextAttributes) LocalizedText ¶
func (t TextAttributes) LocalizedText() terra.ListValue[TextLocalizedTextAttributes]
type TextLocalizedText ¶
type TextLocalizedText struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // LanguageCode: string, required LanguageCode terra.StringValue `hcl:"language_code,attr" validate:"required"` }
type TextLocalizedTextAttributes ¶
type TextLocalizedTextAttributes struct {
// contains filtered or unexported fields
}
func (TextLocalizedTextAttributes) Content ¶
func (lt TextLocalizedTextAttributes) Content() terra.StringValue
func (TextLocalizedTextAttributes) InternalRef ¶
func (lt TextLocalizedTextAttributes) InternalRef() (terra.Reference, error)
func (TextLocalizedTextAttributes) InternalTokens ¶
func (lt TextLocalizedTextAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TextLocalizedTextAttributes) InternalWithRef ¶
func (lt TextLocalizedTextAttributes) InternalWithRef(ref terra.Reference) TextLocalizedTextAttributes
func (TextLocalizedTextAttributes) LanguageCode ¶
func (lt TextLocalizedTextAttributes) LanguageCode() terra.StringValue
type TextLocalizedTextState ¶
type TextState ¶
type TextState struct { DefaultText string `json:"default_text"` LocalizedText []TextLocalizedTextState `json:"localized_text"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.