api

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AIDomainAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Domain": {
		AllowedChoices: []string{},
		BSONFieldName:  "domain",
		ConvertedName:  "Domain",
		CreationOnly:   true,
		Description:    `The domain of the AI provider.`,
		Exposed:        true,
		Name:           "domain",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"IsAIDomain": {
		AllowedChoices: []string{},
		BSONFieldName:  "isaidomain",
		ConvertedName:  "IsAIDomain",
		Description:    `Flag to say if the domain is a AI domain or not.`,
		Exposed:        true,
		Name:           "isAIDomain",
		Stored:         true,
		Type:           "boolean",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ProviderName": {
		AllowedChoices: []string{},
		BSONFieldName:  "providername",
		ConvertedName:  "ProviderName",
		Description:    `The name of the main provider.`,
		Exposed:        true,
		Name:           "providerName",
		Stored:         true,
		Type:           "string",
	},
	"RiskExplanation": {
		AllowedChoices: []string{},
		BSONFieldName:  "riskexplanation",
		ConvertedName:  "RiskExplanation",
		Description:    `A Markdown formatted string explaining the risk score.`,
		Exposed:        true,
		Name:           "riskExplanation",
		Stored:         true,
		Type:           "string",
	},
	"RiskScore": {
		AllowedChoices: []string{},
		BSONFieldName:  "riskscore",
		ConvertedName:  "RiskScore",
		Description:    `The risk score for the domain.`,
		Exposed:        true,
		MaxValue:       1,
		Name:           "riskScore",
		Required:       true,
		Stored:         true,
		Type:           "float",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AIDomainAttributesMap represents the map of attribute for AIDomain.

View Source
var AIDomainIdentity = elemental.Identity{
	Name:     "aidomain",
	Category: "aidomains",
	Package:  "lain",
	Private:  false,
}

AIDomainIdentity represents the Identity of the object.

View Source
var AIDomainLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"domain": {
		AllowedChoices: []string{},
		BSONFieldName:  "domain",
		ConvertedName:  "Domain",
		CreationOnly:   true,
		Description:    `The domain of the AI provider.`,
		Exposed:        true,
		Name:           "domain",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"isaidomain": {
		AllowedChoices: []string{},
		BSONFieldName:  "isaidomain",
		ConvertedName:  "IsAIDomain",
		Description:    `Flag to say if the domain is a AI domain or not.`,
		Exposed:        true,
		Name:           "isAIDomain",
		Stored:         true,
		Type:           "boolean",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"providername": {
		AllowedChoices: []string{},
		BSONFieldName:  "providername",
		ConvertedName:  "ProviderName",
		Description:    `The name of the main provider.`,
		Exposed:        true,
		Name:           "providerName",
		Stored:         true,
		Type:           "string",
	},
	"riskexplanation": {
		AllowedChoices: []string{},
		BSONFieldName:  "riskexplanation",
		ConvertedName:  "RiskExplanation",
		Description:    `A Markdown formatted string explaining the risk score.`,
		Exposed:        true,
		Name:           "riskExplanation",
		Stored:         true,
		Type:           "string",
	},
	"riskscore": {
		AllowedChoices: []string{},
		BSONFieldName:  "riskscore",
		ConvertedName:  "RiskScore",
		Description:    `The risk score for the domain.`,
		Exposed:        true,
		MaxValue:       1,
		Name:           "riskScore",
		Required:       true,
		Stored:         true,
		Type:           "float",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AIDomainLowerCaseAttributesMap represents the map of attribute for AIDomain.

View Source
var APIAuthorizationAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the authorization rule.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `When disabled, an API Authorization has no effect.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the authorization rule.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Permissions": {
		AllowedChoices: []string{},
		BSONFieldName:  "permissions",
		ConvertedName:  "Permissions",
		Description:    `The individual permissions. Only works if role is Custom.`,
		Exposed:        true,
		Name:           "permissions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Role": {
		AllowedChoices: []string{"Administrator", "Application", "Custom", "Employee", "Owner", "Proxy", "Trial", "Viewer"},
		BSONFieldName:  "role",
		ConvertedName:  "Role",
		DefaultValue:   APIAuthorizationRoleEmployee,
		Description:    `The role for the subjects.`,
		Exposed:        true,
		Name:           "role",
		Stored:         true,
		Type:           "enum",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag expression that identifies the authorized user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"TargetNamespaces": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnamespaces",
		ConvertedName:  "TargetNamespaces",
		Description: `Defines the namespace or namespaces in which the permission for subject should
apply. If empty, the object's namespace will be used.`,
		Exposed: true,
		Name:    "targetNamespaces",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

APIAuthorizationAttributesMap represents the map of attribute for APIAuthorization.

View Source
var APIAuthorizationIdentity = elemental.Identity{
	Name:     "apiauthorization",
	Category: "apiauthorizations",
	Package:  "lain",
	Private:  false,
}

APIAuthorizationIdentity represents the Identity of the object.

View Source
var APIAuthorizationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the authorization rule.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `When disabled, an API Authorization has no effect.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the authorization rule.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"permissions": {
		AllowedChoices: []string{},
		BSONFieldName:  "permissions",
		ConvertedName:  "Permissions",
		Description:    `The individual permissions. Only works if role is Custom.`,
		Exposed:        true,
		Name:           "permissions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"role": {
		AllowedChoices: []string{"Administrator", "Application", "Custom", "Employee", "Owner", "Proxy", "Trial", "Viewer"},
		BSONFieldName:  "role",
		ConvertedName:  "Role",
		DefaultValue:   APIAuthorizationRoleEmployee,
		Description:    `The role for the subjects.`,
		Exposed:        true,
		Name:           "role",
		Stored:         true,
		Type:           "enum",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag expression that identifies the authorized user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"targetnamespaces": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnamespaces",
		ConvertedName:  "TargetNamespaces",
		Description: `Defines the namespace or namespaces in which the permission for subject should
apply. If empty, the object's namespace will be used.`,
		Exposed: true,
		Name:    "targetNamespaces",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

APIAuthorizationLowerCaseAttributesMap represents the map of attribute for APIAuthorization.

View Source
var AccessPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AccessDeniedMessage": {
		AllowedChoices: []string{},
		BSONFieldName:  "accessdeniedmessage",
		ConvertedName:  "AccessDeniedMessage",
		Description:    `The message that is sent if the access is denied.`,
		Exposed:        true,
		Name:           "accessDeniedMessage",
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Allow", "Deny"},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		DefaultValue:   AccessPolicyActionAllow,
		Description:    `Define if the provider is allowed or denied for the match expression.`,
		Exposed:        true,
		Name:           "action",
		Stored:         true,
		Type:           "enum",
	},
	"AlertDefinition": {
		AllowedChoices: []string{},
		BSONFieldName:  "alertdefinition",
		ConvertedName:  "AlertDefinition",
		Description:    `The definition to use for alerting when action is deny.`,
		Exposed:        true,
		Name:           "alertDefinition",
		Stored:         true,
		Type:           "string",
	},
	"ContentPolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "contentpolicies",
		ConvertedName:  "ContentPolicies",
		Description:    `The list of content policies to apply when the user has access to the provider.`,
		Exposed:        true,
		Name:           "contentPolicies",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the access policy.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `If true, the policy is disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"Enforcement": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcement",
		ConvertedName:  "Enforcement",
		Description:    `If set, just log the decision, but don't enforce it.`,
		Exposed:        true,
		Name:           "enforcement",
		Stored:         true,
		Type:           "boolean",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Logging": {
		AllowedChoices: []string{},
		BSONFieldName:  "logging",
		ConvertedName:  "Logging",
		Description: `If true, the system will not log the messages that are not considered as
violations.`,
		Exposed: true,
		Name:    "logging",
		Stored:  true,
		Type:    "boolean",
	},
	"Match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `The match criteria used to take a decision on the access.`,
		Exposed:        true,
		Name:           "match",
		Stored:         true,
		SubType:        "predicate",
		Type:           "refList",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the access policy.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AccessPolicyAttributesMap represents the map of attribute for AccessPolicy.

View Source
var AccessPolicyIdentity = elemental.Identity{
	Name:     "accesspolicy",
	Category: "accesspolicies",
	Package:  "lain",
	Private:  false,
}

AccessPolicyIdentity represents the Identity of the object.

View Source
var AccessPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"accessdeniedmessage": {
		AllowedChoices: []string{},
		BSONFieldName:  "accessdeniedmessage",
		ConvertedName:  "AccessDeniedMessage",
		Description:    `The message that is sent if the access is denied.`,
		Exposed:        true,
		Name:           "accessDeniedMessage",
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Allow", "Deny"},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		DefaultValue:   AccessPolicyActionAllow,
		Description:    `Define if the provider is allowed or denied for the match expression.`,
		Exposed:        true,
		Name:           "action",
		Stored:         true,
		Type:           "enum",
	},
	"alertdefinition": {
		AllowedChoices: []string{},
		BSONFieldName:  "alertdefinition",
		ConvertedName:  "AlertDefinition",
		Description:    `The definition to use for alerting when action is deny.`,
		Exposed:        true,
		Name:           "alertDefinition",
		Stored:         true,
		Type:           "string",
	},
	"contentpolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "contentpolicies",
		ConvertedName:  "ContentPolicies",
		Description:    `The list of content policies to apply when the user has access to the provider.`,
		Exposed:        true,
		Name:           "contentPolicies",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the access policy.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `If true, the policy is disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"enforcement": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcement",
		ConvertedName:  "Enforcement",
		Description:    `If set, just log the decision, but don't enforce it.`,
		Exposed:        true,
		Name:           "enforcement",
		Stored:         true,
		Type:           "boolean",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"logging": {
		AllowedChoices: []string{},
		BSONFieldName:  "logging",
		ConvertedName:  "Logging",
		Description: `If true, the system will not log the messages that are not considered as
violations.`,
		Exposed: true,
		Name:    "logging",
		Stored:  true,
		Type:    "boolean",
	},
	"match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `The match criteria used to take a decision on the access.`,
		Exposed:        true,
		Name:           "match",
		Stored:         true,
		SubType:        "predicate",
		Type:           "refList",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the access policy.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AccessPolicyLowerCaseAttributesMap represents the map of attribute for AccessPolicy.

View Source
var AdminMagicLinkAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Passcode": {
		AllowedChoices: []string{},
		ConvertedName:  "Passcode",
		Description:    `The passcode information.`,
		Exposed:        true,
		Name:           "passcode",
		SubType:        "passcode",
		Type:           "ref",
	},
}

AdminMagicLinkAttributesMap represents the map of attribute for AdminMagicLink.

View Source
var AdminMagicLinkIdentity = elemental.Identity{
	Name:     "adminmagiclink",
	Category: "adminmagiclinks",
	Package:  "ultradmin",
	Private:  false,
}

AdminMagicLinkIdentity represents the Identity of the object.

View Source
var AdminMagicLinkLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"passcode": {
		AllowedChoices: []string{},
		ConvertedName:  "Passcode",
		Description:    `The passcode information.`,
		Exposed:        true,
		Name:           "passcode",
		SubType:        "passcode",
		Type:           "ref",
	},
}

AdminMagicLinkLowerCaseAttributesMap represents the map of attribute for AdminMagicLink.

View Source
var AdminOrgAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ForceReimportTemplate": {
		AllowedChoices: []string{},
		ConvertedName:  "ForceReimportTemplate",
		Description: `This property if true will force reimport the template data. Setting it false is
a noop.`,
		Exposed: true,
		Name:    "forceReimportTemplate",
		Type:    "boolean",
	},
	"GithubSigninEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "githubsigninenabled",
		ConvertedName:  "GithubSigninEnabled",
		Description:    `Enables the global Sign In With Github for the organization.`,
		Exposed:        true,
		Name:           "githubSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"GitlabSigninEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "gitlabsigninenabled",
		ConvertedName:  "GitlabSigninEnabled",
		Description:    `Enables the global Sign In With Gitlab for the organization.`,
		Exposed:        true,
		Name:           "gitlabSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"GoogleSigninEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "googlesigninenabled",
		ConvertedName:  "GoogleSigninEnabled",
		Description:    `Enables the global Sign In With Google for the organization.`,
		Exposed:        true,
		Name:           "googleSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"HuggingfaceSigninEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "huggingfacesigninenabled",
		ConvertedName:  "HuggingfaceSigninEnabled",
		Description:    `Enables the global Sign In With Huggingface for the organization.`,
		Exposed:        true,
		Name:           "huggingfaceSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"Mode": {
		AllowedChoices: []string{"Trial", "TrialEmployees", "TrialApps", "Pilot", "Normal", "NormalEmployees", "NormalApps", "Blocked", "Dead"},
		BSONFieldName:  "mode",
		ConvertedName:  "Mode",
		DefaultValue:   AdminOrgModeNormal,
		Description:    `The mode of the organization.`,
		Exposed:        true,
		Name:           "mode",
		Stored:         true,
		Type:           "enum",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@.]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the organization.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ReimportTemplate": {
		AllowedChoices: []string{},
		ConvertedName:  "ReimportTemplate",
		Description: `This is an internal property used to decide if the org template needs to be
reimported.`,
		Exposed:  true,
		Name:     "reimportTemplate",
		ReadOnly: true,
		Type:     "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `A tag expression that identifies the authorized user(s). If set it will
configure the complete subject of the admin api authorization, ignoring anything
passed in claims.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		Stored:    true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"Type": {
		AllowedChoices: []string{"Full", "Single"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   AdminOrgTypeFull,
		Description: `The type of organization. Either Full or Single. Full represents an organization
that will need to onboard additional users, while Single represents a single
user account.`,
		Exposed: true,
		Name:    "type",
		Stored:  true,
		Type:    "enum",
	},
}

AdminOrgAttributesMap represents the map of attribute for AdminOrg.

View Source
var AdminOrgIdentity = elemental.Identity{
	Name:     "adminorg",
	Category: "adminorgs",
	Package:  "ultradmin",
	Private:  false,
}

AdminOrgIdentity represents the Identity of the object.

View Source
var AdminOrgLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"forcereimporttemplate": {
		AllowedChoices: []string{},
		ConvertedName:  "ForceReimportTemplate",
		Description: `This property if true will force reimport the template data. Setting it false is
a noop.`,
		Exposed: true,
		Name:    "forceReimportTemplate",
		Type:    "boolean",
	},
	"githubsigninenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "githubsigninenabled",
		ConvertedName:  "GithubSigninEnabled",
		Description:    `Enables the global Sign In With Github for the organization.`,
		Exposed:        true,
		Name:           "githubSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"gitlabsigninenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "gitlabsigninenabled",
		ConvertedName:  "GitlabSigninEnabled",
		Description:    `Enables the global Sign In With Gitlab for the organization.`,
		Exposed:        true,
		Name:           "gitlabSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"googlesigninenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "googlesigninenabled",
		ConvertedName:  "GoogleSigninEnabled",
		Description:    `Enables the global Sign In With Google for the organization.`,
		Exposed:        true,
		Name:           "googleSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"huggingfacesigninenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "huggingfacesigninenabled",
		ConvertedName:  "HuggingfaceSigninEnabled",
		Description:    `Enables the global Sign In With Huggingface for the organization.`,
		Exposed:        true,
		Name:           "huggingfaceSigninEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"mode": {
		AllowedChoices: []string{"Trial", "TrialEmployees", "TrialApps", "Pilot", "Normal", "NormalEmployees", "NormalApps", "Blocked", "Dead"},
		BSONFieldName:  "mode",
		ConvertedName:  "Mode",
		DefaultValue:   AdminOrgModeNormal,
		Description:    `The mode of the organization.`,
		Exposed:        true,
		Name:           "mode",
		Stored:         true,
		Type:           "enum",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@.]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the organization.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"reimporttemplate": {
		AllowedChoices: []string{},
		ConvertedName:  "ReimportTemplate",
		Description: `This is an internal property used to decide if the org template needs to be
reimported.`,
		Exposed:  true,
		Name:     "reimportTemplate",
		ReadOnly: true,
		Type:     "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `A tag expression that identifies the authorized user(s). If set it will
configure the complete subject of the admin api authorization, ignoring anything
passed in claims.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		Stored:    true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"type": {
		AllowedChoices: []string{"Full", "Single"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   AdminOrgTypeFull,
		Description: `The type of organization. Either Full or Single. Full represents an organization
that will need to onboard additional users, while Single represents a single
user account.`,
		Exposed: true,
		Name:    "type",
		Stored:  true,
		Type:    "enum",
	},
}

AdminOrgLowerCaseAttributesMap represents the map of attribute for AdminOrg.

View Source
var AgentAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AgentConfig": {
		AllowedChoices: []string{},
		BSONFieldName:  "agentconfig",
		ConvertedName:  "AgentConfig",
		Description:    `The agent configuration.`,
		Exposed:        true,
		Name:           "agentConfig",
		Stored:         true,
		SubType:        "agentconfig",
		Type:           "ref",
	},
	"CurrentVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `The current version of the agent.`,
		Exposed:        true,
		Name:           "currentVersion",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Hostname": {
		AllowedChoices: []string{},
		BSONFieldName:  "hostname",
		ConvertedName:  "Hostname",
		Description:    `The name of the host where the agent is runnning.`,
		Exposed:        true,
		Name:           "hostname",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"IsAPEXReachable": {
		AllowedChoices: []string{},
		BSONFieldName:  "isapexreachable",
		ConvertedName:  "IsAPEXReachable",
		Description:    `True if the apex is reachable.`,
		Exposed:        true,
		Name:           "isAPEXReachable",
		Stored:         true,
		Type:           "boolean",
	},
	"IsAPEXTrusted": {
		AllowedChoices: []string{},
		BSONFieldName:  "isapextrusted",
		ConvertedName:  "IsAPEXTrusted",
		Description:    `True if the apex is trusted.`,
		Exposed:        true,
		Name:           "isAPEXTrusted",
		Stored:         true,
		Type:           "boolean",
	},
	"ManagedCAState": {
		AllowedChoices: []string{},
		BSONFieldName:  "managedcastate",
		ConvertedName:  "ManagedCAState",
		Description:    `The state of the managed CA.`,
		Exposed:        true,
		Name:           "managedCAState",
		Stored:         true,
		Type:           "boolean",
	},
	"ManagedInterfaces": {
		AllowedChoices: []string{},
		BSONFieldName:  "managedinterfaces",
		ConvertedName:  "ManagedInterfaces",
		Description:    `The list of managed interfaces.`,
		Exposed:        true,
		Name:           "managedInterfaces",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Ping": {
		AllowedChoices: []string{},
		BSONFieldName:  "ping",
		ConvertedName:  "Ping",
		Description:    `The last ping recorded for the agent.`,
		Exposed:        true,
		Name:           "ping",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"Principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"Start": {
		AllowedChoices: []string{},
		BSONFieldName:  "start",
		ConvertedName:  "Start",
		Description:    `The start time for the agent.`,
		Exposed:        true,
		Name:           "start",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"Status": {
		AllowedChoices: []string{"Alive", "Stopped"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		Description:    `The status of the agent.`,
		Exposed:        true,
		Name:           "status",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"SystemProxyManagementState": {
		AllowedChoices: []string{},
		BSONFieldName:  "systemproxymanagementstate",
		ConvertedName:  "SystemProxyManagementState",
		Description:    `The state of the system proxy management.`,
		Exposed:        true,
		Name:           "systemProxyManagementState",
		Stored:         true,
		Type:           "boolean",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AgentAttributesMap represents the map of attribute for Agent.

View Source
var AgentConfigAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the agent configuration.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"DisableAutoStart": {
		AllowedChoices: []string{},
		BSONFieldName:  "disableautostart",
		ConvertedName:  "DisableAutoStart",
		Description:    `If disabled, the agent needs to be restarted manually.`,
		Exposed:        true,
		Name:           "disableAutoStart",
		Stored:         true,
		Type:           "boolean",
	},
	"DisableManagedCA": {
		AllowedChoices: []string{},
		BSONFieldName:  "disablemanagedca",
		ConvertedName:  "DisableManagedCA",
		Description: `If disabled, the agent will rely on the CA already installed and trusted on the
system.`,
		Exposed: true,
		Name:    "disableManagedCA",
		Stored:  true,
		Type:    "boolean",
	},
	"DisableSystemProxyManagement": {
		AllowedChoices: []string{},
		BSONFieldName:  "disablesystemproxymanagement",
		ConvertedName:  "DisableSystemProxyManagement",
		Description:    `If disabled, the system proxy needs to be configured manually.`,
		Exposed:        true,
		Name:           "disableSystemProxyManagement",
		Stored:         true,
		Type:           "boolean",
	},
	"DisableURLDiscovery": {
		AllowedChoices: []string{},
		BSONFieldName:  "disableurldiscovery",
		ConvertedName:  "DisableURLDiscovery",
		Description:    `If disabled, the agent will stop reporting the visited domains.`,
		Exposed:        true,
		Name:           "disableURLDiscovery",
		Stored:         true,
		Type:           "boolean",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ListeningPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "listeningport",
		ConvertedName:  "ListeningPort",
		DefaultValue:   "8081",
		Description:    `The port use by the agent to proxy the traffic.`,
		Exposed:        true,
		Name:           "listeningPort",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the agent configuration.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PacName": {
		AllowedChoices: []string{},
		BSONFieldName:  "pacname",
		ConvertedName:  "PacName",
		Description:    `The name of the PAC configuration to use.`,
		Exposed:        true,
		Name:           "pacName",
		Stored:         true,
		Type:           "string",
	},
	"PingInterval": {
		AllowedChoices: []string{},
		BSONFieldName:  "pinginterval",
		ConvertedName:  "PingInterval",
		DefaultValue:   "10m",
		Description:    `The ping interval at which acushield should check in with the backend.`,
		Exposed:        true,
		Name:           "pingInterval",
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"UseDynamicPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "usedynamicport",
		ConvertedName:  "UseDynamicPort",
		Description: `If system proxy management is enabled and this flag is enabled, the system
can take another port, different that the listeningPort.`,
		Exposed: true,
		Name:    "useDynamicPort",
		Stored:  true,
		Type:    "boolean",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AgentConfigAttributesMap represents the map of attribute for AgentConfig.

View Source
var AgentConfigIdentity = elemental.Identity{
	Name:     "agentconfig",
	Category: "agentconfigs",
	Package:  "lain",
	Private:  false,
}

AgentConfigIdentity represents the Identity of the object.

View Source
var AgentConfigLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the agent configuration.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"disableautostart": {
		AllowedChoices: []string{},
		BSONFieldName:  "disableautostart",
		ConvertedName:  "DisableAutoStart",
		Description:    `If disabled, the agent needs to be restarted manually.`,
		Exposed:        true,
		Name:           "disableAutoStart",
		Stored:         true,
		Type:           "boolean",
	},
	"disablemanagedca": {
		AllowedChoices: []string{},
		BSONFieldName:  "disablemanagedca",
		ConvertedName:  "DisableManagedCA",
		Description: `If disabled, the agent will rely on the CA already installed and trusted on the
system.`,
		Exposed: true,
		Name:    "disableManagedCA",
		Stored:  true,
		Type:    "boolean",
	},
	"disablesystemproxymanagement": {
		AllowedChoices: []string{},
		BSONFieldName:  "disablesystemproxymanagement",
		ConvertedName:  "DisableSystemProxyManagement",
		Description:    `If disabled, the system proxy needs to be configured manually.`,
		Exposed:        true,
		Name:           "disableSystemProxyManagement",
		Stored:         true,
		Type:           "boolean",
	},
	"disableurldiscovery": {
		AllowedChoices: []string{},
		BSONFieldName:  "disableurldiscovery",
		ConvertedName:  "DisableURLDiscovery",
		Description:    `If disabled, the agent will stop reporting the visited domains.`,
		Exposed:        true,
		Name:           "disableURLDiscovery",
		Stored:         true,
		Type:           "boolean",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"listeningport": {
		AllowedChoices: []string{},
		BSONFieldName:  "listeningport",
		ConvertedName:  "ListeningPort",
		DefaultValue:   "8081",
		Description:    `The port use by the agent to proxy the traffic.`,
		Exposed:        true,
		Name:           "listeningPort",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the agent configuration.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"pacname": {
		AllowedChoices: []string{},
		BSONFieldName:  "pacname",
		ConvertedName:  "PacName",
		Description:    `The name of the PAC configuration to use.`,
		Exposed:        true,
		Name:           "pacName",
		Stored:         true,
		Type:           "string",
	},
	"pinginterval": {
		AllowedChoices: []string{},
		BSONFieldName:  "pinginterval",
		ConvertedName:  "PingInterval",
		DefaultValue:   "10m",
		Description:    `The ping interval at which acushield should check in with the backend.`,
		Exposed:        true,
		Name:           "pingInterval",
		Stored:         true,
		Type:           "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"usedynamicport": {
		AllowedChoices: []string{},
		BSONFieldName:  "usedynamicport",
		ConvertedName:  "UseDynamicPort",
		Description: `If system proxy management is enabled and this flag is enabled, the system
can take another port, different that the listeningPort.`,
		Exposed: true,
		Name:    "useDynamicPort",
		Stored:  true,
		Type:    "boolean",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AgentConfigLowerCaseAttributesMap represents the map of attribute for AgentConfig.

View Source
var AgentIdentity = elemental.Identity{
	Name:     "agent",
	Category: "agents",
	Package:  "lain",
	Private:  false,
}

AgentIdentity represents the Identity of the object.

View Source
var AgentLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"agentconfig": {
		AllowedChoices: []string{},
		BSONFieldName:  "agentconfig",
		ConvertedName:  "AgentConfig",
		Description:    `The agent configuration.`,
		Exposed:        true,
		Name:           "agentConfig",
		Stored:         true,
		SubType:        "agentconfig",
		Type:           "ref",
	},
	"currentversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `The current version of the agent.`,
		Exposed:        true,
		Name:           "currentVersion",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"hostname": {
		AllowedChoices: []string{},
		BSONFieldName:  "hostname",
		ConvertedName:  "Hostname",
		Description:    `The name of the host where the agent is runnning.`,
		Exposed:        true,
		Name:           "hostname",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"isapexreachable": {
		AllowedChoices: []string{},
		BSONFieldName:  "isapexreachable",
		ConvertedName:  "IsAPEXReachable",
		Description:    `True if the apex is reachable.`,
		Exposed:        true,
		Name:           "isAPEXReachable",
		Stored:         true,
		Type:           "boolean",
	},
	"isapextrusted": {
		AllowedChoices: []string{},
		BSONFieldName:  "isapextrusted",
		ConvertedName:  "IsAPEXTrusted",
		Description:    `True if the apex is trusted.`,
		Exposed:        true,
		Name:           "isAPEXTrusted",
		Stored:         true,
		Type:           "boolean",
	},
	"managedcastate": {
		AllowedChoices: []string{},
		BSONFieldName:  "managedcastate",
		ConvertedName:  "ManagedCAState",
		Description:    `The state of the managed CA.`,
		Exposed:        true,
		Name:           "managedCAState",
		Stored:         true,
		Type:           "boolean",
	},
	"managedinterfaces": {
		AllowedChoices: []string{},
		BSONFieldName:  "managedinterfaces",
		ConvertedName:  "ManagedInterfaces",
		Description:    `The list of managed interfaces.`,
		Exposed:        true,
		Name:           "managedInterfaces",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ping": {
		AllowedChoices: []string{},
		BSONFieldName:  "ping",
		ConvertedName:  "Ping",
		Description:    `The last ping recorded for the agent.`,
		Exposed:        true,
		Name:           "ping",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"start": {
		AllowedChoices: []string{},
		BSONFieldName:  "start",
		ConvertedName:  "Start",
		Description:    `The start time for the agent.`,
		Exposed:        true,
		Name:           "start",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"status": {
		AllowedChoices: []string{"Alive", "Stopped"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		Description:    `The status of the agent.`,
		Exposed:        true,
		Name:           "status",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"systemproxymanagementstate": {
		AllowedChoices: []string{},
		BSONFieldName:  "systemproxymanagementstate",
		ConvertedName:  "SystemProxyManagementState",
		Description:    `The state of the system proxy management.`,
		Exposed:        true,
		Name:           "systemProxyManagementState",
		Stored:         true,
		Type:           "boolean",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AgentLowerCaseAttributesMap represents the map of attribute for Agent.

View Source
var AlertAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AlertDefinition": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AlertDefinition",
		Description:    `The alert definition that triggered the alert.`,
		Exposed:        true,
		Name:           "alertDefinition",
		ReadOnly:       true,
		SubType:        "alertdefinition",
		Transient:      true,
		Type:           "ref",
	},
	"AlertDefinitionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "alertdefinitionname",
		ConvertedName:  "AlertDefinitionName",
		CreationOnly:   true,
		Description:    `The name identifier of the alert definition that triggered the alert.`,
		Exposed:        true,
		Name:           "alertDefinitionName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"AlertEvents": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AlertEvents",
		Description:    `The events related to the alert.`,
		Exposed:        true,
		Name:           "alertEvents",
		ReadOnly:       true,
		SubType:        "alertevent",
		Transient:      true,
		Type:           "refList",
	},
	"Counter": {
		AllowedChoices: []string{},
		BSONFieldName:  "counter",
		ConvertedName:  "Counter",
		DefaultValue:   1,
		Description:    `The number of times the alert was raised.`,
		Exposed:        true,
		Name:           "counter",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"End": {
		AllowedChoices: []string{},
		BSONFieldName:  "end",
		ConvertedName:  "End",
		Description:    `When the alert was last raised.`,
		Exposed:        true,
		Name:           "end",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Start": {
		AllowedChoices: []string{},
		BSONFieldName:  "start",
		ConvertedName:  "Start",
		CreationOnly:   true,
		Description:    `When the alert was first raised.`,
		Exposed:        true,
		Name:           "start",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AlertAttributesMap represents the map of attribute for Alert.

View Source
var AlertDefinitionAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Cooldown": {
		AllowedChoices: []string{},
		BSONFieldName:  "cooldown",
		ConvertedName:  "Cooldown",
		DefaultValue:   "5m",
		Description:    `If set, how long until a subsequent alert notification can be raised.`,
		Exposed:        true,
		Name:           "cooldown",
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the alert definition.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"FriendlyName": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly name of the object.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Message": {
		AllowedChoices: []string{},
		BSONFieldName:  "message",
		ConvertedName:  "Message",
		Description:    `The message sent when notifying.`,
		Exposed:        true,
		Name:           "message",
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description: `The internal reference name of the object. It is a sanitized version of Friendly
Name if empty.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Severity": {
		AllowedChoices: []string{"Critical", "Warning", "Info"},
		BSONFieldName:  "severity",
		ConvertedName:  "Severity",
		DefaultValue:   AlertDefinitionSeverityWarning,
		Description:    `The severity of the alert event.`,
		Exposed:        true,
		Name:           "severity",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Sinks": {
		AllowedChoices: []string{},
		BSONFieldName:  "sinks",
		ConvertedName:  "Sinks",
		Description:    `The sinks used to notify.`,
		Exposed:        true,
		Name:           "sinks",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Trigger": {
		AllowedChoices: []string{},
		BSONFieldName:  "trigger",
		ConvertedName:  "Trigger",
		Description:    `If set, the criteria to trigger an alert notification.`,
		Exposed:        true,
		Name:           "trigger",
		Stored:         true,
		SubType:        "alerttrigger",
		Type:           "ref",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AlertDefinitionAttributesMap represents the map of attribute for AlertDefinition.

View Source
var AlertDefinitionIdentity = elemental.Identity{
	Name:     "alertdefinition",
	Category: "alertdefinitions",
	Package:  "avi",
	Private:  false,
}

AlertDefinitionIdentity represents the Identity of the object.

View Source
var AlertDefinitionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"cooldown": {
		AllowedChoices: []string{},
		BSONFieldName:  "cooldown",
		ConvertedName:  "Cooldown",
		DefaultValue:   "5m",
		Description:    `If set, how long until a subsequent alert notification can be raised.`,
		Exposed:        true,
		Name:           "cooldown",
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the alert definition.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"friendlyname": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly name of the object.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"message": {
		AllowedChoices: []string{},
		BSONFieldName:  "message",
		ConvertedName:  "Message",
		Description:    `The message sent when notifying.`,
		Exposed:        true,
		Name:           "message",
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description: `The internal reference name of the object. It is a sanitized version of Friendly
Name if empty.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"severity": {
		AllowedChoices: []string{"Critical", "Warning", "Info"},
		BSONFieldName:  "severity",
		ConvertedName:  "Severity",
		DefaultValue:   AlertDefinitionSeverityWarning,
		Description:    `The severity of the alert event.`,
		Exposed:        true,
		Name:           "severity",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"sinks": {
		AllowedChoices: []string{},
		BSONFieldName:  "sinks",
		ConvertedName:  "Sinks",
		Description:    `The sinks used to notify.`,
		Exposed:        true,
		Name:           "sinks",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"trigger": {
		AllowedChoices: []string{},
		BSONFieldName:  "trigger",
		ConvertedName:  "Trigger",
		Description:    `If set, the criteria to trigger an alert notification.`,
		Exposed:        true,
		Name:           "trigger",
		Stored:         true,
		SubType:        "alerttrigger",
		Type:           "ref",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AlertDefinitionLowerCaseAttributesMap represents the map of attribute for AlertDefinition.

View Source
var AlertEventAttributesMap = map[string]elemental.AttributeSpecification{
	"AlertDefinition": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertDefinition",
		Description:    `The name of the alert definition that triggered the alert event.`,
		Exposed:        true,
		Name:           "alertDefinition",
		Required:       true,
		Type:           "string",
	},
	"AlertDefinitionNamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertDefinitionNamespace",
		Description:    `The namespace of the alert definition.`,
		Exposed:        true,
		Name:           "alertDefinitionNamespace",
		Type:           "string",
	},
	"Principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"Provider": {
		AllowedChoices: []string{},
		ConvertedName:  "Provider",
		Description:    `The provider used that the alert came from.`,
		Exposed:        true,
		Name:           "provider",
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Timestamp",
		Description:    `When the alert event was raised.`,
		Exposed:        true,
		Name:           "timestamp",
		ReadOnly:       true,
		Type:           "time",
	},
}

AlertEventAttributesMap represents the map of attribute for AlertEvent.

View Source
var AlertEventLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"alertdefinition": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertDefinition",
		Description:    `The name of the alert definition that triggered the alert event.`,
		Exposed:        true,
		Name:           "alertDefinition",
		Required:       true,
		Type:           "string",
	},
	"alertdefinitionnamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertDefinitionNamespace",
		Description:    `The namespace of the alert definition.`,
		Exposed:        true,
		Name:           "alertDefinitionNamespace",
		Type:           "string",
	},
	"principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"provider": {
		AllowedChoices: []string{},
		ConvertedName:  "Provider",
		Description:    `The provider used that the alert came from.`,
		Exposed:        true,
		Name:           "provider",
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Timestamp",
		Description:    `When the alert event was raised.`,
		Exposed:        true,
		Name:           "timestamp",
		ReadOnly:       true,
		Type:           "time",
	},
}

AlertEventLowerCaseAttributesMap represents the map of attribute for AlertEvent.

View Source
var AlertIdentity = elemental.Identity{
	Name:     "alert",
	Category: "alerts",
	Package:  "avi",
	Private:  false,
}

AlertIdentity represents the Identity of the object.

View Source
var AlertLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"alertdefinition": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AlertDefinition",
		Description:    `The alert definition that triggered the alert.`,
		Exposed:        true,
		Name:           "alertDefinition",
		ReadOnly:       true,
		SubType:        "alertdefinition",
		Transient:      true,
		Type:           "ref",
	},
	"alertdefinitionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "alertdefinitionname",
		ConvertedName:  "AlertDefinitionName",
		CreationOnly:   true,
		Description:    `The name identifier of the alert definition that triggered the alert.`,
		Exposed:        true,
		Name:           "alertDefinitionName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"alertevents": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AlertEvents",
		Description:    `The events related to the alert.`,
		Exposed:        true,
		Name:           "alertEvents",
		ReadOnly:       true,
		SubType:        "alertevent",
		Transient:      true,
		Type:           "refList",
	},
	"counter": {
		AllowedChoices: []string{},
		BSONFieldName:  "counter",
		ConvertedName:  "Counter",
		DefaultValue:   1,
		Description:    `The number of times the alert was raised.`,
		Exposed:        true,
		Name:           "counter",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"end": {
		AllowedChoices: []string{},
		BSONFieldName:  "end",
		ConvertedName:  "End",
		Description:    `When the alert was last raised.`,
		Exposed:        true,
		Name:           "end",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"start": {
		AllowedChoices: []string{},
		BSONFieldName:  "start",
		ConvertedName:  "Start",
		CreationOnly:   true,
		Description:    `When the alert was first raised.`,
		Exposed:        true,
		Name:           "start",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AlertLowerCaseAttributesMap represents the map of attribute for Alert.

View Source
var AlertTriggerAttributesMap = map[string]elemental.AttributeSpecification{
	"Interval": {
		AllowedChoices: []string{},
		BSONFieldName:  "interval",
		ConvertedName:  "Interval",
		DefaultValue:   "24h",
		Description:    `What time window to look for an alert event.`,
		Exposed:        true,
		Name:           "interval",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Occurrences": {
		AllowedChoices: []string{},
		BSONFieldName:  "occurrences",
		ConvertedName:  "Occurrences",
		DefaultValue:   1,
		Description:    `The number of times an alert event is seen to cause a trigger.`,
		Exposed:        true,
		MinValue:       1,
		Name:           "occurrences",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
}

AlertTriggerAttributesMap represents the map of attribute for AlertTrigger.

View Source
var AlertTriggerIdentity = elemental.Identity{
	Name:     "alerttrigger",
	Category: "alerttriggers",
	Package:  "avi",
	Private:  false,
}

AlertTriggerIdentity represents the Identity of the object.

View Source
var AlertTriggerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"interval": {
		AllowedChoices: []string{},
		BSONFieldName:  "interval",
		ConvertedName:  "Interval",
		DefaultValue:   "24h",
		Description:    `What time window to look for an alert event.`,
		Exposed:        true,
		Name:           "interval",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"occurrences": {
		AllowedChoices: []string{},
		BSONFieldName:  "occurrences",
		ConvertedName:  "Occurrences",
		DefaultValue:   1,
		Description:    `The number of times an alert event is seen to cause a trigger.`,
		Exposed:        true,
		MinValue:       1,
		Name:           "occurrences",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
}

AlertTriggerLowerCaseAttributesMap represents the map of attribute for AlertTrigger.

View Source
var AnalysisAttributesMap = map[string]elemental.AttributeSpecification{
	"Analyses": {
		AllowedChoices: []string{},
		ConvertedName:  "Analyses",
		Description:    `The list of analysis chained to this analyzer analysis.`,
		Exposed:        true,
		Name:           "analyses",
		SubType:        "analysis",
		Type:           "refList",
	},
	"AnalyzerID": {
		AllowedChoices: []string{},
		ConvertedName:  "AnalyzerID",
		Description:    `The ID of the analyzer.`,
		Exposed:        true,
		Name:           "analyzerID",
		Type:           "string",
	},
	"Detections": {
		AllowedChoices: []string{},
		ConvertedName:  "Detections",
		Description:    `The list of detections the analyzer returned.`,
		Exposed:        true,
		Name:           "detections",
		SubType:        "detection",
		Type:           "refList",
	},
	"Duration": {
		AllowedChoices: []string{},
		ConvertedName:  "Duration",
		Description:    `The time taken by the analyzer.`,
		Exposed:        true,
		Name:           "duration",
		Type:           "float",
	},
	"SkippedReason": {
		AllowedChoices: []string{},
		ConvertedName:  "SkippedReason",
		Description:    `The reason the analyzer was skipped.`,
		Exposed:        true,
		Name:           "skippedReason",
		Type:           "string",
	},
	"Trigger": {
		AllowedChoices: []string{},
		ConvertedName:  "Trigger",
		Description: `The detection slug the analyzer was triggered on.
A detection slug is the detection Group and Name separated with a /.`,
		Exposed: true,
		Name:    "trigger",
		Type:    "string",
	},
}

AnalysisAttributesMap represents the map of attribute for Analysis.

View Source
var AnalysisLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"analyses": {
		AllowedChoices: []string{},
		ConvertedName:  "Analyses",
		Description:    `The list of analysis chained to this analyzer analysis.`,
		Exposed:        true,
		Name:           "analyses",
		SubType:        "analysis",
		Type:           "refList",
	},
	"analyzerid": {
		AllowedChoices: []string{},
		ConvertedName:  "AnalyzerID",
		Description:    `The ID of the analyzer.`,
		Exposed:        true,
		Name:           "analyzerID",
		Type:           "string",
	},
	"detections": {
		AllowedChoices: []string{},
		ConvertedName:  "Detections",
		Description:    `The list of detections the analyzer returned.`,
		Exposed:        true,
		Name:           "detections",
		SubType:        "detection",
		Type:           "refList",
	},
	"duration": {
		AllowedChoices: []string{},
		ConvertedName:  "Duration",
		Description:    `The time taken by the analyzer.`,
		Exposed:        true,
		Name:           "duration",
		Type:           "float",
	},
	"skippedreason": {
		AllowedChoices: []string{},
		ConvertedName:  "SkippedReason",
		Description:    `The reason the analyzer was skipped.`,
		Exposed:        true,
		Name:           "skippedReason",
		Type:           "string",
	},
	"trigger": {
		AllowedChoices: []string{},
		ConvertedName:  "Trigger",
		Description: `The detection slug the analyzer was triggered on.
A detection slug is the detection Group and Name separated with a /.`,
		Exposed: true,
		Name:    "trigger",
		Type:    "string",
	},
}

AnalysisLowerCaseAttributesMap represents the map of attribute for Analysis.

View Source
var AnalyzerAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the analyzer.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"Detectors": {
		AllowedChoices: []string{},
		ConvertedName:  "Detectors",
		Description:    `The detectors the analyzer can use.`,
		Exposed:        true,
		Name:           "detectors",
		SubType:        "detector",
		Type:           "refList",
	},
	"Enabled": {
		AllowedChoices: []string{},
		ConvertedName:  "Enabled",
		Description:    `Tell if the analyzer is enabled by default.`,
		Exposed:        true,
		Name:           "enabled",
		Type:           "boolean",
	},
	"Group": {
		AllowedChoices: []string{},
		ConvertedName:  "Group",
		Description:    `The group the analyzer belongs to.`,
		Exposed:        true,
		Name:           "group",
		Type:           "string",
	},
	"Models": {
		AllowedChoices: []string{},
		ConvertedName:  "Models",
		Description:    `The models used by the analyzer.`,
		Exposed:        true,
		Name:           "models",
		SubType:        "analyzermodel",
		Type:           "refList",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the analyzer.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Triggers": {
		AllowedChoices: []string{},
		ConvertedName:  "Triggers",
		Description: `A list of trigger or globl pattern that the analyzer will react on.
A trigger is the detector Group and Name separated with a /.`,
		Exposed: true,
		Name:    "triggers",
		SubType: "string",
		Type:    "list",
	},
}

AnalyzerAttributesMap represents the map of attribute for Analyzer.

View Source
var AnalyzerIdentity = elemental.Identity{
	Name:     "analyzer",
	Category: "analyzers",
	Package:  "proxy",
	Private:  false,
}

AnalyzerIdentity represents the Identity of the object.

View Source
var AnalyzerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the analyzer.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"detectors": {
		AllowedChoices: []string{},
		ConvertedName:  "Detectors",
		Description:    `The detectors the analyzer can use.`,
		Exposed:        true,
		Name:           "detectors",
		SubType:        "detector",
		Type:           "refList",
	},
	"enabled": {
		AllowedChoices: []string{},
		ConvertedName:  "Enabled",
		Description:    `Tell if the analyzer is enabled by default.`,
		Exposed:        true,
		Name:           "enabled",
		Type:           "boolean",
	},
	"group": {
		AllowedChoices: []string{},
		ConvertedName:  "Group",
		Description:    `The group the analyzer belongs to.`,
		Exposed:        true,
		Name:           "group",
		Type:           "string",
	},
	"models": {
		AllowedChoices: []string{},
		ConvertedName:  "Models",
		Description:    `The models used by the analyzer.`,
		Exposed:        true,
		Name:           "models",
		SubType:        "analyzermodel",
		Type:           "refList",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the analyzer.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"triggers": {
		AllowedChoices: []string{},
		ConvertedName:  "Triggers",
		Description: `A list of trigger or globl pattern that the analyzer will react on.
A trigger is the detector Group and Name separated with a /.`,
		Exposed: true,
		Name:    "triggers",
		SubType: "string",
		Type:    "list",
	},
}

AnalyzerLowerCaseAttributesMap represents the map of attribute for Analyzer.

View Source
var AnalyzerModelAttributesMap = map[string]elemental.AttributeSpecification{
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the model.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Revision": {
		AllowedChoices: []string{},
		ConvertedName:  "Revision",
		Description:    `The revision of the model.`,
		Exposed:        true,
		Name:           "revision",
		Type:           "string",
	},
}

AnalyzerModelAttributesMap represents the map of attribute for AnalyzerModel.

View Source
var AnalyzerModelLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the model.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"revision": {
		AllowedChoices: []string{},
		ConvertedName:  "Revision",
		Description:    `The revision of the model.`,
		Exposed:        true,
		Name:           "revision",
		Type:           "string",
	},
}

AnalyzerModelLowerCaseAttributesMap represents the map of attribute for AnalyzerModel.

View Source
var AppAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the App.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the App.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Selector": {
		AllowedChoices: []string{},
		BSONFieldName:  "selector",
		ConvertedName:  "Selector",
		Description:    `A tag expression that identify an application based on downstream labels.`,
		Exposed:        true,
		Name:           "selector",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Only bearers with claims matching the subject will be allowed to access the
apptier tokens.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"Tiers": {
		AllowedChoices: []string{},
		BSONFieldName:  "tiers",
		ConvertedName:  "Tiers",
		Description:    `List of tiers for the application.`,
		Exposed:        true,
		Name:           "tiers",
		Orderable:      true,
		Stored:         true,
		SubType:        "apptier",
		Type:           "refList",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AppAttributesMap represents the map of attribute for App.

View Source
var AppIdentity = elemental.Identity{
	Name:     "app",
	Category: "apps",
	Package:  "lain",
	Private:  false,
}

AppIdentity represents the Identity of the object.

View Source
var AppLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the App.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the App.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"selector": {
		AllowedChoices: []string{},
		BSONFieldName:  "selector",
		ConvertedName:  "Selector",
		Description:    `A tag expression that identify an application based on downstream labels.`,
		Exposed:        true,
		Name:           "selector",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Only bearers with claims matching the subject will be allowed to access the
apptier tokens.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"tiers": {
		AllowedChoices: []string{},
		BSONFieldName:  "tiers",
		ConvertedName:  "Tiers",
		Description:    `List of tiers for the application.`,
		Exposed:        true,
		Name:           "tiers",
		Orderable:      true,
		Stored:         true,
		SubType:        "apptier",
		Type:           "refList",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AppLowerCaseAttributesMap represents the map of attribute for App.

View Source
var AppTierAttributesMap = map[string]elemental.AttributeSpecification{
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The hostname.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Selector": {
		AllowedChoices: []string{},
		BSONFieldName:  "selector",
		ConvertedName:  "Selector",
		Description:    `A tag expression that identify an application tier based on downstream labels.`,
		Exposed:        true,
		Name:           "selector",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description: `The token for the current tier. Only populated by the backend when the caller's
claim match the parents app.subject.`,
		Exposed:   true,
		Name:      "token",
		ReadOnly:  true,
		Transient: true,
		Type:      "string",
	},
}

AppTierAttributesMap represents the map of attribute for AppTier.

View Source
var AppTierIdentity = elemental.Identity{
	Name:     "apptier",
	Category: "apptiers",
	Package:  "lain",
	Private:  false,
}

AppTierIdentity represents the Identity of the object.

View Source
var AppTierLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The hostname.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"selector": {
		AllowedChoices: []string{},
		BSONFieldName:  "selector",
		ConvertedName:  "Selector",
		Description:    `A tag expression that identify an application tier based on downstream labels.`,
		Exposed:        true,
		Name:           "selector",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description: `The token for the current tier. Only populated by the backend when the caller's
claim match the parents app.subject.`,
		Exposed:   true,
		Name:      "token",
		ReadOnly:  true,
		Transient: true,
		Type:      "string",
	},
}

AppTierLowerCaseAttributesMap represents the map of attribute for AppTier.

View Source
var AppTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `The list of claims delivered in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `The email of the user who requested the token.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationDate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		Description:    `Tells when the token will expire.`,
		Exposed:        true,
		Name:           "expirationDate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"MachineID": {
		AllowedChoices: []string{},
		BSONFieldName:  "machineid",
		ConvertedName:  "MachineID",
		CreationOnly:   true,
		Description: `The optional machine ID of the token. This is used to easily retrieve the tokens
issued for a particular machine.`,
		Exposed: true,
		Name:    "machineID",
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the token is specified while creating the token.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "sourceip",
		ConvertedName:  "SourceIP",
		Description:    `The source IP of the request that initiated the creation of the token.`,
		Exposed:        true,
		Name:           "sourceIP",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The generated token. It won't be stored.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
	"TokenID": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenid",
		ConvertedName:  "TokenID",
		Description:    `The ID of the associated token.`,
		Exposed:        true,
		Name:           "tokenID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"Transient": {
		AllowedChoices: []string{},
		BSONFieldName:  "transient",
		ConvertedName:  "Transient",
		Description: `If true, the token will not be stored and will only be revocable if you keep
track of the token ID yourself. Also, the validity will be capped and the token
won't be long lived.`,
		Exposed: true,
		Name:    "transient",
		Stored:  true,
		Type:    "boolean",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "8760h",
		Description:    `Configures the validity of the token.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AppTokenAttributesMap represents the map of attribute for AppToken.

View Source
var AppTokenIdentity = elemental.Identity{
	Name:     "apptoken",
	Category: "apptokens",
	Package:  "lain",
	Private:  false,
}

AppTokenIdentity represents the Identity of the object.

View Source
var AppTokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `The list of claims delivered in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `The email of the user who requested the token.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationdate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		Description:    `Tells when the token will expire.`,
		Exposed:        true,
		Name:           "expirationDate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"machineid": {
		AllowedChoices: []string{},
		BSONFieldName:  "machineid",
		ConvertedName:  "MachineID",
		CreationOnly:   true,
		Description: `The optional machine ID of the token. This is used to easily retrieve the tokens
issued for a particular machine.`,
		Exposed: true,
		Name:    "machineID",
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the token is specified while creating the token.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "sourceip",
		ConvertedName:  "SourceIP",
		Description:    `The source IP of the request that initiated the creation of the token.`,
		Exposed:        true,
		Name:           "sourceIP",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The generated token. It won't be stored.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
	"tokenid": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenid",
		ConvertedName:  "TokenID",
		Description:    `The ID of the associated token.`,
		Exposed:        true,
		Name:           "tokenID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"transient": {
		AllowedChoices: []string{},
		BSONFieldName:  "transient",
		ConvertedName:  "Transient",
		Description: `If true, the token will not be stored and will only be revocable if you keep
track of the token ID yourself. Also, the validity will be capped and the token
won't be long lived.`,
		Exposed: true,
		Name:    "transient",
		Stored:  true,
		Type:    "boolean",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "8760h",
		Description:    `Configures the validity of the token.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AppTokenLowerCaseAttributesMap represents the map of attribute for AppToken.

View Source
var AuthSettingsAttributesMap = map[string]elemental.AttributeSpecification{
	"SourceName": {
		AllowedChoices: []string{},
		ConvertedName:  "SourceName",
		DefaultValue:   "default",
		Description:    `The name of the source.`,
		Exposed:        true,
		Name:           "sourceName",
		Type:           "string",
	},
	"SourceType": {
		AllowedChoices: []string{"SAML", "OIDC", "OAuth2"},
		ConvertedName:  "SourceType",
		Description:    `The type of source.`,
		Exposed:        true,
		Name:           "sourceType",
		Type:           "enum",
	},
}

AuthSettingsAttributesMap represents the map of attribute for AuthSettings.

View Source
var AuthSettingsIdentity = elemental.Identity{
	Name:     "authsettings",
	Category: "authsettings",
	Package:  "lain",
	Private:  false,
}

AuthSettingsIdentity represents the Identity of the object.

View Source
var AuthSettingsLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"sourcename": {
		AllowedChoices: []string{},
		ConvertedName:  "SourceName",
		DefaultValue:   "default",
		Description:    `The name of the source.`,
		Exposed:        true,
		Name:           "sourceName",
		Type:           "string",
	},
	"sourcetype": {
		AllowedChoices: []string{"SAML", "OIDC", "OAuth2"},
		ConvertedName:  "SourceType",
		Description:    `The type of source.`,
		Exposed:        true,
		Name:           "sourceType",
		Type:           "enum",
	},
}

AuthSettingsLowerCaseAttributesMap represents the map of attribute for AuthSettings.

View Source
var ContentPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the content policy.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"FriendlyName": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly name of the object.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Moderations": {
		AllowedChoices: []string{},
		BSONFieldName:  "moderations",
		ConvertedName:  "Moderations",
		Description:    `The list of moderations to take when the user has access to the provider.`,
		Exposed:        true,
		Name:           "moderations",
		Stored:         true,
		SubType:        "moderation",
		Type:           "refList",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description: `The internal reference name of the object. It is a sanitized version of Friendly
Name if empty.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ContentPolicyAttributesMap represents the map of attribute for ContentPolicy.

View Source
var ContentPolicyIdentity = elemental.Identity{
	Name:     "contentpolicy",
	Category: "contentpolicies",
	Package:  "lain",
	Private:  false,
}

ContentPolicyIdentity represents the Identity of the object.

View Source
var ContentPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the content policy.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"friendlyname": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly name of the object.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"moderations": {
		AllowedChoices: []string{},
		BSONFieldName:  "moderations",
		ConvertedName:  "Moderations",
		Description:    `The list of moderations to take when the user has access to the provider.`,
		Exposed:        true,
		Name:           "moderations",
		Stored:         true,
		SubType:        "moderation",
		Type:           "refList",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description: `The internal reference name of the object. It is a sanitized version of Friendly
Name if empty.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ContentPolicyLowerCaseAttributesMap represents the map of attribute for ContentPolicy.

View Source
var DetectionAttributesMap = map[string]elemental.AttributeSpecification{
	"Confidence": {
		AllowedChoices: []string{"Low", "Medium", "High"},
		ConvertedName:  "Confidence",
		Description:    `The confidence level of the detection.`,
		Exposed:        true,
		Name:           "confidence",
		Type:           "enum",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the detection.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description:    `The end position of the poisitional detection.`,
		Exposed:        true,
		Name:           "end",
		Type:           "integer",
	},
	"Group": {
		AllowedChoices: []string{},
		ConvertedName:  "Group",
		Description:    `The group the detection belongs to.`,
		Exposed:        true,
		Name:           "group",
		Type:           "string",
	},
	"Label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label returned by the model.`,
		Exposed:        true,
		Name:           "label",
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the detection.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Positional": {
		AllowedChoices: []string{},
		ConvertedName:  "Positional",
		Description:    `Tell if the detection is positional.`,
		Exposed:        true,
		Name:           "positional",
		Type:           "boolean",
	},
	"Score": {
		AllowedChoices: []string{},
		ConvertedName:  "Score",
		Description:    `The score of the detection.`,
		Exposed:        true,
		Name:           "score",
		Type:           "float",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description:    `The start position of the poisitional detection.`,
		Exposed:        true,
		Name:           "start",
		Type:           "integer",
	},
}

DetectionAttributesMap represents the map of attribute for Detection.

View Source
var DetectionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"confidence": {
		AllowedChoices: []string{"Low", "Medium", "High"},
		ConvertedName:  "Confidence",
		Description:    `The confidence level of the detection.`,
		Exposed:        true,
		Name:           "confidence",
		Type:           "enum",
	},
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the detection.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description:    `The end position of the poisitional detection.`,
		Exposed:        true,
		Name:           "end",
		Type:           "integer",
	},
	"group": {
		AllowedChoices: []string{},
		ConvertedName:  "Group",
		Description:    `The group the detection belongs to.`,
		Exposed:        true,
		Name:           "group",
		Type:           "string",
	},
	"label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label returned by the model.`,
		Exposed:        true,
		Name:           "label",
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the detection.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"positional": {
		AllowedChoices: []string{},
		ConvertedName:  "Positional",
		Description:    `Tell if the detection is positional.`,
		Exposed:        true,
		Name:           "positional",
		Type:           "boolean",
	},
	"score": {
		AllowedChoices: []string{},
		ConvertedName:  "Score",
		Description:    `The score of the detection.`,
		Exposed:        true,
		Name:           "score",
		Type:           "float",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description:    `The start position of the poisitional detection.`,
		Exposed:        true,
		Name:           "start",
		Type:           "integer",
	},
}

DetectionLowerCaseAttributesMap represents the map of attribute for Detection.

View Source
var DetectorAttributesMap = map[string]elemental.AttributeSpecification{
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the detection.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"Group": {
		AllowedChoices: []string{},
		ConvertedName:  "Group",
		Description:    `The group the detection belongs to.`,
		Exposed:        true,
		Name:           "group",
		Type:           "string",
	},
	"Label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label returned by the model.`,
		Exposed:        true,
		Name:           "label",
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the detection.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Positional": {
		AllowedChoices: []string{},
		ConvertedName:  "Positional",
		Description:    `Tell if the detection is positional.`,
		Exposed:        true,
		Name:           "positional",
		Type:           "boolean",
	},
}

DetectorAttributesMap represents the map of attribute for Detector.

View Source
var DetectorLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the detection.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"group": {
		AllowedChoices: []string{},
		ConvertedName:  "Group",
		Description:    `The group the detection belongs to.`,
		Exposed:        true,
		Name:           "group",
		Type:           "string",
	},
	"label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label returned by the model.`,
		Exposed:        true,
		Name:           "label",
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the detection.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"positional": {
		AllowedChoices: []string{},
		ConvertedName:  "Positional",
		Description:    `Tell if the detection is positional.`,
		Exposed:        true,
		Name:           "positional",
		Type:           "boolean",
	},
}

DetectorLowerCaseAttributesMap represents the map of attribute for Detector.

View Source
var DomainHitsAttributesMap = map[string]elemental.AttributeSpecification{
	"App": {
		AllowedChoices: []string{},
		BSONFieldName:  "app",
		ConvertedName:  "App",
		Description:    `The name of the application that the domain belongs to.`,
		Exposed:        true,
		Name:           "app",
		Stored:         true,
		Type:           "string",
	},
	"Domain": {
		AllowedChoices: []string{},
		ConvertedName:  "Domain",
		Description:    `Domain that has been visited.`,
		Exposed:        true,
		Name:           "domain",
		Required:       true,
		Type:           "string",
	},
	"Hits": {
		AllowedChoices: []string{},
		ConvertedName:  "Hits",
		Description:    `The number of hits for this report.`,
		Exposed:        true,
		MinValue:       1,
		Name:           "hits",
		Required:       true,
		Type:           "integer",
	},
	"Suspicious": {
		AllowedChoices: []string{},
		ConvertedName:  "Suspicious",
		Description:    `Suspicious is true if the service might be a Shadow AI.`,
		Exposed:        true,
		Name:           "suspicious",
		Type:           "boolean",
	},
	"Tier": {
		AllowedChoices: []string{},
		BSONFieldName:  "tier",
		ConvertedName:  "Tier",
		Description:    `The tier of the application that the domain belongs to.`,
		Exposed:        true,
		Name:           "tier",
		Stored:         true,
		Type:           "string",
	},
}

DomainHitsAttributesMap represents the map of attribute for DomainHits.

View Source
var DomainHitsLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"app": {
		AllowedChoices: []string{},
		BSONFieldName:  "app",
		ConvertedName:  "App",
		Description:    `The name of the application that the domain belongs to.`,
		Exposed:        true,
		Name:           "app",
		Stored:         true,
		Type:           "string",
	},
	"domain": {
		AllowedChoices: []string{},
		ConvertedName:  "Domain",
		Description:    `Domain that has been visited.`,
		Exposed:        true,
		Name:           "domain",
		Required:       true,
		Type:           "string",
	},
	"hits": {
		AllowedChoices: []string{},
		ConvertedName:  "Hits",
		Description:    `The number of hits for this report.`,
		Exposed:        true,
		MinValue:       1,
		Name:           "hits",
		Required:       true,
		Type:           "integer",
	},
	"suspicious": {
		AllowedChoices: []string{},
		ConvertedName:  "Suspicious",
		Description:    `Suspicious is true if the service might be a Shadow AI.`,
		Exposed:        true,
		Name:           "suspicious",
		Type:           "boolean",
	},
	"tier": {
		AllowedChoices: []string{},
		BSONFieldName:  "tier",
		ConvertedName:  "Tier",
		Description:    `The tier of the application that the domain belongs to.`,
		Exposed:        true,
		Name:           "tier",
		Stored:         true,
		Type:           "string",
	},
}

DomainHitsLowerCaseAttributesMap represents the map of attribute for DomainHits.

View Source
var EmailAttributesMap = map[string]elemental.AttributeSpecification{
	"BCC": {
		AllowedChoices: []string{},
		ConvertedName:  "BCC",
		Description:    `The list of email recipients to set for the BCC field.`,
		Exposed:        true,
		Name:           "BCC",
		SubType:        "string",
		Type:           "list",
	},
	"CC": {
		AllowedChoices: []string{},
		ConvertedName:  "CC",
		Description:    `The list of email recipients to set for the CC field.`,
		Exposed:        true,
		Name:           "CC",
		SubType:        "string",
		Type:           "list",
	},
	"Attachments": {
		AllowedChoices: []string{},
		ConvertedName:  "Attachments",
		Description:    `The attachment(s) to send with the email.`,
		Exposed:        true,
		Name:           "attachments",
		SubType:        "map[string][]byte",
		Type:           "external",
	},
	"Body": {
		AllowedChoices: []string{},
		ConvertedName:  "Body",
		Description:    `The body of the email.`,
		Exposed:        true,
		Name:           "body",
		Required:       true,
		Type:           "string",
	},
	"ContentType": {
		AllowedChoices: []string{"HTML", "Text"},
		ConvertedName:  "ContentType",
		DefaultValue:   EmailContentTypeText,
		Description:    `The type of content being sent.`,
		Exposed:        true,
		Name:           "contentType",
		Required:       true,
		Type:           "enum",
	},
	"From": {
		AllowedChoices: []string{},
		ConvertedName:  "From",
		Description:    `If set, the email to set for the From field.`,
		Exposed:        true,
		Name:           "from",
		Type:           "string",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `The subject of the email.`,
		Exposed:        true,
		Name:           "subject",
		Required:       true,
		Type:           "string",
	},
	"To": {
		AllowedChoices: []string{},
		ConvertedName:  "To",
		Description:    `The list of email recipients to set for the To field.`,
		Exposed:        true,
		Name:           "to",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
}

EmailAttributesMap represents the map of attribute for Email.

View Source
var EmailIdentity = elemental.Identity{
	Name:     "email",
	Category: "emails",
	Package:  "avi",
	Private:  true,
}

EmailIdentity represents the Identity of the object.

View Source
var EmailLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"bcc": {
		AllowedChoices: []string{},
		ConvertedName:  "BCC",
		Description:    `The list of email recipients to set for the BCC field.`,
		Exposed:        true,
		Name:           "BCC",
		SubType:        "string",
		Type:           "list",
	},
	"cc": {
		AllowedChoices: []string{},
		ConvertedName:  "CC",
		Description:    `The list of email recipients to set for the CC field.`,
		Exposed:        true,
		Name:           "CC",
		SubType:        "string",
		Type:           "list",
	},
	"attachments": {
		AllowedChoices: []string{},
		ConvertedName:  "Attachments",
		Description:    `The attachment(s) to send with the email.`,
		Exposed:        true,
		Name:           "attachments",
		SubType:        "map[string][]byte",
		Type:           "external",
	},
	"body": {
		AllowedChoices: []string{},
		ConvertedName:  "Body",
		Description:    `The body of the email.`,
		Exposed:        true,
		Name:           "body",
		Required:       true,
		Type:           "string",
	},
	"contenttype": {
		AllowedChoices: []string{"HTML", "Text"},
		ConvertedName:  "ContentType",
		DefaultValue:   EmailContentTypeText,
		Description:    `The type of content being sent.`,
		Exposed:        true,
		Name:           "contentType",
		Required:       true,
		Type:           "enum",
	},
	"from": {
		AllowedChoices: []string{},
		ConvertedName:  "From",
		Description:    `If set, the email to set for the From field.`,
		Exposed:        true,
		Name:           "from",
		Type:           "string",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `The subject of the email.`,
		Exposed:        true,
		Name:           "subject",
		Required:       true,
		Type:           "string",
	},
	"to": {
		AllowedChoices: []string{},
		ConvertedName:  "To",
		Description:    `The list of email recipients to set for the To field.`,
		Exposed:        true,
		Name:           "to",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
}

EmailLowerCaseAttributesMap represents the map of attribute for Email.

View Source
var ErrorTransformerAttributesMap = map[string]elemental.AttributeSpecification{
	"ContentType": {
		AllowedChoices: []string{},
		BSONFieldName:  "contenttype",
		ConvertedName:  "ContentType",
		DefaultValue:   "application/json",
		Description:    `The Content-Type to use when returning a formatted error.`,
		Exposed:        true,
		Name:           "contentType",
		Stored:         true,
		Type:           "string",
	},
	"StatusCode": {
		AllowedChoices: []string{},
		BSONFieldName:  "statuscode",
		ConvertedName:  "StatusCode",
		Description:    `HTTP status code to return, instead of the classical one.`,
		Exposed:        true,
		Name:           "statusCode",
		Stored:         true,
		Type:           "integer",
	},
	"Template": {
		AllowedChoices: []string{},
		BSONFieldName:  "template",
		ConvertedName:  "Template",
		Description: `Go template to process and transform the error. The delimiters
are << and >> to prevent collision with acuctl templating.
The template will be passed the following informations:

- ` + "`" + `.Messages` + "`" + `: a list of string containing the messages to return.
- ` + "`" + `.Code` + "`" + `: The original status code.
- ` + "`" + `.TransformedCode` + "`" + `: The transformed status code.
- ` + "`" + `.Action` + "`" + `: The policy decision action (ask or deny).

All the sprig text function are available.`,
		Exposed: true,
		Name:    "template",
		Stored:  true,
		Type:    "string",
	},
}

ErrorTransformerAttributesMap represents the map of attribute for ErrorTransformer.

View Source
var ErrorTransformerIdentity = elemental.Identity{
	Name:     "errortransformer",
	Category: "errortransformers",
	Package:  "lain",
	Private:  false,
}

ErrorTransformerIdentity represents the Identity of the object.

View Source
var ErrorTransformerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"contenttype": {
		AllowedChoices: []string{},
		BSONFieldName:  "contenttype",
		ConvertedName:  "ContentType",
		DefaultValue:   "application/json",
		Description:    `The Content-Type to use when returning a formatted error.`,
		Exposed:        true,
		Name:           "contentType",
		Stored:         true,
		Type:           "string",
	},
	"statuscode": {
		AllowedChoices: []string{},
		BSONFieldName:  "statuscode",
		ConvertedName:  "StatusCode",
		Description:    `HTTP status code to return, instead of the classical one.`,
		Exposed:        true,
		Name:           "statusCode",
		Stored:         true,
		Type:           "integer",
	},
	"template": {
		AllowedChoices: []string{},
		BSONFieldName:  "template",
		ConvertedName:  "Template",
		Description: `Go template to process and transform the error. The delimiters
are << and >> to prevent collision with acuctl templating.
The template will be passed the following informations:

- ` + "`" + `.Messages` + "`" + `: a list of string containing the messages to return.
- ` + "`" + `.Code` + "`" + `: The original status code.
- ` + "`" + `.TransformedCode` + "`" + `: The transformed status code.
- ` + "`" + `.Action` + "`" + `: The policy decision action (ask or deny).

All the sprig text function are available.`,
		Exposed: true,
		Name:    "template",
		Stored:  true,
		Type:    "string",
	},
}

ErrorTransformerLowerCaseAttributesMap represents the map of attribute for ErrorTransformer.

View Source
var ExtractionAttributesMap = map[string]elemental.AttributeSpecification{
	"PIIs": {
		AllowedChoices: []string{},
		BSONFieldName:  "piis",
		ConvertedName:  "PIIs",
		Description:    `The PIIs found during classification.`,
		Exposed:        true,
		Name:           "PIIs",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Annotations attached to the extraction.`,
		Exposed:        true,
		Name:           "annotations",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Categories": {
		AllowedChoices: []string{},
		BSONFieldName:  "categories",
		ConvertedName:  "Categories",
		Description:    `The categories are remapping of the modalities in a more human friendly way.`,
		Exposed:        true,
		Name:           "categories",
		Stored:         true,
		SubType:        "modality",
		Type:           "refList",
	},
	"Confidentiality": {
		AllowedChoices: []string{},
		BSONFieldName:  "confidentiality",
		ConvertedName:  "Confidentiality",
		Description:    `The level of general confidentiality of the input.`,
		Exposed:        true,
		Name:           "confidentiality",
		Stored:         true,
		Type:           "float",
	},
	"Data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `The data extracted.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
	"Detections": {
		AllowedChoices: []string{},
		BSONFieldName:  "detections",
		ConvertedName:  "Detections",
		Description:    `The detections found while applying policies.`,
		Exposed:        true,
		Name:           "detections",
		Stored:         true,
		SubType:        "textualdetection",
		Type:           "refList",
	},
	"Exploits": {
		AllowedChoices: []string{},
		BSONFieldName:  "exploits",
		ConvertedName:  "Exploits",
		Description:    `The various exploits attempts.`,
		Exposed:        true,
		Name:           "exploits",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"Hash": {
		AllowedChoices: []string{},
		BSONFieldName:  "hash",
		ConvertedName:  "Hash",
		Description:    `The hash of the extraction.`,
		Exposed:        true,
		Name:           "hash",
		Stored:         true,
		Type:           "string",
	},
	"Intent": {
		AllowedChoices: []string{},
		BSONFieldName:  "intent",
		ConvertedName:  "Intent",
		Description:    `The estimated intent embodied into the text.`,
		Exposed:        true,
		Name:           "intent",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"Internal": {
		AllowedChoices: []string{},
		BSONFieldName:  "internal",
		ConvertedName:  "Internal",
		Description: `If true, this extraction is for internal use only. This can be used by agentic
systems to mark an extraction as internal only as opposed to user facing.`,
		Exposed: true,
		Name:    "internal",
		Stored:  true,
		Type:    "boolean",
	},
	"IsFile": {
		AllowedChoices: []string{},
		BSONFieldName:  "isfile",
		ConvertedName:  "IsFile",
		Description:    `If true, the data of the extraction is a file.`,
		Exposed:        true,
		Name:           "isFile",
		Stored:         true,
		Type:           "boolean",
	},
	"IsStored": {
		AllowedChoices: []string{},
		BSONFieldName:  "isstored",
		ConvertedName:  "IsStored",
		Description:    `If true, indicates that the file has been stored.`,
		Exposed:        true,
		Name:           "isStored",
		Stored:         true,
		Type:           "boolean",
	},
	"Keywords": {
		AllowedChoices: []string{},
		BSONFieldName:  "keywords",
		ConvertedName:  "Keywords",
		Description:    `The keywords found during classification.`,
		Exposed:        true,
		Name:           "keywords",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"Label": {
		AllowedChoices: []string{},
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		Description: `A means of distinguishing what was extracted, such as prompt, input file or
code.`,
		Exposed: true,
		Name:    "label",
		Stored:  true,
		Type:    "string",
	},
	"Languages": {
		AllowedChoices: []string{},
		BSONFieldName:  "languages",
		ConvertedName:  "Languages",
		Description:    `The language of the classification.`,
		Exposed:        true,
		Name:           "languages",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"LuaID": {
		AllowedChoices: []string{},
		ConvertedName:  "LuaID",
		Description:    `An internal field for lua code. it is ignored by the API.`,
		Exposed:        true,
		Name:           "luaID",
		Type:           "string",
	},
	"Modalities": {
		AllowedChoices: []string{},
		BSONFieldName:  "modalities",
		ConvertedName:  "Modalities",
		Description:    `The modalities of data detected in the data.`,
		Exposed:        true,
		Name:           "modalities",
		Stored:         true,
		SubType:        "modality",
		Type:           "refList",
	},
	"OriginalData": {
		AllowedChoices: []string{},
		ConvertedName:  "OriginalData",
		Description:    `This is an internal field and has no api meaning.`,
		Name:           "originalData",
		Type:           "string",
	},
	"Relevance": {
		AllowedChoices: []string{},
		BSONFieldName:  "relevance",
		ConvertedName:  "Relevance",
		Description:    `The level of general organization relevance of the input.`,
		Exposed:        true,
		Name:           "relevance",
		Stored:         true,
		Type:           "float",
	},
	"Secrets": {
		AllowedChoices: []string{},
		BSONFieldName:  "secrets",
		ConvertedName:  "Secrets",
		Description:    `The secrets found during classification.`,
		Exposed:        true,
		Name:           "secrets",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"Topics": {
		AllowedChoices: []string{},
		BSONFieldName:  "topics",
		ConvertedName:  "Topics",
		Description:    `The topic of the classification.`,
		Exposed:        true,
		Name:           "topics",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
}

ExtractionAttributesMap represents the map of attribute for Extraction.

View Source
var ExtractionInformationAttributesMap = map[string]elemental.AttributeSpecification{
	"N": {
		AllowedChoices: []string{},
		ConvertedName:  "N",
		Description:    `The number of times it has been seen.`,
		Exposed:        true,
		Name:           "n",
		Type:           "integer",
	},
}

ExtractionInformationAttributesMap represents the map of attribute for ExtractionInformation.

View Source
var ExtractionInformationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"n": {
		AllowedChoices: []string{},
		ConvertedName:  "N",
		Description:    `The number of times it has been seen.`,
		Exposed:        true,
		Name:           "n",
		Type:           "integer",
	},
}

ExtractionInformationLowerCaseAttributesMap represents the map of attribute for ExtractionInformation.

View Source
var ExtractionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"piis": {
		AllowedChoices: []string{},
		BSONFieldName:  "piis",
		ConvertedName:  "PIIs",
		Description:    `The PIIs found during classification.`,
		Exposed:        true,
		Name:           "PIIs",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Annotations attached to the extraction.`,
		Exposed:        true,
		Name:           "annotations",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"categories": {
		AllowedChoices: []string{},
		BSONFieldName:  "categories",
		ConvertedName:  "Categories",
		Description:    `The categories are remapping of the modalities in a more human friendly way.`,
		Exposed:        true,
		Name:           "categories",
		Stored:         true,
		SubType:        "modality",
		Type:           "refList",
	},
	"confidentiality": {
		AllowedChoices: []string{},
		BSONFieldName:  "confidentiality",
		ConvertedName:  "Confidentiality",
		Description:    `The level of general confidentiality of the input.`,
		Exposed:        true,
		Name:           "confidentiality",
		Stored:         true,
		Type:           "float",
	},
	"data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `The data extracted.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
	"detections": {
		AllowedChoices: []string{},
		BSONFieldName:  "detections",
		ConvertedName:  "Detections",
		Description:    `The detections found while applying policies.`,
		Exposed:        true,
		Name:           "detections",
		Stored:         true,
		SubType:        "textualdetection",
		Type:           "refList",
	},
	"exploits": {
		AllowedChoices: []string{},
		BSONFieldName:  "exploits",
		ConvertedName:  "Exploits",
		Description:    `The various exploits attempts.`,
		Exposed:        true,
		Name:           "exploits",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"hash": {
		AllowedChoices: []string{},
		BSONFieldName:  "hash",
		ConvertedName:  "Hash",
		Description:    `The hash of the extraction.`,
		Exposed:        true,
		Name:           "hash",
		Stored:         true,
		Type:           "string",
	},
	"intent": {
		AllowedChoices: []string{},
		BSONFieldName:  "intent",
		ConvertedName:  "Intent",
		Description:    `The estimated intent embodied into the text.`,
		Exposed:        true,
		Name:           "intent",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"internal": {
		AllowedChoices: []string{},
		BSONFieldName:  "internal",
		ConvertedName:  "Internal",
		Description: `If true, this extraction is for internal use only. This can be used by agentic
systems to mark an extraction as internal only as opposed to user facing.`,
		Exposed: true,
		Name:    "internal",
		Stored:  true,
		Type:    "boolean",
	},
	"isfile": {
		AllowedChoices: []string{},
		BSONFieldName:  "isfile",
		ConvertedName:  "IsFile",
		Description:    `If true, the data of the extraction is a file.`,
		Exposed:        true,
		Name:           "isFile",
		Stored:         true,
		Type:           "boolean",
	},
	"isstored": {
		AllowedChoices: []string{},
		BSONFieldName:  "isstored",
		ConvertedName:  "IsStored",
		Description:    `If true, indicates that the file has been stored.`,
		Exposed:        true,
		Name:           "isStored",
		Stored:         true,
		Type:           "boolean",
	},
	"keywords": {
		AllowedChoices: []string{},
		BSONFieldName:  "keywords",
		ConvertedName:  "Keywords",
		Description:    `The keywords found during classification.`,
		Exposed:        true,
		Name:           "keywords",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"label": {
		AllowedChoices: []string{},
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		Description: `A means of distinguishing what was extracted, such as prompt, input file or
code.`,
		Exposed: true,
		Name:    "label",
		Stored:  true,
		Type:    "string",
	},
	"languages": {
		AllowedChoices: []string{},
		BSONFieldName:  "languages",
		ConvertedName:  "Languages",
		Description:    `The language of the classification.`,
		Exposed:        true,
		Name:           "languages",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"luaid": {
		AllowedChoices: []string{},
		ConvertedName:  "LuaID",
		Description:    `An internal field for lua code. it is ignored by the API.`,
		Exposed:        true,
		Name:           "luaID",
		Type:           "string",
	},
	"modalities": {
		AllowedChoices: []string{},
		BSONFieldName:  "modalities",
		ConvertedName:  "Modalities",
		Description:    `The modalities of data detected in the data.`,
		Exposed:        true,
		Name:           "modalities",
		Stored:         true,
		SubType:        "modality",
		Type:           "refList",
	},
	"originaldata": {
		AllowedChoices: []string{},
		ConvertedName:  "OriginalData",
		Description:    `This is an internal field and has no api meaning.`,
		Name:           "originalData",
		Type:           "string",
	},
	"relevance": {
		AllowedChoices: []string{},
		BSONFieldName:  "relevance",
		ConvertedName:  "Relevance",
		Description:    `The level of general organization relevance of the input.`,
		Exposed:        true,
		Name:           "relevance",
		Stored:         true,
		Type:           "float",
	},
	"secrets": {
		AllowedChoices: []string{},
		BSONFieldName:  "secrets",
		ConvertedName:  "Secrets",
		Description:    `The secrets found during classification.`,
		Exposed:        true,
		Name:           "secrets",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
	"topics": {
		AllowedChoices: []string{},
		BSONFieldName:  "topics",
		ConvertedName:  "Topics",
		Description:    `The topic of the classification.`,
		Exposed:        true,
		Name:           "topics",
		Stored:         true,
		SubType:        "map[string]float64",
		Type:           "external",
	},
}

ExtractionLowerCaseAttributesMap represents the map of attribute for Extraction.

View Source
var ExtractionSummaryAttributesMap = map[string]elemental.AttributeSpecification{
	"PIIs": {
		AllowedChoices: []string{},
		BSONFieldName:  "piis",
		ConvertedName:  "PIIs",
		Description:    `The PIIs found during classification.`,
		Exposed:        true,
		Name:           "PIIs",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Categories": {
		AllowedChoices: []string{},
		BSONFieldName:  "categories",
		ConvertedName:  "Categories",
		Description:    `The categories are remapping of the modalities in a more human friendly way.`,
		Exposed:        true,
		Name:           "categories",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Exploits": {
		AllowedChoices: []string{},
		BSONFieldName:  "exploits",
		ConvertedName:  "Exploits",
		Description:    `The various exploits attempts.`,
		Exposed:        true,
		Name:           "exploits",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Intent": {
		AllowedChoices: []string{},
		BSONFieldName:  "intent",
		ConvertedName:  "Intent",
		Description:    `The estimated intent embodied into the text.`,
		Exposed:        true,
		Name:           "intent",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Keywords": {
		AllowedChoices: []string{},
		BSONFieldName:  "keywords",
		ConvertedName:  "Keywords",
		Description:    `The keywords found during classification.`,
		Exposed:        true,
		Name:           "keywords",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Languages": {
		AllowedChoices: []string{},
		BSONFieldName:  "languages",
		ConvertedName:  "Languages",
		Description:    `The language of the classification.`,
		Exposed:        true,
		Name:           "languages",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Modalities": {
		AllowedChoices: []string{},
		BSONFieldName:  "modalities",
		ConvertedName:  "Modalities",
		Description:    `The modalities of data detected in the data.`,
		Exposed:        true,
		Name:           "modalities",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Secrets": {
		AllowedChoices: []string{},
		BSONFieldName:  "secrets",
		ConvertedName:  "Secrets",
		Description:    `The secrets found during classification.`,
		Exposed:        true,
		Name:           "secrets",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"Topics": {
		AllowedChoices: []string{},
		BSONFieldName:  "topics",
		ConvertedName:  "Topics",
		Description:    `The topic of the classification.`,
		Exposed:        true,
		Name:           "topics",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
}

ExtractionSummaryAttributesMap represents the map of attribute for ExtractionSummary.

View Source
var ExtractionSummaryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"piis": {
		AllowedChoices: []string{},
		BSONFieldName:  "piis",
		ConvertedName:  "PIIs",
		Description:    `The PIIs found during classification.`,
		Exposed:        true,
		Name:           "PIIs",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"categories": {
		AllowedChoices: []string{},
		BSONFieldName:  "categories",
		ConvertedName:  "Categories",
		Description:    `The categories are remapping of the modalities in a more human friendly way.`,
		Exposed:        true,
		Name:           "categories",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"exploits": {
		AllowedChoices: []string{},
		BSONFieldName:  "exploits",
		ConvertedName:  "Exploits",
		Description:    `The various exploits attempts.`,
		Exposed:        true,
		Name:           "exploits",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"intent": {
		AllowedChoices: []string{},
		BSONFieldName:  "intent",
		ConvertedName:  "Intent",
		Description:    `The estimated intent embodied into the text.`,
		Exposed:        true,
		Name:           "intent",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"keywords": {
		AllowedChoices: []string{},
		BSONFieldName:  "keywords",
		ConvertedName:  "Keywords",
		Description:    `The keywords found during classification.`,
		Exposed:        true,
		Name:           "keywords",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"languages": {
		AllowedChoices: []string{},
		BSONFieldName:  "languages",
		ConvertedName:  "Languages",
		Description:    `The language of the classification.`,
		Exposed:        true,
		Name:           "languages",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"modalities": {
		AllowedChoices: []string{},
		BSONFieldName:  "modalities",
		ConvertedName:  "Modalities",
		Description:    `The modalities of data detected in the data.`,
		Exposed:        true,
		Name:           "modalities",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"secrets": {
		AllowedChoices: []string{},
		BSONFieldName:  "secrets",
		ConvertedName:  "Secrets",
		Description:    `The secrets found during classification.`,
		Exposed:        true,
		Name:           "secrets",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
	"topics": {
		AllowedChoices: []string{},
		BSONFieldName:  "topics",
		ConvertedName:  "Topics",
		Description:    `The topic of the classification.`,
		Exposed:        true,
		Name:           "topics",
		Stored:         true,
		SubType:        "map[string]extractioninformation",
		Type:           "external",
	},
}

ExtractionSummaryLowerCaseAttributesMap represents the map of attribute for ExtractionSummary.

View Source
var ExtractorAttributesMap = map[string]elemental.AttributeSpecification{
	"Analyzers": {
		AllowedChoices: []string{},
		BSONFieldName:  "analyzers",
		ConvertedName:  "Analyzers",
		Description: `The analyzers parameter allows specifying a custom list of analyzers to override
the defaults.
Analyzers can be added with + prefix (to enable if disabled), removed with -
prefix (to disable if enabled).
Or listed without a prefix (to disable all other analyzers).
Each entry can refer to an analyzer app (e.g., text-pattern-detector) or an
analyzer group (e.g., Detectors).`,
		Exposed: true,
		Name:    "analyzers",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Anonymization": {
		AllowedChoices: []string{"FixedSize", "VariableSize"},
		BSONFieldName:  "anonymization",
		ConvertedName:  "Anonymization",
		DefaultValue:   ExtractorAnonymizationFixedSize,
		Description:    `How to anonymize the data. If deanonymize is true, then VariablSize is required.`,
		Exposed:        true,
		Name:           "anonymization",
		Stored:         true,
		Type:           "enum",
	},
	"Behavior": {
		AllowedChoices: []string{"Popup", "Throw", "Ignore"},
		BSONFieldName:  "behavior",
		ConvertedName:  "Behavior",
		DefaultValue:   ExtractorBehaviorPopup,
		Description: `Defines how to handle error in the case of a webpage. If set to Popup, the error
will be shown in a popup. If throw, a javascript error will be returned.`,
		Exposed: true,
		Name:    "behavior",
		Stored:  true,
		Type:    "enum",
	},
	"Block": {
		AllowedChoices: []string{"Allow", "Before", "After"},
		BSONFieldName:  "block",
		ConvertedName:  "Block",
		DefaultValue:   ExtractorBlockAllow,
		Description: `Block the request to the provider if not Allow. If Before, the data will be
blocked before running any extraction or analyzis. If After block the request
after analysizis.`,
		Exposed: true,
		Name:    "block",
		Stored:  true,
		Type:    "enum",
	},
	"CancelBehavior": {
		AllowedChoices: []string{"Block", "SendRedacted"},
		BSONFieldName:  "cancelbehavior",
		ConvertedName:  "CancelBehavior",
		DefaultValue:   ExtractorCancelBehaviorBlock,
		Description:    `The behavior to take when cancel is chosen from the popup.`,
		Exposed:        true,
		Name:           "cancelBehavior",
		Stored:         true,
		Type:           "enum",
	},
	"Deanonymize": {
		AllowedChoices: []string{},
		BSONFieldName:  "deanonymize",
		ConvertedName:  "Deanonymize",
		Description:    `If true, deanonymize the redacted data. This has no effects on streaming output.`,
		Exposed:        true,
		Name:           "deanonymize",
		Stored:         true,
		Type:           "boolean",
	},
	"Hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description: `Optional hosts to match. This is useful in case the provider has multiple hosts
to discriminate which logger to use.`,
		Exposed: true,
		Name:    "hosts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Ignore": {
		AllowedChoices: []string{},
		BSONFieldName:  "ignore",
		ConvertedName:  "Ignore",
		Description:    `If true, the analysis will run, but nothing will be logged.`,
		Exposed:        true,
		Name:           "ignore",
		Stored:         true,
		Type:           "boolean",
	},
	"Match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `A regular expression to match an URL to log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "match",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Method": {
		AllowedChoices: []string{"Post", "Put", "Patch", "Get", "Delete", "Options", "Head"},
		BSONFieldName:  "method",
		ConvertedName:  "Method",
		Description:    `The method to match.`,
		Exposed:        true,
		Name:           "method",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `The name of the extractor. It will be used to identify which extractor was used
during an extraction.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"Script": {
		AllowedChoices: []string{},
		BSONFieldName:  "script",
		ConvertedName:  "Script",
		Description:    `If not empty, use this lua code to run the extraction.`,
		Exposed:        true,
		Name:           "script",
		Stored:         true,
		Type:           "string",
	},
}

ExtractorAttributesMap represents the map of attribute for Extractor.

View Source
var ExtractorLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"analyzers": {
		AllowedChoices: []string{},
		BSONFieldName:  "analyzers",
		ConvertedName:  "Analyzers",
		Description: `The analyzers parameter allows specifying a custom list of analyzers to override
the defaults.
Analyzers can be added with + prefix (to enable if disabled), removed with -
prefix (to disable if enabled).
Or listed without a prefix (to disable all other analyzers).
Each entry can refer to an analyzer app (e.g., text-pattern-detector) or an
analyzer group (e.g., Detectors).`,
		Exposed: true,
		Name:    "analyzers",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"anonymization": {
		AllowedChoices: []string{"FixedSize", "VariableSize"},
		BSONFieldName:  "anonymization",
		ConvertedName:  "Anonymization",
		DefaultValue:   ExtractorAnonymizationFixedSize,
		Description:    `How to anonymize the data. If deanonymize is true, then VariablSize is required.`,
		Exposed:        true,
		Name:           "anonymization",
		Stored:         true,
		Type:           "enum",
	},
	"behavior": {
		AllowedChoices: []string{"Popup", "Throw", "Ignore"},
		BSONFieldName:  "behavior",
		ConvertedName:  "Behavior",
		DefaultValue:   ExtractorBehaviorPopup,
		Description: `Defines how to handle error in the case of a webpage. If set to Popup, the error
will be shown in a popup. If throw, a javascript error will be returned.`,
		Exposed: true,
		Name:    "behavior",
		Stored:  true,
		Type:    "enum",
	},
	"block": {
		AllowedChoices: []string{"Allow", "Before", "After"},
		BSONFieldName:  "block",
		ConvertedName:  "Block",
		DefaultValue:   ExtractorBlockAllow,
		Description: `Block the request to the provider if not Allow. If Before, the data will be
blocked before running any extraction or analyzis. If After block the request
after analysizis.`,
		Exposed: true,
		Name:    "block",
		Stored:  true,
		Type:    "enum",
	},
	"cancelbehavior": {
		AllowedChoices: []string{"Block", "SendRedacted"},
		BSONFieldName:  "cancelbehavior",
		ConvertedName:  "CancelBehavior",
		DefaultValue:   ExtractorCancelBehaviorBlock,
		Description:    `The behavior to take when cancel is chosen from the popup.`,
		Exposed:        true,
		Name:           "cancelBehavior",
		Stored:         true,
		Type:           "enum",
	},
	"deanonymize": {
		AllowedChoices: []string{},
		BSONFieldName:  "deanonymize",
		ConvertedName:  "Deanonymize",
		Description:    `If true, deanonymize the redacted data. This has no effects on streaming output.`,
		Exposed:        true,
		Name:           "deanonymize",
		Stored:         true,
		Type:           "boolean",
	},
	"hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description: `Optional hosts to match. This is useful in case the provider has multiple hosts
to discriminate which logger to use.`,
		Exposed: true,
		Name:    "hosts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"ignore": {
		AllowedChoices: []string{},
		BSONFieldName:  "ignore",
		ConvertedName:  "Ignore",
		Description:    `If true, the analysis will run, but nothing will be logged.`,
		Exposed:        true,
		Name:           "ignore",
		Stored:         true,
		Type:           "boolean",
	},
	"match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `A regular expression to match an URL to log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "match",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"method": {
		AllowedChoices: []string{"Post", "Put", "Patch", "Get", "Delete", "Options", "Head"},
		BSONFieldName:  "method",
		ConvertedName:  "Method",
		Description:    `The method to match.`,
		Exposed:        true,
		Name:           "method",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `The name of the extractor. It will be used to identify which extractor was used
during an extraction.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"script": {
		AllowedChoices: []string{},
		BSONFieldName:  "script",
		ConvertedName:  "Script",
		Description:    `If not empty, use this lua code to run the extraction.`,
		Exposed:        true,
		Name:           "script",
		Stored:         true,
		Type:           "string",
	},
}

ExtractorLowerCaseAttributesMap represents the map of attribute for Extractor.

View Source
var FeedbackAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Comment": {
		AllowedChoices: []string{},
		BSONFieldName:  "comment",
		ConvertedName:  "Comment",
		Description:    `General comments on the feedback.`,
		Exposed:        true,
		Name:           "comment",
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		CreationOnly:   true,
		Description:    `The key of the feedback.`,
		Exposed:        true,
		Name:           "key",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"LogHash": {
		AllowedChoices: []string{},
		BSONFieldName:  "loghash",
		ConvertedName:  "LogHash",
		CreationOnly:   true,
		Description:    `The hash of the log.`,
		Exposed:        true,
		Name:           "logHash",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"Provider": {
		AllowedChoices: []string{},
		BSONFieldName:  "provider",
		ConvertedName:  "Provider",
		CreationOnly:   true,
		Description:    `The provider of the feedback.`,
		Exposed:        true,
		Name:           "provider",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Score": {
		AllowedChoices: []string{},
		BSONFieldName:  "score",
		ConvertedName:  "Score",
		Description:    `The feedback score (+1 for upvote, -1 for downvote).`,
		Exposed:        true,
		Name:           "score",
		Stored:         true,
		Type:           "integer",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		CreationOnly:   true,
		Description:    `The value of the feedback.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FeedbackAttributesMap represents the map of attribute for Feedback.

View Source
var FeedbackIdentity = elemental.Identity{
	Name:     "feedback",
	Category: "feedbacks",
	Package:  "lain",
	Private:  false,
}

FeedbackIdentity represents the Identity of the object.

View Source
var FeedbackLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"comment": {
		AllowedChoices: []string{},
		BSONFieldName:  "comment",
		ConvertedName:  "Comment",
		Description:    `General comments on the feedback.`,
		Exposed:        true,
		Name:           "comment",
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		CreationOnly:   true,
		Description:    `The key of the feedback.`,
		Exposed:        true,
		Name:           "key",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"loghash": {
		AllowedChoices: []string{},
		BSONFieldName:  "loghash",
		ConvertedName:  "LogHash",
		CreationOnly:   true,
		Description:    `The hash of the log.`,
		Exposed:        true,
		Name:           "logHash",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"provider": {
		AllowedChoices: []string{},
		BSONFieldName:  "provider",
		ConvertedName:  "Provider",
		CreationOnly:   true,
		Description:    `The provider of the feedback.`,
		Exposed:        true,
		Name:           "provider",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"score": {
		AllowedChoices: []string{},
		BSONFieldName:  "score",
		ConvertedName:  "Score",
		Description:    `The feedback score (+1 for upvote, -1 for downvote).`,
		Exposed:        true,
		Name:           "score",
		Stored:         true,
		Type:           "integer",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		CreationOnly:   true,
		Description:    `The value of the feedback.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FeedbackLowerCaseAttributesMap represents the map of attribute for Feedback.

View Source
var GitbookTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The token to access gitbook. This is not a valid acuvity token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
}

GitbookTokenAttributesMap represents the map of attribute for GitbookToken.

View Source
var GitbookTokenIdentity = elemental.Identity{
	Name:     "gitbooktoken",
	Category: "gitbooktokens",
	Package:  "amaterasu",
	Private:  false,
}

GitbookTokenIdentity represents the Identity of the object.

View Source
var GitbookTokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The token to access gitbook. This is not a valid acuvity token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
}

GitbookTokenLowerCaseAttributesMap represents the map of attribute for GitbookToken.

View Source
var HostAttributesMap = map[string]elemental.AttributeSpecification{
	"DisableFingerprintingResistance": {
		AllowedChoices: []string{},
		BSONFieldName:  "disablefingerprintingresistance",
		ConvertedName:  "DisableFingerprintingResistance",
		Description: `Disable Apex routines to try to mimic client's tls handshake signature. You
probably want this on.`,
		Exposed: true,
		Name:    "disableFingerprintingResistance",
		Stored:  true,
		Type:    "boolean",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The hostname.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Prefix": {
		AllowedChoices: []string{},
		BSONFieldName:  "prefix",
		ConvertedName:  "Prefix",
		Description:    `URL prefix for additional matching.`,
		Exposed:        true,
		Name:           "prefix",
		Stored:         true,
		Type:           "string",
	},
	"ProxyLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "proxylabel",
		ConvertedName:  "ProxyLabel",
		Description:    `The proxy label to use to exit to this host.`,
		Exposed:        true,
		Name:           "proxyLabel",
		Stored:         true,
		Type:           "string",
	},
}

HostAttributesMap represents the map of attribute for Host.

View Source
var HostLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"disablefingerprintingresistance": {
		AllowedChoices: []string{},
		BSONFieldName:  "disablefingerprintingresistance",
		ConvertedName:  "DisableFingerprintingResistance",
		Description: `Disable Apex routines to try to mimic client's tls handshake signature. You
probably want this on.`,
		Exposed: true,
		Name:    "disableFingerprintingResistance",
		Stored:  true,
		Type:    "boolean",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The hostname.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"prefix": {
		AllowedChoices: []string{},
		BSONFieldName:  "prefix",
		ConvertedName:  "Prefix",
		Description:    `URL prefix for additional matching.`,
		Exposed:        true,
		Name:           "prefix",
		Stored:         true,
		Type:           "string",
	},
	"proxylabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "proxylabel",
		ConvertedName:  "ProxyLabel",
		Description:    `The proxy label to use to exit to this host.`,
		Exposed:        true,
		Name:           "proxyLabel",
		Stored:         true,
		Type:           "string",
	},
}

HostLowerCaseAttributesMap represents the map of attribute for Host.

View Source
var IgnoredDomainAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Domain": {
		AllowedChoices: []string{},
		BSONFieldName:  "domain",
		ConvertedName:  "Domain",
		CreationOnly:   true,
		Description:    `The domain to ignore.`,
		Exposed:        true,
		Name:           "domain",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

IgnoredDomainAttributesMap represents the map of attribute for IgnoredDomain.

View Source
var IgnoredDomainIdentity = elemental.Identity{
	Name:     "ignoreddomain",
	Category: "ignoreddomains",
	Package:  "lain",
	Private:  false,
}

IgnoredDomainIdentity represents the Identity of the object.

View Source
var IgnoredDomainLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"domain": {
		AllowedChoices: []string{},
		BSONFieldName:  "domain",
		ConvertedName:  "Domain",
		CreationOnly:   true,
		Description:    `The domain to ignore.`,
		Exposed:        true,
		Name:           "domain",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

IgnoredDomainLowerCaseAttributesMap represents the map of attribute for IgnoredDomain.

View Source
var ImportAttributesMap = map[string]elemental.AttributeSpecification{
	"AIDomains": {
		AllowedChoices: []string{},
		ConvertedName:  "AIDomains",
		Description:    `AI domains to import.`,
		Exposed:        true,
		Name:           "AIDomains",
		SubType:        "aidomain",
		Type:           "refList",
	},
	"APIAuthorizations": {
		AllowedChoices: []string{},
		ConvertedName:  "APIAuthorizations",
		Description:    `APIAuthorizations to import.`,
		Exposed:        true,
		Name:           "APIAuthorizations",
		SubType:        "apiauthorization",
		Type:           "refList",
	},
	"PACConfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "PACConfigs",
		Description:    `PACConfigs to import.`,
		Exposed:        true,
		Name:           "PACConfigs",
		SubType:        "pacconfig",
		Type:           "refList",
	},
	"AccessPolicies": {
		AllowedChoices: []string{},
		ConvertedName:  "AccessPolicies",
		Description:    `Access policies to import.`,
		Exposed:        true,
		Name:           "accessPolicies",
		SubType:        "accesspolicy",
		Type:           "refList",
	},
	"AgentConfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "AgentConfigs",
		Description:    `Agent configurations to import.`,
		Exposed:        true,
		Name:           "agentConfigs",
		SubType:        "agentconfig",
		Type:           "refList",
	},
	"AlertDefinitions": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertDefinitions",
		Description:    `Alert definitions to import.`,
		Exposed:        true,
		Name:           "alertDefinitions",
		SubType:        "alertdefinition",
		Type:           "refList",
	},
	"Apps": {
		AllowedChoices: []string{},
		ConvertedName:  "Apps",
		Description:    `Apps to import.`,
		Exposed:        true,
		Name:           "apps",
		SubType:        "app",
		Type:           "refList",
	},
	"ContentPolicies": {
		AllowedChoices: []string{},
		ConvertedName:  "ContentPolicies",
		Description:    `Content policies to import.`,
		Exposed:        true,
		Name:           "contentPolicies",
		SubType:        "contentpolicy",
		Type:           "refList",
	},
	"IgnoredDomains": {
		AllowedChoices: []string{},
		ConvertedName:  "IgnoredDomains",
		Description:    `Ignored domains to import.`,
		Exposed:        true,
		Name:           "ignoredDomains",
		SubType:        "ignoreddomain",
		Type:           "refList",
	},
	"Label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description: `Import label that will be used to identify all the resources imported by this
resource.`,
		Exposed:  true,
		Name:     "label",
		Required: true,
		Type:     "string",
	},
	"OrgSettings": {
		AllowedChoices: []string{},
		ConvertedName:  "OrgSettings",
		Description:    `OrgSettings to import.`,
		Exposed:        true,
		Name:           "orgSettings",
		SubType:        "orgsettings",
		Type:           "refList",
	},
	"ProviderTeams": {
		AllowedChoices: []string{},
		ConvertedName:  "ProviderTeams",
		Description:    `Provider teams to import.`,
		Exposed:        true,
		Name:           "providerTeams",
		SubType:        "providerteam",
		Type:           "refList",
	},
	"ProviderTokens": {
		AllowedChoices: []string{},
		ConvertedName:  "ProviderTokens",
		Description:    `ProviderTokens to import.`,
		Exposed:        true,
		Name:           "providerTokens",
		SubType:        "providertoken",
		Type:           "refList",
	},
	"Providers": {
		AllowedChoices: []string{},
		ConvertedName:  "Providers",
		Description:    `Providers to import.`,
		Exposed:        true,
		Name:           "providers",
		SubType:        "provider",
		Type:           "refList",
	},
	"Proxyroundtrips": {
		AllowedChoices: []string{},
		ConvertedName:  "Proxyroundtrips",
		Description:    `Proxy roundtrip to import. This will populate dummy data.`,
		Exposed:        true,
		Name:           "proxyroundtrips",
		SubType:        "proxyroundtrip",
		Type:           "refList",
	},
	"Sinks": {
		AllowedChoices: []string{},
		ConvertedName:  "Sinks",
		Description:    `Sinks to import.`,
		Exposed:        true,
		Name:           "sinks",
		SubType:        "sink",
		Type:           "refList",
	},
	"Teams": {
		AllowedChoices: []string{},
		ConvertedName:  "Teams",
		Description:    `Teams to import.`,
		Exposed:        true,
		Name:           "teams",
		SubType:        "team",
		Type:           "refList",
	},
	"Visitedurls": {
		AllowedChoices: []string{},
		ConvertedName:  "Visitedurls",
		Description:    `Visited URLs to import.`,
		Exposed:        true,
		Name:           "visitedurls",
		SubType:        "visitedurl",
		Type:           "refList",
	},
	"WebExtensionConfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "WebExtensionConfigs",
		Description:    `Web Extension configurations to import.`,
		Exposed:        true,
		Name:           "webExtensionConfigs",
		SubType:        "webextensionconfig",
		Type:           "refList",
	},
}

ImportAttributesMap represents the map of attribute for Import.

View Source
var ImportIdentity = elemental.Identity{
	Name:     "import",
	Category: "import",
	Package:  "lain",
	Private:  false,
}

ImportIdentity represents the Identity of the object.

View Source
var ImportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"aidomains": {
		AllowedChoices: []string{},
		ConvertedName:  "AIDomains",
		Description:    `AI domains to import.`,
		Exposed:        true,
		Name:           "AIDomains",
		SubType:        "aidomain",
		Type:           "refList",
	},
	"apiauthorizations": {
		AllowedChoices: []string{},
		ConvertedName:  "APIAuthorizations",
		Description:    `APIAuthorizations to import.`,
		Exposed:        true,
		Name:           "APIAuthorizations",
		SubType:        "apiauthorization",
		Type:           "refList",
	},
	"pacconfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "PACConfigs",
		Description:    `PACConfigs to import.`,
		Exposed:        true,
		Name:           "PACConfigs",
		SubType:        "pacconfig",
		Type:           "refList",
	},
	"accesspolicies": {
		AllowedChoices: []string{},
		ConvertedName:  "AccessPolicies",
		Description:    `Access policies to import.`,
		Exposed:        true,
		Name:           "accessPolicies",
		SubType:        "accesspolicy",
		Type:           "refList",
	},
	"agentconfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "AgentConfigs",
		Description:    `Agent configurations to import.`,
		Exposed:        true,
		Name:           "agentConfigs",
		SubType:        "agentconfig",
		Type:           "refList",
	},
	"alertdefinitions": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertDefinitions",
		Description:    `Alert definitions to import.`,
		Exposed:        true,
		Name:           "alertDefinitions",
		SubType:        "alertdefinition",
		Type:           "refList",
	},
	"apps": {
		AllowedChoices: []string{},
		ConvertedName:  "Apps",
		Description:    `Apps to import.`,
		Exposed:        true,
		Name:           "apps",
		SubType:        "app",
		Type:           "refList",
	},
	"contentpolicies": {
		AllowedChoices: []string{},
		ConvertedName:  "ContentPolicies",
		Description:    `Content policies to import.`,
		Exposed:        true,
		Name:           "contentPolicies",
		SubType:        "contentpolicy",
		Type:           "refList",
	},
	"ignoreddomains": {
		AllowedChoices: []string{},
		ConvertedName:  "IgnoredDomains",
		Description:    `Ignored domains to import.`,
		Exposed:        true,
		Name:           "ignoredDomains",
		SubType:        "ignoreddomain",
		Type:           "refList",
	},
	"label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description: `Import label that will be used to identify all the resources imported by this
resource.`,
		Exposed:  true,
		Name:     "label",
		Required: true,
		Type:     "string",
	},
	"orgsettings": {
		AllowedChoices: []string{},
		ConvertedName:  "OrgSettings",
		Description:    `OrgSettings to import.`,
		Exposed:        true,
		Name:           "orgSettings",
		SubType:        "orgsettings",
		Type:           "refList",
	},
	"providerteams": {
		AllowedChoices: []string{},
		ConvertedName:  "ProviderTeams",
		Description:    `Provider teams to import.`,
		Exposed:        true,
		Name:           "providerTeams",
		SubType:        "providerteam",
		Type:           "refList",
	},
	"providertokens": {
		AllowedChoices: []string{},
		ConvertedName:  "ProviderTokens",
		Description:    `ProviderTokens to import.`,
		Exposed:        true,
		Name:           "providerTokens",
		SubType:        "providertoken",
		Type:           "refList",
	},
	"providers": {
		AllowedChoices: []string{},
		ConvertedName:  "Providers",
		Description:    `Providers to import.`,
		Exposed:        true,
		Name:           "providers",
		SubType:        "provider",
		Type:           "refList",
	},
	"proxyroundtrips": {
		AllowedChoices: []string{},
		ConvertedName:  "Proxyroundtrips",
		Description:    `Proxy roundtrip to import. This will populate dummy data.`,
		Exposed:        true,
		Name:           "proxyroundtrips",
		SubType:        "proxyroundtrip",
		Type:           "refList",
	},
	"sinks": {
		AllowedChoices: []string{},
		ConvertedName:  "Sinks",
		Description:    `Sinks to import.`,
		Exposed:        true,
		Name:           "sinks",
		SubType:        "sink",
		Type:           "refList",
	},
	"teams": {
		AllowedChoices: []string{},
		ConvertedName:  "Teams",
		Description:    `Teams to import.`,
		Exposed:        true,
		Name:           "teams",
		SubType:        "team",
		Type:           "refList",
	},
	"visitedurls": {
		AllowedChoices: []string{},
		ConvertedName:  "Visitedurls",
		Description:    `Visited URLs to import.`,
		Exposed:        true,
		Name:           "visitedurls",
		SubType:        "visitedurl",
		Type:           "refList",
	},
	"webextensionconfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "WebExtensionConfigs",
		Description:    `Web Extension configurations to import.`,
		Exposed:        true,
		Name:           "webExtensionConfigs",
		SubType:        "webextensionconfig",
		Type:           "refList",
	},
}

ImportLowerCaseAttributesMap represents the map of attribute for Import.

View Source
var InjectorAttributesMap = map[string]elemental.AttributeSpecification{
	"Hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description: `Optional hosts to match. This is useful in case the provider has multiple hosts
to discriminate which logger to use.`,
		Exposed: true,
		Name:    "hosts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `A regular expression to match an URL to log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "match",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Method": {
		AllowedChoices: []string{"Post", "Put", "Patch", "Get", "Delete", "Options", "Head"},
		BSONFieldName:  "method",
		ConvertedName:  "Method",
		Description:    `The method to match.`,
		Exposed:        true,
		Name:           "method",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
}

InjectorAttributesMap represents the map of attribute for Injector.

View Source
var InjectorLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description: `Optional hosts to match. This is useful in case the provider has multiple hosts
to discriminate which logger to use.`,
		Exposed: true,
		Name:    "hosts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `A regular expression to match an URL to log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "match",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"method": {
		AllowedChoices: []string{"Post", "Put", "Patch", "Get", "Delete", "Options", "Head"},
		BSONFieldName:  "method",
		ConvertedName:  "Method",
		Description:    `The method to match.`,
		Exposed:        true,
		Name:           "method",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
}

InjectorLowerCaseAttributesMap represents the map of attribute for Injector.

View Source
var LabelValueAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"EndRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"Label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label to retrieve all available the values for.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description: `A set of log stream selector that selects the streams to match and return label
values for.`,
		Exposed: true,
		Name:    "query",
		Type:    "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "string",
		Type:           "list",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"StartRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

LabelValueAttributesMap represents the map of attribute for LabelValue.

View Source
var LabelValueIdentity = elemental.Identity{
	Name:     "labelvalue",
	Category: "labelvalues",
	Package:  "snitch",
	Private:  false,
}

LabelValueIdentity represents the Identity of the object.

View Source
var LabelValueLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"endrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label to retrieve all available the values for.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description: `A set of log stream selector that selects the streams to match and return label
values for.`,
		Exposed: true,
		Name:    "query",
		Type:    "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "string",
		Type:           "list",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"startrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

LabelValueLowerCaseAttributesMap represents the map of attribute for LabelValue.

View Source
var LandingAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `The identifier of the landing.`,
		Exposed:        true,
		Name:           "ID",
		Type:           "string",
	},
	"Permissions": {
		AllowedChoices: []string{},
		ConvertedName:  "Permissions",
		Description:    `The permissions for the landing type.`,
		Exposed:        true,
		Name:           "permissions",
		SubType:        "map[string]map[string]bool",
		Type:           "external",
	},
	"Type": {
		AllowedChoices: []string{"Apps", "Employees", "All"},
		ConvertedName:  "Type",
		Description:    `Type of access.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

LandingAttributesMap represents the map of attribute for Landing.

View Source
var LandingIdentity = elemental.Identity{
	Name:     "landing",
	Category: "landings",
	Package:  "lain",
	Private:  false,
}

LandingIdentity represents the Identity of the object.

View Source
var LandingLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `The identifier of the landing.`,
		Exposed:        true,
		Name:           "ID",
		Type:           "string",
	},
	"permissions": {
		AllowedChoices: []string{},
		ConvertedName:  "Permissions",
		Description:    `The permissions for the landing type.`,
		Exposed:        true,
		Name:           "permissions",
		SubType:        "map[string]map[string]bool",
		Type:           "external",
	},
	"type": {
		AllowedChoices: []string{"Apps", "Employees", "All"},
		ConvertedName:  "Type",
		Description:    `Type of access.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

LandingLowerCaseAttributesMap represents the map of attribute for Landing.

View Source
var LatencyAttributesMap = map[string]elemental.AttributeSpecification{
	"AccessPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "accesspolicy",
		ConvertedName:  "AccessPolicy",
		Description:    `How much time it took to run the access policy in nanoseconds.`,
		Exposed:        true,
		Name:           "accessPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"Analysis": {
		AllowedChoices: []string{},
		BSONFieldName:  "analysis",
		ConvertedName:  "Analysis",
		Description:    `How much time it took to run content analysis in nanoseconds.`,
		Exposed:        true,
		Name:           "analysis",
		Stored:         true,
		Type:           "integer",
	},
	"AssignPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignpolicy",
		ConvertedName:  "AssignPolicy",
		Description:    `How much time it took to run the assign policy in nanoseconds.`,
		Exposed:        true,
		Name:           "assignPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"ContentPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "contentpolicy",
		ConvertedName:  "ContentPolicy",
		Description:    `How much time it took to run content policy in nanoseconds.`,
		Exposed:        true,
		Name:           "contentPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"Extraction": {
		AllowedChoices: []string{},
		BSONFieldName:  "extraction",
		ConvertedName:  "Extraction",
		Description:    `How much time it took to run input or output extraction in nanoseconds.`,
		Exposed:        true,
		Name:           "extraction",
		Stored:         true,
		Type:           "integer",
	},
}

LatencyAttributesMap represents the map of attribute for Latency.

View Source
var LatencyIdentity = elemental.Identity{
	Name:     "latency",
	Category: "latencies",
	Package:  "lain",
	Private:  false,
}

LatencyIdentity represents the Identity of the object.

View Source
var LatencyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"accesspolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "accesspolicy",
		ConvertedName:  "AccessPolicy",
		Description:    `How much time it took to run the access policy in nanoseconds.`,
		Exposed:        true,
		Name:           "accessPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"analysis": {
		AllowedChoices: []string{},
		BSONFieldName:  "analysis",
		ConvertedName:  "Analysis",
		Description:    `How much time it took to run content analysis in nanoseconds.`,
		Exposed:        true,
		Name:           "analysis",
		Stored:         true,
		Type:           "integer",
	},
	"assignpolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignpolicy",
		ConvertedName:  "AssignPolicy",
		Description:    `How much time it took to run the assign policy in nanoseconds.`,
		Exposed:        true,
		Name:           "assignPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"contentpolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "contentpolicy",
		ConvertedName:  "ContentPolicy",
		Description:    `How much time it took to run content policy in nanoseconds.`,
		Exposed:        true,
		Name:           "contentPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"extraction": {
		AllowedChoices: []string{},
		BSONFieldName:  "extraction",
		ConvertedName:  "Extraction",
		Description:    `How much time it took to run input or output extraction in nanoseconds.`,
		Exposed:        true,
		Name:           "extraction",
		Stored:         true,
		Type:           "integer",
	},
}

LatencyLowerCaseAttributesMap represents the map of attribute for Latency.

View Source
var MapperAttributesMap = map[string]elemental.AttributeSpecification{
	"Expiration": {
		AllowedChoices: []string{},
		BSONFieldName:  "expiration",
		ConvertedName:  "Expiration",
		DefaultValue:   "1h",
		Description:    `Set how long the data should be cached.`,
		Exposed:        true,
		Name:           "expiration",
		Stored:         true,
		Type:           "string",
	},
	"Hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description: `Optional hosts to match. This is useful in case the provider has multiple hosts
to discriminate which logger to use.`,
		Exposed: true,
		Name:    "hosts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `A regular expression to match an URL to log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "match",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Method": {
		AllowedChoices: []string{"Post", "Put", "Patch", "Get", "Delete", "Options", "Head"},
		BSONFieldName:  "method",
		ConvertedName:  "Method",
		Description:    `The method to match.`,
		Exposed:        true,
		Name:           "method",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `The name of the extractor. It will be used to identify which extractor was used
during an extraction.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"Script": {
		AllowedChoices: []string{},
		BSONFieldName:  "script",
		ConvertedName:  "Script",
		Description:    `If not empty, use this lua code to run the extraction.`,
		Exposed:        true,
		Name:           "script",
		Stored:         true,
		Type:           "string",
	},
}

MapperAttributesMap represents the map of attribute for Mapper.

View Source
var MapperLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"expiration": {
		AllowedChoices: []string{},
		BSONFieldName:  "expiration",
		ConvertedName:  "Expiration",
		DefaultValue:   "1h",
		Description:    `Set how long the data should be cached.`,
		Exposed:        true,
		Name:           "expiration",
		Stored:         true,
		Type:           "string",
	},
	"hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description: `Optional hosts to match. This is useful in case the provider has multiple hosts
to discriminate which logger to use.`,
		Exposed: true,
		Name:    "hosts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"match": {
		AllowedChoices: []string{},
		BSONFieldName:  "match",
		ConvertedName:  "Match",
		Description:    `A regular expression to match an URL to log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "match",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"method": {
		AllowedChoices: []string{"Post", "Put", "Patch", "Get", "Delete", "Options", "Head"},
		BSONFieldName:  "method",
		ConvertedName:  "Method",
		Description:    `The method to match.`,
		Exposed:        true,
		Name:           "method",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `The name of the extractor. It will be used to identify which extractor was used
during an extraction.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"script": {
		AllowedChoices: []string{},
		BSONFieldName:  "script",
		ConvertedName:  "Script",
		Description:    `If not empty, use this lua code to run the extraction.`,
		Exposed:        true,
		Name:           "script",
		Stored:         true,
		Type:           "string",
	},
}

MapperLowerCaseAttributesMap represents the map of attribute for Mapper.

View Source
var MetricAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in Prometheus query format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"ResultType": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"Time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description: `The time for the query in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "time",
		Type:    "string",
	},
	"TimeRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "TimeRelative",
		Description:    `The relative time of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "timeRelative",
		Type:           "string",
	},
}

MetricAttributesMap represents the map of attribute for Metric.

View Source
var MetricIdentity = elemental.Identity{
	Name:     "metric",
	Category: "metrics",
	Package:  "snitch",
	Private:  false,
}

MetricIdentity represents the Identity of the object.

View Source
var MetricLabelValueAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"EndRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"Label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label to retrieve all available values for.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Type:           "string",
	},
	"Limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `The max number of results to return.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description: `A set of metric stream selectors that selects the streams to match and return
label values for.`,
		Exposed: true,
		Name:    "query",
		Type:    "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "string",
		Type:           "list",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"StartRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

MetricLabelValueAttributesMap represents the map of attribute for MetricLabelValue.

View Source
var MetricLabelValueIdentity = elemental.Identity{
	Name:     "metriclabelvalue",
	Category: "metriclabelvalues",
	Package:  "snitch",
	Private:  false,
}

MetricLabelValueIdentity represents the Identity of the object.

View Source
var MetricLabelValueLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"endrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"label": {
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description:    `The label to retrieve all available values for.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Type:           "string",
	},
	"limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `The max number of results to return.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description: `A set of metric stream selectors that selects the streams to match and return
label values for.`,
		Exposed: true,
		Name:    "query",
		Type:    "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "string",
		Type:           "list",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"startrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

MetricLabelValueLowerCaseAttributesMap represents the map of attribute for MetricLabelValue.

View Source
var MetricLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in Prometheus query format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"resulttype": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description: `The time for the query in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "time",
		Type:    "string",
	},
	"timerelative": {
		AllowedChoices: []string{},
		ConvertedName:  "TimeRelative",
		Description:    `The relative time of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "timeRelative",
		Type:           "string",
	},
}

MetricLowerCaseAttributesMap represents the map of attribute for Metric.

View Source
var MetricRangeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"EndRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in Prometheus query format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"ResultType": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"StartRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
	"Step": {
		AllowedChoices: []string{},
		ConvertedName:  "Step",
		DefaultValue:   "15s",
		Description:    `The query resolution step width as time.Duration.`,
		Exposed:        true,
		Name:           "step",
		Type:           "string",
	},
}

MetricRangeAttributesMap represents the map of attribute for MetricRange.

View Source
var MetricRangeIdentity = elemental.Identity{
	Name:     "metricrange",
	Category: "metricranges",
	Package:  "snitch",
	Private:  false,
}

MetricRangeIdentity represents the Identity of the object.

View Source
var MetricRangeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"endrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in Prometheus query format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"resulttype": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"startrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
	"step": {
		AllowedChoices: []string{},
		ConvertedName:  "Step",
		DefaultValue:   "15s",
		Description:    `The query resolution step width as time.Duration.`,
		Exposed:        true,
		Name:           "step",
		Type:           "string",
	},
}

MetricRangeLowerCaseAttributesMap represents the map of attribute for MetricRange.

View Source
var MetricSerieAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"EndRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"Limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `The max number of results to return.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in Prometheus format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"StartRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

MetricSerieAttributesMap represents the map of attribute for MetricSerie.

View Source
var MetricSerieIdentity = elemental.Identity{
	Name:     "metricserie",
	Category: "metricseries",
	Package:  "snitch",
	Private:  false,
}

MetricSerieIdentity represents the Identity of the object.

View Source
var MetricSerieLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"endrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `The max number of results to return.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in Prometheus format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"startrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

MetricSerieLowerCaseAttributesMap represents the map of attribute for MetricSerie.

View Source
var ModalityAttributesMap = map[string]elemental.AttributeSpecification{
	"Group": {
		AllowedChoices: []string{},
		BSONFieldName:  "group",
		ConvertedName:  "Group",
		Description:    `The group of data.`,
		Exposed:        true,
		Name:           "group",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of data.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
}

ModalityAttributesMap represents the map of attribute for Modality.

View Source
var ModalityLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"group": {
		AllowedChoices: []string{},
		BSONFieldName:  "group",
		ConvertedName:  "Group",
		Description:    `The group of data.`,
		Exposed:        true,
		Name:           "group",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of data.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
}

ModalityLowerCaseAttributesMap represents the map of attribute for Modality.

View Source
var ModerationAttributesMap = map[string]elemental.AttributeSpecification{
	"Action": {
		AllowedChoices: []string{"Warn", "Block", "None"},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		Description:    `The actual action to take when triggered.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"AlertDefinition": {
		AllowedChoices: []string{},
		BSONFieldName:  "alertdefinition",
		ConvertedName:  "AlertDefinition",
		Description:    `The definition to use for alerting.`,
		Exposed:        true,
		Name:           "alertDefinition",
		Stored:         true,
		Type:           "string",
	},
	"Link": {
		AllowedChoices: []string{},
		BSONFieldName:  "link",
		ConvertedName:  "Link",
		Description: `Sets an optional link to reference a document with more explanation on the
moderation.`,
		Exposed: true,
		Name:    "link",
		Stored:  true,
		Type:    "string",
	},
	"Message": {
		AllowedChoices: []string{},
		BSONFieldName:  "message",
		ConvertedName:  "Message",
		Description:    `The message if the moderation action is warn or block.`,
		Exposed:        true,
		Name:           "message",
		Stored:         true,
		Type:           "string",
	},
	"Predicates": {
		AllowedChoices: []string{},
		BSONFieldName:  "predicates",
		ConvertedName:  "Predicates",
		Description:    `The predicate expression for the moderation to be triggered.`,
		Exposed:        true,
		Name:           "predicates",
		Stored:         true,
		SubType:        "predicate",
		Type:           "refList",
	},
	"Redact": {
		AllowedChoices: []string{},
		BSONFieldName:  "redact",
		ConvertedName:  "Redact",
		Description:    `If true, redacts the keywords, PIIs, and/or secrets defined in the predicates.`,
		Exposed:        true,
		Name:           "redact",
		Stored:         true,
		Type:           "boolean",
	},
}

ModerationAttributesMap represents the map of attribute for Moderation.

View Source
var ModerationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"action": {
		AllowedChoices: []string{"Warn", "Block", "None"},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		Description:    `The actual action to take when triggered.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"alertdefinition": {
		AllowedChoices: []string{},
		BSONFieldName:  "alertdefinition",
		ConvertedName:  "AlertDefinition",
		Description:    `The definition to use for alerting.`,
		Exposed:        true,
		Name:           "alertDefinition",
		Stored:         true,
		Type:           "string",
	},
	"link": {
		AllowedChoices: []string{},
		BSONFieldName:  "link",
		ConvertedName:  "Link",
		Description: `Sets an optional link to reference a document with more explanation on the
moderation.`,
		Exposed: true,
		Name:    "link",
		Stored:  true,
		Type:    "string",
	},
	"message": {
		AllowedChoices: []string{},
		BSONFieldName:  "message",
		ConvertedName:  "Message",
		Description:    `The message if the moderation action is warn or block.`,
		Exposed:        true,
		Name:           "message",
		Stored:         true,
		Type:           "string",
	},
	"predicates": {
		AllowedChoices: []string{},
		BSONFieldName:  "predicates",
		ConvertedName:  "Predicates",
		Description:    `The predicate expression for the moderation to be triggered.`,
		Exposed:        true,
		Name:           "predicates",
		Stored:         true,
		SubType:        "predicate",
		Type:           "refList",
	},
	"redact": {
		AllowedChoices: []string{},
		BSONFieldName:  "redact",
		ConvertedName:  "Redact",
		Description:    `If true, redacts the keywords, PIIs, and/or secrets defined in the predicates.`,
		Exposed:        true,
		Name:           "redact",
		Stored:         true,
		Type:           "boolean",
	},
}

ModerationLowerCaseAttributesMap represents the map of attribute for Moderation.

View Source
var OrgSettingsAttributesMap = map[string]elemental.AttributeSpecification{
	"CA": {
		AllowedChoices: []string{},
		BSONFieldName:  "ca",
		ConvertedName:  "CA",
		Description:    `The Certificate authority to use to validate user certificates in PEM format.`,
		Exposed:        true,
		Name:           "CA",
		Stored:         true,
		Type:           "string",
	},
	"CACommonNames": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "cacommonnames",
		ConvertedName:  "CACommonNames",
		Description:    `The currently used Certificate authorities's Common Name.`,
		Exposed:        true,
		Name:           "CACommonNames",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AccessPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "accesspolicy",
		ConvertedName:  "AccessPolicy",
		Description: `The rego policy that decides if the incoming request can access the
provider. If this empty, the dynamic policy transpiled from
AccessPolicies API objects will be used by Apexes. If set however,
everything computed by API objects are ignored and this becomes the final
policy.`,
		Exposed: true,
		Name:    "accessPolicy",
		Stored:  true,
		Type:    "string",
	},
	"AllowSupportAccess": {
		AllowedChoices: []string{},
		BSONFieldName:  "allowsupportaccess",
		ConvertedName:  "AllowSupportAccess",
		Description: `When enabled, an API authorization will be created in your
organization to allow the Support Team to access your organization in
read-only fashion to help you with any issue you might have.
Disable it again to remove the permissions.`,
		Exposed: true,
		Name:    "allowSupportAccess",
		Stored:  true,
		Type:    "boolean",
	},
	"AskConsent": {
		AllowedChoices: []string{},
		BSONFieldName:  "askconsent",
		ConvertedName:  "AskConsent",
		Description: `Ask the user of web applications for consent before accessing a monitored
provider, using an html splash screen the first time they connect. If
this is not set, the users of the providers can still figure out the
provider is monitored. This is a courtesy and not a security feature.`,
		Exposed: true,
		Name:    "askConsent",
		Stored:  true,
		Type:    "boolean",
	},
	"AssignPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignpolicy",
		ConvertedName:  "AssignPolicy",
		Description: `The rego policy that decides in which team an user should be in. The team
will be passed to the accessPolicy. If this empty, the dynamic policy
transpiled from AssignPolicies API objects will be used by Apexes. If set
however, everything computed by API objects are ignored and this becomes
the final policy.`,
		Exposed: true,
		Name:    "assignPolicy",
		Stored:  true,
		Type:    "string",
	},
	"ContentPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "contentpolicy",
		ConvertedName:  "ContentPolicy",
		Description: `The policy that decides how to handle the request content, once access
has been granted by accessPolicy and the content analysis was performed.
If this empty, the dynamic policy transpiled from AccessPolicies API
objects will be used by Apexes. If set however, everything computed by
API objects are ignored and this becomes the final policy.`,
		Exposed: true,
		Name:    "contentPolicy",
		Stored:  true,
		Type:    "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"DisableURLDiscovery": {
		AllowedChoices: []string{},
		BSONFieldName:  "disableurldiscovery",
		ConvertedName:  "DisableURLDiscovery",
		Description:    `If true, it disables discovering of the visited URLs.`,
		Exposed:        true,
		Name:           "disableURLDiscovery",
		Stored:         true,
		Type:           "boolean",
	},
	"Fingerprints": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "fingerprints",
		ConvertedName:  "Fingerprints",
		Description:    `the fingerprint of the cas in the chain.`,
		Exposed:        true,
		Name:           "fingerprints",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Profile": {
		AllowedChoices: []string{},
		BSONFieldName:  "profile",
		ConvertedName:  "Profile",
		Description: `A few sentences about the organization. The description must be short
and detailed. It will be used by the inference engine to decide if the content
sent by the users are relevant to your company.`,
		Exposed: true,
		Name:    "profile",
		Stored:  true,
		Type:    "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"StoreInputFiles": {
		AllowedChoices: []string{},
		BSONFieldName:  "storeinputfiles",
		ConvertedName:  "StoreInputFiles",
		Description:    `If set, files uploaded by the users will be stored.`,
		Exposed:        true,
		Name:           "storeInputFiles",
		Stored:         true,
		Type:           "boolean",
	},
	"StoreOutputFiles": {
		AllowedChoices: []string{},
		BSONFieldName:  "storeoutputfiles",
		ConvertedName:  "StoreOutputFiles",
		Description:    `If set, files sent to the users will be stored.`,
		Exposed:        true,
		Name:           "storeOutputFiles",
		Stored:         true,
		Type:           "boolean",
	},
	"SubjectKeyIDs": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "subjectkeyids",
		ConvertedName:  "SubjectKeyIDs",
		Description:    `the IDs of the subject keys of the cas in the chain.`,
		Exposed:        true,
		Name:           "subjectKeyIDs",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"UseRegoCodeOnly": {
		AllowedChoices: []string{},
		BSONFieldName:  "useregocodeonly",
		ConvertedName:  "UseRegoCodeOnly",
		Description: `If true, it uses Rego code to define team assignment, provider access and
content policies.`,
		Exposed: true,
		Name:    "useRegoCodeOnly",
		Stored:  true,
		Type:    "boolean",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

OrgSettingsAttributesMap represents the map of attribute for OrgSettings.

View Source
var OrgSettingsIdentity = elemental.Identity{
	Name:     "orgsettings",
	Category: "orgsettings",
	Package:  "lain",
	Private:  false,
}

OrgSettingsIdentity represents the Identity of the object.

View Source
var OrgSettingsLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"ca": {
		AllowedChoices: []string{},
		BSONFieldName:  "ca",
		ConvertedName:  "CA",
		Description:    `The Certificate authority to use to validate user certificates in PEM format.`,
		Exposed:        true,
		Name:           "CA",
		Stored:         true,
		Type:           "string",
	},
	"cacommonnames": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "cacommonnames",
		ConvertedName:  "CACommonNames",
		Description:    `The currently used Certificate authorities's Common Name.`,
		Exposed:        true,
		Name:           "CACommonNames",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"accesspolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "accesspolicy",
		ConvertedName:  "AccessPolicy",
		Description: `The rego policy that decides if the incoming request can access the
provider. If this empty, the dynamic policy transpiled from
AccessPolicies API objects will be used by Apexes. If set however,
everything computed by API objects are ignored and this becomes the final
policy.`,
		Exposed: true,
		Name:    "accessPolicy",
		Stored:  true,
		Type:    "string",
	},
	"allowsupportaccess": {
		AllowedChoices: []string{},
		BSONFieldName:  "allowsupportaccess",
		ConvertedName:  "AllowSupportAccess",
		Description: `When enabled, an API authorization will be created in your
organization to allow the Support Team to access your organization in
read-only fashion to help you with any issue you might have.
Disable it again to remove the permissions.`,
		Exposed: true,
		Name:    "allowSupportAccess",
		Stored:  true,
		Type:    "boolean",
	},
	"askconsent": {
		AllowedChoices: []string{},
		BSONFieldName:  "askconsent",
		ConvertedName:  "AskConsent",
		Description: `Ask the user of web applications for consent before accessing a monitored
provider, using an html splash screen the first time they connect. If
this is not set, the users of the providers can still figure out the
provider is monitored. This is a courtesy and not a security feature.`,
		Exposed: true,
		Name:    "askConsent",
		Stored:  true,
		Type:    "boolean",
	},
	"assignpolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignpolicy",
		ConvertedName:  "AssignPolicy",
		Description: `The rego policy that decides in which team an user should be in. The team
will be passed to the accessPolicy. If this empty, the dynamic policy
transpiled from AssignPolicies API objects will be used by Apexes. If set
however, everything computed by API objects are ignored and this becomes
the final policy.`,
		Exposed: true,
		Name:    "assignPolicy",
		Stored:  true,
		Type:    "string",
	},
	"contentpolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "contentpolicy",
		ConvertedName:  "ContentPolicy",
		Description: `The policy that decides how to handle the request content, once access
has been granted by accessPolicy and the content analysis was performed.
If this empty, the dynamic policy transpiled from AccessPolicies API
objects will be used by Apexes. If set however, everything computed by
API objects are ignored and this becomes the final policy.`,
		Exposed: true,
		Name:    "contentPolicy",
		Stored:  true,
		Type:    "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"disableurldiscovery": {
		AllowedChoices: []string{},
		BSONFieldName:  "disableurldiscovery",
		ConvertedName:  "DisableURLDiscovery",
		Description:    `If true, it disables discovering of the visited URLs.`,
		Exposed:        true,
		Name:           "disableURLDiscovery",
		Stored:         true,
		Type:           "boolean",
	},
	"fingerprints": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "fingerprints",
		ConvertedName:  "Fingerprints",
		Description:    `the fingerprint of the cas in the chain.`,
		Exposed:        true,
		Name:           "fingerprints",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"profile": {
		AllowedChoices: []string{},
		BSONFieldName:  "profile",
		ConvertedName:  "Profile",
		Description: `A few sentences about the organization. The description must be short
and detailed. It will be used by the inference engine to decide if the content
sent by the users are relevant to your company.`,
		Exposed: true,
		Name:    "profile",
		Stored:  true,
		Type:    "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"storeinputfiles": {
		AllowedChoices: []string{},
		BSONFieldName:  "storeinputfiles",
		ConvertedName:  "StoreInputFiles",
		Description:    `If set, files uploaded by the users will be stored.`,
		Exposed:        true,
		Name:           "storeInputFiles",
		Stored:         true,
		Type:           "boolean",
	},
	"storeoutputfiles": {
		AllowedChoices: []string{},
		BSONFieldName:  "storeoutputfiles",
		ConvertedName:  "StoreOutputFiles",
		Description:    `If set, files sent to the users will be stored.`,
		Exposed:        true,
		Name:           "storeOutputFiles",
		Stored:         true,
		Type:           "boolean",
	},
	"subjectkeyids": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "subjectkeyids",
		ConvertedName:  "SubjectKeyIDs",
		Description:    `the IDs of the subject keys of the cas in the chain.`,
		Exposed:        true,
		Name:           "subjectKeyIDs",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"useregocodeonly": {
		AllowedChoices: []string{},
		BSONFieldName:  "useregocodeonly",
		ConvertedName:  "UseRegoCodeOnly",
		Description: `If true, it uses Rego code to define team assignment, provider access and
content policies.`,
		Exposed: true,
		Name:    "useRegoCodeOnly",
		Stored:  true,
		Type:    "boolean",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

OrgSettingsLowerCaseAttributesMap represents the map of attribute for OrgSettings.

View Source
var OrgStorageAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Key of the storage.`,
		Exposed:        true,
		Name:           "key",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		Description:    `Value of the storage.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

OrgStorageAttributesMap represents the map of attribute for OrgStorage.

View Source
var OrgStorageIdentity = elemental.Identity{
	Name:     "orgstorage",
	Category: "orgstorages",
	Package:  "lain",
	Private:  false,
}

OrgStorageIdentity represents the Identity of the object.

View Source
var OrgStorageLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Key of the storage.`,
		Exposed:        true,
		Name:           "key",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		Description:    `Value of the storage.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

OrgStorageLowerCaseAttributesMap represents the map of attribute for OrgStorage.

View Source
var PACConfigAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `Name of the PAC config. A special name is 'default'. The default pac will be the
one that APEX returns if nothing else is configured.`,
		Exposed:  true,
		Name:     "name",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Providers": {
		AllowedChoices: []string{},
		BSONFieldName:  "providers",
		ConvertedName:  "Providers",
		Description:    `The list of providers to activate for that PAC config.`,
		Exposed:        true,
		Name:           "providers",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PACConfigAttributesMap represents the map of attribute for PACConfig.

View Source
var PACConfigIdentity = elemental.Identity{
	Name:     "pacconfig",
	Category: "pacconfigs",
	Package:  "lain",
	Private:  false,
}

PACConfigIdentity represents the Identity of the object.

View Source
var PACConfigLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `Name of the PAC config. A special name is 'default'. The default pac will be the
one that APEX returns if nothing else is configured.`,
		Exposed:  true,
		Name:     "name",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"providers": {
		AllowedChoices: []string{},
		BSONFieldName:  "providers",
		ConvertedName:  "Providers",
		Description:    `The list of providers to activate for that PAC config.`,
		Exposed:        true,
		Name:           "providers",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PACConfigLowerCaseAttributesMap represents the map of attribute for PACConfig.

View Source
var PasscodeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		CreationOnly:   true,
		Description:    `The email of the customer. An email wih a login link will be sent.`,
		Exposed:        true,
		Name:           "email",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Expiration": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "expiration",
		ConvertedName:  "Expiration",
		Description: `The date after which the secret will not be valid anymore. This is computed
using the validity property.`,
		Exposed:  true,
		Name:     "expiration",
		ReadOnly: true,
		Stored:   true,
		Type:     "time",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Organization": {
		AllowedChoices: []string{},
		BSONFieldName:  "organization",
		ConvertedName:  "Organization",
		Description:    `The organization name.`,
		Exposed:        true,
		Name:           "organization",
		Stored:         true,
		Type:           "string",
	},
	"Secret": {
		AllowedChoices: []string{},
		BSONFieldName:  "secret",
		ConvertedName:  "Secret",
		Description:    `The secret to login.`,
		Encrypted:      true,
		Name:           "secret",
		Secret:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "48h",
		Description:    `The validity duration of the secret.`,
		Exposed:        true,
		Name:           "validity",
		Required:       true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PasscodeAttributesMap represents the map of attribute for Passcode.

View Source
var PasscodeCheckAttributesMap = map[string]elemental.AttributeSpecification{
	"Password": {
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `The password associated to the username.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"Username": {
		AllowedChoices: []string{},
		ConvertedName:  "Username",
		Description:    `The username.`,
		Exposed:        true,
		Name:           "username",
		Required:       true,
		Type:           "string",
	},
}

PasscodeCheckAttributesMap represents the map of attribute for PasscodeCheck.

View Source
var PasscodeCheckIdentity = elemental.Identity{
	Name:     "passcodecheck",
	Category: "passcodechecks",
	Package:  "amaterasu",
	Private:  true,
}

PasscodeCheckIdentity represents the Identity of the object.

View Source
var PasscodeCheckLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"password": {
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `The password associated to the username.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"username": {
		AllowedChoices: []string{},
		ConvertedName:  "Username",
		Description:    `The username.`,
		Exposed:        true,
		Name:           "username",
		Required:       true,
		Type:           "string",
	},
}

PasscodeCheckLowerCaseAttributesMap represents the map of attribute for PasscodeCheck.

View Source
var PasscodeIdentity = elemental.Identity{
	Name:     "passcode",
	Category: "passcodes",
	Package:  "amaterasu",
	Private:  true,
}

PasscodeIdentity represents the Identity of the object.

View Source
var PasscodeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		CreationOnly:   true,
		Description:    `The email of the customer. An email wih a login link will be sent.`,
		Exposed:        true,
		Name:           "email",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"expiration": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "expiration",
		ConvertedName:  "Expiration",
		Description: `The date after which the secret will not be valid anymore. This is computed
using the validity property.`,
		Exposed:  true,
		Name:     "expiration",
		ReadOnly: true,
		Stored:   true,
		Type:     "time",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"organization": {
		AllowedChoices: []string{},
		BSONFieldName:  "organization",
		ConvertedName:  "Organization",
		Description:    `The organization name.`,
		Exposed:        true,
		Name:           "organization",
		Stored:         true,
		Type:           "string",
	},
	"secret": {
		AllowedChoices: []string{},
		BSONFieldName:  "secret",
		ConvertedName:  "Secret",
		Description:    `The secret to login.`,
		Encrypted:      true,
		Name:           "secret",
		Secret:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "48h",
		Description:    `The validity duration of the secret.`,
		Exposed:        true,
		Name:           "validity",
		Required:       true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PasscodeLowerCaseAttributesMap represents the map of attribute for Passcode.

View Source
var PolicyUpdateAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

PolicyUpdateAttributesMap represents the map of attribute for PolicyUpdate.

View Source
var PolicyUpdateIdentity = elemental.Identity{
	Name:     "policyupdate",
	Category: "policyupdates",
	Package:  "lain",
	Private:  false,
}

PolicyUpdateIdentity represents the Identity of the object.

View Source
var PolicyUpdateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

PolicyUpdateLowerCaseAttributesMap represents the map of attribute for PolicyUpdate.

View Source
var PredicateAttributesMap = map[string]elemental.AttributeSpecification{
	"Key": {
		AllowedChoices: []string{"Categories", "Confidentiality", "Exploits", "Keywords", "Languages", "Modality", "Model", "PIIs", "Plugin", "Provider", "Relevance", "Secrets", "Size", "Team", "Tools", "Topics", "Workspace"},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `The key of the predicate.`,
		Exposed:        true,
		Name:           "key",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Operator": {
		AllowedChoices: []string{"All", "Any", "Empty", "Equals", "EqualsOrGreaterThan", "EqualsOrLesserThan", "NotAny", "NotEmpty", "NotEquals"},
		BSONFieldName:  "operator",
		ConvertedName:  "Operator",
		Description:    `The operator of the predicate.`,
		Exposed:        true,
		Name:           "operator",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Values": {
		AllowedChoices: []string{},
		BSONFieldName:  "values",
		ConvertedName:  "Values",
		Description:    `The values of the predicate.`,
		Exposed:        true,
		Name:           "values",
		Stored:         true,
		SubType:        "[]any",
		Type:           "external",
	},
}

PredicateAttributesMap represents the map of attribute for Predicate.

View Source
var PredicateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"key": {
		AllowedChoices: []string{"Categories", "Confidentiality", "Exploits", "Keywords", "Languages", "Modality", "Model", "PIIs", "Plugin", "Provider", "Relevance", "Secrets", "Size", "Team", "Tools", "Topics", "Workspace"},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `The key of the predicate.`,
		Exposed:        true,
		Name:           "key",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"operator": {
		AllowedChoices: []string{"All", "Any", "Empty", "Equals", "EqualsOrGreaterThan", "EqualsOrLesserThan", "NotAny", "NotEmpty", "NotEquals"},
		BSONFieldName:  "operator",
		ConvertedName:  "Operator",
		Description:    `The operator of the predicate.`,
		Exposed:        true,
		Name:           "operator",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"values": {
		AllowedChoices: []string{},
		BSONFieldName:  "values",
		ConvertedName:  "Values",
		Description:    `The values of the predicate.`,
		Exposed:        true,
		Name:           "values",
		Stored:         true,
		SubType:        "[]any",
		Type:           "external",
	},
}

PredicateLowerCaseAttributesMap represents the map of attribute for Predicate.

View Source
var PrincipalAppAttributesMap = map[string]elemental.AttributeSpecification{
	"Labels": {
		AllowedChoices: []string{},
		BSONFieldName:  "labels",
		ConvertedName:  "Labels",
		Description:    `The list of labels attached to an application request.`,
		Exposed:        true,
		Name:           "labels",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the application.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"Tier": {
		AllowedChoices: []string{},
		BSONFieldName:  "tier",
		ConvertedName:  "Tier",
		Description:    `The tier of the application request.`,
		Exposed:        true,
		Name:           "tier",
		Stored:         true,
		Type:           "string",
	},
}

PrincipalAppAttributesMap represents the map of attribute for PrincipalApp.

View Source
var PrincipalAppIdentity = elemental.Identity{
	Name:     "principalapp",
	Category: "principalapps",
	Package:  "colektor",
	Private:  false,
}

PrincipalAppIdentity represents the Identity of the object.

View Source
var PrincipalAppLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"labels": {
		AllowedChoices: []string{},
		BSONFieldName:  "labels",
		ConvertedName:  "Labels",
		Description:    `The list of labels attached to an application request.`,
		Exposed:        true,
		Name:           "labels",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the application.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"tier": {
		AllowedChoices: []string{},
		BSONFieldName:  "tier",
		ConvertedName:  "Tier",
		Description:    `The tier of the application request.`,
		Exposed:        true,
		Name:           "tier",
		Stored:         true,
		Type:           "string",
	},
}

PrincipalAppLowerCaseAttributesMap represents the map of attribute for PrincipalApp.

View Source
var PrincipalAttributesMap = map[string]elemental.AttributeSpecification{
	"App": {
		AllowedChoices: []string{},
		BSONFieldName:  "app",
		ConvertedName:  "App",
		Description:    `The application principal information if type is App.`,
		Exposed:        true,
		Name:           "app",
		Stored:         true,
		SubType:        "principalapp",
		Type:           "ref",
	},
	"AuthType": {
		AllowedChoices: []string{"Certificate", "UserToken", "AppToken", "Hostname", "Token", "TierToken", "External"},
		BSONFieldName:  "authtype",
		ConvertedName:  "AuthType",
		Description:    `The type of authentication.`,
		Exposed:        true,
		Name:           "authType",
		Stored:         true,
		Type:           "enum",
	},
	"Claims": {
		AllowedChoices: []string{},
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `List of claims extracted from the user query.`,
		Exposed:        true,
		Name:           "claims",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Team": {
		AllowedChoices: []string{},
		BSONFieldName:  "team",
		ConvertedName:  "Team",
		Description:    `The team that was used to authorize the request.`,
		Exposed:        true,
		Name:           "team",
		Stored:         true,
		Type:           "string",
	},
	"TokenName": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenname",
		ConvertedName:  "TokenName",
		Description:    `The name of the token, if any.`,
		Exposed:        true,
		Name:           "tokenName",
		Stored:         true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"User", "App"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of principal.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"User": {
		AllowedChoices: []string{},
		BSONFieldName:  "user",
		ConvertedName:  "User",
		Description:    `The user principal information if type is User.`,
		Exposed:        true,
		Name:           "user",
		Stored:         true,
		SubType:        "principaluser",
		Type:           "ref",
	},
}

PrincipalAttributesMap represents the map of attribute for Principal.

View Source
var PrincipalIdentity = elemental.Identity{
	Name:     "principal",
	Category: "principals",
	Package:  "colektor",
	Private:  false,
}

PrincipalIdentity represents the Identity of the object.

View Source
var PrincipalLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"app": {
		AllowedChoices: []string{},
		BSONFieldName:  "app",
		ConvertedName:  "App",
		Description:    `The application principal information if type is App.`,
		Exposed:        true,
		Name:           "app",
		Stored:         true,
		SubType:        "principalapp",
		Type:           "ref",
	},
	"authtype": {
		AllowedChoices: []string{"Certificate", "UserToken", "AppToken", "Hostname", "Token", "TierToken", "External"},
		BSONFieldName:  "authtype",
		ConvertedName:  "AuthType",
		Description:    `The type of authentication.`,
		Exposed:        true,
		Name:           "authType",
		Stored:         true,
		Type:           "enum",
	},
	"claims": {
		AllowedChoices: []string{},
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `List of claims extracted from the user query.`,
		Exposed:        true,
		Name:           "claims",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"team": {
		AllowedChoices: []string{},
		BSONFieldName:  "team",
		ConvertedName:  "Team",
		Description:    `The team that was used to authorize the request.`,
		Exposed:        true,
		Name:           "team",
		Stored:         true,
		Type:           "string",
	},
	"tokenname": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenname",
		ConvertedName:  "TokenName",
		Description:    `The name of the token, if any.`,
		Exposed:        true,
		Name:           "tokenName",
		Stored:         true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"User", "App"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of principal.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"user": {
		AllowedChoices: []string{},
		BSONFieldName:  "user",
		ConvertedName:  "User",
		Description:    `The user principal information if type is User.`,
		Exposed:        true,
		Name:           "user",
		Stored:         true,
		SubType:        "principaluser",
		Type:           "ref",
	},
}

PrincipalLowerCaseAttributesMap represents the map of attribute for Principal.

View Source
var PrincipalUserAttributesMap = map[string]elemental.AttributeSpecification{
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Identification bit that will be used to identify the origin of the request.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
}

PrincipalUserAttributesMap represents the map of attribute for PrincipalUser.

View Source
var PrincipalUserIdentity = elemental.Identity{
	Name:     "principaluser",
	Category: "principalusers",
	Package:  "colektor",
	Private:  false,
}

PrincipalUserIdentity represents the Identity of the object.

View Source
var PrincipalUserLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Identification bit that will be used to identify the origin of the request.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
}

PrincipalUserLowerCaseAttributesMap represents the map of attribute for PrincipalUser.

View Source
var ProjectAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the project.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@. ]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the project.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProjectAttributesMap represents the map of attribute for Project.

View Source
var ProjectIdentity = elemental.Identity{
	Name:     "project",
	Category: "projects",
	Package:  "lain",
	Private:  false,
}

ProjectIdentity represents the Identity of the object.

View Source
var ProjectLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the project.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@. ]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the project.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProjectLowerCaseAttributesMap represents the map of attribute for Project.

View Source
var ProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AnalyzeOutput": {
		AllowedChoices: []string{},
		BSONFieldName:  "analyzeoutput",
		ConvertedName:  "AnalyzeOutput",
		Description: `If enabled, run the analysis pipelines on the provider output. No policy will be
applied, but the response will be analyzed and classified.`,
		Exposed: true,
		Name:    "analyzeOutput",
		Stored:  true,
		Type:    "boolean",
	},
	"Category": {
		AllowedChoices: []string{"User", "App"},
		BSONFieldName:  "category",
		ConvertedName:  "Category",
		Description:    `The category of the provider.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the provider.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"ErrorTransformer": {
		AllowedChoices: []string{},
		BSONFieldName:  "errortransformer",
		ConvertedName:  "ErrorTransformer",
		Description:    `Use to transform an error before sending it back to the client.`,
		Exposed:        true,
		Name:           "errorTransformer",
		Stored:         true,
		SubType:        "errortransformer",
		Type:           "ref",
	},
	"Experimental": {
		AllowedChoices: []string{},
		BSONFieldName:  "experimental",
		ConvertedName:  "Experimental",
		Description: `If true, consider this provider as experimental. It will require to use a custom
PAC Config to make it usable from the proxy.pac.`,
		Exposed: true,
		Name:    "experimental",
		Stored:  true,
		Type:    "boolean",
	},
	"FriendlyName": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly Name of the provider.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description:    `Hosts supported by the providers.`,
		Exposed:        true,
		Name:           "hosts",
		Stored:         true,
		SubType:        "host",
		Type:           "refList",
	},
	"Icon": {
		AllowedChoices: []string{},
		BSONFieldName:  "icon",
		ConvertedName:  "Icon",
		Description:    `The icon of the provider, base64 encoded.`,
		Exposed:        true,
		Name:           "icon",
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Injectors": {
		AllowedChoices: []string{},
		BSONFieldName:  "injectors",
		ConvertedName:  "Injectors",
		Description:    `Defines injection point for javascript snippet.`,
		Exposed:        true,
		Name:           "injectors",
		Stored:         true,
		SubType:        "injector",
		Type:           "refList",
	},
	"InputExtractors": {
		AllowedChoices: []string{},
		BSONFieldName:  "inputextractors",
		ConvertedName:  "InputExtractors",
		Description:    `List of input extractors.`,
		Exposed:        true,
		Name:           "inputExtractors",
		Stored:         true,
		SubType:        "extractor",
		Type:           "refList",
	},
	"Mappers": {
		AllowedChoices: []string{},
		BSONFieldName:  "mappers",
		ConvertedName:  "Mappers",
		Description:    `List of user mappers.`,
		Exposed:        true,
		Name:           "mappers",
		Stored:         true,
		SubType:        "mapper",
		Type:           "refList",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the provider.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"OutputExtractors": {
		AllowedChoices: []string{},
		BSONFieldName:  "outputextractors",
		ConvertedName:  "OutputExtractors",
		Description:    `List of output extractors.`,
		Exposed:        true,
		Name:           "outputExtractors",
		Stored:         true,
		SubType:        "extractor",
		Type:           "refList",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"TokenSwap": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenswap",
		ConvertedName:  "TokenSwap",
		Description: `If true, consider the incoming calls to use an acuvity token and swap them using
registered providertokens.`,
		Exposed: true,
		Name:    "tokenSwap",
		Stored:  true,
		Type:    "boolean",
	},
	"TrustedCA": {
		AllowedChoices: []string{},
		BSONFieldName:  "trustedca",
		ConvertedName:  "TrustedCA",
		Description: `If set, additionally trust the Certificate Authorities from the PEM data. This
is useful when working on a custom provider using a self signed CA chain.`,
		Exposed: true,
		Name:    "trustedCA",
		Stored:  true,
		Type:    "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"UpstreamUnsecure": {
		AllowedChoices: []string{},
		BSONFieldName:  "upstreamunsecure",
		ConvertedName:  "UpstreamUnsecure",
		Description: `If enabled, force the ustream scheme to be HTTP instead of https. Mostly use for
dev purposes.`,
		Exposed: true,
		Name:    "upstreamUnsecure",
		Stored:  true,
		Type:    "boolean",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProviderAttributesMap represents the map of attribute for Provider.

View Source
var ProviderDetailAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the provider detail.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"Domain": {
		AllowedChoices: []string{},
		ConvertedName:  "Domain",
		Description:    `Domain of the provider detail.`,
		Exposed:        true,
		Name:           "domain",
		Type:           "string",
	},
	"FriendlyName": {
		AllowedChoices: []string{},
		ConvertedName:  "FriendlyName",
		Description:    `Friendly Name of the provider detail.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Type:           "string",
	},
	"Icon": {
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `The icon of the providerdetail, base64 encoded.`,
		Exposed:        true,
		Name:           "icon",
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the provider detail.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"RiskScore": {
		AllowedChoices: []string{},
		ConvertedName:  "RiskScore",
		Description:    `The risk score for the domain.`,
		Exposed:        true,
		MaxValue:       1,
		Name:           "riskScore",
		Required:       true,
		Type:           "float",
	},
}

ProviderDetailAttributesMap represents the map of attribute for ProviderDetail.

View Source
var ProviderDetailIdentity = elemental.Identity{
	Name:     "providerdetail",
	Category: "providerdetails",
	Package:  "lain",
	Private:  false,
}

ProviderDetailIdentity represents the Identity of the object.

View Source
var ProviderDetailLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the provider detail.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"domain": {
		AllowedChoices: []string{},
		ConvertedName:  "Domain",
		Description:    `Domain of the provider detail.`,
		Exposed:        true,
		Name:           "domain",
		Type:           "string",
	},
	"friendlyname": {
		AllowedChoices: []string{},
		ConvertedName:  "FriendlyName",
		Description:    `Friendly Name of the provider detail.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Type:           "string",
	},
	"icon": {
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `The icon of the providerdetail, base64 encoded.`,
		Exposed:        true,
		Name:           "icon",
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the provider detail.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"riskscore": {
		AllowedChoices: []string{},
		ConvertedName:  "RiskScore",
		Description:    `The risk score for the domain.`,
		Exposed:        true,
		MaxValue:       1,
		Name:           "riskScore",
		Required:       true,
		Type:           "float",
	},
}

ProviderDetailLowerCaseAttributesMap represents the map of attribute for ProviderDetail.

View Source
var ProviderIdentity = elemental.Identity{
	Name:     "provider",
	Category: "providers",
	Package:  "lain",
	Private:  false,
}

ProviderIdentity represents the Identity of the object.

View Source
var ProviderLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"analyzeoutput": {
		AllowedChoices: []string{},
		BSONFieldName:  "analyzeoutput",
		ConvertedName:  "AnalyzeOutput",
		Description: `If enabled, run the analysis pipelines on the provider output. No policy will be
applied, but the response will be analyzed and classified.`,
		Exposed: true,
		Name:    "analyzeOutput",
		Stored:  true,
		Type:    "boolean",
	},
	"category": {
		AllowedChoices: []string{"User", "App"},
		BSONFieldName:  "category",
		ConvertedName:  "Category",
		Description:    `The category of the provider.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the provider.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"errortransformer": {
		AllowedChoices: []string{},
		BSONFieldName:  "errortransformer",
		ConvertedName:  "ErrorTransformer",
		Description:    `Use to transform an error before sending it back to the client.`,
		Exposed:        true,
		Name:           "errorTransformer",
		Stored:         true,
		SubType:        "errortransformer",
		Type:           "ref",
	},
	"experimental": {
		AllowedChoices: []string{},
		BSONFieldName:  "experimental",
		ConvertedName:  "Experimental",
		Description: `If true, consider this provider as experimental. It will require to use a custom
PAC Config to make it usable from the proxy.pac.`,
		Exposed: true,
		Name:    "experimental",
		Stored:  true,
		Type:    "boolean",
	},
	"friendlyname": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly Name of the provider.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description:    `Hosts supported by the providers.`,
		Exposed:        true,
		Name:           "hosts",
		Stored:         true,
		SubType:        "host",
		Type:           "refList",
	},
	"icon": {
		AllowedChoices: []string{},
		BSONFieldName:  "icon",
		ConvertedName:  "Icon",
		Description:    `The icon of the provider, base64 encoded.`,
		Exposed:        true,
		Name:           "icon",
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"injectors": {
		AllowedChoices: []string{},
		BSONFieldName:  "injectors",
		ConvertedName:  "Injectors",
		Description:    `Defines injection point for javascript snippet.`,
		Exposed:        true,
		Name:           "injectors",
		Stored:         true,
		SubType:        "injector",
		Type:           "refList",
	},
	"inputextractors": {
		AllowedChoices: []string{},
		BSONFieldName:  "inputextractors",
		ConvertedName:  "InputExtractors",
		Description:    `List of input extractors.`,
		Exposed:        true,
		Name:           "inputExtractors",
		Stored:         true,
		SubType:        "extractor",
		Type:           "refList",
	},
	"mappers": {
		AllowedChoices: []string{},
		BSONFieldName:  "mappers",
		ConvertedName:  "Mappers",
		Description:    `List of user mappers.`,
		Exposed:        true,
		Name:           "mappers",
		Stored:         true,
		SubType:        "mapper",
		Type:           "refList",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the provider.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"outputextractors": {
		AllowedChoices: []string{},
		BSONFieldName:  "outputextractors",
		ConvertedName:  "OutputExtractors",
		Description:    `List of output extractors.`,
		Exposed:        true,
		Name:           "outputExtractors",
		Stored:         true,
		SubType:        "extractor",
		Type:           "refList",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"tokenswap": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenswap",
		ConvertedName:  "TokenSwap",
		Description: `If true, consider the incoming calls to use an acuvity token and swap them using
registered providertokens.`,
		Exposed: true,
		Name:    "tokenSwap",
		Stored:  true,
		Type:    "boolean",
	},
	"trustedca": {
		AllowedChoices: []string{},
		BSONFieldName:  "trustedca",
		ConvertedName:  "TrustedCA",
		Description: `If set, additionally trust the Certificate Authorities from the PEM data. This
is useful when working on a custom provider using a self signed CA chain.`,
		Exposed: true,
		Name:    "trustedCA",
		Stored:  true,
		Type:    "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"upstreamunsecure": {
		AllowedChoices: []string{},
		BSONFieldName:  "upstreamunsecure",
		ConvertedName:  "UpstreamUnsecure",
		Description: `If enabled, force the ustream scheme to be HTTP instead of https. Mostly use for
dev purposes.`,
		Exposed: true,
		Name:    "upstreamUnsecure",
		Stored:  true,
		Type:    "boolean",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProviderLowerCaseAttributesMap represents the map of attribute for Provider.

View Source
var ProviderTeamAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the provider team.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Set the provider team to be disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"ExcludedSubject": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludedsubject",
		ConvertedName:  "ExcludedSubject",
		Description: `A tag expression that identifies user(s) to not include in the team, even if
their claims match the subject.`,
		Exposed:   true,
		Name:      "excludedSubject",
		Orderable: true,
		Stored:    true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@. ]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the provider team.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag expression that identifies user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProviderTeamAttributesMap represents the map of attribute for ProviderTeam.

View Source
var ProviderTeamIdentity = elemental.Identity{
	Name:     "providerteam",
	Category: "providerteams",
	Package:  "lain",
	Private:  false,
}

ProviderTeamIdentity represents the Identity of the object.

View Source
var ProviderTeamLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the provider team.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Set the provider team to be disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"excludedsubject": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludedsubject",
		ConvertedName:  "ExcludedSubject",
		Description: `A tag expression that identifies user(s) to not include in the team, even if
their claims match the subject.`,
		Exposed:   true,
		Name:      "excludedSubject",
		Orderable: true,
		Stored:    true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@. ]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the provider team.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag expression that identifies user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProviderTeamLowerCaseAttributesMap represents the map of attribute for ProviderTeam.

View Source
var ProviderTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `Name of the token. As token contents are hidden after creation, name allows a
way to delete it.`,
		Exposed:  true,
		Name:     "name",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Provider": {
		AllowedChoices: []string{},
		BSONFieldName:  "provider",
		ConvertedName:  "Provider",
		Description:    `Name of the provider this token is used with.`,
		Exposed:        true,
		Name:           "provider",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description:    `token to authenticate with the provider.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProviderTokenAttributesMap represents the map of attribute for ProviderToken.

View Source
var ProviderTokenIdentity = elemental.Identity{
	Name:     "providertoken",
	Category: "providertokens",
	Package:  "lain",
	Private:  false,
}

ProviderTokenIdentity represents the Identity of the object.

View Source
var ProviderTokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description: `Name of the token. As token contents are hidden after creation, name allows a
way to delete it.`,
		Exposed:  true,
		Name:     "name",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"provider": {
		AllowedChoices: []string{},
		BSONFieldName:  "provider",
		ConvertedName:  "Provider",
		Description:    `Name of the provider this token is used with.`,
		Exposed:        true,
		Name:           "provider",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description:    `token to authenticate with the provider.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProviderTokenLowerCaseAttributesMap represents the map of attribute for ProviderToken.

View Source
var ProxyConfAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"PACConfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "PACConfigs",
		Description:    `The PAC configurations of the organizations.`,
		Exposed:        true,
		Name:           "PACConfigs",
		SubType:        "pacconfig",
		Type:           "refList",
	},
	"AccessPolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "AccessPolicy",
		Description:    `The computed access policy.`,
		Exposed:        true,
		Name:           "accessPolicy",
		Type:           "string",
	},
	"AgentConfig": {
		AllowedChoices: []string{},
		ConvertedName:  "AgentConfig",
		Description:    `The agent configuration.`,
		Exposed:        true,
		Name:           "agentConfig",
		SubType:        "agentconfig",
		Type:           "ref",
	},
	"AssignPolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "AssignPolicy",
		Description:    `The computed assign policy.`,
		Exposed:        true,
		Name:           "assignPolicy",
		Type:           "string",
	},
	"ContentPolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "ContentPolicy",
		Description:    `The computed content policy.`,
		Exposed:        true,
		Name:           "contentPolicy",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"OrgSettings": {
		AllowedChoices: []string{},
		ConvertedName:  "OrgSettings",
		Description:    `The organization settings.`,
		Exposed:        true,
		Name:           "orgSettings",
		SubType:        "orgsettings",
		Type:           "ref",
	},
	"Providers": {
		AllowedChoices: []string{},
		ConvertedName:  "Providers",
		Description:    `The list of available provider.`,
		Exposed:        true,
		Name:           "providers",
		SubType:        "provider",
		Type:           "refList",
	},
	"Tokens": {
		AllowedChoices: []string{},
		ConvertedName:  "Tokens",
		Description:    `Tokens pool to authenticate with the provider.`,
		Exposed:        true,
		Name:           "tokens",
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"WebExtensionConfig": {
		AllowedChoices: []string{},
		ConvertedName:  "WebExtensionConfig",
		Description:    `The web extension configuration.`,
		Exposed:        true,
		Name:           "webExtensionConfig",
		SubType:        "webextensionconfig",
		Type:           "ref",
	},
}

ProxyConfAttributesMap represents the map of attribute for ProxyConf.

View Source
var ProxyConfIdentity = elemental.Identity{
	Name:     "proxyconf",
	Category: "proxyconfs",
	Package:  "lain",
	Private:  false,
}

ProxyConfIdentity represents the Identity of the object.

View Source
var ProxyConfLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"pacconfigs": {
		AllowedChoices: []string{},
		ConvertedName:  "PACConfigs",
		Description:    `The PAC configurations of the organizations.`,
		Exposed:        true,
		Name:           "PACConfigs",
		SubType:        "pacconfig",
		Type:           "refList",
	},
	"accesspolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "AccessPolicy",
		Description:    `The computed access policy.`,
		Exposed:        true,
		Name:           "accessPolicy",
		Type:           "string",
	},
	"agentconfig": {
		AllowedChoices: []string{},
		ConvertedName:  "AgentConfig",
		Description:    `The agent configuration.`,
		Exposed:        true,
		Name:           "agentConfig",
		SubType:        "agentconfig",
		Type:           "ref",
	},
	"assignpolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "AssignPolicy",
		Description:    `The computed assign policy.`,
		Exposed:        true,
		Name:           "assignPolicy",
		Type:           "string",
	},
	"contentpolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "ContentPolicy",
		Description:    `The computed content policy.`,
		Exposed:        true,
		Name:           "contentPolicy",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"orgsettings": {
		AllowedChoices: []string{},
		ConvertedName:  "OrgSettings",
		Description:    `The organization settings.`,
		Exposed:        true,
		Name:           "orgSettings",
		SubType:        "orgsettings",
		Type:           "ref",
	},
	"providers": {
		AllowedChoices: []string{},
		ConvertedName:  "Providers",
		Description:    `The list of available provider.`,
		Exposed:        true,
		Name:           "providers",
		SubType:        "provider",
		Type:           "refList",
	},
	"tokens": {
		AllowedChoices: []string{},
		ConvertedName:  "Tokens",
		Description:    `Tokens pool to authenticate with the provider.`,
		Exposed:        true,
		Name:           "tokens",
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"webextensionconfig": {
		AllowedChoices: []string{},
		ConvertedName:  "WebExtensionConfig",
		Description:    `The web extension configuration.`,
		Exposed:        true,
		Name:           "webExtensionConfig",
		SubType:        "webextensionconfig",
		Type:           "ref",
	},
}

ProxyConfLowerCaseAttributesMap represents the map of attribute for ProxyConf.

View Source
var ProxyRoundtripAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Alerts": {
		AllowedChoices: []string{},
		BSONFieldName:  "alerts",
		ConvertedName:  "Alerts",
		Description:    `List of alerts that got raised during the policy resolution.`,
		Exposed:        true,
		Name:           "alerts",
		Stored:         true,
		SubType:        "alertevent",
		Type:           "refList",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Annotations attached to the log.`,
		Exposed:        true,
		Name:           "annotations",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Client": {
		AllowedChoices: []string{},
		BSONFieldName:  "client",
		ConvertedName:  "Client",
		Description:    `The client used to send the request.`,
		Exposed:        true,
		Name:           "client",
		Stored:         true,
		Type:           "string",
	},
	"ClientVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientversion",
		ConvertedName:  "ClientVersion",
		Description:    `The version of the client used to send the request.`,
		Exposed:        true,
		Name:           "clientVersion",
		Stored:         true,
		Type:           "string",
	},
	"Decision": {
		AllowedChoices: []string{"Deny", "Allow", "Ask", "Bypassed", "ForbiddenUser"},
		BSONFieldName:  "decision",
		ConvertedName:  "Decision",
		Description:    `Tell what was the decision about the data.`,
		Exposed:        true,
		Name:           "decision",
		Stored:         true,
		Type:           "enum",
	},
	"Extractions": {
		AllowedChoices: []string{},
		BSONFieldName:  "extractions",
		ConvertedName:  "Extractions",
		Description:    `The extractions to log.`,
		Exposed:        true,
		Name:           "extractions",
		Stored:         true,
		SubType:        "extraction",
		Type:           "refList",
	},
	"Hash": {
		AllowedChoices: []string{},
		BSONFieldName:  "hash",
		ConvertedName:  "Hash",
		Description:    `The hash of the input.`,
		Exposed:        true,
		Name:           "hash",
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Latency": {
		AllowedChoices: []string{},
		BSONFieldName:  "latency",
		ConvertedName:  "Latency",
		Description:    `Information about latency of various stage of request and response.`,
		Exposed:        true,
		Name:           "latency",
		Stored:         true,
		SubType:        "latency",
		Type:           "ref",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PipelineName": {
		AllowedChoices: []string{},
		BSONFieldName:  "pipelinename",
		ConvertedName:  "PipelineName",
		Description:    `The name of the particular pipeline that extracted the text.`,
		Exposed:        true,
		Name:           "pipelineName",
		Stored:         true,
		Type:           "string",
	},
	"Principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"Provider": {
		AllowedChoices: []string{},
		BSONFieldName:  "provider",
		ConvertedName:  "Provider",
		Description:    `the provider to use.`,
		Exposed:        true,
		Name:           "provider",
		Stored:         true,
		Type:           "string",
	},
	"Reasons": {
		AllowedChoices: []string{},
		BSONFieldName:  "reasons",
		ConvertedName:  "Reasons",
		Description:    `The various reasons returned by the policy engine.`,
		Exposed:        true,
		Name:           "reasons",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Summary": {
		AllowedChoices: []string{},
		BSONFieldName:  "summary",
		ConvertedName:  "Summary",
		Description:    `The summary of the extractions.`,
		Exposed:        true,
		Name:           "summary",
		Stored:         true,
		SubType:        "extractionsummary",
		Type:           "ref",
	},
	"Time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description:    `Set the time of the message request.`,
		Exposed:        true,
		Name:           "time",
		Type:           "time",
	},
	"Type": {
		AllowedChoices: []string{"Input", "Output"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of text.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
}

ProxyRoundtripAttributesMap represents the map of attribute for ProxyRoundtrip.

View Source
var ProxyRoundtripIdentity = elemental.Identity{
	Name:     "proxyroundtrip",
	Category: "proxyroundtrips",
	Package:  "colektor",
	Private:  false,
}

ProxyRoundtripIdentity represents the Identity of the object.

View Source
var ProxyRoundtripLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"alerts": {
		AllowedChoices: []string{},
		BSONFieldName:  "alerts",
		ConvertedName:  "Alerts",
		Description:    `List of alerts that got raised during the policy resolution.`,
		Exposed:        true,
		Name:           "alerts",
		Stored:         true,
		SubType:        "alertevent",
		Type:           "refList",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Annotations attached to the log.`,
		Exposed:        true,
		Name:           "annotations",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"client": {
		AllowedChoices: []string{},
		BSONFieldName:  "client",
		ConvertedName:  "Client",
		Description:    `The client used to send the request.`,
		Exposed:        true,
		Name:           "client",
		Stored:         true,
		Type:           "string",
	},
	"clientversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientversion",
		ConvertedName:  "ClientVersion",
		Description:    `The version of the client used to send the request.`,
		Exposed:        true,
		Name:           "clientVersion",
		Stored:         true,
		Type:           "string",
	},
	"decision": {
		AllowedChoices: []string{"Deny", "Allow", "Ask", "Bypassed", "ForbiddenUser"},
		BSONFieldName:  "decision",
		ConvertedName:  "Decision",
		Description:    `Tell what was the decision about the data.`,
		Exposed:        true,
		Name:           "decision",
		Stored:         true,
		Type:           "enum",
	},
	"extractions": {
		AllowedChoices: []string{},
		BSONFieldName:  "extractions",
		ConvertedName:  "Extractions",
		Description:    `The extractions to log.`,
		Exposed:        true,
		Name:           "extractions",
		Stored:         true,
		SubType:        "extraction",
		Type:           "refList",
	},
	"hash": {
		AllowedChoices: []string{},
		BSONFieldName:  "hash",
		ConvertedName:  "Hash",
		Description:    `The hash of the input.`,
		Exposed:        true,
		Name:           "hash",
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"latency": {
		AllowedChoices: []string{},
		BSONFieldName:  "latency",
		ConvertedName:  "Latency",
		Description:    `Information about latency of various stage of request and response.`,
		Exposed:        true,
		Name:           "latency",
		Stored:         true,
		SubType:        "latency",
		Type:           "ref",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"pipelinename": {
		AllowedChoices: []string{},
		BSONFieldName:  "pipelinename",
		ConvertedName:  "PipelineName",
		Description:    `The name of the particular pipeline that extracted the text.`,
		Exposed:        true,
		Name:           "pipelineName",
		Stored:         true,
		Type:           "string",
	},
	"principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
	"provider": {
		AllowedChoices: []string{},
		BSONFieldName:  "provider",
		ConvertedName:  "Provider",
		Description:    `the provider to use.`,
		Exposed:        true,
		Name:           "provider",
		Stored:         true,
		Type:           "string",
	},
	"reasons": {
		AllowedChoices: []string{},
		BSONFieldName:  "reasons",
		ConvertedName:  "Reasons",
		Description:    `The various reasons returned by the policy engine.`,
		Exposed:        true,
		Name:           "reasons",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"summary": {
		AllowedChoices: []string{},
		BSONFieldName:  "summary",
		ConvertedName:  "Summary",
		Description:    `The summary of the extractions.`,
		Exposed:        true,
		Name:           "summary",
		Stored:         true,
		SubType:        "extractionsummary",
		Type:           "ref",
	},
	"time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description:    `Set the time of the message request.`,
		Exposed:        true,
		Name:           "time",
		Type:           "time",
	},
	"type": {
		AllowedChoices: []string{"Input", "Output"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of text.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
}

ProxyRoundtripLowerCaseAttributesMap represents the map of attribute for ProxyRoundtrip.

View Source
var QueryAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Direction": {
		AllowedChoices: []string{"Forward", "Backward"},
		ConvertedName:  "Direction",
		DefaultValue:   QueryDirectionBackward,
		Description:    `Determines the sort order of logs.`,
		Exposed:        true,
		Name:           "direction",
		Type:           "enum",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in LogQL format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"ResultType": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"Time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description: `The time for the query in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "time",
		Type:    "string",
	},
	"TimeRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "TimeRelative",
		Description:    `The relative time of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "timeRelative",
		Type:           "string",
	},
}

QueryAttributesMap represents the map of attribute for Query.

View Source
var QueryIdentity = elemental.Identity{
	Name:     "query",
	Category: "queries",
	Package:  "snitch",
	Private:  false,
}

QueryIdentity represents the Identity of the object.

View Source
var QueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"direction": {
		AllowedChoices: []string{"Forward", "Backward"},
		ConvertedName:  "Direction",
		DefaultValue:   QueryDirectionBackward,
		Description:    `Determines the sort order of logs.`,
		Exposed:        true,
		Name:           "direction",
		Type:           "enum",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in LogQL format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"resulttype": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description: `The time for the query in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "time",
		Type:    "string",
	},
	"timerelative": {
		AllowedChoices: []string{},
		ConvertedName:  "TimeRelative",
		Description:    `The relative time of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "timeRelative",
		Type:           "string",
	},
}

QueryLowerCaseAttributesMap represents the map of attribute for Query.

View Source
var QueryRangeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Direction": {
		AllowedChoices: []string{"Forward", "Backward"},
		ConvertedName:  "Direction",
		DefaultValue:   QueryRangeDirectionBackward,
		Description:    `Determines the sort order of logs.`,
		Exposed:        true,
		Name:           "direction",
		Type:           "enum",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"EndRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"Limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `the number of results to return.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in LogQL format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"ResultType": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"StartRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

QueryRangeAttributesMap represents the map of attribute for QueryRange.

View Source
var QueryRangeIdentity = elemental.Identity{
	Name:     "queryrange",
	Category: "queryranges",
	Package:  "snitch",
	Private:  false,
}

QueryRangeIdentity represents the Identity of the object.

View Source
var QueryRangeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"direction": {
		AllowedChoices: []string{"Forward", "Backward"},
		ConvertedName:  "Direction",
		DefaultValue:   QueryRangeDirectionBackward,
		Description:    `Determines the sort order of logs.`,
		Exposed:        true,
		Name:           "direction",
		Type:           "enum",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"endrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `the number of results to return.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in LogQL format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]any",
		Type:           "external",
	},
	"resulttype": {
		AllowedChoices: []string{},
		ConvertedName:  "ResultType",
		Description:    `The type of the result.`,
		Exposed:        true,
		Name:           "resultType",
		Type:           "string",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"startrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

QueryRangeLowerCaseAttributesMap represents the map of attribute for QueryRange.

View Source
var RoleAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the role.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"FriendlyName": {
		AllowedChoices: []string{},
		ConvertedName:  "FriendlyName",
		Description:    `The friendly name of the role.`,
		Exposed:        true,
		Name:           "friendlyName",
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the role.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Permissions": {
		AllowedChoices: []string{},
		ConvertedName:  "Permissions",
		Description:    `Permissions for the role.`,
		Exposed:        true,
		Name:           "permissions",
		SubType:        "string",
		Type:           "list",
	},
}

RoleAttributesMap represents the map of attribute for Role.

View Source
var RoleIdentity = elemental.Identity{
	Name:     "role",
	Category: "roles",
	Package:  "lain",
	Private:  false,
}

RoleIdentity represents the Identity of the object.

View Source
var RoleLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description of the role.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"friendlyname": {
		AllowedChoices: []string{},
		ConvertedName:  "FriendlyName",
		Description:    `The friendly name of the role.`,
		Exposed:        true,
		Name:           "friendlyName",
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the role.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"permissions": {
		AllowedChoices: []string{},
		ConvertedName:  "Permissions",
		Description:    `Permissions for the role.`,
		Exposed:        true,
		Name:           "permissions",
		SubType:        "string",
		Type:           "list",
	},
}

RoleLowerCaseAttributesMap represents the map of attribute for Role.

View Source
var RootAttributesMap = map[string]elemental.AttributeSpecification{}

RootAttributesMap represents the map of attribute for Root.

View Source
var RootIdentity = elemental.Identity{
	Name:     "root",
	Category: "root",
	Package:  "root",
	Private:  false,
}

RootIdentity represents the Identity of the object.

View Source
var RootLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{}

RootLowerCaseAttributesMap represents the map of attribute for Root.

View Source
var SchemaVersionAttributesMap = map[string]elemental.AttributeSpecification{
	"CurrentVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `The current version of the schema.`,
		Name:           "currentVersion",
		Required:       true,
		Stored:         true,
		Type:           "float",
	},
	"Service": {
		AllowedChoices: []string{},
		BSONFieldName:  "service",
		ConvertedName:  "Service",
		Description:    `The service the schema is applied to.`,
		Name:           "service",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "timestamp",
		ConvertedName:  "Timestamp",
		Description:    `When the schema was upserted.`,
		Name:           "timestamp",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
}

SchemaVersionAttributesMap represents the map of attribute for SchemaVersion.

View Source
var SchemaVersionIdentity = elemental.Identity{
	Name:     "schemaversion",
	Category: "schemaversions",
	Package:  "zerolift",
	Private:  false,
}

SchemaVersionIdentity represents the Identity of the object.

View Source
var SchemaVersionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"currentversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `The current version of the schema.`,
		Name:           "currentVersion",
		Required:       true,
		Stored:         true,
		Type:           "float",
	},
	"service": {
		AllowedChoices: []string{},
		BSONFieldName:  "service",
		ConvertedName:  "Service",
		Description:    `The service the schema is applied to.`,
		Name:           "service",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "timestamp",
		ConvertedName:  "Timestamp",
		Description:    `When the schema was upserted.`,
		Name:           "timestamp",
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
}

SchemaVersionLowerCaseAttributesMap represents the map of attribute for SchemaVersion.

View Source
var SerieAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"EndRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in LogQL format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"StartRelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

SerieAttributesMap represents the map of attribute for Serie.

View Source
var SerieIdentity = elemental.Identity{
	Name:     "serie",
	Category: "series",
	Package:  "snitch",
	Private:  false,
}

SerieIdentity represents the Identity of the object.

View Source
var SerieLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description: `The end of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "end",
		Type:    "string",
	},
	"endrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "EndRelative",
		Description:    `The relative end of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "endRelative",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query in LogQL format.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"result": {
		AllowedChoices: []string{},
		ConvertedName:  "Result",
		Description:    `The result of the request.`,
		Exposed:        true,
		Name:           "result",
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description: `The start of the time window in any format supported by
https://github.com/araddon/dateparse.`,
		Exposed: true,
		Name:    "start",
		Type:    "string",
	},
	"startrelative": {
		AllowedChoices: []string{},
		ConvertedName:  "StartRelative",
		Description:    `The relative start of the time window as time.Duration.`,
		Exposed:        true,
		Name:           "startRelative",
		Type:           "string",
	},
}

SerieLowerCaseAttributesMap represents the map of attribute for Serie.

View Source
var SignupAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description: `The email requesting the signup. This email can be considered valid and
verified, as for the signup request to succeed, it must have been verified by
signing up with one of the oauth2 source we support.`,
		Exposed:   true,
		Name:      "email",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"Employees", "Apps"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description:    `The type of signup requested.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"VerifiedBy": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "verifiedby",
		ConvertedName:  "VerifiedBy",
		Description:    `The source of verification.`,
		Exposed:        true,
		Name:           "verifiedBy",
		ReadOnly:       true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SignupAttributesMap represents the map of attribute for Signup.

View Source
var SignupIdentity = elemental.Identity{
	Name:     "signup",
	Category: "signups",
	Package:  "amaterasu",
	Private:  false,
}

SignupIdentity represents the Identity of the object.

View Source
var SignupLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description: `The email requesting the signup. This email can be considered valid and
verified, as for the signup request to succeed, it must have been verified by
signing up with one of the oauth2 source we support.`,
		Exposed:   true,
		Name:      "email",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"Employees", "Apps"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description:    `The type of signup requested.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"verifiedby": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "verifiedby",
		ConvertedName:  "VerifiedBy",
		Description:    `The source of verification.`,
		Exposed:        true,
		Name:           "verifiedBy",
		ReadOnly:       true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SignupLowerCaseAttributesMap represents the map of attribute for Signup.

View Source
var SinkAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the sink.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"Email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `Contains additional configuration for sending an email.`,
		Exposed:        true,
		Name:           "email",
		Stored:         true,
		SubType:        "sinkemail",
		Type:           "ref",
	},
	"FriendlyName": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly name of the object.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description: `The internal reference name of the object. It is a sanitized version of Friendly
Name if empty.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PagerDuty": {
		AllowedChoices: []string{},
		BSONFieldName:  "pagerduty",
		ConvertedName:  "PagerDuty",
		Description:    `Contains additional configuration for sending a PagerDuty event.`,
		Exposed:        true,
		Name:           "pagerDuty",
		Stored:         true,
		SubType:        "sinkpagerduty",
		Type:           "ref",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Slack": {
		AllowedChoices: []string{},
		BSONFieldName:  "slack",
		ConvertedName:  "Slack",
		Description:    `Contains additional configuration for sending a Slack message.`,
		Exposed:        true,
		Name:           "slack",
		Stored:         true,
		SubType:        "sinkslack",
		Type:           "ref",
	},
	"Splunk": {
		AllowedChoices: []string{},
		BSONFieldName:  "splunk",
		ConvertedName:  "Splunk",
		Description:    `Contains additional configuration for sending the alert to Splunk.`,
		Exposed:        true,
		Name:           "splunk",
		Stored:         true,
		SubType:        "sinksplunk",
		Type:           "ref",
	},
	"Type": {
		AllowedChoices: []string{"Email", "PagerDuty", "Slack", "Splunk"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   SinkTypeEmail,
		Description:    `The type of sink.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SinkAttributesMap represents the map of attribute for Sink.

View Source
var SinkEmailAttributesMap = map[string]elemental.AttributeSpecification{
	"Recipients": {
		AllowedChoices: []string{},
		BSONFieldName:  "recipients",
		ConvertedName:  "Recipients",
		Description:    `The list of email recipients the notification will be sent to.`,
		Exposed:        true,
		Name:           "recipients",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
}

SinkEmailAttributesMap represents the map of attribute for SinkEmail.

View Source
var SinkEmailIdentity = elemental.Identity{
	Name:     "sinkemail",
	Category: "sinkemail",
	Package:  "avi",
	Private:  false,
}

SinkEmailIdentity represents the Identity of the object.

View Source
var SinkEmailLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"recipients": {
		AllowedChoices: []string{},
		BSONFieldName:  "recipients",
		ConvertedName:  "Recipients",
		Description:    `The list of email recipients the notification will be sent to.`,
		Exposed:        true,
		Name:           "recipients",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
}

SinkEmailLowerCaseAttributesMap represents the map of attribute for SinkEmail.

View Source
var SinkIdentity = elemental.Identity{
	Name:     "sink",
	Category: "sinks",
	Package:  "avi",
	Private:  false,
}

SinkIdentity represents the Identity of the object.

View Source
var SinkLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `The description of the sink.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `Contains additional configuration for sending an email.`,
		Exposed:        true,
		Name:           "email",
		Stored:         true,
		SubType:        "sinkemail",
		Type:           "ref",
	},
	"friendlyname": {
		AllowedChoices: []string{},
		BSONFieldName:  "friendlyname",
		ConvertedName:  "FriendlyName",
		Description:    `Friendly name of the object.`,
		Exposed:        true,
		Name:           "friendlyName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description: `The internal reference name of the object. It is a sanitized version of Friendly
Name if empty.`,
		Exposed: true,
		Name:    "name",
		Stored:  true,
		Type:    "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"pagerduty": {
		AllowedChoices: []string{},
		BSONFieldName:  "pagerduty",
		ConvertedName:  "PagerDuty",
		Description:    `Contains additional configuration for sending a PagerDuty event.`,
		Exposed:        true,
		Name:           "pagerDuty",
		Stored:         true,
		SubType:        "sinkpagerduty",
		Type:           "ref",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all child namespaces. This is always true.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"slack": {
		AllowedChoices: []string{},
		BSONFieldName:  "slack",
		ConvertedName:  "Slack",
		Description:    `Contains additional configuration for sending a Slack message.`,
		Exposed:        true,
		Name:           "slack",
		Stored:         true,
		SubType:        "sinkslack",
		Type:           "ref",
	},
	"splunk": {
		AllowedChoices: []string{},
		BSONFieldName:  "splunk",
		ConvertedName:  "Splunk",
		Description:    `Contains additional configuration for sending the alert to Splunk.`,
		Exposed:        true,
		Name:           "splunk",
		Stored:         true,
		SubType:        "sinksplunk",
		Type:           "ref",
	},
	"type": {
		AllowedChoices: []string{"Email", "PagerDuty", "Slack", "Splunk"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   SinkTypeEmail,
		Description:    `The type of sink.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SinkLowerCaseAttributesMap represents the map of attribute for Sink.

View Source
var SinkPagerDutyAttributesMap = map[string]elemental.AttributeSpecification{
	"Token": {
		AllowedChoices: []string{},
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description:    `The token for PagerDuty events.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
}

SinkPagerDutyAttributesMap represents the map of attribute for SinkPagerDuty.

View Source
var SinkPagerDutyIdentity = elemental.Identity{
	Name:     "sinkpagerduty",
	Category: "sinkpagerduty",
	Package:  "avi",
	Private:  false,
}

SinkPagerDutyIdentity represents the Identity of the object.

View Source
var SinkPagerDutyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"token": {
		AllowedChoices: []string{},
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description:    `The token for PagerDuty events.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
}

SinkPagerDutyLowerCaseAttributesMap represents the map of attribute for SinkPagerDuty.

View Source
var SinkSlackAttributesMap = map[string]elemental.AttributeSpecification{
	"WebhookURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "webhookurl",
		ConvertedName:  "WebhookURL",
		Description:    `The webhook URL to send the Slack messages to.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "webhookURL",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
}

SinkSlackAttributesMap represents the map of attribute for SinkSlack.

View Source
var SinkSlackIdentity = elemental.Identity{
	Name:     "sinkslack",
	Category: "sinkslack",
	Package:  "avi",
	Private:  false,
}

SinkSlackIdentity represents the Identity of the object.

View Source
var SinkSlackLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"webhookurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "webhookurl",
		ConvertedName:  "WebhookURL",
		Description:    `The webhook URL to send the Slack messages to.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "webhookURL",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
}

SinkSlackLowerCaseAttributesMap represents the map of attribute for SinkSlack.

View Source
var SinkSplunkAttributesMap = map[string]elemental.AttributeSpecification{
	"HECURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "hecurl",
		ConvertedName:  "HECURL",
		Description:    `The HTTP event collector (HEC) URL to send the alert to.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "HECURL",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"CertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description:    `If set, will use this as the CA for TLS communication.`,
		Exposed:        true,
		Name:           "certificateAuthority",
		Stored:         true,
		Type:           "string",
	},
	"InsecureSkipVerify": {
		AllowedChoices: []string{},
		BSONFieldName:  "insecureskipverify",
		ConvertedName:  "InsecureSkipVerify",
		Description:    `If true, will attempt to skip TLS verification when communicating.`,
		Exposed:        true,
		Name:           "insecureSkipVerify",
		Stored:         true,
		Type:           "boolean",
	},
	"Token": {
		AllowedChoices: []string{},
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description:    `The token to communicate with the HTTP event collector.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
}

SinkSplunkAttributesMap represents the map of attribute for SinkSplunk.

View Source
var SinkSplunkIdentity = elemental.Identity{
	Name:     "sinksplunk",
	Category: "sinksplunk",
	Package:  "avi",
	Private:  false,
}

SinkSplunkIdentity represents the Identity of the object.

View Source
var SinkSplunkLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"hecurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "hecurl",
		ConvertedName:  "HECURL",
		Description:    `The HTTP event collector (HEC) URL to send the alert to.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "HECURL",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"certificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description:    `If set, will use this as the CA for TLS communication.`,
		Exposed:        true,
		Name:           "certificateAuthority",
		Stored:         true,
		Type:           "string",
	},
	"insecureskipverify": {
		AllowedChoices: []string{},
		BSONFieldName:  "insecureskipverify",
		ConvertedName:  "InsecureSkipVerify",
		Description:    `If true, will attempt to skip TLS verification when communicating.`,
		Exposed:        true,
		Name:           "insecureSkipVerify",
		Stored:         true,
		Type:           "boolean",
	},
	"token": {
		AllowedChoices: []string{},
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description:    `The token to communicate with the HTTP event collector.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
}

SinkSplunkLowerCaseAttributesMap represents the map of attribute for SinkSplunk.

View Source
var TeamAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the team.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Set the team to be disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@. ]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the team.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag expression that identifies user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Weight": {
		AllowedChoices: []string{},
		BSONFieldName:  "weight",
		ConvertedName:  "Weight",
		Description: `Weight of the team. It is used if multiple teams match for a user. In that case
the team with the higher weight will be used.`,
		Exposed: true,
		Name:    "weight",
		Stored:  true,
		Type:    "integer",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

TeamAttributesMap represents the map of attribute for Team.

View Source
var TeamIdentity = elemental.Identity{
	Name:     "team",
	Category: "teams",
	Package:  "lain",
	Private:  false,
}

TeamIdentity represents the Identity of the object.

View Source
var TeamLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the team.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Set the team to be disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_/@. ]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the team.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag expression that identifies user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"weight": {
		AllowedChoices: []string{},
		BSONFieldName:  "weight",
		ConvertedName:  "Weight",
		Description: `Weight of the team. It is used if multiple teams match for a user. In that case
the team with the higher weight will be used.`,
		Exposed: true,
		Name:    "weight",
		Stored:  true,
		Type:    "integer",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

TeamLowerCaseAttributesMap represents the map of attribute for Team.

View Source
var TextualDetectionAttributesMap = map[string]elemental.AttributeSpecification{
	"Content": {
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		Description:    `The original detected content.`,
		Name:           "content",
		Type:           "string",
	},
	"End": {
		AllowedChoices: []string{},
		BSONFieldName:  "end",
		ConvertedName:  "End",
		Description:    `The end position of the detection in the original data.`,
		Exposed:        true,
		Name:           "end",
		Stored:         true,
		Type:           "integer",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `The key that is used in the name's place, If empty, a sequence of X's are used.`,
		Exposed:        true,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the detection.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"Redacted": {
		AllowedChoices: []string{},
		BSONFieldName:  "redacted",
		ConvertedName:  "Redacted",
		Description:    `If true this detection has been redacted.`,
		Exposed:        true,
		Name:           "redacted",
		Stored:         true,
		Type:           "boolean",
	},
	"RedactedEnd": {
		AllowedChoices: []string{},
		BSONFieldName:  "redactedend",
		ConvertedName:  "RedactedEnd",
		Description:    `The end position of the detection in the redacted data.`,
		Exposed:        true,
		Name:           "redactedEnd",
		Stored:         true,
		Type:           "integer",
	},
	"RedactedStart": {
		AllowedChoices: []string{},
		BSONFieldName:  "redactedstart",
		ConvertedName:  "RedactedStart",
		Description:    `The start position of the detection in the redacted data.`,
		Exposed:        true,
		Name:           "redactedStart",
		Stored:         true,
		Type:           "integer",
	},
	"Score": {
		AllowedChoices: []string{},
		BSONFieldName:  "score",
		ConvertedName:  "Score",
		Description:    `The confidence score of the detection.`,
		Exposed:        true,
		MaxValue:       1,
		Name:           "score",
		Stored:         true,
		Type:           "float",
	},
	"Start": {
		AllowedChoices: []string{},
		BSONFieldName:  "start",
		ConvertedName:  "Start",
		Description:    `The start position of the detection in the original data.`,
		Exposed:        true,
		Name:           "start",
		Stored:         true,
		Type:           "integer",
	},
	"Type": {
		AllowedChoices: []string{"Keyword", "PII", "Secret"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of detection.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
}

TextualDetectionAttributesMap represents the map of attribute for TextualDetection.

View Source
var TextualDetectionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"content": {
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		Description:    `The original detected content.`,
		Name:           "content",
		Type:           "string",
	},
	"end": {
		AllowedChoices: []string{},
		BSONFieldName:  "end",
		ConvertedName:  "End",
		Description:    `The end position of the detection in the original data.`,
		Exposed:        true,
		Name:           "end",
		Stored:         true,
		Type:           "integer",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `The key that is used in the name's place, If empty, a sequence of X's are used.`,
		Exposed:        true,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the detection.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"redacted": {
		AllowedChoices: []string{},
		BSONFieldName:  "redacted",
		ConvertedName:  "Redacted",
		Description:    `If true this detection has been redacted.`,
		Exposed:        true,
		Name:           "redacted",
		Stored:         true,
		Type:           "boolean",
	},
	"redactedend": {
		AllowedChoices: []string{},
		BSONFieldName:  "redactedend",
		ConvertedName:  "RedactedEnd",
		Description:    `The end position of the detection in the redacted data.`,
		Exposed:        true,
		Name:           "redactedEnd",
		Stored:         true,
		Type:           "integer",
	},
	"redactedstart": {
		AllowedChoices: []string{},
		BSONFieldName:  "redactedstart",
		ConvertedName:  "RedactedStart",
		Description:    `The start position of the detection in the redacted data.`,
		Exposed:        true,
		Name:           "redactedStart",
		Stored:         true,
		Type:           "integer",
	},
	"score": {
		AllowedChoices: []string{},
		BSONFieldName:  "score",
		ConvertedName:  "Score",
		Description:    `The confidence score of the detection.`,
		Exposed:        true,
		MaxValue:       1,
		Name:           "score",
		Stored:         true,
		Type:           "float",
	},
	"start": {
		AllowedChoices: []string{},
		BSONFieldName:  "start",
		ConvertedName:  "Start",
		Description:    `The start position of the detection in the original data.`,
		Exposed:        true,
		Name:           "start",
		Stored:         true,
		Type:           "integer",
	},
	"type": {
		AllowedChoices: []string{"Keyword", "PII", "Secret"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `The type of detection.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
}

TextualDetectionLowerCaseAttributesMap represents the map of attribute for TextualDetection.

View Source
var UserTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `The list of claims delivered in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ClientType": {
		AllowedChoices: []string{"None", "WebExtension", "Acushield"},
		BSONFieldName:  "clienttype",
		ConvertedName:  "ClientType",
		DefaultValue:   UserTokenClientTypeNone,
		Description:    `the client type of the user token.`,
		Exposed:        true,
		Name:           "clientType",
		Stored:         true,
		Type:           "enum",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `The email of the user who requested the token.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationDate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		Description:    `Tells when the token will expire.`,
		Exposed:        true,
		Name:           "expirationDate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the token is specified while creating the token.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "sourceip",
		ConvertedName:  "SourceIP",
		Description:    `The source IP of the request that initiated the creation of the token.`,
		Exposed:        true,
		Name:           "sourceIP",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The generated token. It won't be stored.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
	"TokenID": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenid",
		ConvertedName:  "TokenID",
		Description:    `The ID of the associated token.`,
		Exposed:        true,
		Name:           "tokenID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"Transient": {
		AllowedChoices: []string{},
		BSONFieldName:  "transient",
		ConvertedName:  "Transient",
		Description: `If true, the token will not be stored and will only be revocable if you keep
track of the token ID yourself. Also, the validity will be capped and the token
won't be long lived.`,
		Exposed: true,
		Name:    "transient",
		Stored:  true,
		Type:    "boolean",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "8760h",
		Description:    `Configures the validity of the token.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

UserTokenAttributesMap represents the map of attribute for UserToken.

View Source
var UserTokenIdentity = elemental.Identity{
	Name:     "usertoken",
	Category: "usertokens",
	Package:  "lain",
	Private:  false,
}

UserTokenIdentity represents the Identity of the object.

View Source
var UserTokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `The list of claims delivered in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"clienttype": {
		AllowedChoices: []string{"None", "WebExtension", "Acushield"},
		BSONFieldName:  "clienttype",
		ConvertedName:  "ClientType",
		DefaultValue:   UserTokenClientTypeNone,
		Description:    `the client type of the user token.`,
		Exposed:        true,
		Name:           "clientType",
		Stored:         true,
		Type:           "enum",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `The email of the user who requested the token.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationdate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		Description:    `Tells when the token will expire.`,
		Exposed:        true,
		Name:           "expirationDate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the token is specified while creating the token.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "sourceip",
		ConvertedName:  "SourceIP",
		Description:    `The source IP of the request that initiated the creation of the token.`,
		Exposed:        true,
		Name:           "sourceIP",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The generated token. It won't be stored.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
	"tokenid": {
		AllowedChoices: []string{},
		BSONFieldName:  "tokenid",
		ConvertedName:  "TokenID",
		Description:    `The ID of the associated token.`,
		Exposed:        true,
		Name:           "tokenID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"transient": {
		AllowedChoices: []string{},
		BSONFieldName:  "transient",
		ConvertedName:  "Transient",
		Description: `If true, the token will not be stored and will only be revocable if you keep
track of the token ID yourself. Also, the validity will be capped and the token
won't be long lived.`,
		Exposed: true,
		Name:    "transient",
		Stored:  true,
		Type:    "boolean",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "8760h",
		Description:    `Configures the validity of the token.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

UserTokenLowerCaseAttributesMap represents the map of attribute for UserToken.

View Source
var VisitedURLAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"DomainHits": {
		AllowedChoices: []string{},
		ConvertedName:  "DomainHits",
		Description:    `Domain that has been visited.`,
		Exposed:        true,
		Name:           "domainHits",
		Required:       true,
		SubType:        "domainhits",
		Type:           "refList",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Origin": {
		AllowedChoices: []string{"WebExtension", "Proxy"},
		ConvertedName:  "Origin",
		DefaultValue:   VisitedURLOriginProxy,
		Description:    `Origin indicates from where the url has been tracked.`,
		Exposed:        true,
		Name:           "origin",
		Required:       true,
		Type:           "enum",
	},
	"Principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
}

VisitedURLAttributesMap represents the map of attribute for VisitedURL.

View Source
var VisitedURLIdentity = elemental.Identity{
	Name:     "visitedurl",
	Category: "visitedurls",
	Package:  "colektor",
	Private:  false,
}

VisitedURLIdentity represents the Identity of the object.

View Source
var VisitedURLLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"domainhits": {
		AllowedChoices: []string{},
		ConvertedName:  "DomainHits",
		Description:    `Domain that has been visited.`,
		Exposed:        true,
		Name:           "domainHits",
		Required:       true,
		SubType:        "domainhits",
		Type:           "refList",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"origin": {
		AllowedChoices: []string{"WebExtension", "Proxy"},
		ConvertedName:  "Origin",
		DefaultValue:   VisitedURLOriginProxy,
		Description:    `Origin indicates from where the url has been tracked.`,
		Exposed:        true,
		Name:           "origin",
		Required:       true,
		Type:           "enum",
	},
	"principal": {
		AllowedChoices: []string{},
		BSONFieldName:  "principal",
		ConvertedName:  "Principal",
		Description:    `The principal of the object.`,
		Exposed:        true,
		Name:           "principal",
		Required:       true,
		Stored:         true,
		SubType:        "principal",
		Type:           "ref",
	},
}

VisitedURLLowerCaseAttributesMap represents the map of attribute for VisitedURL.

View Source
var WatchedOrgAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the accessible organization.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"OrgNamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "OrgNamespace",
		Description:    `The name namespace of the org.`,
		Exposed:        true,
		Name:           "orgNamespace",
		Type:           "string",
	},
}

WatchedOrgAttributesMap represents the map of attribute for WatchedOrg.

View Source
var WatchedOrgIdentity = elemental.Identity{
	Name:     "watchedorg",
	Category: "watchedorgs",
	Package:  "lain",
	Private:  false,
}

WatchedOrgIdentity represents the Identity of the object.

View Source
var WatchedOrgLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the accessible organization.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"orgnamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "OrgNamespace",
		Description:    `The name namespace of the org.`,
		Exposed:        true,
		Name:           "orgNamespace",
		Type:           "string",
	},
}

WatchedOrgLowerCaseAttributesMap represents the map of attribute for WatchedOrg.

View Source
var WebExtensionConfigAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AllowProxySettings": {
		AllowedChoices: []string{},
		BSONFieldName:  "allowproxysettings",
		ConvertedName:  "AllowProxySettings",
		Description:    `Allow the webextension to set the proxy settings in the employee browser.`,
		Exposed:        true,
		Name:           "allowProxySettings",
		Stored:         true,
		Type:           "boolean",
	},
	"CreateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the webextension configuration.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"ImportHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ImportLabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the webextension configuration.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"RefreshWebExtensionConfigInterval": {
		AllowedChoices: []string{},
		BSONFieldName:  "refreshwebextensionconfiginterval",
		ConvertedName:  "RefreshWebExtensionConfigInterval",
		DefaultValue:   120,
		Description:    `Define the interval in minutes to refresh the configuration browser.`,
		Exposed:        true,
		Name:           "refreshWebExtensionConfigInterval",
		Stored:         true,
		Type:           "integer",
	},
	"ReportVisitedURLsInterval": {
		AllowedChoices: []string{},
		BSONFieldName:  "reportvisitedurlsinterval",
		ConvertedName:  "ReportVisitedURLsInterval",
		DefaultValue:   60,
		Description:    `Define the interval in minutes between two reports of the visited urls.`,
		Exposed:        true,
		Name:           "reportVisitedURLsInterval",
		Stored:         true,
		Type:           "integer",
	},
	"UpdateTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

WebExtensionConfigAttributesMap represents the map of attribute for WebExtensionConfig.

View Source
var WebExtensionConfigIdentity = elemental.Identity{
	Name:     "webextensionconfig",
	Category: "webextensionconfigs",
	Package:  "lain",
	Private:  false,
}

WebExtensionConfigIdentity represents the Identity of the object.

View Source
var WebExtensionConfigLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"allowproxysettings": {
		AllowedChoices: []string{},
		BSONFieldName:  "allowproxysettings",
		ConvertedName:  "AllowProxySettings",
		Description:    `Allow the webextension to set the proxy settings in the employee browser.`,
		Exposed:        true,
		Name:           "allowProxySettings",
		Stored:         true,
		Type:           "boolean",
	},
	"createtime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createtime",
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the webextension configuration.`,
		Exposed:        true,
		Name:           "description",
		Stored:         true,
		Type:           "string",
	},
	"importhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "importhash",
		ConvertedName:  "ImportHash",
		CreationOnly:   true,
		Description:    `The hash of the structure used to compare with new import version.`,
		Exposed:        true,
		Getter:         true,
		Name:           "importHash",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"importlabel": {
		AllowedChoices: []string{},
		BSONFieldName:  "importlabel",
		ConvertedName:  "ImportLabel",
		CreationOnly:   true,
		Description: `The user-defined import label that allows the system to group resources from the
same import operation.`,
		Exposed: true,
		Getter:  true,
		Name:    "importLabel",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `The name of the webextension configuration.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `The namespace of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"refreshwebextensionconfiginterval": {
		AllowedChoices: []string{},
		BSONFieldName:  "refreshwebextensionconfiginterval",
		ConvertedName:  "RefreshWebExtensionConfigInterval",
		DefaultValue:   120,
		Description:    `Define the interval in minutes to refresh the configuration browser.`,
		Exposed:        true,
		Name:           "refreshWebExtensionConfigInterval",
		Stored:         true,
		Type:           "integer",
	},
	"reportvisitedurlsinterval": {
		AllowedChoices: []string{},
		BSONFieldName:  "reportvisitedurlsinterval",
		ConvertedName:  "ReportVisitedURLsInterval",
		DefaultValue:   60,
		Description:    `Define the interval in minutes between two reports of the visited urls.`,
		Exposed:        true,
		Name:           "reportVisitedURLsInterval",
		Stored:         true,
		Type:           "integer",
	},
	"updatetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updatetime",
		ConvertedName:  "UpdateTime",
		Description:    `Last update date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "updateTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description:    `Hash of the object used to shard the data.`,
		Getter:         true,
		Name:           "zHash",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Sharding zone.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

WebExtensionConfigLowerCaseAttributesMap represents the map of attribute for WebExtensionConfig.

Functions

func AliasesForIdentity

func AliasesForIdentity(identity elemental.Identity) []string

AliasesForIdentity returns all the aliases for the given identity.

func AllIdentities

func AllIdentities() []elemental.Identity

AllIdentities returns all existing identities.

func Manager

func Manager() elemental.ModelManager

Manager returns the model elemental.ModelManager.

func ModelVersion

func ModelVersion() float64

ModelVersion returns the current version of the model.

func ValidateAccessPolicy

func ValidateAccessPolicy(accessPolicy *AccessPolicy) error

ValidateAccessPolicy validates the entire access policy object.

func ValidateAccessPolicyTopics

func ValidateAccessPolicyTopics(attribute string, forbiddenTopics []string) error

ValidateAccessPolicyTopics validates the topics of an access policy.

func ValidateAgentConfig

func ValidateAgentConfig(agentConfig *AgentConfig) error

ValidateAgentConfig validates the agent configuration object.

func ValidateAlertDefinition

func ValidateAlertDefinition(alertDefinition *AlertDefinition) error

ValidateAlertDefinition validates the entire alert definition object.

func ValidateApp

func ValidateApp(app *App) error

ValidateApp validates the app object

func ValidateAuthorizationSubject

func ValidateAuthorizationSubject(attribute string, subject [][]string) error

ValidateAuthorizationSubject makes sure api authorization subject is at least secured a bit.

func ValidateClientTokenValidity

func ValidateClientTokenValidity(attribute string, duration string) error

ValidateClientTokenValidity validates the client token is a correct duration and does not exceed 1y.

func ValidateContentPolicy

func ValidateContentPolicy(contentPolicy *ContentPolicy) error

ValidateContentPolicy validates the entire content policy object.

func ValidateDuration

func ValidateDuration(attribute string, duration string) error

ValidateDuration validates the time.Duration input.

func ValidateEmail

func ValidateEmail(attribute string, email string) error

ValidateEmail validates an emails.

func ValidateEmails

func ValidateEmails(attribute string, emails []string) error

ValidateEmails validates the list of emails.

func ValidateExtractor

func ValidateExtractor(extractor *Extractor) error

ValidateExtractor validates the given Extractor.

func ValidateFilter

func ValidateFilter(attribute string, filter string) error

ValidateFilter validates the given input is an elemental filter.

func ValidateFriendlyName

func ValidateFriendlyName(attribute string, name string) error

ValidateFriendlyName checks if the given friendly name is valid.

func ValidateLua

func ValidateLua(attribute string, code string) error

ValidateLua validates the lua input data.

func ValidateObjectID

func ValidateObjectID(attribute string, id string) error

ValidateObjectID validates the given ID is a valid bson ObjectID.

func ValidateObjectIDs

func ValidateObjectIDs(attribute string, ids []string) error

ValidateObjectIDs validates if the provided list of IDs are valid bson ObjectIDs.

func ValidatePEM

func ValidatePEM(attribute string, pemdata string) error

ValidatePEM validates a string contains a PEM.

func ValidatePredicate

func ValidatePredicate(p *Predicate) error

ValidatePredicate validates the given Predicate.

func ValidatePrincipal

func ValidatePrincipal(principal *Principal) error

ValidatePrincipal validates the principal object.

func ValidateProvider

func ValidateProvider(provider *Provider) error

ValidateProvider validates the entire provider objects

func ValidateRego

func ValidateRego(attribute string, code string) error

ValidateRego validates the rego input data.

func ValidateRestrictedIP

func ValidateRestrictedIP(attribute string, host string) error

ValidateRestrictedIP validate a single IP or host to make sure it is not in a IANA defined private network.

func ValidateRestrictedIPs

func ValidateRestrictedIPs(attribute string, hosts []string) error

ValidateRestrictedIPs validate a list of IPs or hosts to make sure it is not in a IANA defined private network.

func ValidateSink

func ValidateSink(sink *Sink) error

ValidateSink validates the sink object.

func ValidateTagsExpression

func ValidateTagsExpression(attribute string, expression [][]string) error

ValidateTagsExpression validates an [][]string is a valid tag expression.

func ValidateURL

func ValidateURL(attribute string, u string) error

ValidateURL validates the given value is a correct url.

func ValidateURLs

func ValidateURLs(attribute string, u []string) error

ValidateURLs validates the given value is a list of correct url.

Types

type AIDomain

type AIDomain struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The domain of the AI provider.
	Domain string `json:"domain" msgpack:"domain" bson:"domain" mapstructure:"domain,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// Flag to say if the domain is a AI domain or not.
	IsAIDomain bool `json:"isAIDomain" msgpack:"isAIDomain" bson:"isaidomain" mapstructure:"isAIDomain,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// The name of the main provider.
	ProviderName string `` /* 130-byte string literal not displayed */

	// A Markdown formatted string explaining the risk score.
	RiskExplanation string `` /* 142-byte string literal not displayed */

	// The risk score for the domain.
	RiskScore float64 `json:"riskScore" msgpack:"riskScore" bson:"riskscore" mapstructure:"riskScore,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AIDomain represents the model of a aidomain

func NewAIDomain

func NewAIDomain() *AIDomain

NewAIDomain returns a new *AIDomain

func (*AIDomain) AttributeSpecifications

func (*AIDomain) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AIDomain) BleveType

func (o *AIDomain) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AIDomain) DeepCopy

func (o *AIDomain) DeepCopy() *AIDomain

DeepCopy returns a deep copy if the AIDomain.

func (*AIDomain) DeepCopyInto

func (o *AIDomain) DeepCopyInto(out *AIDomain)

DeepCopyInto copies the receiver into the given *AIDomain.

func (*AIDomain) DefaultOrder

func (o *AIDomain) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AIDomain) Doc

func (o *AIDomain) Doc() string

Doc returns the documentation for the object

func (*AIDomain) GetBSON

func (o *AIDomain) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AIDomain) GetCreateTime

func (o *AIDomain) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AIDomain) GetImportHash

func (o *AIDomain) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*AIDomain) GetImportLabel

func (o *AIDomain) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*AIDomain) GetNamespace

func (o *AIDomain) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AIDomain) GetPropagate

func (o *AIDomain) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*AIDomain) GetUpdateTime

func (o *AIDomain) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AIDomain) GetZHash

func (o *AIDomain) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AIDomain) GetZone

func (o *AIDomain) GetZone() int

GetZone returns the Zone of the receiver.

func (*AIDomain) Identifier

func (o *AIDomain) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AIDomain) Identity

func (o *AIDomain) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AIDomain) Patch

func (o *AIDomain) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAIDomain to the object.

func (*AIDomain) SetBSON

func (o *AIDomain) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AIDomain) SetCreateTime

func (o *AIDomain) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AIDomain) SetIdentifier

func (o *AIDomain) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AIDomain) SetImportHash

func (o *AIDomain) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*AIDomain) SetImportLabel

func (o *AIDomain) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*AIDomain) SetNamespace

func (o *AIDomain) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AIDomain) SetPropagate

func (o *AIDomain) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*AIDomain) SetUpdateTime

func (o *AIDomain) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AIDomain) SetZHash

func (o *AIDomain) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AIDomain) SetZone

func (o *AIDomain) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AIDomain) SpecificationForAttribute

func (*AIDomain) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AIDomain) String

func (o *AIDomain) String() string

func (*AIDomain) ToSparse

func (o *AIDomain) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AIDomain) Validate

func (o *AIDomain) Validate() error

Validate valides the current information stored into the structure.

func (*AIDomain) ValueForAttribute

func (o *AIDomain) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AIDomain) Version

func (o *AIDomain) Version() int

Version returns the hardcoded version of the model.

type AIDomainsList

type AIDomainsList []*AIDomain

AIDomainsList represents a list of AIDomains

func (AIDomainsList) Append

Append appends the objects to the a new copy of the AIDomainsList.

func (AIDomainsList) Copy

Copy returns a pointer to a copy the AIDomainsList.

func (AIDomainsList) DefaultOrder

func (o AIDomainsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AIDomainsList) Identity

func (o AIDomainsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AIDomainsList) List

List converts the object to an elemental.IdentifiablesList.

func (AIDomainsList) ToSparse

func (o AIDomainsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AIDomainsList converted to SparseAIDomainsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AIDomainsList) Version

func (o AIDomainsList) Version() int

Version returns the version of the content.

type APIAuthorization

type APIAuthorization struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the authorization rule.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// When disabled, an API Authorization has no effect.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The name of the authorization rule.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The individual permissions. Only works if role is Custom.
	Permissions []string `` /* 126-byte string literal not displayed */

	// The role for the subjects.
	Role APIAuthorizationRoleValue `json:"role" msgpack:"role" bson:"role" mapstructure:"role,omitempty"`

	// A tag expression that identifies the authorized user(s).
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// Defines the namespace or namespaces in which the permission for subject should
	// apply. If empty, the object's namespace will be used.
	TargetNamespaces []string `json:"targetNamespaces" msgpack:"targetNamespaces" bson:"targetnamespaces" mapstructure:"targetNamespaces,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

APIAuthorization represents the model of a apiauthorization

func NewAPIAuthorization

func NewAPIAuthorization() *APIAuthorization

NewAPIAuthorization returns a new *APIAuthorization

func (*APIAuthorization) AttributeSpecifications

func (*APIAuthorization) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*APIAuthorization) BleveType

func (o *APIAuthorization) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*APIAuthorization) DeepCopy

func (o *APIAuthorization) DeepCopy() *APIAuthorization

DeepCopy returns a deep copy if the APIAuthorization.

func (*APIAuthorization) DeepCopyInto

func (o *APIAuthorization) DeepCopyInto(out *APIAuthorization)

DeepCopyInto copies the receiver into the given *APIAuthorization.

func (*APIAuthorization) DefaultOrder

func (o *APIAuthorization) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*APIAuthorization) Doc

func (o *APIAuthorization) Doc() string

Doc returns the documentation for the object

func (*APIAuthorization) GetBSON

func (o *APIAuthorization) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*APIAuthorization) GetCreateTime

func (o *APIAuthorization) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*APIAuthorization) GetImportHash

func (o *APIAuthorization) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*APIAuthorization) GetImportLabel

func (o *APIAuthorization) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*APIAuthorization) GetNamespace

func (o *APIAuthorization) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*APIAuthorization) GetUpdateTime

func (o *APIAuthorization) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*APIAuthorization) GetZHash

func (o *APIAuthorization) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*APIAuthorization) GetZone

func (o *APIAuthorization) GetZone() int

GetZone returns the Zone of the receiver.

func (*APIAuthorization) Identifier

func (o *APIAuthorization) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*APIAuthorization) Identity

func (o *APIAuthorization) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*APIAuthorization) Patch

Patch apply the non nil value of a *SparseAPIAuthorization to the object.

func (*APIAuthorization) SetBSON

func (o *APIAuthorization) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*APIAuthorization) SetCreateTime

func (o *APIAuthorization) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*APIAuthorization) SetIdentifier

func (o *APIAuthorization) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*APIAuthorization) SetImportHash

func (o *APIAuthorization) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*APIAuthorization) SetImportLabel

func (o *APIAuthorization) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*APIAuthorization) SetNamespace

func (o *APIAuthorization) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*APIAuthorization) SetUpdateTime

func (o *APIAuthorization) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*APIAuthorization) SetZHash

func (o *APIAuthorization) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*APIAuthorization) SetZone

func (o *APIAuthorization) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*APIAuthorization) SpecificationForAttribute

func (*APIAuthorization) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*APIAuthorization) String

func (o *APIAuthorization) String() string

func (*APIAuthorization) ToSparse

func (o *APIAuthorization) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*APIAuthorization) Validate

func (o *APIAuthorization) Validate() error

Validate valides the current information stored into the structure.

func (*APIAuthorization) ValueForAttribute

func (o *APIAuthorization) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*APIAuthorization) Version

func (o *APIAuthorization) Version() int

Version returns the hardcoded version of the model.

type APIAuthorizationRoleValue

type APIAuthorizationRoleValue string

APIAuthorizationRoleValue represents the possible values for attribute "role".

const (
	// APIAuthorizationRoleAdministrator represents the value Administrator.
	APIAuthorizationRoleAdministrator APIAuthorizationRoleValue = "Administrator"

	// APIAuthorizationRoleApplication represents the value Application.
	APIAuthorizationRoleApplication APIAuthorizationRoleValue = "Application"

	// APIAuthorizationRoleCustom represents the value Custom.
	APIAuthorizationRoleCustom APIAuthorizationRoleValue = "Custom"

	// APIAuthorizationRoleEmployee represents the value Employee.
	APIAuthorizationRoleEmployee APIAuthorizationRoleValue = "Employee"

	// APIAuthorizationRoleOwner represents the value Owner.
	APIAuthorizationRoleOwner APIAuthorizationRoleValue = "Owner"

	// APIAuthorizationRoleProxy represents the value Proxy.
	APIAuthorizationRoleProxy APIAuthorizationRoleValue = "Proxy"

	// APIAuthorizationRoleTrial represents the value Trial.
	APIAuthorizationRoleTrial APIAuthorizationRoleValue = "Trial"

	// APIAuthorizationRoleViewer represents the value Viewer.
	APIAuthorizationRoleViewer APIAuthorizationRoleValue = "Viewer"
)

type APIAuthorizationsList

type APIAuthorizationsList []*APIAuthorization

APIAuthorizationsList represents a list of APIAuthorizations

func (APIAuthorizationsList) Append

Append appends the objects to the a new copy of the APIAuthorizationsList.

func (APIAuthorizationsList) Copy

Copy returns a pointer to a copy the APIAuthorizationsList.

func (APIAuthorizationsList) DefaultOrder

func (o APIAuthorizationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (APIAuthorizationsList) Identity

Identity returns the identity of the objects in the list.

func (APIAuthorizationsList) List

List converts the object to an elemental.IdentifiablesList.

func (APIAuthorizationsList) ToSparse

func (o APIAuthorizationsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the APIAuthorizationsList converted to SparseAPIAuthorizationsList. Objects in the list will only contain the given fields. No field means entire field set.

func (APIAuthorizationsList) Version

func (o APIAuthorizationsList) Version() int

Version returns the version of the content.

type AccessPoliciesList

type AccessPoliciesList []*AccessPolicy

AccessPoliciesList represents a list of AccessPolicies

func (AccessPoliciesList) Append

Append appends the objects to the a new copy of the AccessPoliciesList.

func (AccessPoliciesList) Copy

Copy returns a pointer to a copy the AccessPoliciesList.

func (AccessPoliciesList) DefaultOrder

func (o AccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AccessPoliciesList) Identity

func (o AccessPoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AccessPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (AccessPoliciesList) ToSparse

func (o AccessPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AccessPoliciesList converted to SparseAccessPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (AccessPoliciesList) Version

func (o AccessPoliciesList) Version() int

Version returns the version of the content.

type AccessPolicy

type AccessPolicy struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The message that is sent if the access is denied.
	AccessDeniedMessage string `` /* 128-byte string literal not displayed */

	// Define if the provider is allowed or denied for the match expression.
	Action AccessPolicyActionValue `json:"action" msgpack:"action" bson:"action" mapstructure:"action,omitempty"`

	// The definition to use for alerting when action is deny.
	AlertDefinition string `json:"alertDefinition" msgpack:"alertDefinition" bson:"alertdefinition" mapstructure:"alertDefinition,omitempty"`

	// The list of content policies to apply when the user has access to the provider.
	ContentPolicies []string `json:"contentPolicies" msgpack:"contentPolicies" bson:"contentpolicies" mapstructure:"contentPolicies,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the access policy.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// If true, the policy is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set, just log the decision, but don't enforce it.
	Enforcement bool `json:"enforcement" msgpack:"enforcement" bson:"enforcement" mapstructure:"enforcement,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// If true, the system will not log the messages that are not considered as
	// violations.
	Logging bool `json:"logging" msgpack:"logging" bson:"logging" mapstructure:"logging,omitempty"`

	// The match criteria used to take a decision on the access.
	Match []*Predicate `json:"match" msgpack:"match" bson:"match" mapstructure:"match,omitempty"`

	// The name of the access policy.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AccessPolicy represents the model of a accesspolicy

func NewAccessPolicy

func NewAccessPolicy() *AccessPolicy

NewAccessPolicy returns a new *AccessPolicy

func (*AccessPolicy) AttributeSpecifications

func (*AccessPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AccessPolicy) BleveType

func (o *AccessPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AccessPolicy) DeepCopy

func (o *AccessPolicy) DeepCopy() *AccessPolicy

DeepCopy returns a deep copy if the AccessPolicy.

func (*AccessPolicy) DeepCopyInto

func (o *AccessPolicy) DeepCopyInto(out *AccessPolicy)

DeepCopyInto copies the receiver into the given *AccessPolicy.

func (*AccessPolicy) DefaultOrder

func (o *AccessPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AccessPolicy) Doc

func (o *AccessPolicy) Doc() string

Doc returns the documentation for the object

func (*AccessPolicy) GetBSON

func (o *AccessPolicy) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccessPolicy) GetCreateTime

func (o *AccessPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AccessPolicy) GetImportHash

func (o *AccessPolicy) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*AccessPolicy) GetImportLabel

func (o *AccessPolicy) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*AccessPolicy) GetNamespace

func (o *AccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AccessPolicy) GetUpdateTime

func (o *AccessPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AccessPolicy) GetZHash

func (o *AccessPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AccessPolicy) GetZone

func (o *AccessPolicy) GetZone() int

GetZone returns the Zone of the receiver.

func (*AccessPolicy) Identifier

func (o *AccessPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AccessPolicy) Identity

func (o *AccessPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AccessPolicy) Patch

func (o *AccessPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAccessPolicy to the object.

func (*AccessPolicy) SetBSON

func (o *AccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccessPolicy) SetCreateTime

func (o *AccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AccessPolicy) SetIdentifier

func (o *AccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AccessPolicy) SetImportHash

func (o *AccessPolicy) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*AccessPolicy) SetImportLabel

func (o *AccessPolicy) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*AccessPolicy) SetNamespace

func (o *AccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AccessPolicy) SetUpdateTime

func (o *AccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AccessPolicy) SetZHash

func (o *AccessPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AccessPolicy) SetZone

func (o *AccessPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AccessPolicy) SpecificationForAttribute

func (*AccessPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AccessPolicy) String

func (o *AccessPolicy) String() string

func (*AccessPolicy) ToSparse

func (o *AccessPolicy) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AccessPolicy) Validate

func (o *AccessPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*AccessPolicy) ValueForAttribute

func (o *AccessPolicy) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AccessPolicy) Version

func (o *AccessPolicy) Version() int

Version returns the hardcoded version of the model.

type AccessPolicyActionValue

type AccessPolicyActionValue string

AccessPolicyActionValue represents the possible values for attribute "action".

const (
	// AccessPolicyActionAllow represents the value Allow.
	AccessPolicyActionAllow AccessPolicyActionValue = "Allow"

	// AccessPolicyActionDeny represents the value Deny.
	AccessPolicyActionDeny AccessPolicyActionValue = "Deny"
)
type AdminMagicLink struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The passcode information.
	Passcode *Passcode `json:"passcode,omitempty" msgpack:"passcode,omitempty" bson:"-" mapstructure:"passcode,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AdminMagicLink represents the model of a adminmagiclink

func NewAdminMagicLink() *AdminMagicLink

NewAdminMagicLink returns a new *AdminMagicLink

func (*AdminMagicLink) AttributeSpecifications

func (*AdminMagicLink) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AdminMagicLink) BleveType

func (o *AdminMagicLink) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AdminMagicLink) DeepCopy

func (o *AdminMagicLink) DeepCopy() *AdminMagicLink

DeepCopy returns a deep copy if the AdminMagicLink.

func (*AdminMagicLink) DeepCopyInto

func (o *AdminMagicLink) DeepCopyInto(out *AdminMagicLink)

DeepCopyInto copies the receiver into the given *AdminMagicLink.

func (*AdminMagicLink) DefaultOrder

func (o *AdminMagicLink) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AdminMagicLink) Doc

func (o *AdminMagicLink) Doc() string

Doc returns the documentation for the object

func (*AdminMagicLink) GetBSON

func (o *AdminMagicLink) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AdminMagicLink) GetNamespace

func (o *AdminMagicLink) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AdminMagicLink) Identifier

func (o *AdminMagicLink) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AdminMagicLink) Identity

func (o *AdminMagicLink) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AdminMagicLink) Patch

func (o *AdminMagicLink) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAdminMagicLink to the object.

func (*AdminMagicLink) SetBSON

func (o *AdminMagicLink) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AdminMagicLink) SetIdentifier

func (o *AdminMagicLink) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AdminMagicLink) SetNamespace

func (o *AdminMagicLink) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AdminMagicLink) SpecificationForAttribute

func (*AdminMagicLink) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AdminMagicLink) String

func (o *AdminMagicLink) String() string

func (*AdminMagicLink) ToSparse

func (o *AdminMagicLink) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AdminMagicLink) Validate

func (o *AdminMagicLink) Validate() error

Validate valides the current information stored into the structure.

func (*AdminMagicLink) ValueForAttribute

func (o *AdminMagicLink) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AdminMagicLink) Version

func (o *AdminMagicLink) Version() int

Version returns the hardcoded version of the model.

type AdminMagicLinksList []*AdminMagicLink

AdminMagicLinksList represents a list of AdminMagicLinks

func (AdminMagicLinksList) Append

Append appends the objects to the a new copy of the AdminMagicLinksList.

func (AdminMagicLinksList) Copy

Copy returns a pointer to a copy the AdminMagicLinksList.

func (AdminMagicLinksList) DefaultOrder

func (o AdminMagicLinksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AdminMagicLinksList) Identity

func (o AdminMagicLinksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AdminMagicLinksList) List

List converts the object to an elemental.IdentifiablesList.

func (AdminMagicLinksList) ToSparse

func (o AdminMagicLinksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AdminMagicLinksList converted to SparseAdminMagicLinksList. Objects in the list will only contain the given fields. No field means entire field set.

func (AdminMagicLinksList) Version

func (o AdminMagicLinksList) Version() int

Version returns the version of the content.

type AdminOrg

type AdminOrg struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// This property if true will force reimport the template data. Setting it false is
	// a noop.
	ForceReimportTemplate bool `json:"forceReimportTemplate" msgpack:"forceReimportTemplate" bson:"-" mapstructure:"forceReimportTemplate,omitempty"`

	// Enables the global Sign In With Github for the organization.
	GithubSigninEnabled bool `` /* 128-byte string literal not displayed */

	// Enables the global Sign In With Gitlab for the organization.
	GitlabSigninEnabled bool `` /* 128-byte string literal not displayed */

	// Enables the global Sign In With Google for the organization.
	GoogleSigninEnabled bool `` /* 128-byte string literal not displayed */

	// Enables the global Sign In With Huggingface for the organization.
	HuggingfaceSigninEnabled bool `` /* 148-byte string literal not displayed */

	// The mode of the organization.
	Mode AdminOrgModeValue `json:"mode" msgpack:"mode" bson:"mode" mapstructure:"mode,omitempty"`

	// The name of the organization.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// This is an internal property used to decide if the org template needs to be
	// reimported.
	ReimportTemplate bool `json:"reimportTemplate" msgpack:"reimportTemplate" bson:"-" mapstructure:"reimportTemplate,omitempty"`

	// A tag expression that identifies the authorized user(s). If set it will
	// configure the complete subject of the admin api authorization, ignoring anything
	// passed in claims.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// The type of organization. Either Full or Single. Full represents an organization
	// that will need to onboard additional users, while Single represents a single
	// user account.
	Type AdminOrgTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AdminOrg represents the model of a adminorg

func NewAdminOrg

func NewAdminOrg() *AdminOrg

NewAdminOrg returns a new *AdminOrg

func (*AdminOrg) AttributeSpecifications

func (*AdminOrg) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AdminOrg) BleveType

func (o *AdminOrg) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AdminOrg) DeepCopy

func (o *AdminOrg) DeepCopy() *AdminOrg

DeepCopy returns a deep copy if the AdminOrg.

func (*AdminOrg) DeepCopyInto

func (o *AdminOrg) DeepCopyInto(out *AdminOrg)

DeepCopyInto copies the receiver into the given *AdminOrg.

func (*AdminOrg) DefaultOrder

func (o *AdminOrg) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AdminOrg) Doc

func (o *AdminOrg) Doc() string

Doc returns the documentation for the object

func (*AdminOrg) GetBSON

func (o *AdminOrg) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AdminOrg) GetNamespace

func (o *AdminOrg) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AdminOrg) Identifier

func (o *AdminOrg) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AdminOrg) Identity

func (o *AdminOrg) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AdminOrg) Patch

func (o *AdminOrg) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAdminOrg to the object.

func (*AdminOrg) SetBSON

func (o *AdminOrg) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AdminOrg) SetIdentifier

func (o *AdminOrg) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AdminOrg) SetNamespace

func (o *AdminOrg) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AdminOrg) SpecificationForAttribute

func (*AdminOrg) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AdminOrg) String

func (o *AdminOrg) String() string

func (*AdminOrg) ToSparse

func (o *AdminOrg) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AdminOrg) Validate

func (o *AdminOrg) Validate() error

Validate valides the current information stored into the structure.

func (*AdminOrg) ValueForAttribute

func (o *AdminOrg) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AdminOrg) Version

func (o *AdminOrg) Version() int

Version returns the hardcoded version of the model.

type AdminOrgModeValue

type AdminOrgModeValue string

AdminOrgModeValue represents the possible values for attribute "mode".

const (
	// AdminOrgModeBlocked represents the value Blocked.
	AdminOrgModeBlocked AdminOrgModeValue = "Blocked"

	// AdminOrgModeDead represents the value Dead.
	AdminOrgModeDead AdminOrgModeValue = "Dead"

	// AdminOrgModeNormal represents the value Normal.
	AdminOrgModeNormal AdminOrgModeValue = "Normal"

	// AdminOrgModeNormalApps represents the value NormalApps.
	AdminOrgModeNormalApps AdminOrgModeValue = "NormalApps"

	// AdminOrgModeNormalEmployees represents the value NormalEmployees.
	AdminOrgModeNormalEmployees AdminOrgModeValue = "NormalEmployees"

	// AdminOrgModePilot represents the value Pilot.
	AdminOrgModePilot AdminOrgModeValue = "Pilot"

	// AdminOrgModeTrial represents the value Trial.
	AdminOrgModeTrial AdminOrgModeValue = "Trial"

	// AdminOrgModeTrialApps represents the value TrialApps.
	AdminOrgModeTrialApps AdminOrgModeValue = "TrialApps"

	// AdminOrgModeTrialEmployees represents the value TrialEmployees.
	AdminOrgModeTrialEmployees AdminOrgModeValue = "TrialEmployees"
)

type AdminOrgTypeValue

type AdminOrgTypeValue string

AdminOrgTypeValue represents the possible values for attribute "type".

const (
	// AdminOrgTypeFull represents the value Full.
	AdminOrgTypeFull AdminOrgTypeValue = "Full"

	// AdminOrgTypeSingle represents the value Single.
	AdminOrgTypeSingle AdminOrgTypeValue = "Single"
)

type AdminOrgsList

type AdminOrgsList []*AdminOrg

AdminOrgsList represents a list of AdminOrgs

func (AdminOrgsList) Append

Append appends the objects to the a new copy of the AdminOrgsList.

func (AdminOrgsList) Copy

Copy returns a pointer to a copy the AdminOrgsList.

func (AdminOrgsList) DefaultOrder

func (o AdminOrgsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AdminOrgsList) Identity

func (o AdminOrgsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AdminOrgsList) List

List converts the object to an elemental.IdentifiablesList.

func (AdminOrgsList) ToSparse

func (o AdminOrgsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AdminOrgsList converted to SparseAdminOrgsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AdminOrgsList) Version

func (o AdminOrgsList) Version() int

Version returns the version of the content.

type Agent

type Agent struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The agent configuration.
	AgentConfig *AgentConfig `` /* 126-byte string literal not displayed */

	// The current version of the agent.
	CurrentVersion string `json:"currentVersion" msgpack:"currentVersion" bson:"currentversion" mapstructure:"currentVersion,omitempty"`

	// The name of the host where the agent is runnning.
	Hostname string `json:"hostname" msgpack:"hostname" bson:"hostname" mapstructure:"hostname,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// True if the apex is reachable.
	IsAPEXReachable bool `json:"isAPEXReachable" msgpack:"isAPEXReachable" bson:"isapexreachable" mapstructure:"isAPEXReachable,omitempty"`

	// True if the apex is trusted.
	IsAPEXTrusted bool `json:"isAPEXTrusted" msgpack:"isAPEXTrusted" bson:"isapextrusted" mapstructure:"isAPEXTrusted,omitempty"`

	// The state of the managed CA.
	ManagedCAState bool `json:"managedCAState" msgpack:"managedCAState" bson:"managedcastate" mapstructure:"managedCAState,omitempty"`

	// The list of managed interfaces.
	ManagedInterfaces []string `json:"managedInterfaces" msgpack:"managedInterfaces" bson:"managedinterfaces" mapstructure:"managedInterfaces,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The last ping recorded for the agent.
	Ping time.Time `json:"ping" msgpack:"ping" bson:"ping" mapstructure:"ping,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal" msgpack:"principal" bson:"principal" mapstructure:"principal,omitempty"`

	// The start time for the agent.
	Start time.Time `json:"start" msgpack:"start" bson:"start" mapstructure:"start,omitempty"`

	// The status of the agent.
	Status AgentStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// The state of the system proxy management.
	SystemProxyManagementState bool `` /* 156-byte string literal not displayed */

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Agent represents the model of a agent

func NewAgent

func NewAgent() *Agent

NewAgent returns a new *Agent

func (*Agent) AttributeSpecifications

func (*Agent) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Agent) BleveType

func (o *Agent) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Agent) DeepCopy

func (o *Agent) DeepCopy() *Agent

DeepCopy returns a deep copy if the Agent.

func (*Agent) DeepCopyInto

func (o *Agent) DeepCopyInto(out *Agent)

DeepCopyInto copies the receiver into the given *Agent.

func (*Agent) DefaultOrder

func (o *Agent) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Agent) Doc

func (o *Agent) Doc() string

Doc returns the documentation for the object

func (*Agent) GetBSON

func (o *Agent) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Agent) GetImportHash

func (o *Agent) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*Agent) GetImportLabel

func (o *Agent) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*Agent) GetNamespace

func (o *Agent) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Agent) GetZHash

func (o *Agent) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Agent) GetZone

func (o *Agent) GetZone() int

GetZone returns the Zone of the receiver.

func (*Agent) Identifier

func (o *Agent) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Agent) Identity

func (o *Agent) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Agent) Patch

func (o *Agent) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAgent to the object.

func (*Agent) SetBSON

func (o *Agent) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Agent) SetIdentifier

func (o *Agent) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Agent) SetImportHash

func (o *Agent) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*Agent) SetImportLabel

func (o *Agent) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*Agent) SetNamespace

func (o *Agent) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Agent) SetZHash

func (o *Agent) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Agent) SetZone

func (o *Agent) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Agent) SpecificationForAttribute

func (*Agent) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Agent) String

func (o *Agent) String() string

func (*Agent) ToSparse

func (o *Agent) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Agent) Validate

func (o *Agent) Validate() error

Validate valides the current information stored into the structure.

func (*Agent) ValueForAttribute

func (o *Agent) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Agent) Version

func (o *Agent) Version() int

Version returns the hardcoded version of the model.

type AgentConfig

type AgentConfig struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the agent configuration.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// If disabled, the agent needs to be restarted manually.
	DisableAutoStart bool `json:"disableAutoStart" msgpack:"disableAutoStart" bson:"disableautostart" mapstructure:"disableAutoStart,omitempty"`

	// If disabled, the agent will rely on the CA already installed and trusted on the
	// system.
	DisableManagedCA bool `json:"disableManagedCA" msgpack:"disableManagedCA" bson:"disablemanagedca" mapstructure:"disableManagedCA,omitempty"`

	// If disabled, the system proxy needs to be configured manually.
	DisableSystemProxyManagement bool `` /* 164-byte string literal not displayed */

	// If disabled, the agent will stop reporting the visited domains.
	DisableURLDiscovery bool `` /* 128-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The port use by the agent to proxy the traffic.
	ListeningPort string `json:"listeningPort" msgpack:"listeningPort" bson:"listeningport" mapstructure:"listeningPort,omitempty"`

	// The name of the agent configuration.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The name of the PAC configuration to use.
	PacName string `json:"pacName" msgpack:"pacName" bson:"pacname" mapstructure:"pacName,omitempty"`

	// The ping interval at which acushield should check in with the backend.
	PingInterval string `json:"pingInterval" msgpack:"pingInterval" bson:"pinginterval" mapstructure:"pingInterval,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// If system proxy management is enabled and this flag is enabled, the system
	// can take another port, different that the listeningPort.
	UseDynamicPort bool `json:"useDynamicPort" msgpack:"useDynamicPort" bson:"usedynamicport" mapstructure:"useDynamicPort,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AgentConfig represents the model of a agentconfig

func NewAgentConfig

func NewAgentConfig() *AgentConfig

NewAgentConfig returns a new *AgentConfig

func (*AgentConfig) AttributeSpecifications

func (*AgentConfig) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AgentConfig) BleveType

func (o *AgentConfig) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AgentConfig) DeepCopy

func (o *AgentConfig) DeepCopy() *AgentConfig

DeepCopy returns a deep copy if the AgentConfig.

func (*AgentConfig) DeepCopyInto

func (o *AgentConfig) DeepCopyInto(out *AgentConfig)

DeepCopyInto copies the receiver into the given *AgentConfig.

func (*AgentConfig) DefaultOrder

func (o *AgentConfig) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AgentConfig) Doc

func (o *AgentConfig) Doc() string

Doc returns the documentation for the object

func (*AgentConfig) GetBSON

func (o *AgentConfig) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AgentConfig) GetCreateTime

func (o *AgentConfig) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AgentConfig) GetImportHash

func (o *AgentConfig) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*AgentConfig) GetImportLabel

func (o *AgentConfig) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*AgentConfig) GetNamespace

func (o *AgentConfig) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AgentConfig) GetUpdateTime

func (o *AgentConfig) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AgentConfig) GetZHash

func (o *AgentConfig) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AgentConfig) GetZone

func (o *AgentConfig) GetZone() int

GetZone returns the Zone of the receiver.

func (*AgentConfig) Identifier

func (o *AgentConfig) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AgentConfig) Identity

func (o *AgentConfig) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AgentConfig) Patch

func (o *AgentConfig) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAgentConfig to the object.

func (*AgentConfig) SetBSON

func (o *AgentConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AgentConfig) SetCreateTime

func (o *AgentConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AgentConfig) SetIdentifier

func (o *AgentConfig) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AgentConfig) SetImportHash

func (o *AgentConfig) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*AgentConfig) SetImportLabel

func (o *AgentConfig) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*AgentConfig) SetNamespace

func (o *AgentConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AgentConfig) SetUpdateTime

func (o *AgentConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AgentConfig) SetZHash

func (o *AgentConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AgentConfig) SetZone

func (o *AgentConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AgentConfig) SpecificationForAttribute

func (*AgentConfig) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AgentConfig) String

func (o *AgentConfig) String() string

func (*AgentConfig) ToSparse

func (o *AgentConfig) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AgentConfig) Validate

func (o *AgentConfig) Validate() error

Validate valides the current information stored into the structure.

func (*AgentConfig) ValueForAttribute

func (o *AgentConfig) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AgentConfig) Version

func (o *AgentConfig) Version() int

Version returns the hardcoded version of the model.

type AgentConfigsList

type AgentConfigsList []*AgentConfig

AgentConfigsList represents a list of AgentConfigs

func (AgentConfigsList) Append

Append appends the objects to the a new copy of the AgentConfigsList.

func (AgentConfigsList) Copy

Copy returns a pointer to a copy the AgentConfigsList.

func (AgentConfigsList) DefaultOrder

func (o AgentConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AgentConfigsList) Identity

func (o AgentConfigsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AgentConfigsList) List

List converts the object to an elemental.IdentifiablesList.

func (AgentConfigsList) ToSparse

func (o AgentConfigsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AgentConfigsList converted to SparseAgentConfigsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AgentConfigsList) Version

func (o AgentConfigsList) Version() int

Version returns the version of the content.

type AgentStatusValue

type AgentStatusValue string

AgentStatusValue represents the possible values for attribute "status".

const (
	// AgentStatusAlive represents the value Alive.
	AgentStatusAlive AgentStatusValue = "Alive"

	// AgentStatusStopped represents the value Stopped.
	AgentStatusStopped AgentStatusValue = "Stopped"
)

type AgentsList

type AgentsList []*Agent

AgentsList represents a list of Agents

func (AgentsList) Append

Append appends the objects to the a new copy of the AgentsList.

func (AgentsList) Copy

Copy returns a pointer to a copy the AgentsList.

func (AgentsList) DefaultOrder

func (o AgentsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AgentsList) Identity

func (o AgentsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AgentsList) List

List converts the object to an elemental.IdentifiablesList.

func (AgentsList) ToSparse

func (o AgentsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AgentsList converted to SparseAgentsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AgentsList) Version

func (o AgentsList) Version() int

Version returns the version of the content.

type Alert

type Alert struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The alert definition that triggered the alert.
	AlertDefinition *AlertDefinition `json:"alertDefinition,omitempty" msgpack:"alertDefinition,omitempty" bson:"-" mapstructure:"alertDefinition,omitempty"`

	// The name identifier of the alert definition that triggered the alert.
	AlertDefinitionName string `` /* 128-byte string literal not displayed */

	// The events related to the alert.
	AlertEvents []*AlertEvent `json:"alertEvents,omitempty" msgpack:"alertEvents,omitempty" bson:"-" mapstructure:"alertEvents,omitempty"`

	// The number of times the alert was raised.
	Counter int `json:"counter" msgpack:"counter" bson:"counter" mapstructure:"counter,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// When the alert was last raised.
	End time.Time `json:"end" msgpack:"end" bson:"end" mapstructure:"end,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// When the alert was first raised.
	Start time.Time `json:"start" msgpack:"start" bson:"start" mapstructure:"start,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Alert represents the model of a alert

func NewAlert

func NewAlert() *Alert

NewAlert returns a new *Alert

func (*Alert) AttributeSpecifications

func (*Alert) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Alert) BleveType

func (o *Alert) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Alert) DeepCopy

func (o *Alert) DeepCopy() *Alert

DeepCopy returns a deep copy if the Alert.

func (*Alert) DeepCopyInto

func (o *Alert) DeepCopyInto(out *Alert)

DeepCopyInto copies the receiver into the given *Alert.

func (*Alert) DefaultOrder

func (o *Alert) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Alert) Doc

func (o *Alert) Doc() string

Doc returns the documentation for the object

func (*Alert) GetBSON

func (o *Alert) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Alert) GetCreateTime

func (o *Alert) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Alert) GetNamespace

func (o *Alert) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Alert) GetUpdateTime

func (o *Alert) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Alert) GetZHash

func (o *Alert) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Alert) GetZone

func (o *Alert) GetZone() int

GetZone returns the Zone of the receiver.

func (*Alert) Identifier

func (o *Alert) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Alert) Identity

func (o *Alert) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Alert) Patch

func (o *Alert) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAlert to the object.

func (*Alert) SetBSON

func (o *Alert) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Alert) SetCreateTime

func (o *Alert) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Alert) SetIdentifier

func (o *Alert) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Alert) SetNamespace

func (o *Alert) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Alert) SetUpdateTime

func (o *Alert) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Alert) SetZHash

func (o *Alert) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Alert) SetZone

func (o *Alert) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Alert) SpecificationForAttribute

func (*Alert) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Alert) String

func (o *Alert) String() string

func (*Alert) ToSparse

func (o *Alert) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Alert) Validate

func (o *Alert) Validate() error

Validate valides the current information stored into the structure.

func (*Alert) ValueForAttribute

func (o *Alert) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Alert) Version

func (o *Alert) Version() int

Version returns the hardcoded version of the model.

type AlertDefinition

type AlertDefinition struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// If set, how long until a subsequent alert notification can be raised.
	Cooldown string `json:"cooldown" msgpack:"cooldown" bson:"cooldown" mapstructure:"cooldown,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The description of the alert definition.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Friendly name of the object.
	FriendlyName string `json:"friendlyName" msgpack:"friendlyName" bson:"friendlyname" mapstructure:"friendlyName,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The message sent when notifying.
	Message string `json:"message" msgpack:"message" bson:"message" mapstructure:"message,omitempty"`

	// The internal reference name of the object. It is a sanitized version of Friendly
	// Name if empty.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// The severity of the alert event.
	Severity AlertDefinitionSeverityValue `json:"severity" msgpack:"severity" bson:"severity" mapstructure:"severity,omitempty"`

	// The sinks used to notify.
	Sinks []string `json:"sinks" msgpack:"sinks" bson:"sinks" mapstructure:"sinks,omitempty"`

	// If set, the criteria to trigger an alert notification.
	Trigger *AlertTrigger `json:"trigger,omitempty" msgpack:"trigger,omitempty" bson:"trigger,omitempty" mapstructure:"trigger,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AlertDefinition represents the model of a alertdefinition

func NewAlertDefinition

func NewAlertDefinition() *AlertDefinition

NewAlertDefinition returns a new *AlertDefinition

func (*AlertDefinition) AttributeSpecifications

func (*AlertDefinition) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AlertDefinition) BleveType

func (o *AlertDefinition) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AlertDefinition) DeepCopy

func (o *AlertDefinition) DeepCopy() *AlertDefinition

DeepCopy returns a deep copy if the AlertDefinition.

func (*AlertDefinition) DeepCopyInto

func (o *AlertDefinition) DeepCopyInto(out *AlertDefinition)

DeepCopyInto copies the receiver into the given *AlertDefinition.

func (*AlertDefinition) DefaultOrder

func (o *AlertDefinition) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AlertDefinition) Doc

func (o *AlertDefinition) Doc() string

Doc returns the documentation for the object

func (*AlertDefinition) GetBSON

func (o *AlertDefinition) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AlertDefinition) GetCreateTime

func (o *AlertDefinition) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AlertDefinition) GetImportHash

func (o *AlertDefinition) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*AlertDefinition) GetImportLabel

func (o *AlertDefinition) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*AlertDefinition) GetNamespace

func (o *AlertDefinition) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AlertDefinition) GetPropagate

func (o *AlertDefinition) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*AlertDefinition) GetUpdateTime

func (o *AlertDefinition) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AlertDefinition) GetZHash

func (o *AlertDefinition) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AlertDefinition) GetZone

func (o *AlertDefinition) GetZone() int

GetZone returns the Zone of the receiver.

func (*AlertDefinition) Identifier

func (o *AlertDefinition) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AlertDefinition) Identity

func (o *AlertDefinition) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AlertDefinition) Patch

func (o *AlertDefinition) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAlertDefinition to the object.

func (*AlertDefinition) SetBSON

func (o *AlertDefinition) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AlertDefinition) SetCreateTime

func (o *AlertDefinition) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AlertDefinition) SetIdentifier

func (o *AlertDefinition) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AlertDefinition) SetImportHash

func (o *AlertDefinition) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*AlertDefinition) SetImportLabel

func (o *AlertDefinition) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*AlertDefinition) SetNamespace

func (o *AlertDefinition) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AlertDefinition) SetPropagate

func (o *AlertDefinition) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*AlertDefinition) SetUpdateTime

func (o *AlertDefinition) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AlertDefinition) SetZHash

func (o *AlertDefinition) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AlertDefinition) SetZone

func (o *AlertDefinition) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AlertDefinition) SpecificationForAttribute

func (*AlertDefinition) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AlertDefinition) String

func (o *AlertDefinition) String() string

func (*AlertDefinition) ToSparse

func (o *AlertDefinition) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AlertDefinition) Validate

func (o *AlertDefinition) Validate() error

Validate valides the current information stored into the structure.

func (*AlertDefinition) ValueForAttribute

func (o *AlertDefinition) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AlertDefinition) Version

func (o *AlertDefinition) Version() int

Version returns the hardcoded version of the model.

type AlertDefinitionSeverityValue

type AlertDefinitionSeverityValue string

AlertDefinitionSeverityValue represents the possible values for attribute "severity".

const (
	// AlertDefinitionSeverityCritical represents the value Critical.
	AlertDefinitionSeverityCritical AlertDefinitionSeverityValue = "Critical"

	// AlertDefinitionSeverityInfo represents the value Info.
	AlertDefinitionSeverityInfo AlertDefinitionSeverityValue = "Info"

	// AlertDefinitionSeverityWarning represents the value Warning.
	AlertDefinitionSeverityWarning AlertDefinitionSeverityValue = "Warning"
)

type AlertDefinitionsList

type AlertDefinitionsList []*AlertDefinition

AlertDefinitionsList represents a list of AlertDefinitions

func (AlertDefinitionsList) Append

Append appends the objects to the a new copy of the AlertDefinitionsList.

func (AlertDefinitionsList) Copy

Copy returns a pointer to a copy the AlertDefinitionsList.

func (AlertDefinitionsList) DefaultOrder

func (o AlertDefinitionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AlertDefinitionsList) Identity

Identity returns the identity of the objects in the list.

func (AlertDefinitionsList) List

List converts the object to an elemental.IdentifiablesList.

func (AlertDefinitionsList) ToSparse

func (o AlertDefinitionsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AlertDefinitionsList converted to SparseAlertDefinitionsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AlertDefinitionsList) Version

func (o AlertDefinitionsList) Version() int

Version returns the version of the content.

type AlertEvent

type AlertEvent struct {
	// The name of the alert definition that triggered the alert event.
	AlertDefinition string `json:"alertDefinition" msgpack:"alertDefinition" bson:"-" mapstructure:"alertDefinition,omitempty"`

	// The namespace of the alert definition.
	AlertDefinitionNamespace string `json:"alertDefinitionNamespace" msgpack:"alertDefinitionNamespace" bson:"-" mapstructure:"alertDefinitionNamespace,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal" msgpack:"principal" bson:"principal" mapstructure:"principal,omitempty"`

	// The provider used that the alert came from.
	Provider string `json:"provider" msgpack:"provider" bson:"-" mapstructure:"provider,omitempty"`

	// When the alert event was raised.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AlertEvent represents the model of a alertevent

func NewAlertEvent

func NewAlertEvent() *AlertEvent

NewAlertEvent returns a new *AlertEvent

func (*AlertEvent) AttributeSpecifications

func (*AlertEvent) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AlertEvent) BleveType

func (o *AlertEvent) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AlertEvent) DeepCopy

func (o *AlertEvent) DeepCopy() *AlertEvent

DeepCopy returns a deep copy if the AlertEvent.

func (*AlertEvent) DeepCopyInto

func (o *AlertEvent) DeepCopyInto(out *AlertEvent)

DeepCopyInto copies the receiver into the given *AlertEvent.

func (*AlertEvent) GetBSON

func (o *AlertEvent) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AlertEvent) SetBSON

func (o *AlertEvent) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AlertEvent) SpecificationForAttribute

func (*AlertEvent) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AlertEvent) Validate

func (o *AlertEvent) Validate() error

Validate valides the current information stored into the structure.

func (*AlertEvent) ValueForAttribute

func (o *AlertEvent) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type AlertTrigger

type AlertTrigger struct {
	// What time window to look for an alert event.
	Interval string `json:"interval" msgpack:"interval" bson:"interval" mapstructure:"interval,omitempty"`

	// The number of times an alert event is seen to cause a trigger.
	Occurrences int `json:"occurrences" msgpack:"occurrences" bson:"occurrences" mapstructure:"occurrences,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AlertTrigger represents the model of a alerttrigger

func NewAlertTrigger

func NewAlertTrigger() *AlertTrigger

NewAlertTrigger returns a new *AlertTrigger

func (*AlertTrigger) AttributeSpecifications

func (*AlertTrigger) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AlertTrigger) BleveType

func (o *AlertTrigger) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AlertTrigger) DeepCopy

func (o *AlertTrigger) DeepCopy() *AlertTrigger

DeepCopy returns a deep copy if the AlertTrigger.

func (*AlertTrigger) DeepCopyInto

func (o *AlertTrigger) DeepCopyInto(out *AlertTrigger)

DeepCopyInto copies the receiver into the given *AlertTrigger.

func (*AlertTrigger) DefaultOrder

func (o *AlertTrigger) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AlertTrigger) Doc

func (o *AlertTrigger) Doc() string

Doc returns the documentation for the object

func (*AlertTrigger) GetBSON

func (o *AlertTrigger) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AlertTrigger) Identifier

func (o *AlertTrigger) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AlertTrigger) Identity

func (o *AlertTrigger) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AlertTrigger) Patch

func (o *AlertTrigger) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAlertTrigger to the object.

func (*AlertTrigger) SetBSON

func (o *AlertTrigger) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AlertTrigger) SetIdentifier

func (o *AlertTrigger) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AlertTrigger) SpecificationForAttribute

func (*AlertTrigger) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AlertTrigger) String

func (o *AlertTrigger) String() string

func (*AlertTrigger) ToSparse

func (o *AlertTrigger) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AlertTrigger) Validate

func (o *AlertTrigger) Validate() error

Validate valides the current information stored into the structure.

func (*AlertTrigger) ValueForAttribute

func (o *AlertTrigger) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AlertTrigger) Version

func (o *AlertTrigger) Version() int

Version returns the hardcoded version of the model.

type AlertTriggersList

type AlertTriggersList []*AlertTrigger

AlertTriggersList represents a list of AlertTriggers

func (AlertTriggersList) Append

Append appends the objects to the a new copy of the AlertTriggersList.

func (AlertTriggersList) Copy

Copy returns a pointer to a copy the AlertTriggersList.

func (AlertTriggersList) DefaultOrder

func (o AlertTriggersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AlertTriggersList) Identity

func (o AlertTriggersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AlertTriggersList) List

List converts the object to an elemental.IdentifiablesList.

func (AlertTriggersList) ToSparse

func (o AlertTriggersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AlertTriggersList converted to SparseAlertTriggersList. Objects in the list will only contain the given fields. No field means entire field set.

func (AlertTriggersList) Version

func (o AlertTriggersList) Version() int

Version returns the version of the content.

type AlertsList

type AlertsList []*Alert

AlertsList represents a list of Alerts

func (AlertsList) Append

Append appends the objects to the a new copy of the AlertsList.

func (AlertsList) Copy

Copy returns a pointer to a copy the AlertsList.

func (AlertsList) DefaultOrder

func (o AlertsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AlertsList) Identity

func (o AlertsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AlertsList) List

List converts the object to an elemental.IdentifiablesList.

func (AlertsList) ToSparse

func (o AlertsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AlertsList converted to SparseAlertsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AlertsList) Version

func (o AlertsList) Version() int

Version returns the version of the content.

type Analysis

type Analysis struct {
	// The list of analysis chained to this analyzer analysis.
	Analyses []*Analysis `json:"analyses,omitempty" msgpack:"analyses,omitempty" bson:"-" mapstructure:"analyses,omitempty"`

	// The ID of the analyzer.
	AnalyzerID string `json:"analyzerID" msgpack:"analyzerID" bson:"-" mapstructure:"analyzerID,omitempty"`

	// The list of detections the analyzer returned.
	Detections []*Detection `json:"detections,omitempty" msgpack:"detections,omitempty" bson:"-" mapstructure:"detections,omitempty"`

	// The time taken by the analyzer.
	Duration float64 `json:"duration,omitempty" msgpack:"duration,omitempty" bson:"-" mapstructure:"duration,omitempty"`

	// The reason the analyzer was skipped.
	SkippedReason string `json:"skippedReason,omitempty" msgpack:"skippedReason,omitempty" bson:"-" mapstructure:"skippedReason,omitempty"`

	// The detection slug the analyzer was triggered on.
	// A detection slug is the detection Group and Name separated with a /.
	Trigger string `json:"trigger" msgpack:"trigger" bson:"-" mapstructure:"trigger,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Analysis represents the model of a analysis

func NewAnalysis

func NewAnalysis() *Analysis

NewAnalysis returns a new *Analysis

func (*Analysis) AttributeSpecifications

func (*Analysis) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Analysis) BleveType

func (o *Analysis) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Analysis) DeepCopy

func (o *Analysis) DeepCopy() *Analysis

DeepCopy returns a deep copy if the Analysis.

func (*Analysis) DeepCopyInto

func (o *Analysis) DeepCopyInto(out *Analysis)

DeepCopyInto copies the receiver into the given *Analysis.

func (*Analysis) GetBSON

func (o *Analysis) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Analysis) SetBSON

func (o *Analysis) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Analysis) SpecificationForAttribute

func (*Analysis) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Analysis) Validate

func (o *Analysis) Validate() error

Validate valides the current information stored into the structure.

func (*Analysis) ValueForAttribute

func (o *Analysis) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type Analyzer

type Analyzer struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The description of the analyzer.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// The detectors the analyzer can use.
	Detectors []*Detector `json:"detectors,omitempty" msgpack:"detectors,omitempty" bson:"-" mapstructure:"detectors,omitempty"`

	// Tell if the analyzer is enabled by default.
	Enabled bool `json:"enabled" msgpack:"enabled" bson:"-" mapstructure:"enabled,omitempty"`

	// The group the analyzer belongs to.
	Group string `json:"group" msgpack:"group" bson:"-" mapstructure:"group,omitempty"`

	// The models used by the analyzer.
	Models []*AnalyzerModel `json:"models,omitempty" msgpack:"models,omitempty" bson:"-" mapstructure:"models,omitempty"`

	// The name of the analyzer.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A list of trigger or globl pattern that the analyzer will react on.
	// A trigger is the detector Group and Name separated with a /.
	Triggers []string `json:"triggers,omitempty" msgpack:"triggers,omitempty" bson:"-" mapstructure:"triggers,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Analyzer represents the model of a analyzer

func NewAnalyzer

func NewAnalyzer() *Analyzer

NewAnalyzer returns a new *Analyzer

func (*Analyzer) AttributeSpecifications

func (*Analyzer) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Analyzer) BleveType

func (o *Analyzer) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Analyzer) DeepCopy

func (o *Analyzer) DeepCopy() *Analyzer

DeepCopy returns a deep copy if the Analyzer.

func (*Analyzer) DeepCopyInto

func (o *Analyzer) DeepCopyInto(out *Analyzer)

DeepCopyInto copies the receiver into the given *Analyzer.

func (*Analyzer) DefaultOrder

func (o *Analyzer) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Analyzer) Doc

func (o *Analyzer) Doc() string

Doc returns the documentation for the object

func (*Analyzer) GetBSON

func (o *Analyzer) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Analyzer) GetNamespace

func (o *Analyzer) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Analyzer) Identifier

func (o *Analyzer) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Analyzer) Identity

func (o *Analyzer) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Analyzer) Patch

func (o *Analyzer) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAnalyzer to the object.

func (*Analyzer) SetBSON

func (o *Analyzer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Analyzer) SetIdentifier

func (o *Analyzer) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Analyzer) SetNamespace

func (o *Analyzer) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Analyzer) SpecificationForAttribute

func (*Analyzer) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Analyzer) String

func (o *Analyzer) String() string

func (*Analyzer) ToSparse

func (o *Analyzer) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Analyzer) Validate

func (o *Analyzer) Validate() error

Validate valides the current information stored into the structure.

func (*Analyzer) ValueForAttribute

func (o *Analyzer) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Analyzer) Version

func (o *Analyzer) Version() int

Version returns the hardcoded version of the model.

type AnalyzerModel

type AnalyzerModel struct {
	// The name of the model.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The revision of the model.
	Revision string `json:"revision" msgpack:"revision" bson:"-" mapstructure:"revision,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AnalyzerModel represents the model of a analyzermodel

func NewAnalyzerModel

func NewAnalyzerModel() *AnalyzerModel

NewAnalyzerModel returns a new *AnalyzerModel

func (*AnalyzerModel) AttributeSpecifications

func (*AnalyzerModel) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AnalyzerModel) BleveType

func (o *AnalyzerModel) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AnalyzerModel) DeepCopy

func (o *AnalyzerModel) DeepCopy() *AnalyzerModel

DeepCopy returns a deep copy if the AnalyzerModel.

func (*AnalyzerModel) DeepCopyInto

func (o *AnalyzerModel) DeepCopyInto(out *AnalyzerModel)

DeepCopyInto copies the receiver into the given *AnalyzerModel.

func (*AnalyzerModel) GetBSON

func (o *AnalyzerModel) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AnalyzerModel) SetBSON

func (o *AnalyzerModel) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AnalyzerModel) SpecificationForAttribute

func (*AnalyzerModel) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AnalyzerModel) Validate

func (o *AnalyzerModel) Validate() error

Validate valides the current information stored into the structure.

func (*AnalyzerModel) ValueForAttribute

func (o *AnalyzerModel) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type AnalyzersList

type AnalyzersList []*Analyzer

AnalyzersList represents a list of Analyzers

func (AnalyzersList) Append

Append appends the objects to the a new copy of the AnalyzersList.

func (AnalyzersList) Copy

Copy returns a pointer to a copy the AnalyzersList.

func (AnalyzersList) DefaultOrder

func (o AnalyzersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AnalyzersList) Identity

func (o AnalyzersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AnalyzersList) List

List converts the object to an elemental.IdentifiablesList.

func (AnalyzersList) ToSparse

func (o AnalyzersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AnalyzersList converted to SparseAnalyzersList. Objects in the list will only contain the given fields. No field means entire field set.

func (AnalyzersList) Version

func (o AnalyzersList) Version() int

Version returns the version of the content.

type App

type App struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The description of the App.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The name of the App.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A tag expression that identify an application based on downstream labels.
	Selector [][]string `json:"selector" msgpack:"selector" bson:"selector" mapstructure:"selector,omitempty"`

	// Only bearers with claims matching the subject will be allowed to access the
	// apptier tokens.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// List of tiers for the application.
	Tiers AppTiersList `json:"tiers" msgpack:"tiers" bson:"tiers" mapstructure:"tiers,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

App represents the model of a app

func NewApp

func NewApp() *App

NewApp returns a new *App

func (*App) AttributeSpecifications

func (*App) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*App) BleveType

func (o *App) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*App) DeepCopy

func (o *App) DeepCopy() *App

DeepCopy returns a deep copy if the App.

func (*App) DeepCopyInto

func (o *App) DeepCopyInto(out *App)

DeepCopyInto copies the receiver into the given *App.

func (*App) DefaultOrder

func (o *App) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*App) Doc

func (o *App) Doc() string

Doc returns the documentation for the object

func (*App) GetBSON

func (o *App) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*App) GetCreateTime

func (o *App) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*App) GetImportHash

func (o *App) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*App) GetImportLabel

func (o *App) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*App) GetNamespace

func (o *App) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*App) GetUpdateTime

func (o *App) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*App) GetZHash

func (o *App) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*App) GetZone

func (o *App) GetZone() int

GetZone returns the Zone of the receiver.

func (*App) Identifier

func (o *App) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*App) Identity

func (o *App) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*App) Patch

func (o *App) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseApp to the object.

func (*App) SetBSON

func (o *App) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*App) SetCreateTime

func (o *App) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*App) SetIdentifier

func (o *App) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*App) SetImportHash

func (o *App) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*App) SetImportLabel

func (o *App) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*App) SetNamespace

func (o *App) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*App) SetUpdateTime

func (o *App) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*App) SetZHash

func (o *App) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*App) SetZone

func (o *App) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*App) SpecificationForAttribute

func (*App) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*App) String

func (o *App) String() string

func (*App) ToSparse

func (o *App) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*App) Validate

func (o *App) Validate() error

Validate valides the current information stored into the structure.

func (*App) ValueForAttribute

func (o *App) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*App) Version

func (o *App) Version() int

Version returns the hardcoded version of the model.

type AppTier

type AppTier struct {
	// The hostname.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// A tag expression that identify an application tier based on downstream labels.
	Selector [][]string `json:"selector,omitempty" msgpack:"selector,omitempty" bson:"selector,omitempty" mapstructure:"selector,omitempty"`

	// The token for the current tier. Only populated by the backend when the caller's
	// claim match the parents app.subject.
	Token string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AppTier represents the model of a apptier

func NewAppTier

func NewAppTier() *AppTier

NewAppTier returns a new *AppTier

func (*AppTier) AttributeSpecifications

func (*AppTier) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AppTier) BleveType

func (o *AppTier) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AppTier) DeepCopy

func (o *AppTier) DeepCopy() *AppTier

DeepCopy returns a deep copy if the AppTier.

func (*AppTier) DeepCopyInto

func (o *AppTier) DeepCopyInto(out *AppTier)

DeepCopyInto copies the receiver into the given *AppTier.

func (*AppTier) DefaultOrder

func (o *AppTier) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AppTier) Doc

func (o *AppTier) Doc() string

Doc returns the documentation for the object

func (*AppTier) GetBSON

func (o *AppTier) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AppTier) Identifier

func (o *AppTier) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AppTier) Identity

func (o *AppTier) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AppTier) Patch

func (o *AppTier) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAppTier to the object.

func (*AppTier) SetBSON

func (o *AppTier) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AppTier) SetIdentifier

func (o *AppTier) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AppTier) SpecificationForAttribute

func (*AppTier) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AppTier) String

func (o *AppTier) String() string

func (*AppTier) ToSparse

func (o *AppTier) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AppTier) Validate

func (o *AppTier) Validate() error

Validate valides the current information stored into the structure.

func (*AppTier) ValueForAttribute

func (o *AppTier) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AppTier) Version

func (o *AppTier) Version() int

Version returns the hardcoded version of the model.

type AppTiersList

type AppTiersList []*AppTier

AppTiersList represents a list of AppTiers

func (AppTiersList) Append

Append appends the objects to the a new copy of the AppTiersList.

func (AppTiersList) Copy

Copy returns a pointer to a copy the AppTiersList.

func (AppTiersList) DefaultOrder

func (o AppTiersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AppTiersList) Identity

func (o AppTiersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AppTiersList) List

List converts the object to an elemental.IdentifiablesList.

func (AppTiersList) ToSparse

func (o AppTiersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AppTiersList converted to SparseAppTiersList. Objects in the list will only contain the given fields. No field means entire field set.

func (AppTiersList) Version

func (o AppTiersList) Version() int

Version returns the version of the content.

type AppToken

type AppToken struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The list of claims delivered in the token.
	Claims []string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The email of the user who requested the token.
	Email string `json:"email" msgpack:"email" bson:"email" mapstructure:"email,omitempty"`

	// Tells when the token will expire.
	ExpirationDate time.Time `json:"expirationDate" msgpack:"expirationDate" bson:"expirationdate" mapstructure:"expirationDate,omitempty"`

	// The optional machine ID of the token. This is used to easily retrieve the tokens
	// issued for a particular machine.
	MachineID string `json:"machineID" msgpack:"machineID" bson:"machineid" mapstructure:"machineID,omitempty"`

	// Name of the token is specified while creating the token.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The source IP of the request that initiated the creation of the token.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"sourceip" mapstructure:"sourceIP,omitempty"`

	// The generated token. It won't be stored.
	Token string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// The ID of the associated token.
	TokenID string `json:"tokenID" msgpack:"tokenID" bson:"tokenid" mapstructure:"tokenID,omitempty"`

	// If true, the token will not be stored and will only be revocable if you keep
	// track of the token ID yourself. Also, the validity will be capped and the token
	// won't be long lived.
	Transient bool `json:"transient,omitempty" msgpack:"transient,omitempty" bson:"transient,omitempty" mapstructure:"transient,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Configures the validity of the token.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AppToken represents the model of a apptoken

func NewAppToken

func NewAppToken() *AppToken

NewAppToken returns a new *AppToken

func (*AppToken) AttributeSpecifications

func (*AppToken) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AppToken) BleveType

func (o *AppToken) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AppToken) DeepCopy

func (o *AppToken) DeepCopy() *AppToken

DeepCopy returns a deep copy if the AppToken.

func (*AppToken) DeepCopyInto

func (o *AppToken) DeepCopyInto(out *AppToken)

DeepCopyInto copies the receiver into the given *AppToken.

func (*AppToken) DefaultOrder

func (o *AppToken) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AppToken) Doc

func (o *AppToken) Doc() string

Doc returns the documentation for the object

func (*AppToken) GetBSON

func (o *AppToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AppToken) GetCreateTime

func (o *AppToken) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AppToken) GetNamespace

func (o *AppToken) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AppToken) GetUpdateTime

func (o *AppToken) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AppToken) GetZHash

func (o *AppToken) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AppToken) GetZone

func (o *AppToken) GetZone() int

GetZone returns the Zone of the receiver.

func (*AppToken) Identifier

func (o *AppToken) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AppToken) Identity

func (o *AppToken) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AppToken) Patch

func (o *AppToken) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAppToken to the object.

func (*AppToken) SetBSON

func (o *AppToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AppToken) SetCreateTime

func (o *AppToken) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AppToken) SetIdentifier

func (o *AppToken) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AppToken) SetNamespace

func (o *AppToken) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AppToken) SetUpdateTime

func (o *AppToken) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AppToken) SetZHash

func (o *AppToken) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AppToken) SetZone

func (o *AppToken) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AppToken) SpecificationForAttribute

func (*AppToken) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AppToken) String

func (o *AppToken) String() string

func (*AppToken) ToSparse

func (o *AppToken) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AppToken) Validate

func (o *AppToken) Validate() error

Validate valides the current information stored into the structure.

func (*AppToken) ValueForAttribute

func (o *AppToken) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AppToken) Version

func (o *AppToken) Version() int

Version returns the hardcoded version of the model.

type AppTokensList

type AppTokensList []*AppToken

AppTokensList represents a list of AppTokens

func (AppTokensList) Append

Append appends the objects to the a new copy of the AppTokensList.

func (AppTokensList) Copy

Copy returns a pointer to a copy the AppTokensList.

func (AppTokensList) DefaultOrder

func (o AppTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AppTokensList) Identity

func (o AppTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AppTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (AppTokensList) ToSparse

func (o AppTokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AppTokensList converted to SparseAppTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (AppTokensList) Version

func (o AppTokensList) Version() int

Version returns the version of the content.

type AppsList

type AppsList []*App

AppsList represents a list of Apps

func (AppsList) Append

func (o AppsList) Append(objects ...elemental.Identifiable) elemental.Identifiables

Append appends the objects to the a new copy of the AppsList.

func (AppsList) Copy

func (o AppsList) Copy() elemental.Identifiables

Copy returns a pointer to a copy the AppsList.

func (AppsList) DefaultOrder

func (o AppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AppsList) Identity

func (o AppsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AppsList) List

List converts the object to an elemental.IdentifiablesList.

func (AppsList) ToSparse

func (o AppsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AppsList converted to SparseAppsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AppsList) Version

func (o AppsList) Version() int

Version returns the version of the content.

type AuthSettings

type AuthSettings struct {
	// The name of the source.
	SourceName string `json:"sourceName" msgpack:"sourceName" bson:"-" mapstructure:"sourceName,omitempty"`

	// The type of source.
	SourceType AuthSettingsSourceTypeValue `json:"sourceType" msgpack:"sourceType" bson:"-" mapstructure:"sourceType,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AuthSettings represents the model of a authsettings

func NewAuthSettings

func NewAuthSettings() *AuthSettings

NewAuthSettings returns a new *AuthSettings

func (*AuthSettings) AttributeSpecifications

func (*AuthSettings) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AuthSettings) BleveType

func (o *AuthSettings) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AuthSettings) DeepCopy

func (o *AuthSettings) DeepCopy() *AuthSettings

DeepCopy returns a deep copy if the AuthSettings.

func (*AuthSettings) DeepCopyInto

func (o *AuthSettings) DeepCopyInto(out *AuthSettings)

DeepCopyInto copies the receiver into the given *AuthSettings.

func (*AuthSettings) DefaultOrder

func (o *AuthSettings) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AuthSettings) Doc

func (o *AuthSettings) Doc() string

Doc returns the documentation for the object

func (*AuthSettings) GetBSON

func (o *AuthSettings) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuthSettings) Identifier

func (o *AuthSettings) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AuthSettings) Identity

func (o *AuthSettings) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AuthSettings) Patch

func (o *AuthSettings) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAuthSettings to the object.

func (*AuthSettings) SetBSON

func (o *AuthSettings) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuthSettings) SetIdentifier

func (o *AuthSettings) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AuthSettings) SpecificationForAttribute

func (*AuthSettings) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AuthSettings) String

func (o *AuthSettings) String() string

func (*AuthSettings) ToSparse

func (o *AuthSettings) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AuthSettings) Validate

func (o *AuthSettings) Validate() error

Validate valides the current information stored into the structure.

func (*AuthSettings) ValueForAttribute

func (o *AuthSettings) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*AuthSettings) Version

func (o *AuthSettings) Version() int

Version returns the hardcoded version of the model.

type AuthSettingsList

type AuthSettingsList []*AuthSettings

AuthSettingsList represents a list of AuthSettings

func (AuthSettingsList) Append

Append appends the objects to the a new copy of the AuthSettingsList.

func (AuthSettingsList) Copy

Copy returns a pointer to a copy the AuthSettingsList.

func (AuthSettingsList) DefaultOrder

func (o AuthSettingsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuthSettingsList) Identity

func (o AuthSettingsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuthSettingsList) List

List converts the object to an elemental.IdentifiablesList.

func (AuthSettingsList) ToSparse

func (o AuthSettingsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AuthSettingsList converted to SparseAuthSettingsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AuthSettingsList) Version

func (o AuthSettingsList) Version() int

Version returns the version of the content.

type AuthSettingsSourceTypeValue

type AuthSettingsSourceTypeValue string

AuthSettingsSourceTypeValue represents the possible values for attribute "sourceType".

const (
	// AuthSettingsSourceTypeOAuth2 represents the value OAuth2.
	AuthSettingsSourceTypeOAuth2 AuthSettingsSourceTypeValue = "OAuth2"

	// AuthSettingsSourceTypeOIDC represents the value OIDC.
	AuthSettingsSourceTypeOIDC AuthSettingsSourceTypeValue = "OIDC"

	// AuthSettingsSourceTypeSAML represents the value SAML.
	AuthSettingsSourceTypeSAML AuthSettingsSourceTypeValue = "SAML"
)

type ContentPoliciesList

type ContentPoliciesList []*ContentPolicy

ContentPoliciesList represents a list of ContentPolicies

func (ContentPoliciesList) Append

Append appends the objects to the a new copy of the ContentPoliciesList.

func (ContentPoliciesList) Copy

Copy returns a pointer to a copy the ContentPoliciesList.

func (ContentPoliciesList) DefaultOrder

func (o ContentPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ContentPoliciesList) Identity

func (o ContentPoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ContentPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (ContentPoliciesList) ToSparse

func (o ContentPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ContentPoliciesList converted to SparseContentPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ContentPoliciesList) Version

func (o ContentPoliciesList) Version() int

Version returns the version of the content.

type ContentPolicy

type ContentPolicy struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the content policy.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Friendly name of the object.
	FriendlyName string `json:"friendlyName" msgpack:"friendlyName" bson:"friendlyname" mapstructure:"friendlyName,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The list of moderations to take when the user has access to the provider.
	Moderations []*Moderation `json:"moderations" msgpack:"moderations" bson:"moderations" mapstructure:"moderations,omitempty"`

	// The internal reference name of the object. It is a sanitized version of Friendly
	// Name if empty.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ContentPolicy represents the model of a contentpolicy

func NewContentPolicy

func NewContentPolicy() *ContentPolicy

NewContentPolicy returns a new *ContentPolicy

func (*ContentPolicy) AttributeSpecifications

func (*ContentPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ContentPolicy) BleveType

func (o *ContentPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ContentPolicy) DeepCopy

func (o *ContentPolicy) DeepCopy() *ContentPolicy

DeepCopy returns a deep copy if the ContentPolicy.

func (*ContentPolicy) DeepCopyInto

func (o *ContentPolicy) DeepCopyInto(out *ContentPolicy)

DeepCopyInto copies the receiver into the given *ContentPolicy.

func (*ContentPolicy) DefaultOrder

func (o *ContentPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ContentPolicy) Doc

func (o *ContentPolicy) Doc() string

Doc returns the documentation for the object

func (*ContentPolicy) GetBSON

func (o *ContentPolicy) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ContentPolicy) GetCreateTime

func (o *ContentPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ContentPolicy) GetImportHash

func (o *ContentPolicy) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*ContentPolicy) GetImportLabel

func (o *ContentPolicy) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*ContentPolicy) GetNamespace

func (o *ContentPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ContentPolicy) GetPropagate

func (o *ContentPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*ContentPolicy) GetUpdateTime

func (o *ContentPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ContentPolicy) GetZHash

func (o *ContentPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ContentPolicy) GetZone

func (o *ContentPolicy) GetZone() int

GetZone returns the Zone of the receiver.

func (*ContentPolicy) Identifier

func (o *ContentPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ContentPolicy) Identity

func (o *ContentPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ContentPolicy) Patch

func (o *ContentPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseContentPolicy to the object.

func (*ContentPolicy) SetBSON

func (o *ContentPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ContentPolicy) SetCreateTime

func (o *ContentPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ContentPolicy) SetIdentifier

func (o *ContentPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ContentPolicy) SetImportHash

func (o *ContentPolicy) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*ContentPolicy) SetImportLabel

func (o *ContentPolicy) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*ContentPolicy) SetNamespace

func (o *ContentPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ContentPolicy) SetPropagate

func (o *ContentPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*ContentPolicy) SetUpdateTime

func (o *ContentPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ContentPolicy) SetZHash

func (o *ContentPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ContentPolicy) SetZone

func (o *ContentPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ContentPolicy) SpecificationForAttribute

func (*ContentPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ContentPolicy) String

func (o *ContentPolicy) String() string

func (*ContentPolicy) ToSparse

func (o *ContentPolicy) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ContentPolicy) Validate

func (o *ContentPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*ContentPolicy) ValueForAttribute

func (o *ContentPolicy) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ContentPolicy) Version

func (o *ContentPolicy) Version() int

Version returns the hardcoded version of the model.

type Detection

type Detection struct {
	// The confidence level of the detection.
	Confidence DetectionConfidenceValue `json:"confidence" msgpack:"confidence" bson:"-" mapstructure:"confidence,omitempty"`

	// The description of the detection.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// The end position of the poisitional detection.
	End int `json:"end" msgpack:"end" bson:"-" mapstructure:"end,omitempty"`

	// The group the detection belongs to.
	Group string `json:"group" msgpack:"group" bson:"-" mapstructure:"group,omitempty"`

	// The label returned by the model.
	Label string `json:"label" msgpack:"label" bson:"-" mapstructure:"label,omitempty"`

	// The name of the detection.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// Tell if the detection is positional.
	Positional bool `json:"positional" msgpack:"positional" bson:"-" mapstructure:"positional,omitempty"`

	// The score of the detection.
	Score float64 `json:"score" msgpack:"score" bson:"-" mapstructure:"score,omitempty"`

	// The start position of the poisitional detection.
	Start int `json:"start" msgpack:"start" bson:"-" mapstructure:"start,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Detection represents the model of a detection

func NewDetection

func NewDetection() *Detection

NewDetection returns a new *Detection

func (*Detection) AttributeSpecifications

func (*Detection) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Detection) BleveType

func (o *Detection) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Detection) DeepCopy

func (o *Detection) DeepCopy() *Detection

DeepCopy returns a deep copy if the Detection.

func (*Detection) DeepCopyInto

func (o *Detection) DeepCopyInto(out *Detection)

DeepCopyInto copies the receiver into the given *Detection.

func (*Detection) GetBSON

func (o *Detection) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Detection) SetBSON

func (o *Detection) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Detection) SpecificationForAttribute

func (*Detection) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Detection) Validate

func (o *Detection) Validate() error

Validate valides the current information stored into the structure.

func (*Detection) ValueForAttribute

func (o *Detection) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type DetectionConfidenceValue

type DetectionConfidenceValue string

DetectionConfidenceValue represents the possible values for attribute "confidence".

const (
	// DetectionConfidenceHigh represents the value High.
	DetectionConfidenceHigh DetectionConfidenceValue = "High"

	// DetectionConfidenceLow represents the value Low.
	DetectionConfidenceLow DetectionConfidenceValue = "Low"

	// DetectionConfidenceMedium represents the value Medium.
	DetectionConfidenceMedium DetectionConfidenceValue = "Medium"
)

type Detector

type Detector struct {
	// The description of the detection.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// The group the detection belongs to.
	Group string `json:"group" msgpack:"group" bson:"-" mapstructure:"group,omitempty"`

	// The label returned by the model.
	Label string `json:"label" msgpack:"label" bson:"-" mapstructure:"label,omitempty"`

	// The name of the detection.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// Tell if the detection is positional.
	Positional bool `json:"positional" msgpack:"positional" bson:"-" mapstructure:"positional,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Detector represents the model of a detector

func NewDetector

func NewDetector() *Detector

NewDetector returns a new *Detector

func (*Detector) AttributeSpecifications

func (*Detector) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Detector) BleveType

func (o *Detector) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Detector) DeepCopy

func (o *Detector) DeepCopy() *Detector

DeepCopy returns a deep copy if the Detector.

func (*Detector) DeepCopyInto

func (o *Detector) DeepCopyInto(out *Detector)

DeepCopyInto copies the receiver into the given *Detector.

func (*Detector) GetBSON

func (o *Detector) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Detector) SetBSON

func (o *Detector) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Detector) SpecificationForAttribute

func (*Detector) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Detector) Validate

func (o *Detector) Validate() error

Validate valides the current information stored into the structure.

func (*Detector) ValueForAttribute

func (o *Detector) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type DomainHits

type DomainHits struct {
	// The name of the application that the domain belongs to.
	App string `json:"app,omitempty" msgpack:"app,omitempty" bson:"app,omitempty" mapstructure:"app,omitempty"`

	// Domain that has been visited.
	Domain string `json:"domain" msgpack:"domain" bson:"-" mapstructure:"domain,omitempty"`

	// The number of hits for this report.
	Hits int `json:"hits" msgpack:"hits" bson:"-" mapstructure:"hits,omitempty"`

	// Suspicious is true if the service might be a Shadow AI.
	Suspicious bool `json:"suspicious" msgpack:"suspicious" bson:"-" mapstructure:"suspicious,omitempty"`

	// The tier of the application that the domain belongs to.
	Tier string `json:"tier,omitempty" msgpack:"tier,omitempty" bson:"tier,omitempty" mapstructure:"tier,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DomainHits represents the model of a domainhits

func NewDomainHits

func NewDomainHits() *DomainHits

NewDomainHits returns a new *DomainHits

func (*DomainHits) AttributeSpecifications

func (*DomainHits) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DomainHits) BleveType

func (o *DomainHits) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DomainHits) DeepCopy

func (o *DomainHits) DeepCopy() *DomainHits

DeepCopy returns a deep copy if the DomainHits.

func (*DomainHits) DeepCopyInto

func (o *DomainHits) DeepCopyInto(out *DomainHits)

DeepCopyInto copies the receiver into the given *DomainHits.

func (*DomainHits) GetBSON

func (o *DomainHits) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DomainHits) SetBSON

func (o *DomainHits) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DomainHits) SpecificationForAttribute

func (*DomainHits) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DomainHits) Validate

func (o *DomainHits) Validate() error

Validate valides the current information stored into the structure.

func (*DomainHits) ValueForAttribute

func (o *DomainHits) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type Email

type Email struct {
	// The list of email recipients to set for the BCC field.
	BCC []string `json:"BCC,omitempty" msgpack:"BCC,omitempty" bson:"-" mapstructure:"BCC,omitempty"`

	// The list of email recipients to set for the CC field.
	CC []string `json:"CC,omitempty" msgpack:"CC,omitempty" bson:"-" mapstructure:"CC,omitempty"`

	// The attachment(s) to send with the email.
	Attachments map[string][]byte `json:"attachments,omitempty" msgpack:"attachments,omitempty" bson:"-" mapstructure:"attachments,omitempty"`

	// The body of the email.
	Body string `json:"body" msgpack:"body" bson:"-" mapstructure:"body,omitempty"`

	// The type of content being sent.
	ContentType EmailContentTypeValue `json:"contentType" msgpack:"contentType" bson:"-" mapstructure:"contentType,omitempty"`

	// If set, the email to set for the From field.
	From string `json:"from,omitempty" msgpack:"from,omitempty" bson:"-" mapstructure:"from,omitempty"`

	// The subject of the email.
	Subject string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// The list of email recipients to set for the To field.
	To []string `json:"to" msgpack:"to" bson:"-" mapstructure:"to,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Email represents the model of a email

func NewEmail

func NewEmail() *Email

NewEmail returns a new *Email

func (*Email) AttributeSpecifications

func (*Email) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Email) BleveType

func (o *Email) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Email) DeepCopy

func (o *Email) DeepCopy() *Email

DeepCopy returns a deep copy if the Email.

func (*Email) DeepCopyInto

func (o *Email) DeepCopyInto(out *Email)

DeepCopyInto copies the receiver into the given *Email.

func (*Email) DefaultOrder

func (o *Email) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Email) Doc

func (o *Email) Doc() string

Doc returns the documentation for the object

func (*Email) GetBSON

func (o *Email) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Email) Identifier

func (o *Email) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Email) Identity

func (o *Email) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Email) Patch

func (o *Email) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEmail to the object.

func (*Email) SetBSON

func (o *Email) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Email) SetIdentifier

func (o *Email) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Email) SpecificationForAttribute

func (*Email) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Email) String

func (o *Email) String() string

func (*Email) ToSparse

func (o *Email) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Email) Validate

func (o *Email) Validate() error

Validate valides the current information stored into the structure.

func (*Email) ValueForAttribute

func (o *Email) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Email) Version

func (o *Email) Version() int

Version returns the hardcoded version of the model.

type EmailContentTypeValue

type EmailContentTypeValue string

EmailContentTypeValue represents the possible values for attribute "contentType".

const (
	// EmailContentTypeHTML represents the value HTML.
	EmailContentTypeHTML EmailContentTypeValue = "HTML"

	// EmailContentTypeText represents the value Text.
	EmailContentTypeText EmailContentTypeValue = "Text"
)

type EmailsList

type EmailsList []*Email

EmailsList represents a list of Emails

func (EmailsList) Append

Append appends the objects to the a new copy of the EmailsList.

func (EmailsList) Copy

Copy returns a pointer to a copy the EmailsList.

func (EmailsList) DefaultOrder

func (o EmailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EmailsList) Identity

func (o EmailsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (EmailsList) List

List converts the object to an elemental.IdentifiablesList.

func (EmailsList) ToSparse

func (o EmailsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EmailsList converted to SparseEmailsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EmailsList) Version

func (o EmailsList) Version() int

Version returns the version of the content.

type ErrorTransformer

type ErrorTransformer struct {
	// The Content-Type to use when returning a formatted error.
	ContentType string `json:"contentType" msgpack:"contentType" bson:"contenttype" mapstructure:"contentType,omitempty"`

	// HTTP status code to return, instead of the classical one.
	StatusCode int `json:"statusCode" msgpack:"statusCode" bson:"statuscode" mapstructure:"statusCode,omitempty"`

	// Go template to process and transform the error. The delimiters
	// are << and >> to prevent collision with acuctl templating.
	// The template will be passed the following informations:
	//
	// - `.Messages`: a list of string containing the messages to return.
	// - `.Code`: The original status code.
	// - `.TransformedCode`: The transformed status code.
	// - `.Action`: The policy decision action (ask or deny).
	//
	// All the sprig text function are available.
	Template string `json:"template" msgpack:"template" bson:"template" mapstructure:"template,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ErrorTransformer represents the model of a errortransformer

func NewErrorTransformer

func NewErrorTransformer() *ErrorTransformer

NewErrorTransformer returns a new *ErrorTransformer

func (*ErrorTransformer) AttributeSpecifications

func (*ErrorTransformer) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ErrorTransformer) BleveType

func (o *ErrorTransformer) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ErrorTransformer) DeepCopy

func (o *ErrorTransformer) DeepCopy() *ErrorTransformer

DeepCopy returns a deep copy if the ErrorTransformer.

func (*ErrorTransformer) DeepCopyInto

func (o *ErrorTransformer) DeepCopyInto(out *ErrorTransformer)

DeepCopyInto copies the receiver into the given *ErrorTransformer.

func (*ErrorTransformer) DefaultOrder

func (o *ErrorTransformer) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ErrorTransformer) Doc

func (o *ErrorTransformer) Doc() string

Doc returns the documentation for the object

func (*ErrorTransformer) GetBSON

func (o *ErrorTransformer) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ErrorTransformer) Identifier

func (o *ErrorTransformer) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ErrorTransformer) Identity

func (o *ErrorTransformer) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ErrorTransformer) Patch

Patch apply the non nil value of a *SparseErrorTransformer to the object.

func (*ErrorTransformer) SetBSON

func (o *ErrorTransformer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ErrorTransformer) SetIdentifier

func (o *ErrorTransformer) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ErrorTransformer) SpecificationForAttribute

func (*ErrorTransformer) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ErrorTransformer) String

func (o *ErrorTransformer) String() string

func (*ErrorTransformer) ToSparse

func (o *ErrorTransformer) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ErrorTransformer) Validate

func (o *ErrorTransformer) Validate() error

Validate valides the current information stored into the structure.

func (*ErrorTransformer) ValueForAttribute

func (o *ErrorTransformer) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ErrorTransformer) Version

func (o *ErrorTransformer) Version() int

Version returns the hardcoded version of the model.

type ErrorTransformersList

type ErrorTransformersList []*ErrorTransformer

ErrorTransformersList represents a list of ErrorTransformers

func (ErrorTransformersList) Append

Append appends the objects to the a new copy of the ErrorTransformersList.

func (ErrorTransformersList) Copy

Copy returns a pointer to a copy the ErrorTransformersList.

func (ErrorTransformersList) DefaultOrder

func (o ErrorTransformersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ErrorTransformersList) Identity

Identity returns the identity of the objects in the list.

func (ErrorTransformersList) List

List converts the object to an elemental.IdentifiablesList.

func (ErrorTransformersList) ToSparse

func (o ErrorTransformersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ErrorTransformersList converted to SparseErrorTransformersList. Objects in the list will only contain the given fields. No field means entire field set.

func (ErrorTransformersList) Version

func (o ErrorTransformersList) Version() int

Version returns the version of the content.

type Extraction

type Extraction struct {
	// The PIIs found during classification.
	PIIs map[string]float64 `json:"PIIs,omitempty" msgpack:"PIIs,omitempty" bson:"piis,omitempty" mapstructure:"PIIs,omitempty"`

	// Annotations attached to the extraction.
	Annotations map[string]string `` /* 126-byte string literal not displayed */

	// The categories are remapping of the modalities in a more human friendly way.
	Categories []Modality `json:"categories,omitempty" msgpack:"categories,omitempty" bson:"categories,omitempty" mapstructure:"categories,omitempty"`

	// The level of general confidentiality of the input.
	Confidentiality float64 `` /* 142-byte string literal not displayed */

	// The data extracted.
	Data string `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// The detections found while applying policies.
	Detections []*TextualDetection `json:"detections,omitempty" msgpack:"detections,omitempty" bson:"detections,omitempty" mapstructure:"detections,omitempty"`

	// The various exploits attempts.
	Exploits map[string]float64 `json:"exploits,omitempty" msgpack:"exploits,omitempty" bson:"exploits,omitempty" mapstructure:"exploits,omitempty"`

	// The hash of the extraction.
	Hash string `json:"hash,omitempty" msgpack:"hash,omitempty" bson:"hash,omitempty" mapstructure:"hash,omitempty"`

	// The estimated intent embodied into the text.
	Intent map[string]float64 `json:"intent,omitempty" msgpack:"intent,omitempty" bson:"intent,omitempty" mapstructure:"intent,omitempty"`

	// If true, this extraction is for internal use only. This can be used by agentic
	// systems to mark an extraction as internal only as opposed to user facing.
	Internal bool `json:"internal,omitempty" msgpack:"internal,omitempty" bson:"internal,omitempty" mapstructure:"internal,omitempty"`

	// If true, the data of the extraction is a file.
	IsFile bool `json:"isFile,omitempty" msgpack:"isFile,omitempty" bson:"isfile,omitempty" mapstructure:"isFile,omitempty"`

	// If true, indicates that the file has been stored.
	IsStored bool `json:"isStored,omitempty" msgpack:"isStored,omitempty" bson:"isstored,omitempty" mapstructure:"isStored,omitempty"`

	// The keywords found during classification.
	Keywords map[string]float64 `json:"keywords,omitempty" msgpack:"keywords,omitempty" bson:"keywords,omitempty" mapstructure:"keywords,omitempty"`

	// A means of distinguishing what was extracted, such as prompt, input file or
	// code.
	Label string `json:"label,omitempty" msgpack:"label,omitempty" bson:"label,omitempty" mapstructure:"label,omitempty"`

	// The language of the classification.
	Languages map[string]float64 `json:"languages,omitempty" msgpack:"languages,omitempty" bson:"languages,omitempty" mapstructure:"languages,omitempty"`

	// An internal field for lua code. it is ignored by the API.
	LuaID string `json:"luaID,omitempty" msgpack:"luaID,omitempty" bson:"-" mapstructure:"luaID,omitempty"`

	// The modalities of data detected in the data.
	Modalities []Modality `json:"modalities,omitempty" msgpack:"modalities,omitempty" bson:"modalities,omitempty" mapstructure:"modalities,omitempty"`

	// This is an internal field and has no api meaning.
	OriginalData string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// The level of general organization relevance of the input.
	Relevance float64 `json:"relevance,omitempty" msgpack:"relevance,omitempty" bson:"relevance,omitempty" mapstructure:"relevance,omitempty"`

	// The secrets found during classification.
	Secrets map[string]float64 `json:"secrets,omitempty" msgpack:"secrets,omitempty" bson:"secrets,omitempty" mapstructure:"secrets,omitempty"`

	// The topic of the classification.
	Topics map[string]float64 `json:"topics,omitempty" msgpack:"topics,omitempty" bson:"topics,omitempty" mapstructure:"topics,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Extraction represents the model of a extraction

func NewExtraction

func NewExtraction() *Extraction

NewExtraction returns a new *Extraction

func (*Extraction) AttributeSpecifications

func (*Extraction) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Extraction) BleveType

func (o *Extraction) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Extraction) DeepCopy

func (o *Extraction) DeepCopy() *Extraction

DeepCopy returns a deep copy if the Extraction.

func (*Extraction) DeepCopyInto

func (o *Extraction) DeepCopyInto(out *Extraction)

DeepCopyInto copies the receiver into the given *Extraction.

func (*Extraction) GetBSON

func (o *Extraction) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Extraction) SetBSON

func (o *Extraction) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Extraction) SpecificationForAttribute

func (*Extraction) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Extraction) Validate

func (o *Extraction) Validate() error

Validate valides the current information stored into the structure.

func (*Extraction) ValueForAttribute

func (o *Extraction) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type ExtractionInformation

type ExtractionInformation struct {
	// The number of times it has been seen.
	N int `json:"n,omitempty" msgpack:"n,omitempty" bson:"-" mapstructure:"n,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ExtractionInformation represents the model of a extractioninformation

func NewExtractionInformation

func NewExtractionInformation() *ExtractionInformation

NewExtractionInformation returns a new *ExtractionInformation

func (*ExtractionInformation) AttributeSpecifications

func (*ExtractionInformation) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ExtractionInformation) BleveType

func (o *ExtractionInformation) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ExtractionInformation) DeepCopy

DeepCopy returns a deep copy if the ExtractionInformation.

func (*ExtractionInformation) DeepCopyInto

func (o *ExtractionInformation) DeepCopyInto(out *ExtractionInformation)

DeepCopyInto copies the receiver into the given *ExtractionInformation.

func (*ExtractionInformation) GetBSON

func (o *ExtractionInformation) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ExtractionInformation) SetBSON

func (o *ExtractionInformation) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ExtractionInformation) SpecificationForAttribute

func (*ExtractionInformation) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ExtractionInformation) Validate

func (o *ExtractionInformation) Validate() error

Validate valides the current information stored into the structure.

func (*ExtractionInformation) ValueForAttribute

func (o *ExtractionInformation) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type ExtractionSummary

type ExtractionSummary struct {
	// The PIIs found during classification.
	PIIs map[string]ExtractionInformation `json:"PIIs,omitempty" msgpack:"PIIs,omitempty" bson:"piis,omitempty" mapstructure:"PIIs,omitempty"`

	// The categories are remapping of the modalities in a more human friendly way.
	Categories map[string]ExtractionInformation `json:"categories,omitempty" msgpack:"categories,omitempty" bson:"categories,omitempty" mapstructure:"categories,omitempty"`

	// The various exploits attempts.
	Exploits map[string]ExtractionInformation `json:"exploits,omitempty" msgpack:"exploits,omitempty" bson:"exploits,omitempty" mapstructure:"exploits,omitempty"`

	// The estimated intent embodied into the text.
	Intent map[string]ExtractionInformation `json:"intent,omitempty" msgpack:"intent,omitempty" bson:"intent,omitempty" mapstructure:"intent,omitempty"`

	// The keywords found during classification.
	Keywords map[string]ExtractionInformation `json:"keywords,omitempty" msgpack:"keywords,omitempty" bson:"keywords,omitempty" mapstructure:"keywords,omitempty"`

	// The language of the classification.
	Languages map[string]ExtractionInformation `json:"languages,omitempty" msgpack:"languages,omitempty" bson:"languages,omitempty" mapstructure:"languages,omitempty"`

	// The modalities of data detected in the data.
	Modalities map[string]ExtractionInformation `json:"modalities,omitempty" msgpack:"modalities,omitempty" bson:"modalities,omitempty" mapstructure:"modalities,omitempty"`

	// The secrets found during classification.
	Secrets map[string]ExtractionInformation `json:"secrets,omitempty" msgpack:"secrets,omitempty" bson:"secrets,omitempty" mapstructure:"secrets,omitempty"`

	// The topic of the classification.
	Topics map[string]ExtractionInformation `json:"topics,omitempty" msgpack:"topics,omitempty" bson:"topics,omitempty" mapstructure:"topics,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ExtractionSummary represents the model of a extractionsummary

func NewExtractionSummary

func NewExtractionSummary() *ExtractionSummary

NewExtractionSummary returns a new *ExtractionSummary

func (*ExtractionSummary) AttributeSpecifications

func (*ExtractionSummary) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ExtractionSummary) BleveType

func (o *ExtractionSummary) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ExtractionSummary) DeepCopy

func (o *ExtractionSummary) DeepCopy() *ExtractionSummary

DeepCopy returns a deep copy if the ExtractionSummary.

func (*ExtractionSummary) DeepCopyInto

func (o *ExtractionSummary) DeepCopyInto(out *ExtractionSummary)

DeepCopyInto copies the receiver into the given *ExtractionSummary.

func (*ExtractionSummary) GetBSON

func (o *ExtractionSummary) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ExtractionSummary) SetBSON

func (o *ExtractionSummary) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ExtractionSummary) SpecificationForAttribute

func (*ExtractionSummary) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ExtractionSummary) Validate

func (o *ExtractionSummary) Validate() error

Validate valides the current information stored into the structure.

func (*ExtractionSummary) ValueForAttribute

func (o *ExtractionSummary) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type Extractor

type Extractor struct {
	// The analyzers parameter allows specifying a custom list of analyzers to override
	// the defaults.
	// Analyzers can be added with + prefix (to enable if disabled), removed with -
	// prefix (to disable if enabled).
	// Or listed without a prefix (to disable all other analyzers).
	// Each entry can refer to an analyzer app (e.g., text-pattern-detector) or an
	// analyzer group (e.g., Detectors).
	Analyzers []string `json:"analyzers,omitempty" msgpack:"analyzers,omitempty" bson:"analyzers,omitempty" mapstructure:"analyzers,omitempty"`

	// How to anonymize the data. If deanonymize is true, then VariablSize is required.
	Anonymization ExtractorAnonymizationValue `json:"anonymization" msgpack:"anonymization" bson:"anonymization" mapstructure:"anonymization,omitempty"`

	// Defines how to handle error in the case of a webpage. If set to Popup, the error
	// will be shown in a popup. If throw, a javascript error will be returned.
	Behavior ExtractorBehaviorValue `json:"behavior,omitempty" msgpack:"behavior,omitempty" bson:"behavior,omitempty" mapstructure:"behavior,omitempty"`

	// Block the request to the provider if not Allow. If Before, the data will be
	// blocked before running any extraction or analyzis. If After block the request
	// after analysizis.
	Block ExtractorBlockValue `json:"block" msgpack:"block" bson:"block" mapstructure:"block,omitempty"`

	// The behavior to take when cancel is chosen from the popup.
	CancelBehavior ExtractorCancelBehaviorValue `json:"cancelBehavior" msgpack:"cancelBehavior" bson:"cancelbehavior" mapstructure:"cancelBehavior,omitempty"`

	// If true, deanonymize the redacted data. This has no effects on streaming output.
	Deanonymize bool `json:"deanonymize" msgpack:"deanonymize" bson:"deanonymize" mapstructure:"deanonymize,omitempty"`

	// Optional hosts to match. This is useful in case the provider has multiple hosts
	// to discriminate which logger to use.
	Hosts []string `json:"hosts,omitempty" msgpack:"hosts,omitempty" bson:"hosts,omitempty" mapstructure:"hosts,omitempty"`

	// If true, the analysis will run, but nothing will be logged.
	Ignore bool `json:"ignore,omitempty" msgpack:"ignore,omitempty" bson:"ignore,omitempty" mapstructure:"ignore,omitempty"`

	// A regular expression to match an URL to log.
	Match string `json:"match" msgpack:"match" bson:"match" mapstructure:"match,omitempty"`

	// The method to match.
	Method ExtractorMethodValue `json:"method" msgpack:"method" bson:"method" mapstructure:"method,omitempty"`

	// The name of the extractor. It will be used to identify which extractor was used
	// during an extraction.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// If not empty, use this lua code to run the extraction.
	Script string `json:"script,omitempty" msgpack:"script,omitempty" bson:"script,omitempty" mapstructure:"script,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Extractor represents the model of a extractor

func NewExtractor

func NewExtractor() *Extractor

NewExtractor returns a new *Extractor

func (*Extractor) AttributeSpecifications

func (*Extractor) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Extractor) BleveType

func (o *Extractor) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Extractor) DeepCopy

func (o *Extractor) DeepCopy() *Extractor

DeepCopy returns a deep copy if the Extractor.

func (*Extractor) DeepCopyInto

func (o *Extractor) DeepCopyInto(out *Extractor)

DeepCopyInto copies the receiver into the given *Extractor.

func (*Extractor) GetBSON

func (o *Extractor) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Extractor) GetMatch

func (o *Extractor) GetMatch() string

GetMatch returns the Match of the receiver.

func (*Extractor) SetBSON

func (o *Extractor) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Extractor) SpecificationForAttribute

func (*Extractor) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Extractor) Validate

func (o *Extractor) Validate() error

Validate valides the current information stored into the structure.

func (*Extractor) ValueForAttribute

func (o *Extractor) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type ExtractorAnonymizationValue

type ExtractorAnonymizationValue string

ExtractorAnonymizationValue represents the possible values for attribute "anonymization".

const (
	// ExtractorAnonymizationFixedSize represents the value FixedSize.
	ExtractorAnonymizationFixedSize ExtractorAnonymizationValue = "FixedSize"

	// ExtractorAnonymizationVariableSize represents the value VariableSize.
	ExtractorAnonymizationVariableSize ExtractorAnonymizationValue = "VariableSize"
)

type ExtractorBehaviorValue

type ExtractorBehaviorValue string

ExtractorBehaviorValue represents the possible values for attribute "behavior".

const (
	// ExtractorBehaviorIgnore represents the value Ignore.
	ExtractorBehaviorIgnore ExtractorBehaviorValue = "Ignore"

	// ExtractorBehaviorPopup represents the value Popup.
	ExtractorBehaviorPopup ExtractorBehaviorValue = "Popup"

	// ExtractorBehaviorThrow represents the value Throw.
	ExtractorBehaviorThrow ExtractorBehaviorValue = "Throw"
)

type ExtractorBlockValue

type ExtractorBlockValue string

ExtractorBlockValue represents the possible values for attribute "block".

const (
	// ExtractorBlockAfter represents the value After.
	ExtractorBlockAfter ExtractorBlockValue = "After"

	// ExtractorBlockAllow represents the value Allow.
	ExtractorBlockAllow ExtractorBlockValue = "Allow"

	// ExtractorBlockBefore represents the value Before.
	ExtractorBlockBefore ExtractorBlockValue = "Before"
)

type ExtractorCancelBehaviorValue

type ExtractorCancelBehaviorValue string

ExtractorCancelBehaviorValue represents the possible values for attribute "cancelBehavior".

const (
	// ExtractorCancelBehaviorBlock represents the value Block.
	ExtractorCancelBehaviorBlock ExtractorCancelBehaviorValue = "Block"

	// ExtractorCancelBehaviorSendRedacted represents the value SendRedacted.
	ExtractorCancelBehaviorSendRedacted ExtractorCancelBehaviorValue = "SendRedacted"
)

type ExtractorMethodValue

type ExtractorMethodValue string

ExtractorMethodValue represents the possible values for attribute "method".

const (
	// ExtractorMethodDelete represents the value Delete.
	ExtractorMethodDelete ExtractorMethodValue = "Delete"

	// ExtractorMethodGet represents the value Get.
	ExtractorMethodGet ExtractorMethodValue = "Get"

	// ExtractorMethodHead represents the value Head.
	ExtractorMethodHead ExtractorMethodValue = "Head"

	// ExtractorMethodOptions represents the value Options.
	ExtractorMethodOptions ExtractorMethodValue = "Options"

	// ExtractorMethodPatch represents the value Patch.
	ExtractorMethodPatch ExtractorMethodValue = "Patch"

	// ExtractorMethodPost represents the value Post.
	ExtractorMethodPost ExtractorMethodValue = "Post"

	// ExtractorMethodPut represents the value Put.
	ExtractorMethodPut ExtractorMethodValue = "Put"
)

type Feedback

type Feedback struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// General comments on the feedback.
	Comment string `json:"comment" msgpack:"comment" bson:"comment" mapstructure:"comment,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The key of the feedback.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// The hash of the log.
	LogHash string `json:"logHash" msgpack:"logHash" bson:"loghash" mapstructure:"logHash,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal" msgpack:"principal" bson:"principal" mapstructure:"principal,omitempty"`

	// The provider of the feedback.
	Provider string `json:"provider" msgpack:"provider" bson:"provider" mapstructure:"provider,omitempty"`

	// The feedback score (+1 for upvote, -1 for downvote).
	Score int `json:"score" msgpack:"score" bson:"score" mapstructure:"score,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// The value of the feedback.
	Value string `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Feedback represents the model of a feedback

func NewFeedback

func NewFeedback() *Feedback

NewFeedback returns a new *Feedback

func (*Feedback) AttributeSpecifications

func (*Feedback) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Feedback) BleveType

func (o *Feedback) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Feedback) DeepCopy

func (o *Feedback) DeepCopy() *Feedback

DeepCopy returns a deep copy if the Feedback.

func (*Feedback) DeepCopyInto

func (o *Feedback) DeepCopyInto(out *Feedback)

DeepCopyInto copies the receiver into the given *Feedback.

func (*Feedback) DefaultOrder

func (o *Feedback) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Feedback) Doc

func (o *Feedback) Doc() string

Doc returns the documentation for the object

func (*Feedback) GetBSON

func (o *Feedback) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Feedback) GetCreateTime

func (o *Feedback) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Feedback) GetNamespace

func (o *Feedback) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Feedback) GetUpdateTime

func (o *Feedback) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Feedback) GetZHash

func (o *Feedback) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Feedback) GetZone

func (o *Feedback) GetZone() int

GetZone returns the Zone of the receiver.

func (*Feedback) Identifier

func (o *Feedback) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Feedback) Identity

func (o *Feedback) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Feedback) Patch

func (o *Feedback) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseFeedback to the object.

func (*Feedback) SetBSON

func (o *Feedback) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Feedback) SetCreateTime

func (o *Feedback) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Feedback) SetIdentifier

func (o *Feedback) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Feedback) SetNamespace

func (o *Feedback) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Feedback) SetUpdateTime

func (o *Feedback) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Feedback) SetZHash

func (o *Feedback) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Feedback) SetZone

func (o *Feedback) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Feedback) SpecificationForAttribute

func (*Feedback) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Feedback) String

func (o *Feedback) String() string

func (*Feedback) ToSparse

func (o *Feedback) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Feedback) Validate

func (o *Feedback) Validate() error

Validate valides the current information stored into the structure.

func (*Feedback) ValueForAttribute

func (o *Feedback) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Feedback) Version

func (o *Feedback) Version() int

Version returns the hardcoded version of the model.

type FeedbacksList

type FeedbacksList []*Feedback

FeedbacksList represents a list of Feedbacks

func (FeedbacksList) Append

Append appends the objects to the a new copy of the FeedbacksList.

func (FeedbacksList) Copy

Copy returns a pointer to a copy the FeedbacksList.

func (FeedbacksList) DefaultOrder

func (o FeedbacksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (FeedbacksList) Identity

func (o FeedbacksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (FeedbacksList) List

List converts the object to an elemental.IdentifiablesList.

func (FeedbacksList) ToSparse

func (o FeedbacksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the FeedbacksList converted to SparseFeedbacksList. Objects in the list will only contain the given fields. No field means entire field set.

func (FeedbacksList) Version

func (o FeedbacksList) Version() int

Version returns the version of the content.

type GitbookToken

type GitbookToken struct {
	// The token to access gitbook. This is not a valid acuvity token.
	Token string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

GitbookToken represents the model of a gitbooktoken

func NewGitbookToken

func NewGitbookToken() *GitbookToken

NewGitbookToken returns a new *GitbookToken

func (*GitbookToken) AttributeSpecifications

func (*GitbookToken) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*GitbookToken) BleveType

func (o *GitbookToken) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*GitbookToken) DeepCopy

func (o *GitbookToken) DeepCopy() *GitbookToken

DeepCopy returns a deep copy if the GitbookToken.

func (*GitbookToken) DeepCopyInto

func (o *GitbookToken) DeepCopyInto(out *GitbookToken)

DeepCopyInto copies the receiver into the given *GitbookToken.

func (*GitbookToken) DefaultOrder

func (o *GitbookToken) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*GitbookToken) Doc

func (o *GitbookToken) Doc() string

Doc returns the documentation for the object

func (*GitbookToken) GetBSON

func (o *GitbookToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GitbookToken) Identifier

func (o *GitbookToken) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*GitbookToken) Identity

func (o *GitbookToken) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*GitbookToken) Patch

func (o *GitbookToken) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseGitbookToken to the object.

func (*GitbookToken) SetBSON

func (o *GitbookToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GitbookToken) SetIdentifier

func (o *GitbookToken) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*GitbookToken) SpecificationForAttribute

func (*GitbookToken) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*GitbookToken) String

func (o *GitbookToken) String() string

func (*GitbookToken) ToSparse

func (o *GitbookToken) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*GitbookToken) Validate

func (o *GitbookToken) Validate() error

Validate valides the current information stored into the structure.

func (*GitbookToken) ValueForAttribute

func (o *GitbookToken) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*GitbookToken) Version

func (o *GitbookToken) Version() int

Version returns the hardcoded version of the model.

type GitbookTokensList

type GitbookTokensList []*GitbookToken

GitbookTokensList represents a list of GitbookTokens

func (GitbookTokensList) Append

Append appends the objects to the a new copy of the GitbookTokensList.

func (GitbookTokensList) Copy

Copy returns a pointer to a copy the GitbookTokensList.

func (GitbookTokensList) DefaultOrder

func (o GitbookTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (GitbookTokensList) Identity

func (o GitbookTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (GitbookTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (GitbookTokensList) ToSparse

func (o GitbookTokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the GitbookTokensList converted to SparseGitbookTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (GitbookTokensList) Version

func (o GitbookTokensList) Version() int

Version returns the version of the content.

type Host

type Host struct {
	// Disable Apex routines to try to mimic client's tls handshake signature. You
	// probably want this on.
	DisableFingerprintingResistance bool `` /* 176-byte string literal not displayed */

	// The hostname.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// URL prefix for additional matching.
	Prefix string `json:"prefix,omitempty" msgpack:"prefix,omitempty" bson:"prefix,omitempty" mapstructure:"prefix,omitempty"`

	// The proxy label to use to exit to this host.
	ProxyLabel string `json:"proxyLabel,omitempty" msgpack:"proxyLabel,omitempty" bson:"proxylabel,omitempty" mapstructure:"proxyLabel,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Host represents the model of a host

func NewHost

func NewHost() *Host

NewHost returns a new *Host

func (*Host) AttributeSpecifications

func (*Host) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Host) BleveType

func (o *Host) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Host) DeepCopy

func (o *Host) DeepCopy() *Host

DeepCopy returns a deep copy if the Host.

func (*Host) DeepCopyInto

func (o *Host) DeepCopyInto(out *Host)

DeepCopyInto copies the receiver into the given *Host.

func (*Host) GetBSON

func (o *Host) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Host) SetBSON

func (o *Host) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Host) SpecificationForAttribute

func (*Host) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Host) Validate

func (o *Host) Validate() error

Validate valides the current information stored into the structure.

func (*Host) ValueForAttribute

func (o *Host) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type IgnoredDomain

type IgnoredDomain struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The domain to ignore.
	Domain string `json:"domain" msgpack:"domain" bson:"domain" mapstructure:"domain,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

IgnoredDomain represents the model of a ignoreddomain

func NewIgnoredDomain

func NewIgnoredDomain() *IgnoredDomain

NewIgnoredDomain returns a new *IgnoredDomain

func (*IgnoredDomain) AttributeSpecifications

func (*IgnoredDomain) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*IgnoredDomain) BleveType

func (o *IgnoredDomain) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*IgnoredDomain) DeepCopy

func (o *IgnoredDomain) DeepCopy() *IgnoredDomain

DeepCopy returns a deep copy if the IgnoredDomain.

func (*IgnoredDomain) DeepCopyInto

func (o *IgnoredDomain) DeepCopyInto(out *IgnoredDomain)

DeepCopyInto copies the receiver into the given *IgnoredDomain.

func (*IgnoredDomain) DefaultOrder

func (o *IgnoredDomain) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*IgnoredDomain) Doc

func (o *IgnoredDomain) Doc() string

Doc returns the documentation for the object

func (*IgnoredDomain) GetBSON

func (o *IgnoredDomain) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IgnoredDomain) GetCreateTime

func (o *IgnoredDomain) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*IgnoredDomain) GetImportHash

func (o *IgnoredDomain) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*IgnoredDomain) GetImportLabel

func (o *IgnoredDomain) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*IgnoredDomain) GetNamespace

func (o *IgnoredDomain) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*IgnoredDomain) GetPropagate

func (o *IgnoredDomain) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*IgnoredDomain) GetUpdateTime

func (o *IgnoredDomain) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*IgnoredDomain) GetZHash

func (o *IgnoredDomain) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*IgnoredDomain) GetZone

func (o *IgnoredDomain) GetZone() int

GetZone returns the Zone of the receiver.

func (*IgnoredDomain) Identifier

func (o *IgnoredDomain) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*IgnoredDomain) Identity

func (o *IgnoredDomain) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*IgnoredDomain) Patch

func (o *IgnoredDomain) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseIgnoredDomain to the object.

func (*IgnoredDomain) SetBSON

func (o *IgnoredDomain) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IgnoredDomain) SetCreateTime

func (o *IgnoredDomain) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*IgnoredDomain) SetIdentifier

func (o *IgnoredDomain) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*IgnoredDomain) SetImportHash

func (o *IgnoredDomain) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*IgnoredDomain) SetImportLabel

func (o *IgnoredDomain) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*IgnoredDomain) SetNamespace

func (o *IgnoredDomain) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*IgnoredDomain) SetPropagate

func (o *IgnoredDomain) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*IgnoredDomain) SetUpdateTime

func (o *IgnoredDomain) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*IgnoredDomain) SetZHash

func (o *IgnoredDomain) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*IgnoredDomain) SetZone

func (o *IgnoredDomain) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*IgnoredDomain) SpecificationForAttribute

func (*IgnoredDomain) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*IgnoredDomain) String

func (o *IgnoredDomain) String() string

func (*IgnoredDomain) ToSparse

func (o *IgnoredDomain) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*IgnoredDomain) Validate

func (o *IgnoredDomain) Validate() error

Validate valides the current information stored into the structure.

func (*IgnoredDomain) ValueForAttribute

func (o *IgnoredDomain) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*IgnoredDomain) Version

func (o *IgnoredDomain) Version() int

Version returns the hardcoded version of the model.

type IgnoredDomainsList

type IgnoredDomainsList []*IgnoredDomain

IgnoredDomainsList represents a list of IgnoredDomains

func (IgnoredDomainsList) Append

Append appends the objects to the a new copy of the IgnoredDomainsList.

func (IgnoredDomainsList) Copy

Copy returns a pointer to a copy the IgnoredDomainsList.

func (IgnoredDomainsList) DefaultOrder

func (o IgnoredDomainsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (IgnoredDomainsList) Identity

func (o IgnoredDomainsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (IgnoredDomainsList) List

List converts the object to an elemental.IdentifiablesList.

func (IgnoredDomainsList) ToSparse

func (o IgnoredDomainsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the IgnoredDomainsList converted to SparseIgnoredDomainsList. Objects in the list will only contain the given fields. No field means entire field set.

func (IgnoredDomainsList) Version

func (o IgnoredDomainsList) Version() int

Version returns the version of the content.

type Import

type Import struct {
	// AI domains to import.
	AIDomains AIDomainsList `json:"AIDomains,omitempty" msgpack:"AIDomains,omitempty" bson:"-" mapstructure:"AIDomains,omitempty"`

	// APIAuthorizations to import.
	APIAuthorizations APIAuthorizationsList `json:"APIAuthorizations,omitempty" msgpack:"APIAuthorizations,omitempty" bson:"-" mapstructure:"APIAuthorizations,omitempty"`

	// PACConfigs to import.
	PACConfigs PACConfigsList `json:"PACConfigs,omitempty" msgpack:"PACConfigs,omitempty" bson:"-" mapstructure:"PACConfigs,omitempty"`

	// Access policies to import.
	AccessPolicies AccessPoliciesList `json:"accessPolicies,omitempty" msgpack:"accessPolicies,omitempty" bson:"-" mapstructure:"accessPolicies,omitempty"`

	// Agent configurations to import.
	AgentConfigs AgentConfigsList `json:"agentConfigs,omitempty" msgpack:"agentConfigs,omitempty" bson:"-" mapstructure:"agentConfigs,omitempty"`

	// Alert definitions to import.
	AlertDefinitions AlertDefinitionsList `json:"alertDefinitions,omitempty" msgpack:"alertDefinitions,omitempty" bson:"-" mapstructure:"alertDefinitions,omitempty"`

	// Apps to import.
	Apps AppsList `json:"apps,omitempty" msgpack:"apps,omitempty" bson:"-" mapstructure:"apps,omitempty"`

	// Content policies to import.
	ContentPolicies ContentPoliciesList `json:"contentPolicies,omitempty" msgpack:"contentPolicies,omitempty" bson:"-" mapstructure:"contentPolicies,omitempty"`

	// Ignored domains to import.
	IgnoredDomains IgnoredDomainsList `json:"ignoredDomains,omitempty" msgpack:"ignoredDomains,omitempty" bson:"-" mapstructure:"ignoredDomains,omitempty"`

	// Import label that will be used to identify all the resources imported by this
	// resource.
	Label string `json:"label" msgpack:"label" bson:"-" mapstructure:"label,omitempty"`

	// OrgSettings to import.
	OrgSettings OrgSettingsList `json:"orgSettings,omitempty" msgpack:"orgSettings,omitempty" bson:"-" mapstructure:"orgSettings,omitempty"`

	// Provider teams to import.
	ProviderTeams ProviderTeamsList `json:"providerTeams,omitempty" msgpack:"providerTeams,omitempty" bson:"-" mapstructure:"providerTeams,omitempty"`

	// ProviderTokens to import.
	ProviderTokens ProviderTokensList `json:"providerTokens,omitempty" msgpack:"providerTokens,omitempty" bson:"-" mapstructure:"providerTokens,omitempty"`

	// Providers to import.
	Providers ProvidersList `json:"providers,omitempty" msgpack:"providers,omitempty" bson:"-" mapstructure:"providers,omitempty"`

	// Proxy roundtrip to import. This will populate dummy data.
	Proxyroundtrips ProxyRoundtripsList `json:"proxyroundtrips,omitempty" msgpack:"proxyroundtrips,omitempty" bson:"-" mapstructure:"proxyroundtrips,omitempty"`

	// Sinks to import.
	Sinks SinksList `json:"sinks,omitempty" msgpack:"sinks,omitempty" bson:"-" mapstructure:"sinks,omitempty"`

	// Teams to import.
	Teams TeamsList `json:"teams,omitempty" msgpack:"teams,omitempty" bson:"-" mapstructure:"teams,omitempty"`

	// Visited URLs to import.
	Visitedurls VisitedURLsList `json:"visitedurls,omitempty" msgpack:"visitedurls,omitempty" bson:"-" mapstructure:"visitedurls,omitempty"`

	// Web Extension configurations to import.
	WebExtensionConfigs WebExtensionConfigsList `` /* 130-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Import represents the model of a import

func NewImport

func NewImport() *Import

NewImport returns a new *Import

func (*Import) AttributeSpecifications

func (*Import) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Import) BleveType

func (o *Import) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Import) DeepCopy

func (o *Import) DeepCopy() *Import

DeepCopy returns a deep copy if the Import.

func (*Import) DeepCopyInto

func (o *Import) DeepCopyInto(out *Import)

DeepCopyInto copies the receiver into the given *Import.

func (*Import) DefaultOrder

func (o *Import) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Import) Doc

func (o *Import) Doc() string

Doc returns the documentation for the object

func (*Import) GetBSON

func (o *Import) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Import) Identifier

func (o *Import) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Import) Identity

func (o *Import) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Import) Patch

func (o *Import) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseImport to the object.

func (*Import) SetBSON

func (o *Import) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Import) SetIdentifier

func (o *Import) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Import) SpecificationForAttribute

func (*Import) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Import) String

func (o *Import) String() string

func (*Import) ToSparse

func (o *Import) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Import) Validate

func (o *Import) Validate() error

Validate valides the current information stored into the structure.

func (*Import) ValueForAttribute

func (o *Import) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Import) Version

func (o *Import) Version() int

Version returns the hardcoded version of the model.

type ImportsList

type ImportsList []*Import

ImportsList represents a list of Imports

func (ImportsList) Append

Append appends the objects to the a new copy of the ImportsList.

func (ImportsList) Copy

Copy returns a pointer to a copy the ImportsList.

func (ImportsList) DefaultOrder

func (o ImportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ImportsList) Identity

func (o ImportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ImportsList) List

List converts the object to an elemental.IdentifiablesList.

func (ImportsList) ToSparse

func (o ImportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ImportsList converted to SparseImportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ImportsList) Version

func (o ImportsList) Version() int

Version returns the version of the content.

type Injector

type Injector struct {
	// Optional hosts to match. This is useful in case the provider has multiple hosts
	// to discriminate which logger to use.
	Hosts []string `json:"hosts,omitempty" msgpack:"hosts,omitempty" bson:"hosts,omitempty" mapstructure:"hosts,omitempty"`

	// A regular expression to match an URL to log.
	Match string `json:"match" msgpack:"match" bson:"match" mapstructure:"match,omitempty"`

	// The method to match.
	Method InjectorMethodValue `json:"method" msgpack:"method" bson:"method" mapstructure:"method,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Injector represents the model of a injector

func NewInjector

func NewInjector() *Injector

NewInjector returns a new *Injector

func (*Injector) AttributeSpecifications

func (*Injector) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Injector) BleveType

func (o *Injector) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Injector) DeepCopy

func (o *Injector) DeepCopy() *Injector

DeepCopy returns a deep copy if the Injector.

func (*Injector) DeepCopyInto

func (o *Injector) DeepCopyInto(out *Injector)

DeepCopyInto copies the receiver into the given *Injector.

func (*Injector) GetBSON

func (o *Injector) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Injector) GetMatch

func (o *Injector) GetMatch() string

GetMatch returns the Match of the receiver.

func (*Injector) SetBSON

func (o *Injector) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Injector) SpecificationForAttribute

func (*Injector) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Injector) Validate

func (o *Injector) Validate() error

Validate valides the current information stored into the structure.

func (*Injector) ValueForAttribute

func (o *Injector) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type InjectorMethodValue

type InjectorMethodValue string

InjectorMethodValue represents the possible values for attribute "method".

const (
	// InjectorMethodDelete represents the value Delete.
	InjectorMethodDelete InjectorMethodValue = "Delete"

	// InjectorMethodGet represents the value Get.
	InjectorMethodGet InjectorMethodValue = "Get"

	// InjectorMethodHead represents the value Head.
	InjectorMethodHead InjectorMethodValue = "Head"

	// InjectorMethodOptions represents the value Options.
	InjectorMethodOptions InjectorMethodValue = "Options"

	// InjectorMethodPatch represents the value Patch.
	InjectorMethodPatch InjectorMethodValue = "Patch"

	// InjectorMethodPost represents the value Post.
	InjectorMethodPost InjectorMethodValue = "Post"

	// InjectorMethodPut represents the value Put.
	InjectorMethodPut InjectorMethodValue = "Put"
)

type LabelValue

type LabelValue struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The label to retrieve all available the values for.
	Label string `json:"label" msgpack:"label" bson:"-" mapstructure:"label,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A set of log stream selector that selects the streams to match and return label
	// values for.
	Query string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []string `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

LabelValue represents the model of a labelvalue

func NewLabelValue

func NewLabelValue() *LabelValue

NewLabelValue returns a new *LabelValue

func (*LabelValue) AttributeSpecifications

func (*LabelValue) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*LabelValue) BleveType

func (o *LabelValue) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*LabelValue) DeepCopy

func (o *LabelValue) DeepCopy() *LabelValue

DeepCopy returns a deep copy if the LabelValue.

func (*LabelValue) DeepCopyInto

func (o *LabelValue) DeepCopyInto(out *LabelValue)

DeepCopyInto copies the receiver into the given *LabelValue.

func (*LabelValue) DefaultOrder

func (o *LabelValue) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*LabelValue) Doc

func (o *LabelValue) Doc() string

Doc returns the documentation for the object

func (*LabelValue) GetBSON

func (o *LabelValue) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*LabelValue) GetNamespace

func (o *LabelValue) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*LabelValue) Identifier

func (o *LabelValue) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*LabelValue) Identity

func (o *LabelValue) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*LabelValue) Patch

func (o *LabelValue) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLabelValue to the object.

func (*LabelValue) SetBSON

func (o *LabelValue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*LabelValue) SetIdentifier

func (o *LabelValue) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*LabelValue) SetNamespace

func (o *LabelValue) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*LabelValue) SpecificationForAttribute

func (*LabelValue) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*LabelValue) String

func (o *LabelValue) String() string

func (*LabelValue) ToSparse

func (o *LabelValue) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*LabelValue) Validate

func (o *LabelValue) Validate() error

Validate valides the current information stored into the structure.

func (*LabelValue) ValueForAttribute

func (o *LabelValue) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*LabelValue) Version

func (o *LabelValue) Version() int

Version returns the hardcoded version of the model.

type LabelValuesList

type LabelValuesList []*LabelValue

LabelValuesList represents a list of LabelValues

func (LabelValuesList) Append

Append appends the objects to the a new copy of the LabelValuesList.

func (LabelValuesList) Copy

Copy returns a pointer to a copy the LabelValuesList.

func (LabelValuesList) DefaultOrder

func (o LabelValuesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LabelValuesList) Identity

func (o LabelValuesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LabelValuesList) List

List converts the object to an elemental.IdentifiablesList.

func (LabelValuesList) ToSparse

func (o LabelValuesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LabelValuesList converted to SparseLabelValuesList. Objects in the list will only contain the given fields. No field means entire field set.

func (LabelValuesList) Version

func (o LabelValuesList) Version() int

Version returns the version of the content.

type Landing

type Landing struct {
	// The identifier of the landing.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The permissions for the landing type.
	Permissions map[string]map[string]bool `json:"permissions" msgpack:"permissions" bson:"-" mapstructure:"permissions,omitempty"`

	// Type of access.
	Type LandingTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Landing represents the model of a landing

func NewLanding

func NewLanding() *Landing

NewLanding returns a new *Landing

func (*Landing) AttributeSpecifications

func (*Landing) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Landing) BleveType

func (o *Landing) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Landing) DeepCopy

func (o *Landing) DeepCopy() *Landing

DeepCopy returns a deep copy if the Landing.

func (*Landing) DeepCopyInto

func (o *Landing) DeepCopyInto(out *Landing)

DeepCopyInto copies the receiver into the given *Landing.

func (*Landing) DefaultOrder

func (o *Landing) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Landing) Doc

func (o *Landing) Doc() string

Doc returns the documentation for the object

func (*Landing) GetBSON

func (o *Landing) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Landing) Identifier

func (o *Landing) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Landing) Identity

func (o *Landing) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Landing) Patch

func (o *Landing) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLanding to the object.

func (*Landing) SetBSON

func (o *Landing) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Landing) SetIdentifier

func (o *Landing) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Landing) SpecificationForAttribute

func (*Landing) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Landing) String

func (o *Landing) String() string

func (*Landing) ToSparse

func (o *Landing) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Landing) Validate

func (o *Landing) Validate() error

Validate valides the current information stored into the structure.

func (*Landing) ValueForAttribute

func (o *Landing) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Landing) Version

func (o *Landing) Version() int

Version returns the hardcoded version of the model.

type LandingTypeValue

type LandingTypeValue string

LandingTypeValue represents the possible values for attribute "type".

const (
	// LandingTypeAll represents the value All.
	LandingTypeAll LandingTypeValue = "All"

	// LandingTypeApps represents the value Apps.
	LandingTypeApps LandingTypeValue = "Apps"

	// LandingTypeEmployees represents the value Employees.
	LandingTypeEmployees LandingTypeValue = "Employees"
)

type LandingsList

type LandingsList []*Landing

LandingsList represents a list of Landings

func (LandingsList) Append

Append appends the objects to the a new copy of the LandingsList.

func (LandingsList) Copy

Copy returns a pointer to a copy the LandingsList.

func (LandingsList) DefaultOrder

func (o LandingsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LandingsList) Identity

func (o LandingsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LandingsList) List

List converts the object to an elemental.IdentifiablesList.

func (LandingsList) ToSparse

func (o LandingsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LandingsList converted to SparseLandingsList. Objects in the list will only contain the given fields. No field means entire field set.

func (LandingsList) Version

func (o LandingsList) Version() int

Version returns the version of the content.

type LatenciesList

type LatenciesList []*Latency

LatenciesList represents a list of Latencies

func (LatenciesList) Append

Append appends the objects to the a new copy of the LatenciesList.

func (LatenciesList) Copy

Copy returns a pointer to a copy the LatenciesList.

func (LatenciesList) DefaultOrder

func (o LatenciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LatenciesList) Identity

func (o LatenciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LatenciesList) List

List converts the object to an elemental.IdentifiablesList.

func (LatenciesList) ToSparse

func (o LatenciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LatenciesList converted to SparseLatenciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (LatenciesList) Version

func (o LatenciesList) Version() int

Version returns the version of the content.

type Latency

type Latency struct {
	// How much time it took to run the access policy in nanoseconds.
	AccessPolicy int `json:"accessPolicy" msgpack:"accessPolicy" bson:"accesspolicy" mapstructure:"accessPolicy,omitempty"`

	// How much time it took to run content analysis in nanoseconds.
	Analysis int `json:"analysis" msgpack:"analysis" bson:"analysis" mapstructure:"analysis,omitempty"`

	// How much time it took to run the assign policy in nanoseconds.
	AssignPolicy int `json:"assignPolicy" msgpack:"assignPolicy" bson:"assignpolicy" mapstructure:"assignPolicy,omitempty"`

	// How much time it took to run content policy in nanoseconds.
	ContentPolicy int `json:"contentPolicy" msgpack:"contentPolicy" bson:"contentpolicy" mapstructure:"contentPolicy,omitempty"`

	// How much time it took to run input or output extraction in nanoseconds.
	Extraction int `json:"extraction" msgpack:"extraction" bson:"extraction" mapstructure:"extraction,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Latency represents the model of a latency

func NewLatency

func NewLatency() *Latency

NewLatency returns a new *Latency

func (*Latency) AttributeSpecifications

func (*Latency) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Latency) BleveType

func (o *Latency) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Latency) DeepCopy

func (o *Latency) DeepCopy() *Latency

DeepCopy returns a deep copy if the Latency.

func (*Latency) DeepCopyInto

func (o *Latency) DeepCopyInto(out *Latency)

DeepCopyInto copies the receiver into the given *Latency.

func (*Latency) DefaultOrder

func (o *Latency) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Latency) Doc

func (o *Latency) Doc() string

Doc returns the documentation for the object

func (*Latency) GetBSON

func (o *Latency) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Latency) Identifier

func (o *Latency) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Latency) Identity

func (o *Latency) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Latency) Patch

func (o *Latency) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLatency to the object.

func (*Latency) SetBSON

func (o *Latency) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Latency) SetIdentifier

func (o *Latency) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Latency) SpecificationForAttribute

func (*Latency) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Latency) String

func (o *Latency) String() string

func (*Latency) ToSparse

func (o *Latency) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Latency) Validate

func (o *Latency) Validate() error

Validate valides the current information stored into the structure.

func (*Latency) ValueForAttribute

func (o *Latency) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Latency) Version

func (o *Latency) Version() int

Version returns the hardcoded version of the model.

type Mapper

type Mapper struct {
	// Set how long the data should be cached.
	Expiration string `json:"expiration" msgpack:"expiration" bson:"expiration" mapstructure:"expiration,omitempty"`

	// Optional hosts to match. This is useful in case the provider has multiple hosts
	// to discriminate which logger to use.
	Hosts []string `json:"hosts,omitempty" msgpack:"hosts,omitempty" bson:"hosts,omitempty" mapstructure:"hosts,omitempty"`

	// A regular expression to match an URL to log.
	Match string `json:"match" msgpack:"match" bson:"match" mapstructure:"match,omitempty"`

	// The method to match.
	Method MapperMethodValue `json:"method" msgpack:"method" bson:"method" mapstructure:"method,omitempty"`

	// The name of the extractor. It will be used to identify which extractor was used
	// during an extraction.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// If not empty, use this lua code to run the extraction.
	Script string `json:"script,omitempty" msgpack:"script,omitempty" bson:"script,omitempty" mapstructure:"script,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Mapper represents the model of a mapper

func NewMapper

func NewMapper() *Mapper

NewMapper returns a new *Mapper

func (*Mapper) AttributeSpecifications

func (*Mapper) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Mapper) BleveType

func (o *Mapper) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Mapper) DeepCopy

func (o *Mapper) DeepCopy() *Mapper

DeepCopy returns a deep copy if the Mapper.

func (*Mapper) DeepCopyInto

func (o *Mapper) DeepCopyInto(out *Mapper)

DeepCopyInto copies the receiver into the given *Mapper.

func (*Mapper) GetBSON

func (o *Mapper) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Mapper) GetMatch

func (o *Mapper) GetMatch() string

GetMatch returns the Match of the receiver.

func (*Mapper) SetBSON

func (o *Mapper) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Mapper) SpecificationForAttribute

func (*Mapper) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Mapper) Validate

func (o *Mapper) Validate() error

Validate valides the current information stored into the structure.

func (*Mapper) ValueForAttribute

func (o *Mapper) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type MapperMethodValue

type MapperMethodValue string

MapperMethodValue represents the possible values for attribute "method".

const (
	// MapperMethodDelete represents the value Delete.
	MapperMethodDelete MapperMethodValue = "Delete"

	// MapperMethodGet represents the value Get.
	MapperMethodGet MapperMethodValue = "Get"

	// MapperMethodHead represents the value Head.
	MapperMethodHead MapperMethodValue = "Head"

	// MapperMethodOptions represents the value Options.
	MapperMethodOptions MapperMethodValue = "Options"

	// MapperMethodPatch represents the value Patch.
	MapperMethodPatch MapperMethodValue = "Patch"

	// MapperMethodPost represents the value Post.
	MapperMethodPost MapperMethodValue = "Post"

	// MapperMethodPut represents the value Put.
	MapperMethodPut MapperMethodValue = "Put"
)

type Metric

type Metric struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in Prometheus query format.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []map[string]any `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The time for the query in any format supported by
	// https://github.com/araddon/dateparse.
	Time string `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	// The relative time of the time window as time.Duration.
	TimeRelative string `json:"timeRelative,omitempty" msgpack:"timeRelative,omitempty" bson:"-" mapstructure:"timeRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Metric represents the model of a metric

func NewMetric

func NewMetric() *Metric

NewMetric returns a new *Metric

func (*Metric) AttributeSpecifications

func (*Metric) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Metric) BleveType

func (o *Metric) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Metric) DeepCopy

func (o *Metric) DeepCopy() *Metric

DeepCopy returns a deep copy if the Metric.

func (*Metric) DeepCopyInto

func (o *Metric) DeepCopyInto(out *Metric)

DeepCopyInto copies the receiver into the given *Metric.

func (*Metric) DefaultOrder

func (o *Metric) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Metric) Doc

func (o *Metric) Doc() string

Doc returns the documentation for the object

func (*Metric) GetBSON

func (o *Metric) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Metric) GetNamespace

func (o *Metric) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Metric) Identifier

func (o *Metric) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Metric) Identity

func (o *Metric) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Metric) Patch

func (o *Metric) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseMetric to the object.

func (*Metric) SetBSON

func (o *Metric) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Metric) SetIdentifier

func (o *Metric) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Metric) SetNamespace

func (o *Metric) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Metric) SpecificationForAttribute

func (*Metric) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Metric) String

func (o *Metric) String() string

func (*Metric) ToSparse

func (o *Metric) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Metric) Validate

func (o *Metric) Validate() error

Validate valides the current information stored into the structure.

func (*Metric) ValueForAttribute

func (o *Metric) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Metric) Version

func (o *Metric) Version() int

Version returns the hardcoded version of the model.

type MetricLabelValue

type MetricLabelValue struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The label to retrieve all available values for.
	Label string `json:"label" msgpack:"label" bson:"-" mapstructure:"label,omitempty"`

	// The max number of results to return.
	Limit int `json:"limit" msgpack:"limit" bson:"-" mapstructure:"limit,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A set of metric stream selectors that selects the streams to match and return
	// label values for.
	Query string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []string `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

MetricLabelValue represents the model of a metriclabelvalue

func NewMetricLabelValue

func NewMetricLabelValue() *MetricLabelValue

NewMetricLabelValue returns a new *MetricLabelValue

func (*MetricLabelValue) AttributeSpecifications

func (*MetricLabelValue) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*MetricLabelValue) BleveType

func (o *MetricLabelValue) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*MetricLabelValue) DeepCopy

func (o *MetricLabelValue) DeepCopy() *MetricLabelValue

DeepCopy returns a deep copy if the MetricLabelValue.

func (*MetricLabelValue) DeepCopyInto

func (o *MetricLabelValue) DeepCopyInto(out *MetricLabelValue)

DeepCopyInto copies the receiver into the given *MetricLabelValue.

func (*MetricLabelValue) DefaultOrder

func (o *MetricLabelValue) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*MetricLabelValue) Doc

func (o *MetricLabelValue) Doc() string

Doc returns the documentation for the object

func (*MetricLabelValue) GetBSON

func (o *MetricLabelValue) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricLabelValue) GetNamespace

func (o *MetricLabelValue) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*MetricLabelValue) Identifier

func (o *MetricLabelValue) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*MetricLabelValue) Identity

func (o *MetricLabelValue) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*MetricLabelValue) Patch

Patch apply the non nil value of a *SparseMetricLabelValue to the object.

func (*MetricLabelValue) SetBSON

func (o *MetricLabelValue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricLabelValue) SetIdentifier

func (o *MetricLabelValue) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*MetricLabelValue) SetNamespace

func (o *MetricLabelValue) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*MetricLabelValue) SpecificationForAttribute

func (*MetricLabelValue) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*MetricLabelValue) String

func (o *MetricLabelValue) String() string

func (*MetricLabelValue) ToSparse

func (o *MetricLabelValue) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*MetricLabelValue) Validate

func (o *MetricLabelValue) Validate() error

Validate valides the current information stored into the structure.

func (*MetricLabelValue) ValueForAttribute

func (o *MetricLabelValue) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*MetricLabelValue) Version

func (o *MetricLabelValue) Version() int

Version returns the hardcoded version of the model.

type MetricLabelValuesList

type MetricLabelValuesList []*MetricLabelValue

MetricLabelValuesList represents a list of MetricLabelValues

func (MetricLabelValuesList) Append

Append appends the objects to the a new copy of the MetricLabelValuesList.

func (MetricLabelValuesList) Copy

Copy returns a pointer to a copy the MetricLabelValuesList.

func (MetricLabelValuesList) DefaultOrder

func (o MetricLabelValuesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MetricLabelValuesList) Identity

Identity returns the identity of the objects in the list.

func (MetricLabelValuesList) List

List converts the object to an elemental.IdentifiablesList.

func (MetricLabelValuesList) ToSparse

func (o MetricLabelValuesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MetricLabelValuesList converted to SparseMetricLabelValuesList. Objects in the list will only contain the given fields. No field means entire field set.

func (MetricLabelValuesList) Version

func (o MetricLabelValuesList) Version() int

Version returns the version of the content.

type MetricRange

type MetricRange struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in Prometheus query format.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []map[string]any `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	// The query resolution step width as time.Duration.
	Step string `json:"step" msgpack:"step" bson:"-" mapstructure:"step,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

MetricRange represents the model of a metricrange

func NewMetricRange

func NewMetricRange() *MetricRange

NewMetricRange returns a new *MetricRange

func (*MetricRange) AttributeSpecifications

func (*MetricRange) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*MetricRange) BleveType

func (o *MetricRange) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*MetricRange) DeepCopy

func (o *MetricRange) DeepCopy() *MetricRange

DeepCopy returns a deep copy if the MetricRange.

func (*MetricRange) DeepCopyInto

func (o *MetricRange) DeepCopyInto(out *MetricRange)

DeepCopyInto copies the receiver into the given *MetricRange.

func (*MetricRange) DefaultOrder

func (o *MetricRange) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*MetricRange) Doc

func (o *MetricRange) Doc() string

Doc returns the documentation for the object

func (*MetricRange) GetBSON

func (o *MetricRange) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricRange) GetNamespace

func (o *MetricRange) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*MetricRange) Identifier

func (o *MetricRange) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*MetricRange) Identity

func (o *MetricRange) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*MetricRange) Patch

func (o *MetricRange) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseMetricRange to the object.

func (*MetricRange) SetBSON

func (o *MetricRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricRange) SetIdentifier

func (o *MetricRange) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*MetricRange) SetNamespace

func (o *MetricRange) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*MetricRange) SpecificationForAttribute

func (*MetricRange) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*MetricRange) String

func (o *MetricRange) String() string

func (*MetricRange) ToSparse

func (o *MetricRange) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*MetricRange) Validate

func (o *MetricRange) Validate() error

Validate valides the current information stored into the structure.

func (*MetricRange) ValueForAttribute

func (o *MetricRange) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*MetricRange) Version

func (o *MetricRange) Version() int

Version returns the hardcoded version of the model.

type MetricRangesList

type MetricRangesList []*MetricRange

MetricRangesList represents a list of MetricRanges

func (MetricRangesList) Append

Append appends the objects to the a new copy of the MetricRangesList.

func (MetricRangesList) Copy

Copy returns a pointer to a copy the MetricRangesList.

func (MetricRangesList) DefaultOrder

func (o MetricRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MetricRangesList) Identity

func (o MetricRangesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (MetricRangesList) List

List converts the object to an elemental.IdentifiablesList.

func (MetricRangesList) ToSparse

func (o MetricRangesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MetricRangesList converted to SparseMetricRangesList. Objects in the list will only contain the given fields. No field means entire field set.

func (MetricRangesList) Version

func (o MetricRangesList) Version() int

Version returns the version of the content.

type MetricSerie

type MetricSerie struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The max number of results to return.
	Limit int `json:"limit" msgpack:"limit" bson:"-" mapstructure:"limit,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in Prometheus format.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []map[string]string `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

MetricSerie represents the model of a metricserie

func NewMetricSerie

func NewMetricSerie() *MetricSerie

NewMetricSerie returns a new *MetricSerie

func (*MetricSerie) AttributeSpecifications

func (*MetricSerie) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*MetricSerie) BleveType

func (o *MetricSerie) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*MetricSerie) DeepCopy

func (o *MetricSerie) DeepCopy() *MetricSerie

DeepCopy returns a deep copy if the MetricSerie.

func (*MetricSerie) DeepCopyInto

func (o *MetricSerie) DeepCopyInto(out *MetricSerie)

DeepCopyInto copies the receiver into the given *MetricSerie.

func (*MetricSerie) DefaultOrder

func (o *MetricSerie) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*MetricSerie) Doc

func (o *MetricSerie) Doc() string

Doc returns the documentation for the object

func (*MetricSerie) GetBSON

func (o *MetricSerie) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricSerie) GetNamespace

func (o *MetricSerie) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*MetricSerie) Identifier

func (o *MetricSerie) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*MetricSerie) Identity

func (o *MetricSerie) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*MetricSerie) Patch

func (o *MetricSerie) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseMetricSerie to the object.

func (*MetricSerie) SetBSON

func (o *MetricSerie) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricSerie) SetIdentifier

func (o *MetricSerie) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*MetricSerie) SetNamespace

func (o *MetricSerie) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*MetricSerie) SpecificationForAttribute

func (*MetricSerie) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*MetricSerie) String

func (o *MetricSerie) String() string

func (*MetricSerie) ToSparse

func (o *MetricSerie) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*MetricSerie) Validate

func (o *MetricSerie) Validate() error

Validate valides the current information stored into the structure.

func (*MetricSerie) ValueForAttribute

func (o *MetricSerie) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*MetricSerie) Version

func (o *MetricSerie) Version() int

Version returns the hardcoded version of the model.

type MetricSeriesList

type MetricSeriesList []*MetricSerie

MetricSeriesList represents a list of MetricSeries

func (MetricSeriesList) Append

Append appends the objects to the a new copy of the MetricSeriesList.

func (MetricSeriesList) Copy

Copy returns a pointer to a copy the MetricSeriesList.

func (MetricSeriesList) DefaultOrder

func (o MetricSeriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MetricSeriesList) Identity

func (o MetricSeriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (MetricSeriesList) List

List converts the object to an elemental.IdentifiablesList.

func (MetricSeriesList) ToSparse

func (o MetricSeriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MetricSeriesList converted to SparseMetricSeriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (MetricSeriesList) Version

func (o MetricSeriesList) Version() int

Version returns the version of the content.

type MetricsList

type MetricsList []*Metric

MetricsList represents a list of Metrics

func (MetricsList) Append

Append appends the objects to the a new copy of the MetricsList.

func (MetricsList) Copy

Copy returns a pointer to a copy the MetricsList.

func (MetricsList) DefaultOrder

func (o MetricsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MetricsList) Identity

func (o MetricsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (MetricsList) List

List converts the object to an elemental.IdentifiablesList.

func (MetricsList) ToSparse

func (o MetricsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MetricsList converted to SparseMetricsList. Objects in the list will only contain the given fields. No field means entire field set.

func (MetricsList) Version

func (o MetricsList) Version() int

Version returns the version of the content.

type Modality

type Modality struct {
	// The group of data.
	Group string `json:"group" msgpack:"group" bson:"group" mapstructure:"group,omitempty"`

	// The type of data.
	Type string `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Modality represents the model of a modality

func NewModality

func NewModality() *Modality

NewModality returns a new *Modality

func (*Modality) AttributeSpecifications

func (*Modality) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Modality) BleveType

func (o *Modality) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Modality) DeepCopy

func (o *Modality) DeepCopy() *Modality

DeepCopy returns a deep copy if the Modality.

func (*Modality) DeepCopyInto

func (o *Modality) DeepCopyInto(out *Modality)

DeepCopyInto copies the receiver into the given *Modality.

func (*Modality) GetBSON

func (o *Modality) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Modality) SetBSON

func (o *Modality) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Modality) SpecificationForAttribute

func (*Modality) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Modality) Validate

func (o *Modality) Validate() error

Validate valides the current information stored into the structure.

func (*Modality) ValueForAttribute

func (o *Modality) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type Moderation

type Moderation struct {
	// The actual action to take when triggered.
	Action ModerationActionValue `json:"action" msgpack:"action" bson:"action" mapstructure:"action,omitempty"`

	// The definition to use for alerting.
	AlertDefinition string `json:"alertDefinition" msgpack:"alertDefinition" bson:"alertdefinition" mapstructure:"alertDefinition,omitempty"`

	// Sets an optional link to reference a document with more explanation on the
	// moderation.
	Link string `json:"link,omitempty" msgpack:"link,omitempty" bson:"link,omitempty" mapstructure:"link,omitempty"`

	// The message if the moderation action is warn or block.
	Message string `json:"message" msgpack:"message" bson:"message" mapstructure:"message,omitempty"`

	// The predicate expression for the moderation to be triggered.
	Predicates []*Predicate `json:"predicates" msgpack:"predicates" bson:"predicates" mapstructure:"predicates,omitempty"`

	// If true, redacts the keywords, PIIs, and/or secrets defined in the predicates.
	Redact bool `json:"redact,omitempty" msgpack:"redact,omitempty" bson:"redact,omitempty" mapstructure:"redact,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Moderation represents the model of a moderation

func NewModeration

func NewModeration() *Moderation

NewModeration returns a new *Moderation

func (*Moderation) AttributeSpecifications

func (*Moderation) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Moderation) BleveType

func (o *Moderation) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Moderation) DeepCopy

func (o *Moderation) DeepCopy() *Moderation

DeepCopy returns a deep copy if the Moderation.

func (*Moderation) DeepCopyInto

func (o *Moderation) DeepCopyInto(out *Moderation)

DeepCopyInto copies the receiver into the given *Moderation.

func (*Moderation) GetBSON

func (o *Moderation) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Moderation) SetBSON

func (o *Moderation) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Moderation) SpecificationForAttribute

func (*Moderation) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Moderation) Validate

func (o *Moderation) Validate() error

Validate valides the current information stored into the structure.

func (*Moderation) ValueForAttribute

func (o *Moderation) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type ModerationActionValue

type ModerationActionValue string

ModerationActionValue represents the possible values for attribute "action".

const (
	// ModerationActionBlock represents the value Block.
	ModerationActionBlock ModerationActionValue = "Block"

	// ModerationActionNone represents the value None.
	ModerationActionNone ModerationActionValue = "None"

	// ModerationActionWarn represents the value Warn.
	ModerationActionWarn ModerationActionValue = "Warn"
)

type OrgSettings

type OrgSettings struct {
	// The Certificate authority to use to validate user certificates in PEM format.
	CA string `json:"CA" msgpack:"CA" bson:"ca" mapstructure:"CA,omitempty"`

	// The currently used Certificate authorities's Common Name.
	CACommonNames []string `json:"CACommonNames" msgpack:"CACommonNames" bson:"cacommonnames" mapstructure:"CACommonNames,omitempty"`

	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The rego policy that decides if the incoming request can access the
	// provider. If this empty, the dynamic policy transpiled from
	// AccessPolicies API objects will be used by Apexes. If set however,
	// everything computed by API objects are ignored and this becomes the final
	// policy.
	AccessPolicy string `json:"accessPolicy" msgpack:"accessPolicy" bson:"accesspolicy" mapstructure:"accessPolicy,omitempty"`

	// When enabled, an API authorization will be created in your
	// organization to allow the Support Team to access your organization in
	// read-only fashion to help you with any issue you might have.
	// Disable it again to remove the permissions.
	AllowSupportAccess bool `json:"allowSupportAccess" msgpack:"allowSupportAccess" bson:"allowsupportaccess" mapstructure:"allowSupportAccess,omitempty"`

	// Ask the user of web applications for consent before accessing a monitored
	// provider, using an html splash screen the first time they connect. If
	// this is not set, the users of the providers can still figure out the
	// provider is monitored. This is a courtesy and not a security feature.
	AskConsent bool `json:"askConsent" msgpack:"askConsent" bson:"askconsent" mapstructure:"askConsent,omitempty"`

	// The rego policy that decides in which team an user should be in. The team
	// will be passed to the accessPolicy. If this empty, the dynamic policy
	// transpiled from AssignPolicies API objects will be used by Apexes. If set
	// however, everything computed by API objects are ignored and this becomes
	// the final policy.
	AssignPolicy string `json:"assignPolicy" msgpack:"assignPolicy" bson:"assignpolicy" mapstructure:"assignPolicy,omitempty"`

	// The policy that decides how to handle the request content, once access
	// has been granted by accessPolicy and the content analysis was performed.
	// If this empty, the dynamic policy transpiled from AccessPolicies API
	// objects will be used by Apexes. If set however, everything computed by
	// API objects are ignored and this becomes the final policy.
	ContentPolicy string `json:"contentPolicy" msgpack:"contentPolicy" bson:"contentpolicy" mapstructure:"contentPolicy,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// If true, it disables discovering of the visited URLs.
	DisableURLDiscovery bool `` /* 128-byte string literal not displayed */

	// the fingerprint of the cas in the chain.
	Fingerprints []string `json:"fingerprints" msgpack:"fingerprints" bson:"fingerprints" mapstructure:"fingerprints,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A few sentences about the organization. The description must be short
	// and detailed. It will be used by the inference engine to decide if the content
	// sent by the users are relevant to your company.
	Profile string `json:"profile" msgpack:"profile" bson:"profile" mapstructure:"profile,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// If set, files uploaded by the users will be stored.
	StoreInputFiles bool `json:"storeInputFiles" msgpack:"storeInputFiles" bson:"storeinputfiles" mapstructure:"storeInputFiles,omitempty"`

	// If set, files sent to the users will be stored.
	StoreOutputFiles bool `json:"storeOutputFiles" msgpack:"storeOutputFiles" bson:"storeoutputfiles" mapstructure:"storeOutputFiles,omitempty"`

	// the IDs of the subject keys of the cas in the chain.
	SubjectKeyIDs []string `json:"subjectKeyIDs" msgpack:"subjectKeyIDs" bson:"subjectkeyids" mapstructure:"subjectKeyIDs,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// If true, it uses Rego code to define team assignment, provider access and
	// content policies.
	UseRegoCodeOnly bool `json:"useRegoCodeOnly" msgpack:"useRegoCodeOnly" bson:"useregocodeonly" mapstructure:"useRegoCodeOnly,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

OrgSettings represents the model of a orgsettings

func NewOrgSettings

func NewOrgSettings() *OrgSettings

NewOrgSettings returns a new *OrgSettings

func (*OrgSettings) AttributeSpecifications

func (*OrgSettings) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*OrgSettings) BleveType

func (o *OrgSettings) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*OrgSettings) DeepCopy

func (o *OrgSettings) DeepCopy() *OrgSettings

DeepCopy returns a deep copy if the OrgSettings.

func (*OrgSettings) DeepCopyInto

func (o *OrgSettings) DeepCopyInto(out *OrgSettings)

DeepCopyInto copies the receiver into the given *OrgSettings.

func (*OrgSettings) DefaultOrder

func (o *OrgSettings) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*OrgSettings) Doc

func (o *OrgSettings) Doc() string

Doc returns the documentation for the object

func (*OrgSettings) GetBSON

func (o *OrgSettings) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OrgSettings) GetCreateTime

func (o *OrgSettings) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*OrgSettings) GetImportHash

func (o *OrgSettings) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*OrgSettings) GetImportLabel

func (o *OrgSettings) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*OrgSettings) GetNamespace

func (o *OrgSettings) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*OrgSettings) GetPropagate

func (o *OrgSettings) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*OrgSettings) GetUpdateTime

func (o *OrgSettings) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*OrgSettings) GetZHash

func (o *OrgSettings) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*OrgSettings) GetZone

func (o *OrgSettings) GetZone() int

GetZone returns the Zone of the receiver.

func (*OrgSettings) Identifier

func (o *OrgSettings) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*OrgSettings) Identity

func (o *OrgSettings) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*OrgSettings) Patch

func (o *OrgSettings) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseOrgSettings to the object.

func (*OrgSettings) SetBSON

func (o *OrgSettings) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OrgSettings) SetCreateTime

func (o *OrgSettings) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*OrgSettings) SetIdentifier

func (o *OrgSettings) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*OrgSettings) SetImportHash

func (o *OrgSettings) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*OrgSettings) SetImportLabel

func (o *OrgSettings) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*OrgSettings) SetNamespace

func (o *OrgSettings) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*OrgSettings) SetPropagate

func (o *OrgSettings) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*OrgSettings) SetUpdateTime

func (o *OrgSettings) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*OrgSettings) SetZHash

func (o *OrgSettings) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*OrgSettings) SetZone

func (o *OrgSettings) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*OrgSettings) SpecificationForAttribute

func (*OrgSettings) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*OrgSettings) String

func (o *OrgSettings) String() string

func (*OrgSettings) ToSparse

func (o *OrgSettings) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*OrgSettings) Validate

func (o *OrgSettings) Validate() error

Validate valides the current information stored into the structure.

func (*OrgSettings) ValueForAttribute

func (o *OrgSettings) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*OrgSettings) Version

func (o *OrgSettings) Version() int

Version returns the hardcoded version of the model.

type OrgSettingsList

type OrgSettingsList []*OrgSettings

OrgSettingsList represents a list of OrgSettings

func (OrgSettingsList) Append

Append appends the objects to the a new copy of the OrgSettingsList.

func (OrgSettingsList) Copy

Copy returns a pointer to a copy the OrgSettingsList.

func (OrgSettingsList) DefaultOrder

func (o OrgSettingsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (OrgSettingsList) Identity

func (o OrgSettingsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (OrgSettingsList) List

List converts the object to an elemental.IdentifiablesList.

func (OrgSettingsList) ToSparse

func (o OrgSettingsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the OrgSettingsList converted to SparseOrgSettingsList. Objects in the list will only contain the given fields. No field means entire field set.

func (OrgSettingsList) Version

func (o OrgSettingsList) Version() int

Version returns the version of the content.

type OrgStorage

type OrgStorage struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// Key of the storage.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Value of the storage.
	Value string `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

OrgStorage represents the model of a orgstorage

func NewOrgStorage

func NewOrgStorage() *OrgStorage

NewOrgStorage returns a new *OrgStorage

func (*OrgStorage) AttributeSpecifications

func (*OrgStorage) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*OrgStorage) BleveType

func (o *OrgStorage) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*OrgStorage) DeepCopy

func (o *OrgStorage) DeepCopy() *OrgStorage

DeepCopy returns a deep copy if the OrgStorage.

func (*OrgStorage) DeepCopyInto

func (o *OrgStorage) DeepCopyInto(out *OrgStorage)

DeepCopyInto copies the receiver into the given *OrgStorage.

func (*OrgStorage) DefaultOrder

func (o *OrgStorage) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*OrgStorage) Doc

func (o *OrgStorage) Doc() string

Doc returns the documentation for the object

func (*OrgStorage) GetBSON

func (o *OrgStorage) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OrgStorage) GetCreateTime

func (o *OrgStorage) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*OrgStorage) GetImportHash

func (o *OrgStorage) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*OrgStorage) GetImportLabel

func (o *OrgStorage) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*OrgStorage) GetNamespace

func (o *OrgStorage) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*OrgStorage) GetUpdateTime

func (o *OrgStorage) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*OrgStorage) GetZHash

func (o *OrgStorage) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*OrgStorage) GetZone

func (o *OrgStorage) GetZone() int

GetZone returns the Zone of the receiver.

func (*OrgStorage) Identifier

func (o *OrgStorage) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*OrgStorage) Identity

func (o *OrgStorage) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*OrgStorage) Patch

func (o *OrgStorage) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseOrgStorage to the object.

func (*OrgStorage) SetBSON

func (o *OrgStorage) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OrgStorage) SetCreateTime

func (o *OrgStorage) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*OrgStorage) SetIdentifier

func (o *OrgStorage) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*OrgStorage) SetImportHash

func (o *OrgStorage) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*OrgStorage) SetImportLabel

func (o *OrgStorage) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*OrgStorage) SetNamespace

func (o *OrgStorage) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*OrgStorage) SetUpdateTime

func (o *OrgStorage) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*OrgStorage) SetZHash

func (o *OrgStorage) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*OrgStorage) SetZone

func (o *OrgStorage) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*OrgStorage) SpecificationForAttribute

func (*OrgStorage) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*OrgStorage) String

func (o *OrgStorage) String() string

func (*OrgStorage) ToSparse

func (o *OrgStorage) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*OrgStorage) Validate

func (o *OrgStorage) Validate() error

Validate valides the current information stored into the structure.

func (*OrgStorage) ValueForAttribute

func (o *OrgStorage) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*OrgStorage) Version

func (o *OrgStorage) Version() int

Version returns the hardcoded version of the model.

type OrgStoragesList

type OrgStoragesList []*OrgStorage

OrgStoragesList represents a list of OrgStorages

func (OrgStoragesList) Append

Append appends the objects to the a new copy of the OrgStoragesList.

func (OrgStoragesList) Copy

Copy returns a pointer to a copy the OrgStoragesList.

func (OrgStoragesList) DefaultOrder

func (o OrgStoragesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (OrgStoragesList) Identity

func (o OrgStoragesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (OrgStoragesList) List

List converts the object to an elemental.IdentifiablesList.

func (OrgStoragesList) ToSparse

func (o OrgStoragesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the OrgStoragesList converted to SparseOrgStoragesList. Objects in the list will only contain the given fields. No field means entire field set.

func (OrgStoragesList) Version

func (o OrgStoragesList) Version() int

Version returns the version of the content.

type PACConfig

type PACConfig struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// Name of the PAC config. A special name is 'default'. The default pac will be the
	// one that APEX returns if nothing else is configured.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The list of providers to activate for that PAC config.
	Providers []string `json:"providers" msgpack:"providers" bson:"providers" mapstructure:"providers,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PACConfig represents the model of a pacconfig

func NewPACConfig

func NewPACConfig() *PACConfig

NewPACConfig returns a new *PACConfig

func (*PACConfig) AttributeSpecifications

func (*PACConfig) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PACConfig) BleveType

func (o *PACConfig) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PACConfig) DeepCopy

func (o *PACConfig) DeepCopy() *PACConfig

DeepCopy returns a deep copy if the PACConfig.

func (*PACConfig) DeepCopyInto

func (o *PACConfig) DeepCopyInto(out *PACConfig)

DeepCopyInto copies the receiver into the given *PACConfig.

func (*PACConfig) DefaultOrder

func (o *PACConfig) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PACConfig) Doc

func (o *PACConfig) Doc() string

Doc returns the documentation for the object

func (*PACConfig) GetBSON

func (o *PACConfig) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PACConfig) GetCreateTime

func (o *PACConfig) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*PACConfig) GetImportHash

func (o *PACConfig) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*PACConfig) GetImportLabel

func (o *PACConfig) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*PACConfig) GetNamespace

func (o *PACConfig) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*PACConfig) GetUpdateTime

func (o *PACConfig) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*PACConfig) GetZHash

func (o *PACConfig) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*PACConfig) GetZone

func (o *PACConfig) GetZone() int

GetZone returns the Zone of the receiver.

func (*PACConfig) Identifier

func (o *PACConfig) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PACConfig) Identity

func (o *PACConfig) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PACConfig) Patch

func (o *PACConfig) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePACConfig to the object.

func (*PACConfig) SetBSON

func (o *PACConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PACConfig) SetCreateTime

func (o *PACConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*PACConfig) SetIdentifier

func (o *PACConfig) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PACConfig) SetImportHash

func (o *PACConfig) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*PACConfig) SetImportLabel

func (o *PACConfig) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*PACConfig) SetNamespace

func (o *PACConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*PACConfig) SetUpdateTime

func (o *PACConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*PACConfig) SetZHash

func (o *PACConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*PACConfig) SetZone

func (o *PACConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*PACConfig) SpecificationForAttribute

func (*PACConfig) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PACConfig) String

func (o *PACConfig) String() string

func (*PACConfig) ToSparse

func (o *PACConfig) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*PACConfig) Validate

func (o *PACConfig) Validate() error

Validate valides the current information stored into the structure.

func (*PACConfig) ValueForAttribute

func (o *PACConfig) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*PACConfig) Version

func (o *PACConfig) Version() int

Version returns the hardcoded version of the model.

type PACConfigsList

type PACConfigsList []*PACConfig

PACConfigsList represents a list of PACConfigs

func (PACConfigsList) Append

Append appends the objects to the a new copy of the PACConfigsList.

func (PACConfigsList) Copy

Copy returns a pointer to a copy the PACConfigsList.

func (PACConfigsList) DefaultOrder

func (o PACConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PACConfigsList) Identity

func (o PACConfigsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PACConfigsList) List

List converts the object to an elemental.IdentifiablesList.

func (PACConfigsList) ToSparse

func (o PACConfigsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PACConfigsList converted to SparsePACConfigsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PACConfigsList) Version

func (o PACConfigsList) Version() int

Version returns the version of the content.

type Passcode

type Passcode struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The email of the customer. An email wih a login link will be sent.
	Email string `json:"email" msgpack:"email" bson:"email" mapstructure:"email,omitempty"`

	// The date after which the secret will not be valid anymore. This is computed
	// using the validity property.
	Expiration time.Time `json:"expiration" msgpack:"expiration" bson:"expiration" mapstructure:"expiration,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The organization name.
	Organization string `json:"organization" msgpack:"organization" bson:"organization" mapstructure:"organization,omitempty"`

	// The secret to login.
	Secret string `json:"-" msgpack:"-" bson:"secret" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// The validity duration of the secret.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Passcode represents the model of a passcode

func NewPasscode

func NewPasscode() *Passcode

NewPasscode returns a new *Passcode

func (*Passcode) AttributeSpecifications

func (*Passcode) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Passcode) BleveType

func (o *Passcode) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Passcode) DecryptAttributes

func (o *Passcode) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*Passcode) DeepCopy

func (o *Passcode) DeepCopy() *Passcode

DeepCopy returns a deep copy if the Passcode.

func (*Passcode) DeepCopyInto

func (o *Passcode) DeepCopyInto(out *Passcode)

DeepCopyInto copies the receiver into the given *Passcode.

func (*Passcode) DefaultOrder

func (o *Passcode) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Passcode) Doc

func (o *Passcode) Doc() string

Doc returns the documentation for the object

func (*Passcode) EncryptAttributes

func (o *Passcode) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*Passcode) GetBSON

func (o *Passcode) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Passcode) GetCreateTime

func (o *Passcode) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Passcode) GetNamespace

func (o *Passcode) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Passcode) GetUpdateTime

func (o *Passcode) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Passcode) GetZHash

func (o *Passcode) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Passcode) GetZone

func (o *Passcode) GetZone() int

GetZone returns the Zone of the receiver.

func (*Passcode) Identifier

func (o *Passcode) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Passcode) Identity

func (o *Passcode) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Passcode) Patch

func (o *Passcode) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePasscode to the object.

func (*Passcode) SetBSON

func (o *Passcode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Passcode) SetCreateTime

func (o *Passcode) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Passcode) SetIdentifier

func (o *Passcode) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Passcode) SetNamespace

func (o *Passcode) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Passcode) SetUpdateTime

func (o *Passcode) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Passcode) SetZHash

func (o *Passcode) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Passcode) SetZone

func (o *Passcode) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Passcode) SpecificationForAttribute

func (*Passcode) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Passcode) String

func (o *Passcode) String() string

func (*Passcode) ToSparse

func (o *Passcode) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Passcode) Validate

func (o *Passcode) Validate() error

Validate valides the current information stored into the structure.

func (*Passcode) ValueForAttribute

func (o *Passcode) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Passcode) Version

func (o *Passcode) Version() int

Version returns the hardcoded version of the model.

type PasscodeCheck

type PasscodeCheck struct {
	// The password associated to the username.
	Password string `json:"password" msgpack:"password" bson:"-" mapstructure:"password,omitempty"`

	// The username.
	Username string `json:"username" msgpack:"username" bson:"-" mapstructure:"username,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PasscodeCheck represents the model of a passcodecheck

func NewPasscodeCheck

func NewPasscodeCheck() *PasscodeCheck

NewPasscodeCheck returns a new *PasscodeCheck

func (*PasscodeCheck) AttributeSpecifications

func (*PasscodeCheck) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PasscodeCheck) BleveType

func (o *PasscodeCheck) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PasscodeCheck) DeepCopy

func (o *PasscodeCheck) DeepCopy() *PasscodeCheck

DeepCopy returns a deep copy if the PasscodeCheck.

func (*PasscodeCheck) DeepCopyInto

func (o *PasscodeCheck) DeepCopyInto(out *PasscodeCheck)

DeepCopyInto copies the receiver into the given *PasscodeCheck.

func (*PasscodeCheck) DefaultOrder

func (o *PasscodeCheck) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PasscodeCheck) Doc

func (o *PasscodeCheck) Doc() string

Doc returns the documentation for the object

func (*PasscodeCheck) GetBSON

func (o *PasscodeCheck) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PasscodeCheck) Identifier

func (o *PasscodeCheck) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PasscodeCheck) Identity

func (o *PasscodeCheck) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PasscodeCheck) Patch

func (o *PasscodeCheck) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePasscodeCheck to the object.

func (*PasscodeCheck) SetBSON

func (o *PasscodeCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PasscodeCheck) SetIdentifier

func (o *PasscodeCheck) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PasscodeCheck) SpecificationForAttribute

func (*PasscodeCheck) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PasscodeCheck) String

func (o *PasscodeCheck) String() string

func (*PasscodeCheck) ToSparse

func (o *PasscodeCheck) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*PasscodeCheck) Validate

func (o *PasscodeCheck) Validate() error

Validate valides the current information stored into the structure.

func (*PasscodeCheck) ValueForAttribute

func (o *PasscodeCheck) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*PasscodeCheck) Version

func (o *PasscodeCheck) Version() int

Version returns the hardcoded version of the model.

type PasscodeChecksList

type PasscodeChecksList []*PasscodeCheck

PasscodeChecksList represents a list of PasscodeChecks

func (PasscodeChecksList) Append

Append appends the objects to the a new copy of the PasscodeChecksList.

func (PasscodeChecksList) Copy

Copy returns a pointer to a copy the PasscodeChecksList.

func (PasscodeChecksList) DefaultOrder

func (o PasscodeChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PasscodeChecksList) Identity

func (o PasscodeChecksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PasscodeChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (PasscodeChecksList) ToSparse

func (o PasscodeChecksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PasscodeChecksList converted to SparsePasscodeChecksList. Objects in the list will only contain the given fields. No field means entire field set.

func (PasscodeChecksList) Version

func (o PasscodeChecksList) Version() int

Version returns the version of the content.

type PasscodesList

type PasscodesList []*Passcode

PasscodesList represents a list of Passcodes

func (PasscodesList) Append

Append appends the objects to the a new copy of the PasscodesList.

func (PasscodesList) Copy

Copy returns a pointer to a copy the PasscodesList.

func (PasscodesList) DefaultOrder

func (o PasscodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PasscodesList) Identity

func (o PasscodesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PasscodesList) List

List converts the object to an elemental.IdentifiablesList.

func (PasscodesList) ToSparse

func (o PasscodesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PasscodesList converted to SparsePasscodesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PasscodesList) Version

func (o PasscodesList) Version() int

Version returns the version of the content.

type PolicyUpdate

type PolicyUpdate struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PolicyUpdate represents the model of a policyupdate

func NewPolicyUpdate

func NewPolicyUpdate() *PolicyUpdate

NewPolicyUpdate returns a new *PolicyUpdate

func (*PolicyUpdate) AttributeSpecifications

func (*PolicyUpdate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PolicyUpdate) BleveType

func (o *PolicyUpdate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PolicyUpdate) DeepCopy

func (o *PolicyUpdate) DeepCopy() *PolicyUpdate

DeepCopy returns a deep copy if the PolicyUpdate.

func (*PolicyUpdate) DeepCopyInto

func (o *PolicyUpdate) DeepCopyInto(out *PolicyUpdate)

DeepCopyInto copies the receiver into the given *PolicyUpdate.

func (*PolicyUpdate) DefaultOrder

func (o *PolicyUpdate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PolicyUpdate) Doc

func (o *PolicyUpdate) Doc() string

Doc returns the documentation for the object

func (*PolicyUpdate) GetBSON

func (o *PolicyUpdate) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyUpdate) GetNamespace

func (o *PolicyUpdate) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*PolicyUpdate) Identifier

func (o *PolicyUpdate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PolicyUpdate) Identity

func (o *PolicyUpdate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PolicyUpdate) Patch

func (o *PolicyUpdate) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicyUpdate to the object.

func (*PolicyUpdate) SetBSON

func (o *PolicyUpdate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyUpdate) SetIdentifier

func (o *PolicyUpdate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PolicyUpdate) SetNamespace

func (o *PolicyUpdate) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*PolicyUpdate) SpecificationForAttribute

func (*PolicyUpdate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PolicyUpdate) String

func (o *PolicyUpdate) String() string

func (*PolicyUpdate) ToSparse

func (o *PolicyUpdate) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*PolicyUpdate) Validate

func (o *PolicyUpdate) Validate() error

Validate valides the current information stored into the structure.

func (*PolicyUpdate) ValueForAttribute

func (o *PolicyUpdate) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*PolicyUpdate) Version

func (o *PolicyUpdate) Version() int

Version returns the hardcoded version of the model.

type PolicyUpdatesList

type PolicyUpdatesList []*PolicyUpdate

PolicyUpdatesList represents a list of PolicyUpdates

func (PolicyUpdatesList) Append

Append appends the objects to the a new copy of the PolicyUpdatesList.

func (PolicyUpdatesList) Copy

Copy returns a pointer to a copy the PolicyUpdatesList.

func (PolicyUpdatesList) DefaultOrder

func (o PolicyUpdatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PolicyUpdatesList) Identity

func (o PolicyUpdatesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PolicyUpdatesList) List

List converts the object to an elemental.IdentifiablesList.

func (PolicyUpdatesList) ToSparse

func (o PolicyUpdatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PolicyUpdatesList converted to SparsePolicyUpdatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PolicyUpdatesList) Version

func (o PolicyUpdatesList) Version() int

Version returns the version of the content.

type Predicate

type Predicate struct {
	// The key of the predicate.
	Key PredicateKeyValue `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// The operator of the predicate.
	Operator PredicateOperatorValue `json:"operator" msgpack:"operator" bson:"operator" mapstructure:"operator,omitempty"`

	// The values of the predicate.
	Values []any `json:"values" msgpack:"values" bson:"values" mapstructure:"values,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Predicate represents the model of a predicate

func NewPredicate

func NewPredicate() *Predicate

NewPredicate returns a new *Predicate

func (*Predicate) AttributeSpecifications

func (*Predicate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Predicate) BleveType

func (o *Predicate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Predicate) DeepCopy

func (o *Predicate) DeepCopy() *Predicate

DeepCopy returns a deep copy if the Predicate.

func (*Predicate) DeepCopyInto

func (o *Predicate) DeepCopyInto(out *Predicate)

DeepCopyInto copies the receiver into the given *Predicate.

func (*Predicate) GetBSON

func (o *Predicate) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Predicate) SetBSON

func (o *Predicate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Predicate) SpecificationForAttribute

func (*Predicate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Predicate) Validate

func (o *Predicate) Validate() error

Validate valides the current information stored into the structure.

func (*Predicate) ValueForAttribute

func (o *Predicate) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type PredicateKeyValue

type PredicateKeyValue string

PredicateKeyValue represents the possible values for attribute "key".

const (
	// PredicateKeyCategories represents the value Categories.
	PredicateKeyCategories PredicateKeyValue = "Categories"

	// PredicateKeyConfidentiality represents the value Confidentiality.
	PredicateKeyConfidentiality PredicateKeyValue = "Confidentiality"

	// PredicateKeyExploits represents the value Exploits.
	PredicateKeyExploits PredicateKeyValue = "Exploits"

	// PredicateKeyKeywords represents the value Keywords.
	PredicateKeyKeywords PredicateKeyValue = "Keywords"

	// PredicateKeyLanguages represents the value Languages.
	PredicateKeyLanguages PredicateKeyValue = "Languages"

	// PredicateKeyModality represents the value Modality.
	PredicateKeyModality PredicateKeyValue = "Modality"

	// PredicateKeyModel represents the value Model.
	PredicateKeyModel PredicateKeyValue = "Model"

	// PredicateKeyPIIs represents the value PIIs.
	PredicateKeyPIIs PredicateKeyValue = "PIIs"

	// PredicateKeyPlugin represents the value Plugin.
	PredicateKeyPlugin PredicateKeyValue = "Plugin"

	// PredicateKeyProvider represents the value Provider.
	PredicateKeyProvider PredicateKeyValue = "Provider"

	// PredicateKeyRelevance represents the value Relevance.
	PredicateKeyRelevance PredicateKeyValue = "Relevance"

	// PredicateKeySecrets represents the value Secrets.
	PredicateKeySecrets PredicateKeyValue = "Secrets"

	// PredicateKeySize represents the value Size.
	PredicateKeySize PredicateKeyValue = "Size"

	// PredicateKeyTeam represents the value Team.
	PredicateKeyTeam PredicateKeyValue = "Team"

	// PredicateKeyTools represents the value Tools.
	PredicateKeyTools PredicateKeyValue = "Tools"

	// PredicateKeyTopics represents the value Topics.
	PredicateKeyTopics PredicateKeyValue = "Topics"

	// PredicateKeyWorkspace represents the value Workspace.
	PredicateKeyWorkspace PredicateKeyValue = "Workspace"
)

type PredicateOperatorValue

type PredicateOperatorValue string

PredicateOperatorValue represents the possible values for attribute "operator".

const (
	// PredicateOperatorAll represents the value All.
	PredicateOperatorAll PredicateOperatorValue = "All"

	// PredicateOperatorAny represents the value Any.
	PredicateOperatorAny PredicateOperatorValue = "Any"

	// PredicateOperatorEmpty represents the value Empty.
	PredicateOperatorEmpty PredicateOperatorValue = "Empty"

	// PredicateOperatorEquals represents the value Equals.
	PredicateOperatorEquals PredicateOperatorValue = "Equals"

	// PredicateOperatorEqualsOrGreaterThan represents the value EqualsOrGreaterThan.
	PredicateOperatorEqualsOrGreaterThan PredicateOperatorValue = "EqualsOrGreaterThan"

	// PredicateOperatorEqualsOrLesserThan represents the value EqualsOrLesserThan.
	PredicateOperatorEqualsOrLesserThan PredicateOperatorValue = "EqualsOrLesserThan"

	// PredicateOperatorNotAny represents the value NotAny.
	PredicateOperatorNotAny PredicateOperatorValue = "NotAny"

	// PredicateOperatorNotEmpty represents the value NotEmpty.
	PredicateOperatorNotEmpty PredicateOperatorValue = "NotEmpty"

	// PredicateOperatorNotEquals represents the value NotEquals.
	PredicateOperatorNotEquals PredicateOperatorValue = "NotEquals"
)

type Principal

type Principal struct {
	// The application principal information if type is App.
	App *PrincipalApp `json:"app,omitempty" msgpack:"app,omitempty" bson:"app,omitempty" mapstructure:"app,omitempty"`

	// The type of authentication.
	AuthType PrincipalAuthTypeValue `json:"authType" msgpack:"authType" bson:"authtype" mapstructure:"authType,omitempty"`

	// List of claims extracted from the user query.
	Claims []string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// The team that was used to authorize the request.
	Team string `json:"team,omitempty" msgpack:"team,omitempty" bson:"team,omitempty" mapstructure:"team,omitempty"`

	// The name of the token, if any.
	TokenName string `json:"tokenName" msgpack:"tokenName" bson:"tokenname" mapstructure:"tokenName,omitempty"`

	// The type of principal.
	Type PrincipalTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// The user principal information if type is User.
	User *PrincipalUser `json:"user,omitempty" msgpack:"user,omitempty" bson:"user,omitempty" mapstructure:"user,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Principal represents the model of a principal

func NewPrincipal

func NewPrincipal() *Principal

NewPrincipal returns a new *Principal

func (*Principal) AttributeSpecifications

func (*Principal) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Principal) BleveType

func (o *Principal) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Principal) DeepCopy

func (o *Principal) DeepCopy() *Principal

DeepCopy returns a deep copy if the Principal.

func (*Principal) DeepCopyInto

func (o *Principal) DeepCopyInto(out *Principal)

DeepCopyInto copies the receiver into the given *Principal.

func (*Principal) DefaultOrder

func (o *Principal) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Principal) Doc

func (o *Principal) Doc() string

Doc returns the documentation for the object

func (*Principal) GetBSON

func (o *Principal) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Principal) Identifier

func (o *Principal) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Principal) Identity

func (o *Principal) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Principal) Patch

func (o *Principal) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePrincipal to the object.

func (*Principal) SetBSON

func (o *Principal) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Principal) SetIdentifier

func (o *Principal) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Principal) SpecificationForAttribute

func (*Principal) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Principal) String

func (o *Principal) String() string

func (*Principal) ToSparse

func (o *Principal) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Principal) Validate

func (o *Principal) Validate() error

Validate valides the current information stored into the structure.

func (*Principal) ValueForAttribute

func (o *Principal) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Principal) Version

func (o *Principal) Version() int

Version returns the hardcoded version of the model.

type PrincipalApp

type PrincipalApp struct {
	// The list of labels attached to an application request.
	Labels []string `json:"labels,omitempty" msgpack:"labels,omitempty" bson:"labels,omitempty" mapstructure:"labels,omitempty"`

	// The name of the application.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The tier of the application request.
	Tier string `json:"tier,omitempty" msgpack:"tier,omitempty" bson:"tier,omitempty" mapstructure:"tier,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PrincipalApp represents the model of a principalapp

func NewPrincipalApp

func NewPrincipalApp() *PrincipalApp

NewPrincipalApp returns a new *PrincipalApp

func (*PrincipalApp) AttributeSpecifications

func (*PrincipalApp) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PrincipalApp) BleveType

func (o *PrincipalApp) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PrincipalApp) DeepCopy

func (o *PrincipalApp) DeepCopy() *PrincipalApp

DeepCopy returns a deep copy if the PrincipalApp.

func (*PrincipalApp) DeepCopyInto

func (o *PrincipalApp) DeepCopyInto(out *PrincipalApp)

DeepCopyInto copies the receiver into the given *PrincipalApp.

func (*PrincipalApp) DefaultOrder

func (o *PrincipalApp) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PrincipalApp) Doc

func (o *PrincipalApp) Doc() string

Doc returns the documentation for the object

func (*PrincipalApp) GetBSON

func (o *PrincipalApp) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PrincipalApp) Identifier

func (o *PrincipalApp) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PrincipalApp) Identity

func (o *PrincipalApp) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PrincipalApp) Patch

func (o *PrincipalApp) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePrincipalApp to the object.

func (*PrincipalApp) SetBSON

func (o *PrincipalApp) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PrincipalApp) SetIdentifier

func (o *PrincipalApp) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PrincipalApp) SpecificationForAttribute

func (*PrincipalApp) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PrincipalApp) String

func (o *PrincipalApp) String() string

func (*PrincipalApp) ToSparse

func (o *PrincipalApp) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*PrincipalApp) Validate

func (o *PrincipalApp) Validate() error

Validate valides the current information stored into the structure.

func (*PrincipalApp) ValueForAttribute

func (o *PrincipalApp) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*PrincipalApp) Version

func (o *PrincipalApp) Version() int

Version returns the hardcoded version of the model.

type PrincipalAppsList

type PrincipalAppsList []*PrincipalApp

PrincipalAppsList represents a list of PrincipalApps

func (PrincipalAppsList) Append

Append appends the objects to the a new copy of the PrincipalAppsList.

func (PrincipalAppsList) Copy

Copy returns a pointer to a copy the PrincipalAppsList.

func (PrincipalAppsList) DefaultOrder

func (o PrincipalAppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PrincipalAppsList) Identity

func (o PrincipalAppsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PrincipalAppsList) List

List converts the object to an elemental.IdentifiablesList.

func (PrincipalAppsList) ToSparse

func (o PrincipalAppsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PrincipalAppsList converted to SparsePrincipalAppsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PrincipalAppsList) Version

func (o PrincipalAppsList) Version() int

Version returns the version of the content.

type PrincipalAuthTypeValue

type PrincipalAuthTypeValue string

PrincipalAuthTypeValue represents the possible values for attribute "authType".

const (
	// PrincipalAuthTypeAppToken represents the value AppToken.
	PrincipalAuthTypeAppToken PrincipalAuthTypeValue = "AppToken"

	// PrincipalAuthTypeCertificate represents the value Certificate.
	PrincipalAuthTypeCertificate PrincipalAuthTypeValue = "Certificate"

	// PrincipalAuthTypeExternal represents the value External.
	PrincipalAuthTypeExternal PrincipalAuthTypeValue = "External"

	// PrincipalAuthTypeHostname represents the value Hostname.
	PrincipalAuthTypeHostname PrincipalAuthTypeValue = "Hostname"

	// PrincipalAuthTypeTierToken represents the value TierToken.
	PrincipalAuthTypeTierToken PrincipalAuthTypeValue = "TierToken"

	// PrincipalAuthTypeToken represents the value Token.
	PrincipalAuthTypeToken PrincipalAuthTypeValue = "Token"

	// PrincipalAuthTypeUserToken represents the value UserToken.
	PrincipalAuthTypeUserToken PrincipalAuthTypeValue = "UserToken"
)

type PrincipalTypeValue

type PrincipalTypeValue string

PrincipalTypeValue represents the possible values for attribute "type".

const (
	// PrincipalTypeApp represents the value App.
	PrincipalTypeApp PrincipalTypeValue = "App"

	// PrincipalTypeUser represents the value User.
	PrincipalTypeUser PrincipalTypeValue = "User"
)

type PrincipalUser

type PrincipalUser struct {
	// Identification bit that will be used to identify the origin of the request.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PrincipalUser represents the model of a principaluser

func NewPrincipalUser

func NewPrincipalUser() *PrincipalUser

NewPrincipalUser returns a new *PrincipalUser

func (*PrincipalUser) AttributeSpecifications

func (*PrincipalUser) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PrincipalUser) BleveType

func (o *PrincipalUser) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PrincipalUser) DeepCopy

func (o *PrincipalUser) DeepCopy() *PrincipalUser

DeepCopy returns a deep copy if the PrincipalUser.

func (*PrincipalUser) DeepCopyInto

func (o *PrincipalUser) DeepCopyInto(out *PrincipalUser)

DeepCopyInto copies the receiver into the given *PrincipalUser.

func (*PrincipalUser) DefaultOrder

func (o *PrincipalUser) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PrincipalUser) Doc

func (o *PrincipalUser) Doc() string

Doc returns the documentation for the object

func (*PrincipalUser) GetBSON

func (o *PrincipalUser) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PrincipalUser) Identifier

func (o *PrincipalUser) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PrincipalUser) Identity

func (o *PrincipalUser) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PrincipalUser) Patch

func (o *PrincipalUser) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePrincipalUser to the object.

func (*PrincipalUser) SetBSON

func (o *PrincipalUser) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PrincipalUser) SetIdentifier

func (o *PrincipalUser) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PrincipalUser) SpecificationForAttribute

func (*PrincipalUser) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PrincipalUser) String

func (o *PrincipalUser) String() string

func (*PrincipalUser) ToSparse

func (o *PrincipalUser) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*PrincipalUser) Validate

func (o *PrincipalUser) Validate() error

Validate valides the current information stored into the structure.

func (*PrincipalUser) ValueForAttribute

func (o *PrincipalUser) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*PrincipalUser) Version

func (o *PrincipalUser) Version() int

Version returns the hardcoded version of the model.

type PrincipalUsersList

type PrincipalUsersList []*PrincipalUser

PrincipalUsersList represents a list of PrincipalUsers

func (PrincipalUsersList) Append

Append appends the objects to the a new copy of the PrincipalUsersList.

func (PrincipalUsersList) Copy

Copy returns a pointer to a copy the PrincipalUsersList.

func (PrincipalUsersList) DefaultOrder

func (o PrincipalUsersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PrincipalUsersList) Identity

func (o PrincipalUsersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PrincipalUsersList) List

List converts the object to an elemental.IdentifiablesList.

func (PrincipalUsersList) ToSparse

func (o PrincipalUsersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PrincipalUsersList converted to SparsePrincipalUsersList. Objects in the list will only contain the given fields. No field means entire field set.

func (PrincipalUsersList) Version

func (o PrincipalUsersList) Version() int

Version returns the version of the content.

type PrincipalsList

type PrincipalsList []*Principal

PrincipalsList represents a list of Principals

func (PrincipalsList) Append

Append appends the objects to the a new copy of the PrincipalsList.

func (PrincipalsList) Copy

Copy returns a pointer to a copy the PrincipalsList.

func (PrincipalsList) DefaultOrder

func (o PrincipalsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PrincipalsList) Identity

func (o PrincipalsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PrincipalsList) List

List converts the object to an elemental.IdentifiablesList.

func (PrincipalsList) ToSparse

func (o PrincipalsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PrincipalsList converted to SparsePrincipalsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PrincipalsList) Version

func (o PrincipalsList) Version() int

Version returns the version of the content.

type Project

type Project struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the project.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The name of the project.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Project represents the model of a project

func NewProject

func NewProject() *Project

NewProject returns a new *Project

func (*Project) AttributeSpecifications

func (*Project) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Project) BleveType

func (o *Project) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Project) DeepCopy

func (o *Project) DeepCopy() *Project

DeepCopy returns a deep copy if the Project.

func (*Project) DeepCopyInto

func (o *Project) DeepCopyInto(out *Project)

DeepCopyInto copies the receiver into the given *Project.

func (*Project) DefaultOrder

func (o *Project) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Project) Doc

func (o *Project) Doc() string

Doc returns the documentation for the object

func (*Project) GetBSON

func (o *Project) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Project) GetCreateTime

func (o *Project) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Project) GetImportHash

func (o *Project) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*Project) GetImportLabel

func (o *Project) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*Project) GetNamespace

func (o *Project) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Project) GetUpdateTime

func (o *Project) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Project) GetZHash

func (o *Project) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Project) GetZone

func (o *Project) GetZone() int

GetZone returns the Zone of the receiver.

func (*Project) Identifier

func (o *Project) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Project) Identity

func (o *Project) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Project) Patch

func (o *Project) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProject to the object.

func (*Project) SetBSON

func (o *Project) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Project) SetCreateTime

func (o *Project) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Project) SetIdentifier

func (o *Project) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Project) SetImportHash

func (o *Project) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*Project) SetImportLabel

func (o *Project) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*Project) SetNamespace

func (o *Project) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Project) SetUpdateTime

func (o *Project) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Project) SetZHash

func (o *Project) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Project) SetZone

func (o *Project) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Project) SpecificationForAttribute

func (*Project) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Project) String

func (o *Project) String() string

func (*Project) ToSparse

func (o *Project) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Project) Validate

func (o *Project) Validate() error

Validate valides the current information stored into the structure.

func (*Project) ValueForAttribute

func (o *Project) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Project) Version

func (o *Project) Version() int

Version returns the hardcoded version of the model.

type ProjectsList

type ProjectsList []*Project

ProjectsList represents a list of Projects

func (ProjectsList) Append

Append appends the objects to the a new copy of the ProjectsList.

func (ProjectsList) Copy

Copy returns a pointer to a copy the ProjectsList.

func (ProjectsList) DefaultOrder

func (o ProjectsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProjectsList) Identity

func (o ProjectsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProjectsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProjectsList) ToSparse

func (o ProjectsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProjectsList converted to SparseProjectsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProjectsList) Version

func (o ProjectsList) Version() int

Version returns the version of the content.

type Provider

type Provider struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// If enabled, run the analysis pipelines on the provider output. No policy will be
	// applied, but the response will be analyzed and classified.
	AnalyzeOutput bool `` /* 134-byte string literal not displayed */

	// The category of the provider.
	Category ProviderCategoryValue `json:"category" msgpack:"category" bson:"category" mapstructure:"category,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The description of the provider.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Use to transform an error before sending it back to the client.
	ErrorTransformer *ErrorTransformer `json:"errorTransformer" msgpack:"errorTransformer" bson:"errortransformer" mapstructure:"errorTransformer,omitempty"`

	// If true, consider this provider as experimental. It will require to use a custom
	// PAC Config to make it usable from the proxy.pac.
	Experimental bool `` /* 130-byte string literal not displayed */

	// Friendly Name of the provider.
	FriendlyName string `json:"friendlyName" msgpack:"friendlyName" bson:"friendlyname" mapstructure:"friendlyName,omitempty"`

	// Hosts supported by the providers.
	Hosts []*Host `json:"hosts" msgpack:"hosts" bson:"hosts" mapstructure:"hosts,omitempty"`

	// The icon of the provider, base64 encoded.
	Icon string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"icon,omitempty" mapstructure:"icon,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// Defines injection point for javascript snippet.
	Injectors []*Injector `json:"injectors,omitempty" msgpack:"injectors,omitempty" bson:"injectors,omitempty" mapstructure:"injectors,omitempty"`

	// List of input extractors.
	InputExtractors []*Extractor `` /* 142-byte string literal not displayed */

	// List of user mappers.
	Mappers []*Mapper `json:"mappers,omitempty" msgpack:"mappers,omitempty" bson:"mappers,omitempty" mapstructure:"mappers,omitempty"`

	// Name of the provider.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// List of output extractors.
	OutputExtractors []*Extractor `` /* 146-byte string literal not displayed */

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// If true, consider the incoming calls to use an acuvity token and swap them using
	// registered providertokens.
	TokenSwap bool `json:"tokenSwap,omitempty" msgpack:"tokenSwap,omitempty" bson:"tokenswap,omitempty" mapstructure:"tokenSwap,omitempty"`

	// If set, additionally trust the Certificate Authorities from the PEM data. This
	// is useful when working on a custom provider using a self signed CA chain.
	TrustedCA string `json:"trustedCA,omitempty" msgpack:"trustedCA,omitempty" bson:"trustedca,omitempty" mapstructure:"trustedCA,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// If enabled, force the ustream scheme to be HTTP instead of https. Mostly use for
	// dev purposes.
	UpstreamUnsecure bool `` /* 146-byte string literal not displayed */

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Provider represents the model of a provider

func NewProvider

func NewProvider() *Provider

NewProvider returns a new *Provider

func (*Provider) AttributeSpecifications

func (*Provider) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Provider) BleveType

func (o *Provider) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Provider) DeepCopy

func (o *Provider) DeepCopy() *Provider

DeepCopy returns a deep copy if the Provider.

func (*Provider) DeepCopyInto

func (o *Provider) DeepCopyInto(out *Provider)

DeepCopyInto copies the receiver into the given *Provider.

func (*Provider) DefaultOrder

func (o *Provider) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Provider) Doc

func (o *Provider) Doc() string

Doc returns the documentation for the object

func (*Provider) GetBSON

func (o *Provider) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Provider) GetCreateTime

func (o *Provider) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Provider) GetImportHash

func (o *Provider) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*Provider) GetImportLabel

func (o *Provider) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*Provider) GetNamespace

func (o *Provider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Provider) GetPropagate

func (o *Provider) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Provider) GetUpdateTime

func (o *Provider) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Provider) GetZHash

func (o *Provider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Provider) GetZone

func (o *Provider) GetZone() int

GetZone returns the Zone of the receiver.

func (*Provider) Identifier

func (o *Provider) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Provider) Identity

func (o *Provider) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Provider) Patch

func (o *Provider) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProvider to the object.

func (*Provider) SetBSON

func (o *Provider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Provider) SetCreateTime

func (o *Provider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Provider) SetIdentifier

func (o *Provider) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Provider) SetImportHash

func (o *Provider) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*Provider) SetImportLabel

func (o *Provider) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*Provider) SetNamespace

func (o *Provider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Provider) SetPropagate

func (o *Provider) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Provider) SetUpdateTime

func (o *Provider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Provider) SetZHash

func (o *Provider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Provider) SetZone

func (o *Provider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Provider) SpecificationForAttribute

func (*Provider) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Provider) String

func (o *Provider) String() string

func (*Provider) ToSparse

func (o *Provider) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Provider) Validate

func (o *Provider) Validate() error

Validate valides the current information stored into the structure.

func (*Provider) ValueForAttribute

func (o *Provider) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Provider) Version

func (o *Provider) Version() int

Version returns the hardcoded version of the model.

type ProviderCategoryValue

type ProviderCategoryValue string

ProviderCategoryValue represents the possible values for attribute "category".

const (
	// ProviderCategoryApp represents the value App.
	ProviderCategoryApp ProviderCategoryValue = "App"

	// ProviderCategoryUser represents the value User.
	ProviderCategoryUser ProviderCategoryValue = "User"
)

type ProviderDetail

type ProviderDetail struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The description of the provider detail.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// Domain of the provider detail.
	Domain string `json:"domain" msgpack:"domain" bson:"-" mapstructure:"domain,omitempty"`

	// Friendly Name of the provider detail.
	FriendlyName string `json:"friendlyName" msgpack:"friendlyName" bson:"-" mapstructure:"friendlyName,omitempty"`

	// The icon of the providerdetail, base64 encoded.
	Icon string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"-" mapstructure:"icon,omitempty"`

	// Name of the provider detail.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The risk score for the domain.
	RiskScore float64 `json:"riskScore" msgpack:"riskScore" bson:"-" mapstructure:"riskScore,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProviderDetail represents the model of a providerdetail

func NewProviderDetail

func NewProviderDetail() *ProviderDetail

NewProviderDetail returns a new *ProviderDetail

func (*ProviderDetail) AttributeSpecifications

func (*ProviderDetail) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProviderDetail) BleveType

func (o *ProviderDetail) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProviderDetail) DeepCopy

func (o *ProviderDetail) DeepCopy() *ProviderDetail

DeepCopy returns a deep copy if the ProviderDetail.

func (*ProviderDetail) DeepCopyInto

func (o *ProviderDetail) DeepCopyInto(out *ProviderDetail)

DeepCopyInto copies the receiver into the given *ProviderDetail.

func (*ProviderDetail) DefaultOrder

func (o *ProviderDetail) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProviderDetail) Doc

func (o *ProviderDetail) Doc() string

Doc returns the documentation for the object

func (*ProviderDetail) GetBSON

func (o *ProviderDetail) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProviderDetail) GetNamespace

func (o *ProviderDetail) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProviderDetail) Identifier

func (o *ProviderDetail) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProviderDetail) Identity

func (o *ProviderDetail) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProviderDetail) Patch

func (o *ProviderDetail) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProviderDetail to the object.

func (*ProviderDetail) SetBSON

func (o *ProviderDetail) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProviderDetail) SetIdentifier

func (o *ProviderDetail) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProviderDetail) SetNamespace

func (o *ProviderDetail) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProviderDetail) SpecificationForAttribute

func (*ProviderDetail) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProviderDetail) String

func (o *ProviderDetail) String() string

func (*ProviderDetail) ToSparse

func (o *ProviderDetail) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProviderDetail) Validate

func (o *ProviderDetail) Validate() error

Validate valides the current information stored into the structure.

func (*ProviderDetail) ValueForAttribute

func (o *ProviderDetail) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ProviderDetail) Version

func (o *ProviderDetail) Version() int

Version returns the hardcoded version of the model.

type ProviderDetailsList

type ProviderDetailsList []*ProviderDetail

ProviderDetailsList represents a list of ProviderDetails

func (ProviderDetailsList) Append

Append appends the objects to the a new copy of the ProviderDetailsList.

func (ProviderDetailsList) Copy

Copy returns a pointer to a copy the ProviderDetailsList.

func (ProviderDetailsList) DefaultOrder

func (o ProviderDetailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProviderDetailsList) Identity

func (o ProviderDetailsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProviderDetailsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProviderDetailsList) ToSparse

func (o ProviderDetailsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProviderDetailsList converted to SparseProviderDetailsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProviderDetailsList) Version

func (o ProviderDetailsList) Version() int

Version returns the version of the content.

type ProviderTeam

type ProviderTeam struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the provider team.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Set the provider team to be disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// A tag expression that identifies user(s) to not include in the team, even if
	// their claims match the subject.
	ExcludedSubject [][]string `json:"excludedSubject" msgpack:"excludedSubject" bson:"excludedsubject" mapstructure:"excludedSubject,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The name of the provider team.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A tag expression that identifies user(s).
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProviderTeam represents the model of a providerteam

func NewProviderTeam

func NewProviderTeam() *ProviderTeam

NewProviderTeam returns a new *ProviderTeam

func (*ProviderTeam) AttributeSpecifications

func (*ProviderTeam) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProviderTeam) BleveType

func (o *ProviderTeam) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProviderTeam) DeepCopy

func (o *ProviderTeam) DeepCopy() *ProviderTeam

DeepCopy returns a deep copy if the ProviderTeam.

func (*ProviderTeam) DeepCopyInto

func (o *ProviderTeam) DeepCopyInto(out *ProviderTeam)

DeepCopyInto copies the receiver into the given *ProviderTeam.

func (*ProviderTeam) DefaultOrder

func (o *ProviderTeam) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProviderTeam) Doc

func (o *ProviderTeam) Doc() string

Doc returns the documentation for the object

func (*ProviderTeam) GetBSON

func (o *ProviderTeam) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProviderTeam) GetCreateTime

func (o *ProviderTeam) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ProviderTeam) GetImportHash

func (o *ProviderTeam) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*ProviderTeam) GetImportLabel

func (o *ProviderTeam) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*ProviderTeam) GetNamespace

func (o *ProviderTeam) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProviderTeam) GetUpdateTime

func (o *ProviderTeam) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ProviderTeam) GetZHash

func (o *ProviderTeam) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ProviderTeam) GetZone

func (o *ProviderTeam) GetZone() int

GetZone returns the Zone of the receiver.

func (*ProviderTeam) Identifier

func (o *ProviderTeam) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProviderTeam) Identity

func (o *ProviderTeam) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProviderTeam) Patch

func (o *ProviderTeam) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProviderTeam to the object.

func (*ProviderTeam) SetBSON

func (o *ProviderTeam) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProviderTeam) SetCreateTime

func (o *ProviderTeam) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ProviderTeam) SetIdentifier

func (o *ProviderTeam) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProviderTeam) SetImportHash

func (o *ProviderTeam) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*ProviderTeam) SetImportLabel

func (o *ProviderTeam) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*ProviderTeam) SetNamespace

func (o *ProviderTeam) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProviderTeam) SetUpdateTime

func (o *ProviderTeam) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ProviderTeam) SetZHash

func (o *ProviderTeam) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ProviderTeam) SetZone

func (o *ProviderTeam) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ProviderTeam) SpecificationForAttribute

func (*ProviderTeam) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProviderTeam) String

func (o *ProviderTeam) String() string

func (*ProviderTeam) ToSparse

func (o *ProviderTeam) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProviderTeam) Validate

func (o *ProviderTeam) Validate() error

Validate valides the current information stored into the structure.

func (*ProviderTeam) ValueForAttribute

func (o *ProviderTeam) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ProviderTeam) Version

func (o *ProviderTeam) Version() int

Version returns the hardcoded version of the model.

type ProviderTeamsList

type ProviderTeamsList []*ProviderTeam

ProviderTeamsList represents a list of ProviderTeams

func (ProviderTeamsList) Append

Append appends the objects to the a new copy of the ProviderTeamsList.

func (ProviderTeamsList) Copy

Copy returns a pointer to a copy the ProviderTeamsList.

func (ProviderTeamsList) DefaultOrder

func (o ProviderTeamsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProviderTeamsList) Identity

func (o ProviderTeamsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProviderTeamsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProviderTeamsList) ToSparse

func (o ProviderTeamsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProviderTeamsList converted to SparseProviderTeamsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProviderTeamsList) Version

func (o ProviderTeamsList) Version() int

Version returns the version of the content.

type ProviderToken

type ProviderToken struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// Name of the token. As token contents are hidden after creation, name allows a
	// way to delete it.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Name of the provider this token is used with.
	Provider string `json:"provider" msgpack:"provider" bson:"provider" mapstructure:"provider,omitempty"`

	// token to authenticate with the provider.
	Token string `json:"token" msgpack:"token" bson:"token" mapstructure:"token,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProviderToken represents the model of a providertoken

func NewProviderToken

func NewProviderToken() *ProviderToken

NewProviderToken returns a new *ProviderToken

func (*ProviderToken) AttributeSpecifications

func (*ProviderToken) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProviderToken) BleveType

func (o *ProviderToken) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProviderToken) DecryptAttributes

func (o *ProviderToken) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*ProviderToken) DeepCopy

func (o *ProviderToken) DeepCopy() *ProviderToken

DeepCopy returns a deep copy if the ProviderToken.

func (*ProviderToken) DeepCopyInto

func (o *ProviderToken) DeepCopyInto(out *ProviderToken)

DeepCopyInto copies the receiver into the given *ProviderToken.

func (*ProviderToken) DefaultOrder

func (o *ProviderToken) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProviderToken) Doc

func (o *ProviderToken) Doc() string

Doc returns the documentation for the object

func (*ProviderToken) EncryptAttributes

func (o *ProviderToken) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*ProviderToken) GetBSON

func (o *ProviderToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProviderToken) GetCreateTime

func (o *ProviderToken) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ProviderToken) GetImportHash

func (o *ProviderToken) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*ProviderToken) GetImportLabel

func (o *ProviderToken) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*ProviderToken) GetNamespace

func (o *ProviderToken) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProviderToken) GetUpdateTime

func (o *ProviderToken) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ProviderToken) GetZHash

func (o *ProviderToken) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ProviderToken) GetZone

func (o *ProviderToken) GetZone() int

GetZone returns the Zone of the receiver.

func (*ProviderToken) Identifier

func (o *ProviderToken) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProviderToken) Identity

func (o *ProviderToken) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProviderToken) Patch

func (o *ProviderToken) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProviderToken to the object.

func (*ProviderToken) SetBSON

func (o *ProviderToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProviderToken) SetCreateTime

func (o *ProviderToken) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ProviderToken) SetIdentifier

func (o *ProviderToken) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProviderToken) SetImportHash

func (o *ProviderToken) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*ProviderToken) SetImportLabel

func (o *ProviderToken) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*ProviderToken) SetNamespace

func (o *ProviderToken) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProviderToken) SetUpdateTime

func (o *ProviderToken) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ProviderToken) SetZHash

func (o *ProviderToken) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ProviderToken) SetZone

func (o *ProviderToken) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ProviderToken) SpecificationForAttribute

func (*ProviderToken) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProviderToken) String

func (o *ProviderToken) String() string

func (*ProviderToken) ToSparse

func (o *ProviderToken) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProviderToken) Validate

func (o *ProviderToken) Validate() error

Validate valides the current information stored into the structure.

func (*ProviderToken) ValueForAttribute

func (o *ProviderToken) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ProviderToken) Version

func (o *ProviderToken) Version() int

Version returns the hardcoded version of the model.

type ProviderTokensList

type ProviderTokensList []*ProviderToken

ProviderTokensList represents a list of ProviderTokens

func (ProviderTokensList) Append

Append appends the objects to the a new copy of the ProviderTokensList.

func (ProviderTokensList) Copy

Copy returns a pointer to a copy the ProviderTokensList.

func (ProviderTokensList) DefaultOrder

func (o ProviderTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProviderTokensList) Identity

func (o ProviderTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProviderTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (ProviderTokensList) ToSparse

func (o ProviderTokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProviderTokensList converted to SparseProviderTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProviderTokensList) Version

func (o ProviderTokensList) Version() int

Version returns the version of the content.

type ProvidersList

type ProvidersList []*Provider

ProvidersList represents a list of Providers

func (ProvidersList) Append

Append appends the objects to the a new copy of the ProvidersList.

func (ProvidersList) Copy

Copy returns a pointer to a copy the ProvidersList.

func (ProvidersList) DefaultOrder

func (o ProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProvidersList) Identity

func (o ProvidersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProvidersList) List

List converts the object to an elemental.IdentifiablesList.

func (ProvidersList) ToSparse

func (o ProvidersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProvidersList converted to SparseProvidersList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProvidersList) Version

func (o ProvidersList) Version() int

Version returns the version of the content.

type ProxyConf

type ProxyConf struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The PAC configurations of the organizations.
	PACConfigs PACConfigsList `json:"PACConfigs,omitempty" msgpack:"PACConfigs,omitempty" bson:"-" mapstructure:"PACConfigs,omitempty"`

	// The computed access policy.
	AccessPolicy string `json:"accessPolicy,omitempty" msgpack:"accessPolicy,omitempty" bson:"-" mapstructure:"accessPolicy,omitempty"`

	// The agent configuration.
	AgentConfig *AgentConfig `json:"agentConfig,omitempty" msgpack:"agentConfig,omitempty" bson:"-" mapstructure:"agentConfig,omitempty"`

	// The computed assign policy.
	AssignPolicy string `json:"assignPolicy,omitempty" msgpack:"assignPolicy,omitempty" bson:"-" mapstructure:"assignPolicy,omitempty"`

	// The computed content policy.
	ContentPolicy string `json:"contentPolicy,omitempty" msgpack:"contentPolicy,omitempty" bson:"-" mapstructure:"contentPolicy,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The organization settings.
	OrgSettings *OrgSettings `json:"orgSettings" msgpack:"orgSettings" bson:"-" mapstructure:"orgSettings,omitempty"`

	// The list of available provider.
	Providers ProvidersList `json:"providers" msgpack:"providers" bson:"-" mapstructure:"providers,omitempty"`

	// Tokens pool to authenticate with the provider.
	Tokens map[string][]string `json:"tokens,omitempty" msgpack:"tokens,omitempty" bson:"-" mapstructure:"tokens,omitempty"`

	// The web extension configuration.
	WebExtensionConfig *WebExtensionConfig `` /* 127-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProxyConf represents the model of a proxyconf

func NewProxyConf

func NewProxyConf() *ProxyConf

NewProxyConf returns a new *ProxyConf

func (*ProxyConf) AttributeSpecifications

func (*ProxyConf) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProxyConf) BleveType

func (o *ProxyConf) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProxyConf) DeepCopy

func (o *ProxyConf) DeepCopy() *ProxyConf

DeepCopy returns a deep copy if the ProxyConf.

func (*ProxyConf) DeepCopyInto

func (o *ProxyConf) DeepCopyInto(out *ProxyConf)

DeepCopyInto copies the receiver into the given *ProxyConf.

func (*ProxyConf) DefaultOrder

func (o *ProxyConf) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProxyConf) Doc

func (o *ProxyConf) Doc() string

Doc returns the documentation for the object

func (*ProxyConf) GetBSON

func (o *ProxyConf) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProxyConf) GetNamespace

func (o *ProxyConf) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProxyConf) Identifier

func (o *ProxyConf) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProxyConf) Identity

func (o *ProxyConf) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProxyConf) Patch

func (o *ProxyConf) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProxyConf to the object.

func (*ProxyConf) SetBSON

func (o *ProxyConf) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProxyConf) SetIdentifier

func (o *ProxyConf) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProxyConf) SetNamespace

func (o *ProxyConf) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProxyConf) SpecificationForAttribute

func (*ProxyConf) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProxyConf) String

func (o *ProxyConf) String() string

func (*ProxyConf) ToSparse

func (o *ProxyConf) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProxyConf) Validate

func (o *ProxyConf) Validate() error

Validate valides the current information stored into the structure.

func (*ProxyConf) ValueForAttribute

func (o *ProxyConf) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ProxyConf) Version

func (o *ProxyConf) Version() int

Version returns the hardcoded version of the model.

type ProxyConfsList

type ProxyConfsList []*ProxyConf

ProxyConfsList represents a list of ProxyConfs

func (ProxyConfsList) Append

Append appends the objects to the a new copy of the ProxyConfsList.

func (ProxyConfsList) Copy

Copy returns a pointer to a copy the ProxyConfsList.

func (ProxyConfsList) DefaultOrder

func (o ProxyConfsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProxyConfsList) Identity

func (o ProxyConfsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProxyConfsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProxyConfsList) ToSparse

func (o ProxyConfsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProxyConfsList converted to SparseProxyConfsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProxyConfsList) Version

func (o ProxyConfsList) Version() int

Version returns the version of the content.

type ProxyRoundtrip

type ProxyRoundtrip struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// List of alerts that got raised during the policy resolution.
	Alerts []*AlertEvent `json:"alerts,omitempty" msgpack:"alerts,omitempty" bson:"alerts,omitempty" mapstructure:"alerts,omitempty"`

	// Annotations attached to the log.
	Annotations map[string]string `` /* 126-byte string literal not displayed */

	// The client used to send the request.
	Client string `json:"client,omitempty" msgpack:"client,omitempty" bson:"client,omitempty" mapstructure:"client,omitempty"`

	// The version of the client used to send the request.
	ClientVersion string `` /* 134-byte string literal not displayed */

	// Tell what was the decision about the data.
	Decision ProxyRoundtripDecisionValue `json:"decision" msgpack:"decision" bson:"decision" mapstructure:"decision,omitempty"`

	// The extractions to log.
	Extractions []*Extraction `` /* 126-byte string literal not displayed */

	// The hash of the input.
	Hash string `json:"hash" msgpack:"hash" bson:"hash" mapstructure:"hash,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// Information about latency of various stage of request and response.
	Latency *Latency `json:"latency,omitempty" msgpack:"latency,omitempty" bson:"latency,omitempty" mapstructure:"latency,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The name of the particular pipeline that extracted the text.
	PipelineName string `json:"pipelineName" msgpack:"pipelineName" bson:"pipelinename" mapstructure:"pipelineName,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal" msgpack:"principal" bson:"principal" mapstructure:"principal,omitempty"`

	// the provider to use.
	Provider string `json:"provider" msgpack:"provider" bson:"provider" mapstructure:"provider,omitempty"`

	// The various reasons returned by the policy engine.
	Reasons []string `json:"reasons,omitempty" msgpack:"reasons,omitempty" bson:"reasons,omitempty" mapstructure:"reasons,omitempty"`

	// The summary of the extractions.
	Summary *ExtractionSummary `json:"summary,omitempty" msgpack:"summary,omitempty" bson:"summary,omitempty" mapstructure:"summary,omitempty"`

	// Set the time of the message request.
	Time time.Time `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	// The type of text.
	Type ProxyRoundtripTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProxyRoundtrip represents the model of a proxyroundtrip

func NewProxyRoundtrip

func NewProxyRoundtrip() *ProxyRoundtrip

NewProxyRoundtrip returns a new *ProxyRoundtrip

func (*ProxyRoundtrip) AttributeSpecifications

func (*ProxyRoundtrip) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProxyRoundtrip) BleveType

func (o *ProxyRoundtrip) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProxyRoundtrip) DeepCopy

func (o *ProxyRoundtrip) DeepCopy() *ProxyRoundtrip

DeepCopy returns a deep copy if the ProxyRoundtrip.

func (*ProxyRoundtrip) DeepCopyInto

func (o *ProxyRoundtrip) DeepCopyInto(out *ProxyRoundtrip)

DeepCopyInto copies the receiver into the given *ProxyRoundtrip.

func (*ProxyRoundtrip) DefaultOrder

func (o *ProxyRoundtrip) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProxyRoundtrip) Doc

func (o *ProxyRoundtrip) Doc() string

Doc returns the documentation for the object

func (*ProxyRoundtrip) GetBSON

func (o *ProxyRoundtrip) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProxyRoundtrip) GetImportHash

func (o *ProxyRoundtrip) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*ProxyRoundtrip) GetImportLabel

func (o *ProxyRoundtrip) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*ProxyRoundtrip) GetNamespace

func (o *ProxyRoundtrip) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProxyRoundtrip) Identifier

func (o *ProxyRoundtrip) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProxyRoundtrip) Identity

func (o *ProxyRoundtrip) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProxyRoundtrip) Patch

func (o *ProxyRoundtrip) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProxyRoundtrip to the object.

func (*ProxyRoundtrip) SetBSON

func (o *ProxyRoundtrip) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProxyRoundtrip) SetIdentifier

func (o *ProxyRoundtrip) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProxyRoundtrip) SetImportHash

func (o *ProxyRoundtrip) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*ProxyRoundtrip) SetImportLabel

func (o *ProxyRoundtrip) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*ProxyRoundtrip) SetNamespace

func (o *ProxyRoundtrip) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProxyRoundtrip) SpecificationForAttribute

func (*ProxyRoundtrip) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProxyRoundtrip) String

func (o *ProxyRoundtrip) String() string

func (*ProxyRoundtrip) ToSparse

func (o *ProxyRoundtrip) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProxyRoundtrip) Validate

func (o *ProxyRoundtrip) Validate() error

Validate valides the current information stored into the structure.

func (*ProxyRoundtrip) ValueForAttribute

func (o *ProxyRoundtrip) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*ProxyRoundtrip) Version

func (o *ProxyRoundtrip) Version() int

Version returns the hardcoded version of the model.

type ProxyRoundtripDecisionValue

type ProxyRoundtripDecisionValue string

ProxyRoundtripDecisionValue represents the possible values for attribute "decision".

const (
	// ProxyRoundtripDecisionAllow represents the value Allow.
	ProxyRoundtripDecisionAllow ProxyRoundtripDecisionValue = "Allow"

	// ProxyRoundtripDecisionAsk represents the value Ask.
	ProxyRoundtripDecisionAsk ProxyRoundtripDecisionValue = "Ask"

	// ProxyRoundtripDecisionBypassed represents the value Bypassed.
	ProxyRoundtripDecisionBypassed ProxyRoundtripDecisionValue = "Bypassed"

	// ProxyRoundtripDecisionDeny represents the value Deny.
	ProxyRoundtripDecisionDeny ProxyRoundtripDecisionValue = "Deny"

	// ProxyRoundtripDecisionForbiddenUser represents the value ForbiddenUser.
	ProxyRoundtripDecisionForbiddenUser ProxyRoundtripDecisionValue = "ForbiddenUser"
)

type ProxyRoundtripTypeValue

type ProxyRoundtripTypeValue string

ProxyRoundtripTypeValue represents the possible values for attribute "type".

const (
	// ProxyRoundtripTypeInput represents the value Input.
	ProxyRoundtripTypeInput ProxyRoundtripTypeValue = "Input"

	// ProxyRoundtripTypeOutput represents the value Output.
	ProxyRoundtripTypeOutput ProxyRoundtripTypeValue = "Output"
)

type ProxyRoundtripsList

type ProxyRoundtripsList []*ProxyRoundtrip

ProxyRoundtripsList represents a list of ProxyRoundtrips

func (ProxyRoundtripsList) Append

Append appends the objects to the a new copy of the ProxyRoundtripsList.

func (ProxyRoundtripsList) Copy

Copy returns a pointer to a copy the ProxyRoundtripsList.

func (ProxyRoundtripsList) DefaultOrder

func (o ProxyRoundtripsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProxyRoundtripsList) Identity

func (o ProxyRoundtripsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProxyRoundtripsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProxyRoundtripsList) ToSparse

func (o ProxyRoundtripsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProxyRoundtripsList converted to SparseProxyRoundtripsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProxyRoundtripsList) Version

func (o ProxyRoundtripsList) Version() int

Version returns the version of the content.

type QueriesList

type QueriesList []*Query

QueriesList represents a list of Queries

func (QueriesList) Append

Append appends the objects to the a new copy of the QueriesList.

func (QueriesList) Copy

Copy returns a pointer to a copy the QueriesList.

func (QueriesList) DefaultOrder

func (o QueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (QueriesList) Identity

func (o QueriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (QueriesList) List

List converts the object to an elemental.IdentifiablesList.

func (QueriesList) ToSparse

func (o QueriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the QueriesList converted to SparseQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (QueriesList) Version

func (o QueriesList) Version() int

Version returns the version of the content.

type Query

type Query struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Determines the sort order of logs.
	Direction QueryDirectionValue `json:"direction,omitempty" msgpack:"direction,omitempty" bson:"-" mapstructure:"direction,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in LogQL format.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []map[string]any `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The time for the query in any format supported by
	// https://github.com/araddon/dateparse.
	Time string `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	// The relative time of the time window as time.Duration.
	TimeRelative string `json:"timeRelative,omitempty" msgpack:"timeRelative,omitempty" bson:"-" mapstructure:"timeRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Query represents the model of a query

func NewQuery

func NewQuery() *Query

NewQuery returns a new *Query

func (*Query) AttributeSpecifications

func (*Query) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Query) BleveType

func (o *Query) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Query) DeepCopy

func (o *Query) DeepCopy() *Query

DeepCopy returns a deep copy if the Query.

func (*Query) DeepCopyInto

func (o *Query) DeepCopyInto(out *Query)

DeepCopyInto copies the receiver into the given *Query.

func (*Query) DefaultOrder

func (o *Query) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Query) Doc

func (o *Query) Doc() string

Doc returns the documentation for the object

func (*Query) GetBSON

func (o *Query) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Query) GetNamespace

func (o *Query) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Query) Identifier

func (o *Query) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Query) Identity

func (o *Query) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Query) Patch

func (o *Query) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseQuery to the object.

func (*Query) SetBSON

func (o *Query) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Query) SetIdentifier

func (o *Query) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Query) SetNamespace

func (o *Query) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Query) SpecificationForAttribute

func (*Query) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Query) String

func (o *Query) String() string

func (*Query) ToSparse

func (o *Query) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Query) Validate

func (o *Query) Validate() error

Validate valides the current information stored into the structure.

func (*Query) ValueForAttribute

func (o *Query) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Query) Version

func (o *Query) Version() int

Version returns the hardcoded version of the model.

type QueryDirectionValue

type QueryDirectionValue string

QueryDirectionValue represents the possible values for attribute "direction".

const (
	// QueryDirectionBackward represents the value Backward.
	QueryDirectionBackward QueryDirectionValue = "Backward"

	// QueryDirectionForward represents the value Forward.
	QueryDirectionForward QueryDirectionValue = "Forward"
)

type QueryRange

type QueryRange struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Determines the sort order of logs.
	Direction QueryRangeDirectionValue `json:"direction,omitempty" msgpack:"direction,omitempty" bson:"-" mapstructure:"direction,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// the number of results to return.
	Limit int `json:"limit" msgpack:"limit" bson:"-" mapstructure:"limit,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in LogQL format.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []map[string]any `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

QueryRange represents the model of a queryrange

func NewQueryRange

func NewQueryRange() *QueryRange

NewQueryRange returns a new *QueryRange

func (*QueryRange) AttributeSpecifications

func (*QueryRange) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*QueryRange) BleveType

func (o *QueryRange) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*QueryRange) DeepCopy

func (o *QueryRange) DeepCopy() *QueryRange

DeepCopy returns a deep copy if the QueryRange.

func (*QueryRange) DeepCopyInto

func (o *QueryRange) DeepCopyInto(out *QueryRange)

DeepCopyInto copies the receiver into the given *QueryRange.

func (*QueryRange) DefaultOrder

func (o *QueryRange) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*QueryRange) Doc

func (o *QueryRange) Doc() string

Doc returns the documentation for the object

func (*QueryRange) GetBSON

func (o *QueryRange) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*QueryRange) GetNamespace

func (o *QueryRange) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*QueryRange) Identifier

func (o *QueryRange) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*QueryRange) Identity

func (o *QueryRange) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*QueryRange) Patch

func (o *QueryRange) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseQueryRange to the object.

func (*QueryRange) SetBSON

func (o *QueryRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*QueryRange) SetIdentifier

func (o *QueryRange) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*QueryRange) SetNamespace

func (o *QueryRange) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*QueryRange) SpecificationForAttribute

func (*QueryRange) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*QueryRange) String

func (o *QueryRange) String() string

func (*QueryRange) ToSparse

func (o *QueryRange) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*QueryRange) Validate

func (o *QueryRange) Validate() error

Validate valides the current information stored into the structure.

func (*QueryRange) ValueForAttribute

func (o *QueryRange) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*QueryRange) Version

func (o *QueryRange) Version() int

Version returns the hardcoded version of the model.

type QueryRangeDirectionValue

type QueryRangeDirectionValue string

QueryRangeDirectionValue represents the possible values for attribute "direction".

const (
	// QueryRangeDirectionBackward represents the value Backward.
	QueryRangeDirectionBackward QueryRangeDirectionValue = "Backward"

	// QueryRangeDirectionForward represents the value Forward.
	QueryRangeDirectionForward QueryRangeDirectionValue = "Forward"
)

type QueryRangesList

type QueryRangesList []*QueryRange

QueryRangesList represents a list of QueryRanges

func (QueryRangesList) Append

Append appends the objects to the a new copy of the QueryRangesList.

func (QueryRangesList) Copy

Copy returns a pointer to a copy the QueryRangesList.

func (QueryRangesList) DefaultOrder

func (o QueryRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (QueryRangesList) Identity

func (o QueryRangesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (QueryRangesList) List

List converts the object to an elemental.IdentifiablesList.

func (QueryRangesList) ToSparse

func (o QueryRangesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the QueryRangesList converted to SparseQueryRangesList. Objects in the list will only contain the given fields. No field means entire field set.

func (QueryRangesList) Version

func (o QueryRangesList) Version() int

Version returns the version of the content.

type Role

type Role struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The description of the role.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// The friendly name of the role.
	FriendlyName string `json:"friendlyName" msgpack:"friendlyName" bson:"-" mapstructure:"friendlyName,omitempty"`

	// The name of the role.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Permissions for the role.
	Permissions []string `json:"permissions" msgpack:"permissions" bson:"-" mapstructure:"permissions,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Role represents the model of a role

func NewRole

func NewRole() *Role

NewRole returns a new *Role

func (*Role) AttributeSpecifications

func (*Role) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Role) BleveType

func (o *Role) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Role) DeepCopy

func (o *Role) DeepCopy() *Role

DeepCopy returns a deep copy if the Role.

func (*Role) DeepCopyInto

func (o *Role) DeepCopyInto(out *Role)

DeepCopyInto copies the receiver into the given *Role.

func (*Role) DefaultOrder

func (o *Role) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Role) Doc

func (o *Role) Doc() string

Doc returns the documentation for the object

func (*Role) GetBSON

func (o *Role) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Role) GetNamespace

func (o *Role) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Role) Identifier

func (o *Role) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Role) Identity

func (o *Role) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Role) Patch

func (o *Role) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRole to the object.

func (*Role) SetBSON

func (o *Role) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Role) SetIdentifier

func (o *Role) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Role) SetNamespace

func (o *Role) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Role) SpecificationForAttribute

func (*Role) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Role) String

func (o *Role) String() string

func (*Role) ToSparse

func (o *Role) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Role) Validate

func (o *Role) Validate() error

Validate valides the current information stored into the structure.

func (*Role) ValueForAttribute

func (o *Role) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Role) Version

func (o *Role) Version() int

Version returns the hardcoded version of the model.

type RolesList

type RolesList []*Role

RolesList represents a list of Roles

func (RolesList) Append

Append appends the objects to the a new copy of the RolesList.

func (RolesList) Copy

Copy returns a pointer to a copy the RolesList.

func (RolesList) DefaultOrder

func (o RolesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RolesList) Identity

func (o RolesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (RolesList) List

List converts the object to an elemental.IdentifiablesList.

func (RolesList) ToSparse

func (o RolesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RolesList converted to SparseRolesList. Objects in the list will only contain the given fields. No field means entire field set.

func (RolesList) Version

func (o RolesList) Version() int

Version returns the version of the content.

type Root

type Root struct {
	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Root represents the model of a root

func NewRoot

func NewRoot() *Root

NewRoot returns a new *Root

func (*Root) AttributeSpecifications

func (*Root) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Root) BleveType

func (o *Root) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Root) DeepCopy

func (o *Root) DeepCopy() *Root

DeepCopy returns a deep copy if the Root.

func (*Root) DeepCopyInto

func (o *Root) DeepCopyInto(out *Root)

DeepCopyInto copies the receiver into the given *Root.

func (*Root) DefaultOrder

func (o *Root) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Root) Doc

func (o *Root) Doc() string

Doc returns the documentation for the object

func (*Root) GetBSON

func (o *Root) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Root) Identifier

func (o *Root) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Root) Identity

func (o *Root) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Root) SetBSON

func (o *Root) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Root) SetIdentifier

func (o *Root) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Root) SpecificationForAttribute

func (*Root) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Root) String

func (o *Root) String() string

func (*Root) Validate

func (o *Root) Validate() error

Validate valides the current information stored into the structure.

func (*Root) ValueForAttribute

func (o *Root) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Root) Version

func (o *Root) Version() int

Version returns the hardcoded version of the model.

type SchemaVersion

type SchemaVersion struct {
	// The current version of the schema.
	CurrentVersion float64 `json:"-" msgpack:"-" bson:"currentversion" mapstructure:"-,omitempty"`

	// The service the schema is applied to.
	Service string `json:"-" msgpack:"-" bson:"service" mapstructure:"-,omitempty"`

	// When the schema was upserted.
	Timestamp time.Time `json:"-" msgpack:"-" bson:"timestamp" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SchemaVersion represents the model of a schemaversion

func NewSchemaVersion

func NewSchemaVersion() *SchemaVersion

NewSchemaVersion returns a new *SchemaVersion

func (*SchemaVersion) AttributeSpecifications

func (*SchemaVersion) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SchemaVersion) BleveType

func (o *SchemaVersion) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SchemaVersion) DeepCopy

func (o *SchemaVersion) DeepCopy() *SchemaVersion

DeepCopy returns a deep copy if the SchemaVersion.

func (*SchemaVersion) DeepCopyInto

func (o *SchemaVersion) DeepCopyInto(out *SchemaVersion)

DeepCopyInto copies the receiver into the given *SchemaVersion.

func (*SchemaVersion) DefaultOrder

func (o *SchemaVersion) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SchemaVersion) Doc

func (o *SchemaVersion) Doc() string

Doc returns the documentation for the object

func (*SchemaVersion) GetBSON

func (o *SchemaVersion) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SchemaVersion) Identifier

func (o *SchemaVersion) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SchemaVersion) Identity

func (o *SchemaVersion) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SchemaVersion) Patch

func (o *SchemaVersion) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSchemaVersion to the object.

func (*SchemaVersion) SetBSON

func (o *SchemaVersion) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SchemaVersion) SetIdentifier

func (o *SchemaVersion) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SchemaVersion) SpecificationForAttribute

func (*SchemaVersion) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SchemaVersion) String

func (o *SchemaVersion) String() string

func (*SchemaVersion) ToSparse

func (o *SchemaVersion) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*SchemaVersion) Validate

func (o *SchemaVersion) Validate() error

Validate valides the current information stored into the structure.

func (*SchemaVersion) ValueForAttribute

func (o *SchemaVersion) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*SchemaVersion) Version

func (o *SchemaVersion) Version() int

Version returns the hardcoded version of the model.

type SchemaVersionsList

type SchemaVersionsList []*SchemaVersion

SchemaVersionsList represents a list of SchemaVersions

func (SchemaVersionsList) Append

Append appends the objects to the a new copy of the SchemaVersionsList.

func (SchemaVersionsList) Copy

Copy returns a pointer to a copy the SchemaVersionsList.

func (SchemaVersionsList) DefaultOrder

func (o SchemaVersionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SchemaVersionsList) Identity

func (o SchemaVersionsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SchemaVersionsList) List

List converts the object to an elemental.IdentifiablesList.

func (SchemaVersionsList) ToSparse

func (o SchemaVersionsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SchemaVersionsList converted to SparseSchemaVersionsList. Objects in the list will only contain the given fields. No field means entire field set.

func (SchemaVersionsList) Version

func (o SchemaVersionsList) Version() int

Version returns the version of the content.

type Serie

type Serie struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in LogQL format.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result []map[string]string `json:"result" msgpack:"result" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Serie represents the model of a serie

func NewSerie

func NewSerie() *Serie

NewSerie returns a new *Serie

func (*Serie) AttributeSpecifications

func (*Serie) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Serie) BleveType

func (o *Serie) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Serie) DeepCopy

func (o *Serie) DeepCopy() *Serie

DeepCopy returns a deep copy if the Serie.

func (*Serie) DeepCopyInto

func (o *Serie) DeepCopyInto(out *Serie)

DeepCopyInto copies the receiver into the given *Serie.

func (*Serie) DefaultOrder

func (o *Serie) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Serie) Doc

func (o *Serie) Doc() string

Doc returns the documentation for the object

func (*Serie) GetBSON

func (o *Serie) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Serie) GetNamespace

func (o *Serie) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Serie) Identifier

func (o *Serie) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Serie) Identity

func (o *Serie) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Serie) Patch

func (o *Serie) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSerie to the object.

func (*Serie) SetBSON

func (o *Serie) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Serie) SetIdentifier

func (o *Serie) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Serie) SetNamespace

func (o *Serie) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Serie) SpecificationForAttribute

func (*Serie) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Serie) String

func (o *Serie) String() string

func (*Serie) ToSparse

func (o *Serie) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Serie) Validate

func (o *Serie) Validate() error

Validate valides the current information stored into the structure.

func (*Serie) ValueForAttribute

func (o *Serie) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Serie) Version

func (o *Serie) Version() int

Version returns the hardcoded version of the model.

type SeriesList

type SeriesList []*Serie

SeriesList represents a list of Series

func (SeriesList) Append

Append appends the objects to the a new copy of the SeriesList.

func (SeriesList) Copy

Copy returns a pointer to a copy the SeriesList.

func (SeriesList) DefaultOrder

func (o SeriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SeriesList) Identity

func (o SeriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SeriesList) List

List converts the object to an elemental.IdentifiablesList.

func (SeriesList) ToSparse

func (o SeriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SeriesList converted to SparseSeriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SeriesList) Version

func (o SeriesList) Version() int

Version returns the version of the content.

type Signup

type Signup struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The email requesting the signup. This email can be considered valid and
	// verified, as for the signup request to succeed, it must have been verified by
	// signing up with one of the oauth2 source we support.
	Email string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The type of signup requested.
	Type SignupTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// The source of verification.
	VerifiedBy string `json:"verifiedBy,omitempty" msgpack:"verifiedBy,omitempty" bson:"verifiedby,omitempty" mapstructure:"verifiedBy,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Signup represents the model of a signup

func NewSignup

func NewSignup() *Signup

NewSignup returns a new *Signup

func (*Signup) AttributeSpecifications

func (*Signup) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Signup) BleveType

func (o *Signup) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Signup) DeepCopy

func (o *Signup) DeepCopy() *Signup

DeepCopy returns a deep copy if the Signup.

func (*Signup) DeepCopyInto

func (o *Signup) DeepCopyInto(out *Signup)

DeepCopyInto copies the receiver into the given *Signup.

func (*Signup) DefaultOrder

func (o *Signup) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Signup) Doc

func (o *Signup) Doc() string

Doc returns the documentation for the object

func (*Signup) GetBSON

func (o *Signup) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Signup) GetCreateTime

func (o *Signup) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Signup) GetNamespace

func (o *Signup) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Signup) GetUpdateTime

func (o *Signup) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Signup) GetZHash

func (o *Signup) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Signup) GetZone

func (o *Signup) GetZone() int

GetZone returns the Zone of the receiver.

func (*Signup) Identifier

func (o *Signup) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Signup) Identity

func (o *Signup) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Signup) Patch

func (o *Signup) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSignup to the object.

func (*Signup) SetBSON

func (o *Signup) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Signup) SetCreateTime

func (o *Signup) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Signup) SetIdentifier

func (o *Signup) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Signup) SetNamespace

func (o *Signup) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Signup) SetUpdateTime

func (o *Signup) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Signup) SetZHash

func (o *Signup) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Signup) SetZone

func (o *Signup) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Signup) SpecificationForAttribute

func (*Signup) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Signup) String

func (o *Signup) String() string

func (*Signup) ToSparse

func (o *Signup) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Signup) Validate

func (o *Signup) Validate() error

Validate valides the current information stored into the structure.

func (*Signup) ValueForAttribute

func (o *Signup) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Signup) Version

func (o *Signup) Version() int

Version returns the hardcoded version of the model.

type SignupTypeValue

type SignupTypeValue string

SignupTypeValue represents the possible values for attribute "type".

const (
	// SignupTypeApps represents the value Apps.
	SignupTypeApps SignupTypeValue = "Apps"

	// SignupTypeEmployees represents the value Employees.
	SignupTypeEmployees SignupTypeValue = "Employees"
)

type SignupsList

type SignupsList []*Signup

SignupsList represents a list of Signups

func (SignupsList) Append

Append appends the objects to the a new copy of the SignupsList.

func (SignupsList) Copy

Copy returns a pointer to a copy the SignupsList.

func (SignupsList) DefaultOrder

func (o SignupsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SignupsList) Identity

func (o SignupsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SignupsList) List

List converts the object to an elemental.IdentifiablesList.

func (SignupsList) ToSparse

func (o SignupsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SignupsList converted to SparseSignupsList. Objects in the list will only contain the given fields. No field means entire field set.

func (SignupsList) Version

func (o SignupsList) Version() int

Version returns the version of the content.

type Sink

type Sink struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The description of the sink.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains additional configuration for sending an email.
	Email *SinkEmail `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// Friendly name of the object.
	FriendlyName string `json:"friendlyName" msgpack:"friendlyName" bson:"friendlyname" mapstructure:"friendlyName,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The internal reference name of the object. It is a sanitized version of Friendly
	// Name if empty.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains additional configuration for sending a PagerDuty event.
	PagerDuty *SinkPagerDuty `json:"pagerDuty,omitempty" msgpack:"pagerDuty,omitempty" bson:"pagerduty,omitempty" mapstructure:"pagerDuty,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Contains additional configuration for sending a Slack message.
	Slack *SinkSlack `json:"slack,omitempty" msgpack:"slack,omitempty" bson:"slack,omitempty" mapstructure:"slack,omitempty"`

	// Contains additional configuration for sending the alert to Splunk.
	Splunk *SinkSplunk `json:"splunk,omitempty" msgpack:"splunk,omitempty" bson:"splunk,omitempty" mapstructure:"splunk,omitempty"`

	// The type of sink.
	Type SinkTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Sink represents the model of a sink

func NewSink

func NewSink() *Sink

NewSink returns a new *Sink

func (*Sink) AttributeSpecifications

func (*Sink) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Sink) BleveType

func (o *Sink) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Sink) DeepCopy

func (o *Sink) DeepCopy() *Sink

DeepCopy returns a deep copy if the Sink.

func (*Sink) DeepCopyInto

func (o *Sink) DeepCopyInto(out *Sink)

DeepCopyInto copies the receiver into the given *Sink.

func (*Sink) DefaultOrder

func (o *Sink) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Sink) Doc

func (o *Sink) Doc() string

Doc returns the documentation for the object

func (*Sink) GetBSON

func (o *Sink) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Sink) GetCreateTime

func (o *Sink) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Sink) GetImportHash

func (o *Sink) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*Sink) GetImportLabel

func (o *Sink) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*Sink) GetNamespace

func (o *Sink) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Sink) GetPropagate

func (o *Sink) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Sink) GetUpdateTime

func (o *Sink) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Sink) GetZHash

func (o *Sink) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Sink) GetZone

func (o *Sink) GetZone() int

GetZone returns the Zone of the receiver.

func (*Sink) Identifier

func (o *Sink) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Sink) Identity

func (o *Sink) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Sink) Patch

func (o *Sink) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSink to the object.

func (*Sink) SetBSON

func (o *Sink) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Sink) SetCreateTime

func (o *Sink) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Sink) SetIdentifier

func (o *Sink) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Sink) SetImportHash

func (o *Sink) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*Sink) SetImportLabel

func (o *Sink) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*Sink) SetNamespace

func (o *Sink) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Sink) SetPropagate

func (o *Sink) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Sink) SetUpdateTime

func (o *Sink) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Sink) SetZHash

func (o *Sink) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Sink) SetZone

func (o *Sink) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Sink) SpecificationForAttribute

func (*Sink) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Sink) String

func (o *Sink) String() string

func (*Sink) ToSparse

func (o *Sink) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Sink) Validate

func (o *Sink) Validate() error

Validate valides the current information stored into the structure.

func (*Sink) ValueForAttribute

func (o *Sink) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Sink) Version

func (o *Sink) Version() int

Version returns the hardcoded version of the model.

type SinkEmail

type SinkEmail struct {
	// The list of email recipients the notification will be sent to.
	Recipients []string `json:"recipients" msgpack:"recipients" bson:"recipients" mapstructure:"recipients,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SinkEmail represents the model of a sinkemail

func NewSinkEmail

func NewSinkEmail() *SinkEmail

NewSinkEmail returns a new *SinkEmail

func (*SinkEmail) AttributeSpecifications

func (*SinkEmail) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SinkEmail) BleveType

func (o *SinkEmail) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SinkEmail) DeepCopy

func (o *SinkEmail) DeepCopy() *SinkEmail

DeepCopy returns a deep copy if the SinkEmail.

func (*SinkEmail) DeepCopyInto

func (o *SinkEmail) DeepCopyInto(out *SinkEmail)

DeepCopyInto copies the receiver into the given *SinkEmail.

func (*SinkEmail) DefaultOrder

func (o *SinkEmail) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SinkEmail) Doc

func (o *SinkEmail) Doc() string

Doc returns the documentation for the object

func (*SinkEmail) GetBSON

func (o *SinkEmail) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkEmail) Identifier

func (o *SinkEmail) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SinkEmail) Identity

func (o *SinkEmail) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SinkEmail) Patch

func (o *SinkEmail) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSinkEmail to the object.

func (*SinkEmail) SetBSON

func (o *SinkEmail) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkEmail) SetIdentifier

func (o *SinkEmail) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SinkEmail) SpecificationForAttribute

func (*SinkEmail) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SinkEmail) String

func (o *SinkEmail) String() string

func (*SinkEmail) ToSparse

func (o *SinkEmail) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*SinkEmail) Validate

func (o *SinkEmail) Validate() error

Validate valides the current information stored into the structure.

func (*SinkEmail) ValueForAttribute

func (o *SinkEmail) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*SinkEmail) Version

func (o *SinkEmail) Version() int

Version returns the hardcoded version of the model.

type SinkEmailsList

type SinkEmailsList []*SinkEmail

SinkEmailsList represents a list of SinkEmails

func (SinkEmailsList) Append

Append appends the objects to the a new copy of the SinkEmailsList.

func (SinkEmailsList) Copy

Copy returns a pointer to a copy the SinkEmailsList.

func (SinkEmailsList) DefaultOrder

func (o SinkEmailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SinkEmailsList) Identity

func (o SinkEmailsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SinkEmailsList) List

List converts the object to an elemental.IdentifiablesList.

func (SinkEmailsList) ToSparse

func (o SinkEmailsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SinkEmailsList converted to SparseSinkEmailsList. Objects in the list will only contain the given fields. No field means entire field set.

func (SinkEmailsList) Version

func (o SinkEmailsList) Version() int

Version returns the version of the content.

type SinkPagerDutiesList

type SinkPagerDutiesList []*SinkPagerDuty

SinkPagerDutiesList represents a list of SinkPagerDuties

func (SinkPagerDutiesList) Append

Append appends the objects to the a new copy of the SinkPagerDutiesList.

func (SinkPagerDutiesList) Copy

Copy returns a pointer to a copy the SinkPagerDutiesList.

func (SinkPagerDutiesList) DefaultOrder

func (o SinkPagerDutiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SinkPagerDutiesList) Identity

func (o SinkPagerDutiesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SinkPagerDutiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SinkPagerDutiesList) ToSparse

func (o SinkPagerDutiesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SinkPagerDutiesList converted to SparseSinkPagerDutiesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SinkPagerDutiesList) Version

func (o SinkPagerDutiesList) Version() int

Version returns the version of the content.

type SinkPagerDuty

type SinkPagerDuty struct {
	// The token for PagerDuty events.
	Token string `json:"token" msgpack:"token" bson:"token" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SinkPagerDuty represents the model of a sinkpagerduty

func NewSinkPagerDuty

func NewSinkPagerDuty() *SinkPagerDuty

NewSinkPagerDuty returns a new *SinkPagerDuty

func (*SinkPagerDuty) AttributeSpecifications

func (*SinkPagerDuty) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SinkPagerDuty) BleveType

func (o *SinkPagerDuty) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SinkPagerDuty) DecryptAttributes

func (o *SinkPagerDuty) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SinkPagerDuty) DeepCopy

func (o *SinkPagerDuty) DeepCopy() *SinkPagerDuty

DeepCopy returns a deep copy if the SinkPagerDuty.

func (*SinkPagerDuty) DeepCopyInto

func (o *SinkPagerDuty) DeepCopyInto(out *SinkPagerDuty)

DeepCopyInto copies the receiver into the given *SinkPagerDuty.

func (*SinkPagerDuty) DefaultOrder

func (o *SinkPagerDuty) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SinkPagerDuty) Doc

func (o *SinkPagerDuty) Doc() string

Doc returns the documentation for the object

func (*SinkPagerDuty) EncryptAttributes

func (o *SinkPagerDuty) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SinkPagerDuty) GetBSON

func (o *SinkPagerDuty) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkPagerDuty) Identifier

func (o *SinkPagerDuty) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SinkPagerDuty) Identity

func (o *SinkPagerDuty) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SinkPagerDuty) Patch

func (o *SinkPagerDuty) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSinkPagerDuty to the object.

func (*SinkPagerDuty) SetBSON

func (o *SinkPagerDuty) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkPagerDuty) SetIdentifier

func (o *SinkPagerDuty) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SinkPagerDuty) SpecificationForAttribute

func (*SinkPagerDuty) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SinkPagerDuty) String

func (o *SinkPagerDuty) String() string

func (*SinkPagerDuty) ToSparse

func (o *SinkPagerDuty) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*SinkPagerDuty) Validate

func (o *SinkPagerDuty) Validate() error

Validate valides the current information stored into the structure.

func (*SinkPagerDuty) ValueForAttribute

func (o *SinkPagerDuty) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*SinkPagerDuty) Version

func (o *SinkPagerDuty) Version() int

Version returns the hardcoded version of the model.

type SinkSlack

type SinkSlack struct {
	// The webhook URL to send the Slack messages to.
	WebhookURL string `json:"webhookURL" msgpack:"webhookURL" bson:"webhookurl" mapstructure:"webhookURL,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SinkSlack represents the model of a sinkslack

func NewSinkSlack

func NewSinkSlack() *SinkSlack

NewSinkSlack returns a new *SinkSlack

func (*SinkSlack) AttributeSpecifications

func (*SinkSlack) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SinkSlack) BleveType

func (o *SinkSlack) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SinkSlack) DecryptAttributes

func (o *SinkSlack) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SinkSlack) DeepCopy

func (o *SinkSlack) DeepCopy() *SinkSlack

DeepCopy returns a deep copy if the SinkSlack.

func (*SinkSlack) DeepCopyInto

func (o *SinkSlack) DeepCopyInto(out *SinkSlack)

DeepCopyInto copies the receiver into the given *SinkSlack.

func (*SinkSlack) DefaultOrder

func (o *SinkSlack) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SinkSlack) Doc

func (o *SinkSlack) Doc() string

Doc returns the documentation for the object

func (*SinkSlack) EncryptAttributes

func (o *SinkSlack) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SinkSlack) GetBSON

func (o *SinkSlack) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkSlack) Identifier

func (o *SinkSlack) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SinkSlack) Identity

func (o *SinkSlack) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SinkSlack) Patch

func (o *SinkSlack) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSinkSlack to the object.

func (*SinkSlack) SetBSON

func (o *SinkSlack) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkSlack) SetIdentifier

func (o *SinkSlack) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SinkSlack) SpecificationForAttribute

func (*SinkSlack) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SinkSlack) String

func (o *SinkSlack) String() string

func (*SinkSlack) ToSparse

func (o *SinkSlack) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*SinkSlack) Validate

func (o *SinkSlack) Validate() error

Validate valides the current information stored into the structure.

func (*SinkSlack) ValueForAttribute

func (o *SinkSlack) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*SinkSlack) Version

func (o *SinkSlack) Version() int

Version returns the hardcoded version of the model.

type SinkSlacksList

type SinkSlacksList []*SinkSlack

SinkSlacksList represents a list of SinkSlacks

func (SinkSlacksList) Append

Append appends the objects to the a new copy of the SinkSlacksList.

func (SinkSlacksList) Copy

Copy returns a pointer to a copy the SinkSlacksList.

func (SinkSlacksList) DefaultOrder

func (o SinkSlacksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SinkSlacksList) Identity

func (o SinkSlacksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SinkSlacksList) List

List converts the object to an elemental.IdentifiablesList.

func (SinkSlacksList) ToSparse

func (o SinkSlacksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SinkSlacksList converted to SparseSinkSlacksList. Objects in the list will only contain the given fields. No field means entire field set.

func (SinkSlacksList) Version

func (o SinkSlacksList) Version() int

Version returns the version of the content.

type SinkSplunk

type SinkSplunk struct {
	// The HTTP event collector (HEC) URL to send the alert to.
	HECURL string `json:"HECURL" msgpack:"HECURL" bson:"hecurl" mapstructure:"HECURL,omitempty"`

	// If set, will use this as the CA for TLS communication.
	CertificateAuthority string `` /* 162-byte string literal not displayed */

	// If true, will attempt to skip TLS verification when communicating.
	InsecureSkipVerify bool `` /* 154-byte string literal not displayed */

	// The token to communicate with the HTTP event collector.
	Token string `json:"token" msgpack:"token" bson:"token" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SinkSplunk represents the model of a sinksplunk

func NewSinkSplunk

func NewSinkSplunk() *SinkSplunk

NewSinkSplunk returns a new *SinkSplunk

func (*SinkSplunk) AttributeSpecifications

func (*SinkSplunk) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SinkSplunk) BleveType

func (o *SinkSplunk) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SinkSplunk) DecryptAttributes

func (o *SinkSplunk) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SinkSplunk) DeepCopy

func (o *SinkSplunk) DeepCopy() *SinkSplunk

DeepCopy returns a deep copy if the SinkSplunk.

func (*SinkSplunk) DeepCopyInto

func (o *SinkSplunk) DeepCopyInto(out *SinkSplunk)

DeepCopyInto copies the receiver into the given *SinkSplunk.

func (*SinkSplunk) DefaultOrder

func (o *SinkSplunk) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SinkSplunk) Doc

func (o *SinkSplunk) Doc() string

Doc returns the documentation for the object

func (*SinkSplunk) EncryptAttributes

func (o *SinkSplunk) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SinkSplunk) GetBSON

func (o *SinkSplunk) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkSplunk) Identifier

func (o *SinkSplunk) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SinkSplunk) Identity

func (o *SinkSplunk) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SinkSplunk) Patch

func (o *SinkSplunk) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSinkSplunk to the object.

func (*SinkSplunk) SetBSON

func (o *SinkSplunk) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SinkSplunk) SetIdentifier

func (o *SinkSplunk) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SinkSplunk) SpecificationForAttribute

func (*SinkSplunk) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SinkSplunk) String

func (o *SinkSplunk) String() string

func (*SinkSplunk) ToSparse

func (o *SinkSplunk) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*SinkSplunk) Validate

func (o *SinkSplunk) Validate() error

Validate valides the current information stored into the structure.

func (*SinkSplunk) ValueForAttribute

func (o *SinkSplunk) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*SinkSplunk) Version

func (o *SinkSplunk) Version() int

Version returns the hardcoded version of the model.

type SinkSplunksList

type SinkSplunksList []*SinkSplunk

SinkSplunksList represents a list of SinkSplunks

func (SinkSplunksList) Append

Append appends the objects to the a new copy of the SinkSplunksList.

func (SinkSplunksList) Copy

Copy returns a pointer to a copy the SinkSplunksList.

func (SinkSplunksList) DefaultOrder

func (o SinkSplunksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SinkSplunksList) Identity

func (o SinkSplunksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SinkSplunksList) List

List converts the object to an elemental.IdentifiablesList.

func (SinkSplunksList) ToSparse

func (o SinkSplunksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SinkSplunksList converted to SparseSinkSplunksList. Objects in the list will only contain the given fields. No field means entire field set.

func (SinkSplunksList) Version

func (o SinkSplunksList) Version() int

Version returns the version of the content.

type SinkTypeValue

type SinkTypeValue string

SinkTypeValue represents the possible values for attribute "type".

const (
	// SinkTypeEmail represents the value Email.
	SinkTypeEmail SinkTypeValue = "Email"

	// SinkTypePagerDuty represents the value PagerDuty.
	SinkTypePagerDuty SinkTypeValue = "PagerDuty"

	// SinkTypeSlack represents the value Slack.
	SinkTypeSlack SinkTypeValue = "Slack"

	// SinkTypeSplunk represents the value Splunk.
	SinkTypeSplunk SinkTypeValue = "Splunk"
)

type SinksList

type SinksList []*Sink

SinksList represents a list of Sinks

func (SinksList) Append

Append appends the objects to the a new copy of the SinksList.

func (SinksList) Copy

Copy returns a pointer to a copy the SinksList.

func (SinksList) DefaultOrder

func (o SinksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SinksList) Identity

func (o SinksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SinksList) List

List converts the object to an elemental.IdentifiablesList.

func (SinksList) ToSparse

func (o SinksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SinksList converted to SparseSinksList. Objects in the list will only contain the given fields. No field means entire field set.

func (SinksList) Version

func (o SinksList) Version() int

Version returns the version of the content.

type SparseAIDomain

type SparseAIDomain struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The domain of the AI provider.
	Domain *string `json:"domain,omitempty" msgpack:"domain,omitempty" bson:"domain,omitempty" mapstructure:"domain,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// Flag to say if the domain is a AI domain or not.
	IsAIDomain *bool `json:"isAIDomain,omitempty" msgpack:"isAIDomain,omitempty" bson:"isaidomain,omitempty" mapstructure:"isAIDomain,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// The name of the main provider.
	ProviderName *string `` /* 130-byte string literal not displayed */

	// A Markdown formatted string explaining the risk score.
	RiskExplanation *string `` /* 142-byte string literal not displayed */

	// The risk score for the domain.
	RiskScore *float64 `json:"riskScore,omitempty" msgpack:"riskScore,omitempty" bson:"riskscore,omitempty" mapstructure:"riskScore,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAIDomain represents the sparse version of a aidomain.

func NewSparseAIDomain

func NewSparseAIDomain() *SparseAIDomain

NewSparseAIDomain returns a new SparseAIDomain.

func (*SparseAIDomain) DeepCopy

func (o *SparseAIDomain) DeepCopy() *SparseAIDomain

DeepCopy returns a deep copy if the SparseAIDomain.

func (*SparseAIDomain) DeepCopyInto

func (o *SparseAIDomain) DeepCopyInto(out *SparseAIDomain)

DeepCopyInto copies the receiver into the given *SparseAIDomain.

func (*SparseAIDomain) GetBSON

func (o *SparseAIDomain) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAIDomain) GetCreateTime

func (o *SparseAIDomain) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAIDomain) GetImportHash

func (o *SparseAIDomain) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseAIDomain) GetImportLabel

func (o *SparseAIDomain) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseAIDomain) GetNamespace

func (o *SparseAIDomain) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAIDomain) GetPropagate

func (o *SparseAIDomain) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseAIDomain) GetUpdateTime

func (o *SparseAIDomain) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAIDomain) GetZHash

func (o *SparseAIDomain) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAIDomain) GetZone

func (o *SparseAIDomain) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAIDomain) Identifier

func (o *SparseAIDomain) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAIDomain) Identity

func (o *SparseAIDomain) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAIDomain) SetBSON

func (o *SparseAIDomain) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAIDomain) SetCreateTime

func (o *SparseAIDomain) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAIDomain) SetIdentifier

func (o *SparseAIDomain) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAIDomain) SetImportHash

func (o *SparseAIDomain) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseAIDomain) SetImportLabel

func (o *SparseAIDomain) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseAIDomain) SetNamespace

func (o *SparseAIDomain) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAIDomain) SetPropagate

func (o *SparseAIDomain) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseAIDomain) SetUpdateTime

func (o *SparseAIDomain) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAIDomain) SetZHash

func (o *SparseAIDomain) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAIDomain) SetZone

func (o *SparseAIDomain) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAIDomain) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAIDomain) Version

func (o *SparseAIDomain) Version() int

Version returns the hardcoded version of the model.

type SparseAIDomainsList

type SparseAIDomainsList []*SparseAIDomain

SparseAIDomainsList represents a list of SparseAIDomains

func (SparseAIDomainsList) Append

Append appends the objects to the a new copy of the SparseAIDomainsList.

func (SparseAIDomainsList) Copy

Copy returns a pointer to a copy the SparseAIDomainsList.

func (SparseAIDomainsList) DefaultOrder

func (o SparseAIDomainsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAIDomainsList) Identity

func (o SparseAIDomainsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAIDomainsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAIDomainsList) ToPlain

ToPlain returns the SparseAIDomainsList converted to AIDomainsList.

func (SparseAIDomainsList) Version

func (o SparseAIDomainsList) Version() int

Version returns the version of the content.

type SparseAPIAuthorization

type SparseAPIAuthorization struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the authorization rule.
	Description *string `` /* 126-byte string literal not displayed */

	// When disabled, an API Authorization has no effect.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The name of the authorization rule.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The individual permissions. Only works if role is Custom.
	Permissions *[]string `` /* 126-byte string literal not displayed */

	// The role for the subjects.
	Role *APIAuthorizationRoleValue `json:"role,omitempty" msgpack:"role,omitempty" bson:"role,omitempty" mapstructure:"role,omitempty"`

	// A tag expression that identifies the authorized user(s).
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// Defines the namespace or namespaces in which the permission for subject should
	// apply. If empty, the object's namespace will be used.
	TargetNamespaces *[]string `` /* 146-byte string literal not displayed */

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAPIAuthorization represents the sparse version of a apiauthorization.

func NewSparseAPIAuthorization

func NewSparseAPIAuthorization() *SparseAPIAuthorization

NewSparseAPIAuthorization returns a new SparseAPIAuthorization.

func (*SparseAPIAuthorization) DeepCopy

DeepCopy returns a deep copy if the SparseAPIAuthorization.

func (*SparseAPIAuthorization) DeepCopyInto

func (o *SparseAPIAuthorization) DeepCopyInto(out *SparseAPIAuthorization)

DeepCopyInto copies the receiver into the given *SparseAPIAuthorization.

func (*SparseAPIAuthorization) GetBSON

func (o *SparseAPIAuthorization) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAPIAuthorization) GetCreateTime

func (o *SparseAPIAuthorization) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAPIAuthorization) GetImportHash

func (o *SparseAPIAuthorization) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseAPIAuthorization) GetImportLabel

func (o *SparseAPIAuthorization) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseAPIAuthorization) GetNamespace

func (o *SparseAPIAuthorization) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAPIAuthorization) GetUpdateTime

func (o *SparseAPIAuthorization) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAPIAuthorization) GetZHash

func (o *SparseAPIAuthorization) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAPIAuthorization) GetZone

func (o *SparseAPIAuthorization) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAPIAuthorization) Identifier

func (o *SparseAPIAuthorization) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAPIAuthorization) Identity

Identity returns the Identity of the sparse object.

func (*SparseAPIAuthorization) SetBSON

func (o *SparseAPIAuthorization) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAPIAuthorization) SetCreateTime

func (o *SparseAPIAuthorization) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAPIAuthorization) SetIdentifier

func (o *SparseAPIAuthorization) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAPIAuthorization) SetImportHash

func (o *SparseAPIAuthorization) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseAPIAuthorization) SetImportLabel

func (o *SparseAPIAuthorization) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseAPIAuthorization) SetNamespace

func (o *SparseAPIAuthorization) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAPIAuthorization) SetUpdateTime

func (o *SparseAPIAuthorization) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAPIAuthorization) SetZHash

func (o *SparseAPIAuthorization) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAPIAuthorization) SetZone

func (o *SparseAPIAuthorization) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAPIAuthorization) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAPIAuthorization) Version

func (o *SparseAPIAuthorization) Version() int

Version returns the hardcoded version of the model.

type SparseAPIAuthorizationsList

type SparseAPIAuthorizationsList []*SparseAPIAuthorization

SparseAPIAuthorizationsList represents a list of SparseAPIAuthorizations

func (SparseAPIAuthorizationsList) Append

Append appends the objects to the a new copy of the SparseAPIAuthorizationsList.

func (SparseAPIAuthorizationsList) Copy

Copy returns a pointer to a copy the SparseAPIAuthorizationsList.

func (SparseAPIAuthorizationsList) DefaultOrder

func (o SparseAPIAuthorizationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAPIAuthorizationsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAPIAuthorizationsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAPIAuthorizationsList) ToPlain

ToPlain returns the SparseAPIAuthorizationsList converted to APIAuthorizationsList.

func (SparseAPIAuthorizationsList) Version

func (o SparseAPIAuthorizationsList) Version() int

Version returns the version of the content.

type SparseAccessPoliciesList

type SparseAccessPoliciesList []*SparseAccessPolicy

SparseAccessPoliciesList represents a list of SparseAccessPolicies

func (SparseAccessPoliciesList) Append

Append appends the objects to the a new copy of the SparseAccessPoliciesList.

func (SparseAccessPoliciesList) Copy

Copy returns a pointer to a copy the SparseAccessPoliciesList.

func (SparseAccessPoliciesList) DefaultOrder

func (o SparseAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAccessPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseAccessPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAccessPoliciesList) ToPlain

ToPlain returns the SparseAccessPoliciesList converted to AccessPoliciesList.

func (SparseAccessPoliciesList) Version

func (o SparseAccessPoliciesList) Version() int

Version returns the version of the content.

type SparseAccessPolicy

type SparseAccessPolicy struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The message that is sent if the access is denied.
	AccessDeniedMessage *string `` /* 158-byte string literal not displayed */

	// Define if the provider is allowed or denied for the match expression.
	Action *AccessPolicyActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"action,omitempty" mapstructure:"action,omitempty"`

	// The definition to use for alerting when action is deny.
	AlertDefinition *string `` /* 142-byte string literal not displayed */

	// The list of content policies to apply when the user has access to the provider.
	ContentPolicies *[]string `` /* 142-byte string literal not displayed */

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the access policy.
	Description *string `` /* 126-byte string literal not displayed */

	// If true, the policy is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set, just log the decision, but don't enforce it.
	Enforcement *bool `` /* 126-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// If true, the system will not log the messages that are not considered as
	// violations.
	Logging *bool `json:"logging,omitempty" msgpack:"logging,omitempty" bson:"logging,omitempty" mapstructure:"logging,omitempty"`

	// The match criteria used to take a decision on the access.
	Match *[]*Predicate `json:"match,omitempty" msgpack:"match,omitempty" bson:"match,omitempty" mapstructure:"match,omitempty"`

	// The name of the access policy.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAccessPolicy represents the sparse version of a accesspolicy.

func NewSparseAccessPolicy

func NewSparseAccessPolicy() *SparseAccessPolicy

NewSparseAccessPolicy returns a new SparseAccessPolicy.

func (*SparseAccessPolicy) DeepCopy

func (o *SparseAccessPolicy) DeepCopy() *SparseAccessPolicy

DeepCopy returns a deep copy if the SparseAccessPolicy.

func (*SparseAccessPolicy) DeepCopyInto

func (o *SparseAccessPolicy) DeepCopyInto(out *SparseAccessPolicy)

DeepCopyInto copies the receiver into the given *SparseAccessPolicy.

func (*SparseAccessPolicy) GetBSON

func (o *SparseAccessPolicy) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccessPolicy) GetCreateTime

func (o *SparseAccessPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAccessPolicy) GetImportHash

func (o *SparseAccessPolicy) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseAccessPolicy) GetImportLabel

func (o *SparseAccessPolicy) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseAccessPolicy) GetNamespace

func (o *SparseAccessPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAccessPolicy) GetUpdateTime

func (o *SparseAccessPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAccessPolicy) GetZHash

func (o *SparseAccessPolicy) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAccessPolicy) GetZone

func (o *SparseAccessPolicy) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAccessPolicy) Identifier

func (o *SparseAccessPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAccessPolicy) Identity

func (o *SparseAccessPolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAccessPolicy) SetBSON

func (o *SparseAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccessPolicy) SetCreateTime

func (o *SparseAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAccessPolicy) SetIdentifier

func (o *SparseAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAccessPolicy) SetImportHash

func (o *SparseAccessPolicy) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseAccessPolicy) SetImportLabel

func (o *SparseAccessPolicy) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseAccessPolicy) SetNamespace

func (o *SparseAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAccessPolicy) SetUpdateTime

func (o *SparseAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAccessPolicy) SetZHash

func (o *SparseAccessPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAccessPolicy) SetZone

func (o *SparseAccessPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAccessPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAccessPolicy) Version

func (o *SparseAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseAdminMagicLink struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The passcode information.
	Passcode *Passcode `json:"passcode,omitempty" msgpack:"passcode,omitempty" bson:"-" mapstructure:"passcode,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAdminMagicLink represents the sparse version of a adminmagiclink.

func NewSparseAdminMagicLink() *SparseAdminMagicLink

NewSparseAdminMagicLink returns a new SparseAdminMagicLink.

func (*SparseAdminMagicLink) DeepCopy

DeepCopy returns a deep copy if the SparseAdminMagicLink.

func (*SparseAdminMagicLink) DeepCopyInto

func (o *SparseAdminMagicLink) DeepCopyInto(out *SparseAdminMagicLink)

DeepCopyInto copies the receiver into the given *SparseAdminMagicLink.

func (*SparseAdminMagicLink) GetBSON

func (o *SparseAdminMagicLink) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAdminMagicLink) GetNamespace

func (o *SparseAdminMagicLink) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAdminMagicLink) Identifier

func (o *SparseAdminMagicLink) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAdminMagicLink) Identity

func (o *SparseAdminMagicLink) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAdminMagicLink) SetBSON

func (o *SparseAdminMagicLink) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAdminMagicLink) SetIdentifier

func (o *SparseAdminMagicLink) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAdminMagicLink) SetNamespace

func (o *SparseAdminMagicLink) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAdminMagicLink) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAdminMagicLink) Version

func (o *SparseAdminMagicLink) Version() int

Version returns the hardcoded version of the model.

type SparseAdminMagicLinksList []*SparseAdminMagicLink

SparseAdminMagicLinksList represents a list of SparseAdminMagicLinks

func (SparseAdminMagicLinksList) Append

Append appends the objects to the a new copy of the SparseAdminMagicLinksList.

func (SparseAdminMagicLinksList) Copy

Copy returns a pointer to a copy the SparseAdminMagicLinksList.

func (SparseAdminMagicLinksList) DefaultOrder

func (o SparseAdminMagicLinksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAdminMagicLinksList) Identity

Identity returns the identity of the objects in the list.

func (SparseAdminMagicLinksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAdminMagicLinksList) ToPlain

ToPlain returns the SparseAdminMagicLinksList converted to AdminMagicLinksList.

func (SparseAdminMagicLinksList) Version

func (o SparseAdminMagicLinksList) Version() int

Version returns the version of the content.

type SparseAdminOrg

type SparseAdminOrg struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// This property if true will force reimport the template data. Setting it false is
	// a noop.
	ForceReimportTemplate *bool `` /* 136-byte string literal not displayed */

	// Enables the global Sign In With Github for the organization.
	GithubSigninEnabled *bool `` /* 158-byte string literal not displayed */

	// Enables the global Sign In With Gitlab for the organization.
	GitlabSigninEnabled *bool `` /* 158-byte string literal not displayed */

	// Enables the global Sign In With Google for the organization.
	GoogleSigninEnabled *bool `` /* 158-byte string literal not displayed */

	// Enables the global Sign In With Huggingface for the organization.
	HuggingfaceSigninEnabled *bool `` /* 178-byte string literal not displayed */

	// The mode of the organization.
	Mode *AdminOrgModeValue `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"mode,omitempty" mapstructure:"mode,omitempty"`

	// The name of the organization.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// This is an internal property used to decide if the org template needs to be
	// reimported.
	ReimportTemplate *bool `json:"reimportTemplate,omitempty" msgpack:"reimportTemplate,omitempty" bson:"-" mapstructure:"reimportTemplate,omitempty"`

	// A tag expression that identifies the authorized user(s). If set it will
	// configure the complete subject of the admin api authorization, ignoring anything
	// passed in claims.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// The type of organization. Either Full or Single. Full represents an organization
	// that will need to onboard additional users, while Single represents a single
	// user account.
	Type *AdminOrgTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAdminOrg represents the sparse version of a adminorg.

func NewSparseAdminOrg

func NewSparseAdminOrg() *SparseAdminOrg

NewSparseAdminOrg returns a new SparseAdminOrg.

func (*SparseAdminOrg) DeepCopy

func (o *SparseAdminOrg) DeepCopy() *SparseAdminOrg

DeepCopy returns a deep copy if the SparseAdminOrg.

func (*SparseAdminOrg) DeepCopyInto

func (o *SparseAdminOrg) DeepCopyInto(out *SparseAdminOrg)

DeepCopyInto copies the receiver into the given *SparseAdminOrg.

func (*SparseAdminOrg) GetBSON

func (o *SparseAdminOrg) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAdminOrg) GetNamespace

func (o *SparseAdminOrg) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAdminOrg) Identifier

func (o *SparseAdminOrg) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAdminOrg) Identity

func (o *SparseAdminOrg) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAdminOrg) SetBSON

func (o *SparseAdminOrg) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAdminOrg) SetIdentifier

func (o *SparseAdminOrg) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAdminOrg) SetNamespace

func (o *SparseAdminOrg) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAdminOrg) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAdminOrg) Version

func (o *SparseAdminOrg) Version() int

Version returns the hardcoded version of the model.

type SparseAdminOrgsList

type SparseAdminOrgsList []*SparseAdminOrg

SparseAdminOrgsList represents a list of SparseAdminOrgs

func (SparseAdminOrgsList) Append

Append appends the objects to the a new copy of the SparseAdminOrgsList.

func (SparseAdminOrgsList) Copy

Copy returns a pointer to a copy the SparseAdminOrgsList.

func (SparseAdminOrgsList) DefaultOrder

func (o SparseAdminOrgsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAdminOrgsList) Identity

func (o SparseAdminOrgsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAdminOrgsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAdminOrgsList) ToPlain

ToPlain returns the SparseAdminOrgsList converted to AdminOrgsList.

func (SparseAdminOrgsList) Version

func (o SparseAdminOrgsList) Version() int

Version returns the version of the content.

type SparseAgent

type SparseAgent struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The agent configuration.
	AgentConfig *AgentConfig `` /* 126-byte string literal not displayed */

	// The current version of the agent.
	CurrentVersion *string `` /* 138-byte string literal not displayed */

	// The name of the host where the agent is runnning.
	Hostname *string `json:"hostname,omitempty" msgpack:"hostname,omitempty" bson:"hostname,omitempty" mapstructure:"hostname,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// True if the apex is reachable.
	IsAPEXReachable *bool `` /* 142-byte string literal not displayed */

	// True if the apex is trusted.
	IsAPEXTrusted *bool `` /* 134-byte string literal not displayed */

	// The state of the managed CA.
	ManagedCAState *bool `` /* 138-byte string literal not displayed */

	// The list of managed interfaces.
	ManagedInterfaces *[]string `` /* 150-byte string literal not displayed */

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The last ping recorded for the agent.
	Ping *time.Time `json:"ping,omitempty" msgpack:"ping,omitempty" bson:"ping,omitempty" mapstructure:"ping,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal,omitempty" msgpack:"principal,omitempty" bson:"principal,omitempty" mapstructure:"principal,omitempty"`

	// The start time for the agent.
	Start *time.Time `json:"start,omitempty" msgpack:"start,omitempty" bson:"start,omitempty" mapstructure:"start,omitempty"`

	// The status of the agent.
	Status *AgentStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// The state of the system proxy management.
	SystemProxyManagementState *bool `` /* 186-byte string literal not displayed */

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAgent represents the sparse version of a agent.

func NewSparseAgent

func NewSparseAgent() *SparseAgent

NewSparseAgent returns a new SparseAgent.

func (*SparseAgent) DeepCopy

func (o *SparseAgent) DeepCopy() *SparseAgent

DeepCopy returns a deep copy if the SparseAgent.

func (*SparseAgent) DeepCopyInto

func (o *SparseAgent) DeepCopyInto(out *SparseAgent)

DeepCopyInto copies the receiver into the given *SparseAgent.

func (*SparseAgent) GetBSON

func (o *SparseAgent) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAgent) GetImportHash

func (o *SparseAgent) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseAgent) GetImportLabel

func (o *SparseAgent) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseAgent) GetNamespace

func (o *SparseAgent) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAgent) GetZHash

func (o *SparseAgent) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAgent) GetZone

func (o *SparseAgent) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAgent) Identifier

func (o *SparseAgent) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAgent) Identity

func (o *SparseAgent) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAgent) SetBSON

func (o *SparseAgent) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAgent) SetIdentifier

func (o *SparseAgent) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAgent) SetImportHash

func (o *SparseAgent) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseAgent) SetImportLabel

func (o *SparseAgent) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseAgent) SetNamespace

func (o *SparseAgent) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAgent) SetZHash

func (o *SparseAgent) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAgent) SetZone

func (o *SparseAgent) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAgent) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAgent) Version

func (o *SparseAgent) Version() int

Version returns the hardcoded version of the model.

type SparseAgentConfig

type SparseAgentConfig struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the agent configuration.
	Description *string `` /* 126-byte string literal not displayed */

	// If disabled, the agent needs to be restarted manually.
	DisableAutoStart *bool `` /* 146-byte string literal not displayed */

	// If disabled, the agent will rely on the CA already installed and trusted on the
	// system.
	DisableManagedCA *bool `` /* 146-byte string literal not displayed */

	// If disabled, the system proxy needs to be configured manually.
	DisableSystemProxyManagement *bool `` /* 194-byte string literal not displayed */

	// If disabled, the agent will stop reporting the visited domains.
	DisableURLDiscovery *bool `` /* 158-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The port use by the agent to proxy the traffic.
	ListeningPort *string `` /* 134-byte string literal not displayed */

	// The name of the agent configuration.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The name of the PAC configuration to use.
	PacName *string `json:"pacName,omitempty" msgpack:"pacName,omitempty" bson:"pacname,omitempty" mapstructure:"pacName,omitempty"`

	// The ping interval at which acushield should check in with the backend.
	PingInterval *string `` /* 130-byte string literal not displayed */

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// If system proxy management is enabled and this flag is enabled, the system
	// can take another port, different that the listeningPort.
	UseDynamicPort *bool `` /* 138-byte string literal not displayed */

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAgentConfig represents the sparse version of a agentconfig.

func NewSparseAgentConfig

func NewSparseAgentConfig() *SparseAgentConfig

NewSparseAgentConfig returns a new SparseAgentConfig.

func (*SparseAgentConfig) DeepCopy

func (o *SparseAgentConfig) DeepCopy() *SparseAgentConfig

DeepCopy returns a deep copy if the SparseAgentConfig.

func (*SparseAgentConfig) DeepCopyInto

func (o *SparseAgentConfig) DeepCopyInto(out *SparseAgentConfig)

DeepCopyInto copies the receiver into the given *SparseAgentConfig.

func (*SparseAgentConfig) GetBSON

func (o *SparseAgentConfig) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAgentConfig) GetCreateTime

func (o *SparseAgentConfig) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAgentConfig) GetImportHash

func (o *SparseAgentConfig) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseAgentConfig) GetImportLabel

func (o *SparseAgentConfig) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseAgentConfig) GetNamespace

func (o *SparseAgentConfig) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAgentConfig) GetUpdateTime

func (o *SparseAgentConfig) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAgentConfig) GetZHash

func (o *SparseAgentConfig) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAgentConfig) GetZone

func (o *SparseAgentConfig) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAgentConfig) Identifier

func (o *SparseAgentConfig) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAgentConfig) Identity

func (o *SparseAgentConfig) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAgentConfig) SetBSON

func (o *SparseAgentConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAgentConfig) SetCreateTime

func (o *SparseAgentConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAgentConfig) SetIdentifier

func (o *SparseAgentConfig) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAgentConfig) SetImportHash

func (o *SparseAgentConfig) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseAgentConfig) SetImportLabel

func (o *SparseAgentConfig) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseAgentConfig) SetNamespace

func (o *SparseAgentConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAgentConfig) SetUpdateTime

func (o *SparseAgentConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAgentConfig) SetZHash

func (o *SparseAgentConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAgentConfig) SetZone

func (o *SparseAgentConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAgentConfig) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAgentConfig) Version

func (o *SparseAgentConfig) Version() int

Version returns the hardcoded version of the model.

type SparseAgentConfigsList

type SparseAgentConfigsList []*SparseAgentConfig

SparseAgentConfigsList represents a list of SparseAgentConfigs

func (SparseAgentConfigsList) Append

Append appends the objects to the a new copy of the SparseAgentConfigsList.

func (SparseAgentConfigsList) Copy

Copy returns a pointer to a copy the SparseAgentConfigsList.

func (SparseAgentConfigsList) DefaultOrder

func (o SparseAgentConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAgentConfigsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAgentConfigsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAgentConfigsList) ToPlain

ToPlain returns the SparseAgentConfigsList converted to AgentConfigsList.

func (SparseAgentConfigsList) Version

func (o SparseAgentConfigsList) Version() int

Version returns the version of the content.

type SparseAgentsList

type SparseAgentsList []*SparseAgent

SparseAgentsList represents a list of SparseAgents

func (SparseAgentsList) Append

Append appends the objects to the a new copy of the SparseAgentsList.

func (SparseAgentsList) Copy

Copy returns a pointer to a copy the SparseAgentsList.

func (SparseAgentsList) DefaultOrder

func (o SparseAgentsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAgentsList) Identity

func (o SparseAgentsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAgentsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAgentsList) ToPlain

ToPlain returns the SparseAgentsList converted to AgentsList.

func (SparseAgentsList) Version

func (o SparseAgentsList) Version() int

Version returns the version of the content.

type SparseAlert

type SparseAlert struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The alert definition that triggered the alert.
	AlertDefinition *AlertDefinition `json:"alertDefinition,omitempty" msgpack:"alertDefinition,omitempty" bson:"-" mapstructure:"alertDefinition,omitempty"`

	// The name identifier of the alert definition that triggered the alert.
	AlertDefinitionName *string `` /* 158-byte string literal not displayed */

	// The events related to the alert.
	AlertEvents *[]*AlertEvent `json:"alertEvents,omitempty" msgpack:"alertEvents,omitempty" bson:"-" mapstructure:"alertEvents,omitempty"`

	// The number of times the alert was raised.
	Counter *int `json:"counter,omitempty" msgpack:"counter,omitempty" bson:"counter,omitempty" mapstructure:"counter,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// When the alert was last raised.
	End *time.Time `json:"end,omitempty" msgpack:"end,omitempty" bson:"end,omitempty" mapstructure:"end,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// When the alert was first raised.
	Start *time.Time `json:"start,omitempty" msgpack:"start,omitempty" bson:"start,omitempty" mapstructure:"start,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAlert represents the sparse version of a alert.

func NewSparseAlert

func NewSparseAlert() *SparseAlert

NewSparseAlert returns a new SparseAlert.

func (*SparseAlert) DeepCopy

func (o *SparseAlert) DeepCopy() *SparseAlert

DeepCopy returns a deep copy if the SparseAlert.

func (*SparseAlert) DeepCopyInto

func (o *SparseAlert) DeepCopyInto(out *SparseAlert)

DeepCopyInto copies the receiver into the given *SparseAlert.

func (*SparseAlert) GetBSON

func (o *SparseAlert) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlert) GetCreateTime

func (o *SparseAlert) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAlert) GetNamespace

func (o *SparseAlert) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAlert) GetUpdateTime

func (o *SparseAlert) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAlert) GetZHash

func (o *SparseAlert) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAlert) GetZone

func (o *SparseAlert) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAlert) Identifier

func (o *SparseAlert) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAlert) Identity

func (o *SparseAlert) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAlert) SetBSON

func (o *SparseAlert) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlert) SetCreateTime

func (o *SparseAlert) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAlert) SetIdentifier

func (o *SparseAlert) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAlert) SetNamespace

func (o *SparseAlert) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAlert) SetUpdateTime

func (o *SparseAlert) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAlert) SetZHash

func (o *SparseAlert) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAlert) SetZone

func (o *SparseAlert) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAlert) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAlert) Version

func (o *SparseAlert) Version() int

Version returns the hardcoded version of the model.

type SparseAlertDefinition

type SparseAlertDefinition struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// If set, how long until a subsequent alert notification can be raised.
	Cooldown *string `json:"cooldown,omitempty" msgpack:"cooldown,omitempty" bson:"cooldown,omitempty" mapstructure:"cooldown,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The description of the alert definition.
	Description *string `` /* 126-byte string literal not displayed */

	// Friendly name of the object.
	FriendlyName *string `` /* 130-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The message sent when notifying.
	Message *string `json:"message,omitempty" msgpack:"message,omitempty" bson:"message,omitempty" mapstructure:"message,omitempty"`

	// The internal reference name of the object. It is a sanitized version of Friendly
	// Name if empty.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// The severity of the alert event.
	Severity *AlertDefinitionSeverityValue `json:"severity,omitempty" msgpack:"severity,omitempty" bson:"severity,omitempty" mapstructure:"severity,omitempty"`

	// The sinks used to notify.
	Sinks *[]string `json:"sinks,omitempty" msgpack:"sinks,omitempty" bson:"sinks,omitempty" mapstructure:"sinks,omitempty"`

	// If set, the criteria to trigger an alert notification.
	Trigger *AlertTrigger `json:"trigger,omitempty" msgpack:"trigger,omitempty" bson:"trigger,omitempty" mapstructure:"trigger,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAlertDefinition represents the sparse version of a alertdefinition.

func NewSparseAlertDefinition

func NewSparseAlertDefinition() *SparseAlertDefinition

NewSparseAlertDefinition returns a new SparseAlertDefinition.

func (*SparseAlertDefinition) DeepCopy

DeepCopy returns a deep copy if the SparseAlertDefinition.

func (*SparseAlertDefinition) DeepCopyInto

func (o *SparseAlertDefinition) DeepCopyInto(out *SparseAlertDefinition)

DeepCopyInto copies the receiver into the given *SparseAlertDefinition.

func (*SparseAlertDefinition) GetBSON

func (o *SparseAlertDefinition) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlertDefinition) GetCreateTime

func (o *SparseAlertDefinition) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAlertDefinition) GetImportHash

func (o *SparseAlertDefinition) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseAlertDefinition) GetImportLabel

func (o *SparseAlertDefinition) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseAlertDefinition) GetNamespace

func (o *SparseAlertDefinition) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAlertDefinition) GetPropagate

func (o *SparseAlertDefinition) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseAlertDefinition) GetUpdateTime

func (o *SparseAlertDefinition) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAlertDefinition) GetZHash

func (o *SparseAlertDefinition) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAlertDefinition) GetZone

func (o *SparseAlertDefinition) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAlertDefinition) Identifier

func (o *SparseAlertDefinition) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAlertDefinition) Identity

Identity returns the Identity of the sparse object.

func (*SparseAlertDefinition) SetBSON

func (o *SparseAlertDefinition) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlertDefinition) SetCreateTime

func (o *SparseAlertDefinition) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetIdentifier

func (o *SparseAlertDefinition) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAlertDefinition) SetImportHash

func (o *SparseAlertDefinition) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetImportLabel

func (o *SparseAlertDefinition) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetNamespace

func (o *SparseAlertDefinition) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetPropagate

func (o *SparseAlertDefinition) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetUpdateTime

func (o *SparseAlertDefinition) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetZHash

func (o *SparseAlertDefinition) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAlertDefinition) SetZone

func (o *SparseAlertDefinition) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAlertDefinition) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAlertDefinition) Version

func (o *SparseAlertDefinition) Version() int

Version returns the hardcoded version of the model.

type SparseAlertDefinitionsList

type SparseAlertDefinitionsList []*SparseAlertDefinition

SparseAlertDefinitionsList represents a list of SparseAlertDefinitions

func (SparseAlertDefinitionsList) Append

Append appends the objects to the a new copy of the SparseAlertDefinitionsList.

func (SparseAlertDefinitionsList) Copy

Copy returns a pointer to a copy the SparseAlertDefinitionsList.

func (SparseAlertDefinitionsList) DefaultOrder

func (o SparseAlertDefinitionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAlertDefinitionsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAlertDefinitionsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAlertDefinitionsList) ToPlain

ToPlain returns the SparseAlertDefinitionsList converted to AlertDefinitionsList.

func (SparseAlertDefinitionsList) Version

func (o SparseAlertDefinitionsList) Version() int

Version returns the version of the content.

type SparseAlertTrigger

type SparseAlertTrigger struct {
	// What time window to look for an alert event.
	Interval *string `json:"interval,omitempty" msgpack:"interval,omitempty" bson:"interval,omitempty" mapstructure:"interval,omitempty"`

	// The number of times an alert event is seen to cause a trigger.
	Occurrences *int `` /* 126-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAlertTrigger represents the sparse version of a alerttrigger.

func NewSparseAlertTrigger

func NewSparseAlertTrigger() *SparseAlertTrigger

NewSparseAlertTrigger returns a new SparseAlertTrigger.

func (*SparseAlertTrigger) DeepCopy

func (o *SparseAlertTrigger) DeepCopy() *SparseAlertTrigger

DeepCopy returns a deep copy if the SparseAlertTrigger.

func (*SparseAlertTrigger) DeepCopyInto

func (o *SparseAlertTrigger) DeepCopyInto(out *SparseAlertTrigger)

DeepCopyInto copies the receiver into the given *SparseAlertTrigger.

func (*SparseAlertTrigger) GetBSON

func (o *SparseAlertTrigger) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlertTrigger) Identifier

func (o *SparseAlertTrigger) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAlertTrigger) Identity

func (o *SparseAlertTrigger) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAlertTrigger) SetBSON

func (o *SparseAlertTrigger) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlertTrigger) SetIdentifier

func (o *SparseAlertTrigger) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAlertTrigger) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAlertTrigger) Version

func (o *SparseAlertTrigger) Version() int

Version returns the hardcoded version of the model.

type SparseAlertTriggersList

type SparseAlertTriggersList []*SparseAlertTrigger

SparseAlertTriggersList represents a list of SparseAlertTriggers

func (SparseAlertTriggersList) Append

Append appends the objects to the a new copy of the SparseAlertTriggersList.

func (SparseAlertTriggersList) Copy

Copy returns a pointer to a copy the SparseAlertTriggersList.

func (SparseAlertTriggersList) DefaultOrder

func (o SparseAlertTriggersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAlertTriggersList) Identity

Identity returns the identity of the objects in the list.

func (SparseAlertTriggersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAlertTriggersList) ToPlain

ToPlain returns the SparseAlertTriggersList converted to AlertTriggersList.

func (SparseAlertTriggersList) Version

func (o SparseAlertTriggersList) Version() int

Version returns the version of the content.

type SparseAlertsList

type SparseAlertsList []*SparseAlert

SparseAlertsList represents a list of SparseAlerts

func (SparseAlertsList) Append

Append appends the objects to the a new copy of the SparseAlertsList.

func (SparseAlertsList) Copy

Copy returns a pointer to a copy the SparseAlertsList.

func (SparseAlertsList) DefaultOrder

func (o SparseAlertsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAlertsList) Identity

func (o SparseAlertsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAlertsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAlertsList) ToPlain

ToPlain returns the SparseAlertsList converted to AlertsList.

func (SparseAlertsList) Version

func (o SparseAlertsList) Version() int

Version returns the version of the content.

type SparseAnalyzer

type SparseAnalyzer struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The description of the analyzer.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// The detectors the analyzer can use.
	Detectors *[]*Detector `json:"detectors,omitempty" msgpack:"detectors,omitempty" bson:"-" mapstructure:"detectors,omitempty"`

	// Tell if the analyzer is enabled by default.
	Enabled *bool `json:"enabled,omitempty" msgpack:"enabled,omitempty" bson:"-" mapstructure:"enabled,omitempty"`

	// The group the analyzer belongs to.
	Group *string `json:"group,omitempty" msgpack:"group,omitempty" bson:"-" mapstructure:"group,omitempty"`

	// The models used by the analyzer.
	Models *[]*AnalyzerModel `json:"models,omitempty" msgpack:"models,omitempty" bson:"-" mapstructure:"models,omitempty"`

	// The name of the analyzer.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A list of trigger or globl pattern that the analyzer will react on.
	// A trigger is the detector Group and Name separated with a /.
	Triggers *[]string `json:"triggers,omitempty" msgpack:"triggers,omitempty" bson:"-" mapstructure:"triggers,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAnalyzer represents the sparse version of a analyzer.

func NewSparseAnalyzer

func NewSparseAnalyzer() *SparseAnalyzer

NewSparseAnalyzer returns a new SparseAnalyzer.

func (*SparseAnalyzer) DeepCopy

func (o *SparseAnalyzer) DeepCopy() *SparseAnalyzer

DeepCopy returns a deep copy if the SparseAnalyzer.

func (*SparseAnalyzer) DeepCopyInto

func (o *SparseAnalyzer) DeepCopyInto(out *SparseAnalyzer)

DeepCopyInto copies the receiver into the given *SparseAnalyzer.

func (*SparseAnalyzer) GetBSON

func (o *SparseAnalyzer) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAnalyzer) GetNamespace

func (o *SparseAnalyzer) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAnalyzer) Identifier

func (o *SparseAnalyzer) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAnalyzer) Identity

func (o *SparseAnalyzer) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAnalyzer) SetBSON

func (o *SparseAnalyzer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAnalyzer) SetIdentifier

func (o *SparseAnalyzer) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAnalyzer) SetNamespace

func (o *SparseAnalyzer) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAnalyzer) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAnalyzer) Version

func (o *SparseAnalyzer) Version() int

Version returns the hardcoded version of the model.

type SparseAnalyzersList

type SparseAnalyzersList []*SparseAnalyzer

SparseAnalyzersList represents a list of SparseAnalyzers

func (SparseAnalyzersList) Append

Append appends the objects to the a new copy of the SparseAnalyzersList.

func (SparseAnalyzersList) Copy

Copy returns a pointer to a copy the SparseAnalyzersList.

func (SparseAnalyzersList) DefaultOrder

func (o SparseAnalyzersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAnalyzersList) Identity

func (o SparseAnalyzersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAnalyzersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAnalyzersList) ToPlain

ToPlain returns the SparseAnalyzersList converted to AnalyzersList.

func (SparseAnalyzersList) Version

func (o SparseAnalyzersList) Version() int

Version returns the version of the content.

type SparseApp

type SparseApp struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The description of the App.
	Description *string `` /* 126-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The name of the App.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A tag expression that identify an application based on downstream labels.
	Selector *[][]string `json:"selector,omitempty" msgpack:"selector,omitempty" bson:"selector,omitempty" mapstructure:"selector,omitempty"`

	// Only bearers with claims matching the subject will be allowed to access the
	// apptier tokens.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// List of tiers for the application.
	Tiers *AppTiersList `json:"tiers,omitempty" msgpack:"tiers,omitempty" bson:"tiers,omitempty" mapstructure:"tiers,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseApp represents the sparse version of a app.

func NewSparseApp

func NewSparseApp() *SparseApp

NewSparseApp returns a new SparseApp.

func (*SparseApp) DeepCopy

func (o *SparseApp) DeepCopy() *SparseApp

DeepCopy returns a deep copy if the SparseApp.

func (*SparseApp) DeepCopyInto

func (o *SparseApp) DeepCopyInto(out *SparseApp)

DeepCopyInto copies the receiver into the given *SparseApp.

func (*SparseApp) GetBSON

func (o *SparseApp) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseApp) GetCreateTime

func (o *SparseApp) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseApp) GetImportHash

func (o *SparseApp) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseApp) GetImportLabel

func (o *SparseApp) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseApp) GetNamespace

func (o *SparseApp) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseApp) GetUpdateTime

func (o *SparseApp) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseApp) GetZHash

func (o *SparseApp) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseApp) GetZone

func (o *SparseApp) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseApp) Identifier

func (o *SparseApp) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseApp) Identity

func (o *SparseApp) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseApp) SetBSON

func (o *SparseApp) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseApp) SetCreateTime

func (o *SparseApp) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseApp) SetIdentifier

func (o *SparseApp) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseApp) SetImportHash

func (o *SparseApp) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseApp) SetImportLabel

func (o *SparseApp) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseApp) SetNamespace

func (o *SparseApp) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseApp) SetUpdateTime

func (o *SparseApp) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseApp) SetZHash

func (o *SparseApp) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseApp) SetZone

func (o *SparseApp) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseApp) ToPlain

func (o *SparseApp) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseApp) Version

func (o *SparseApp) Version() int

Version returns the hardcoded version of the model.

type SparseAppTier

type SparseAppTier struct {
	// The hostname.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// A tag expression that identify an application tier based on downstream labels.
	Selector *[][]string `json:"selector,omitempty" msgpack:"selector,omitempty" bson:"selector,omitempty" mapstructure:"selector,omitempty"`

	// The token for the current tier. Only populated by the backend when the caller's
	// claim match the parents app.subject.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAppTier represents the sparse version of a apptier.

func NewSparseAppTier

func NewSparseAppTier() *SparseAppTier

NewSparseAppTier returns a new SparseAppTier.

func (*SparseAppTier) DeepCopy

func (o *SparseAppTier) DeepCopy() *SparseAppTier

DeepCopy returns a deep copy if the SparseAppTier.

func (*SparseAppTier) DeepCopyInto

func (o *SparseAppTier) DeepCopyInto(out *SparseAppTier)

DeepCopyInto copies the receiver into the given *SparseAppTier.

func (*SparseAppTier) GetBSON

func (o *SparseAppTier) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAppTier) Identifier

func (o *SparseAppTier) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAppTier) Identity

func (o *SparseAppTier) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAppTier) SetBSON

func (o *SparseAppTier) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAppTier) SetIdentifier

func (o *SparseAppTier) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAppTier) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAppTier) Version

func (o *SparseAppTier) Version() int

Version returns the hardcoded version of the model.

type SparseAppTiersList

type SparseAppTiersList []*SparseAppTier

SparseAppTiersList represents a list of SparseAppTiers

func (SparseAppTiersList) Append

Append appends the objects to the a new copy of the SparseAppTiersList.

func (SparseAppTiersList) Copy

Copy returns a pointer to a copy the SparseAppTiersList.

func (SparseAppTiersList) DefaultOrder

func (o SparseAppTiersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAppTiersList) Identity

func (o SparseAppTiersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAppTiersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAppTiersList) ToPlain

ToPlain returns the SparseAppTiersList converted to AppTiersList.

func (SparseAppTiersList) Version

func (o SparseAppTiersList) Version() int

Version returns the version of the content.

type SparseAppToken

type SparseAppToken struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The list of claims delivered in the token.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The email of the user who requested the token.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// Tells when the token will expire.
	ExpirationDate *time.Time `` /* 138-byte string literal not displayed */

	// The optional machine ID of the token. This is used to easily retrieve the tokens
	// issued for a particular machine.
	MachineID *string `json:"machineID,omitempty" msgpack:"machineID,omitempty" bson:"machineid,omitempty" mapstructure:"machineID,omitempty"`

	// Name of the token is specified while creating the token.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The source IP of the request that initiated the creation of the token.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"sourceip,omitempty" mapstructure:"sourceIP,omitempty"`

	// The generated token. It won't be stored.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// The ID of the associated token.
	TokenID *string `json:"tokenID,omitempty" msgpack:"tokenID,omitempty" bson:"tokenid,omitempty" mapstructure:"tokenID,omitempty"`

	// If true, the token will not be stored and will only be revocable if you keep
	// track of the token ID yourself. Also, the validity will be capped and the token
	// won't be long lived.
	Transient *bool `json:"transient,omitempty" msgpack:"transient,omitempty" bson:"transient,omitempty" mapstructure:"transient,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Configures the validity of the token.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAppToken represents the sparse version of a apptoken.

func NewSparseAppToken

func NewSparseAppToken() *SparseAppToken

NewSparseAppToken returns a new SparseAppToken.

func (*SparseAppToken) DeepCopy

func (o *SparseAppToken) DeepCopy() *SparseAppToken

DeepCopy returns a deep copy if the SparseAppToken.

func (*SparseAppToken) DeepCopyInto

func (o *SparseAppToken) DeepCopyInto(out *SparseAppToken)

DeepCopyInto copies the receiver into the given *SparseAppToken.

func (*SparseAppToken) GetBSON

func (o *SparseAppToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAppToken) GetCreateTime

func (o *SparseAppToken) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAppToken) GetNamespace

func (o *SparseAppToken) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAppToken) GetUpdateTime

func (o *SparseAppToken) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAppToken) GetZHash

func (o *SparseAppToken) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAppToken) GetZone

func (o *SparseAppToken) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAppToken) Identifier

func (o *SparseAppToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAppToken) Identity

func (o *SparseAppToken) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAppToken) SetBSON

func (o *SparseAppToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAppToken) SetCreateTime

func (o *SparseAppToken) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAppToken) SetIdentifier

func (o *SparseAppToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAppToken) SetNamespace

func (o *SparseAppToken) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAppToken) SetUpdateTime

func (o *SparseAppToken) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAppToken) SetZHash

func (o *SparseAppToken) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAppToken) SetZone

func (o *SparseAppToken) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAppToken) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAppToken) Version

func (o *SparseAppToken) Version() int

Version returns the hardcoded version of the model.

type SparseAppTokensList

type SparseAppTokensList []*SparseAppToken

SparseAppTokensList represents a list of SparseAppTokens

func (SparseAppTokensList) Append

Append appends the objects to the a new copy of the SparseAppTokensList.

func (SparseAppTokensList) Copy

Copy returns a pointer to a copy the SparseAppTokensList.

func (SparseAppTokensList) DefaultOrder

func (o SparseAppTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAppTokensList) Identity

func (o SparseAppTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAppTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAppTokensList) ToPlain

ToPlain returns the SparseAppTokensList converted to AppTokensList.

func (SparseAppTokensList) Version

func (o SparseAppTokensList) Version() int

Version returns the version of the content.

type SparseAppsList

type SparseAppsList []*SparseApp

SparseAppsList represents a list of SparseApps

func (SparseAppsList) Append

Append appends the objects to the a new copy of the SparseAppsList.

func (SparseAppsList) Copy

Copy returns a pointer to a copy the SparseAppsList.

func (SparseAppsList) DefaultOrder

func (o SparseAppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAppsList) Identity

func (o SparseAppsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAppsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAppsList) ToPlain

ToPlain returns the SparseAppsList converted to AppsList.

func (SparseAppsList) Version

func (o SparseAppsList) Version() int

Version returns the version of the content.

type SparseAuthSettings

type SparseAuthSettings struct {
	// The name of the source.
	SourceName *string `json:"sourceName,omitempty" msgpack:"sourceName,omitempty" bson:"-" mapstructure:"sourceName,omitempty"`

	// The type of source.
	SourceType *AuthSettingsSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"-" mapstructure:"sourceType,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuthSettings represents the sparse version of a authsettings.

func NewSparseAuthSettings

func NewSparseAuthSettings() *SparseAuthSettings

NewSparseAuthSettings returns a new SparseAuthSettings.

func (*SparseAuthSettings) DeepCopy

func (o *SparseAuthSettings) DeepCopy() *SparseAuthSettings

DeepCopy returns a deep copy if the SparseAuthSettings.

func (*SparseAuthSettings) DeepCopyInto

func (o *SparseAuthSettings) DeepCopyInto(out *SparseAuthSettings)

DeepCopyInto copies the receiver into the given *SparseAuthSettings.

func (*SparseAuthSettings) GetBSON

func (o *SparseAuthSettings) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthSettings) Identifier

func (o *SparseAuthSettings) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuthSettings) Identity

func (o *SparseAuthSettings) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAuthSettings) SetBSON

func (o *SparseAuthSettings) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthSettings) SetIdentifier

func (o *SparseAuthSettings) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuthSettings) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAuthSettings) Version

func (o *SparseAuthSettings) Version() int

Version returns the hardcoded version of the model.

type SparseAuthSettingsList

type SparseAuthSettingsList []*SparseAuthSettings

SparseAuthSettingsList represents a list of SparseAuthSettings

func (SparseAuthSettingsList) Append

Append appends the objects to the a new copy of the SparseAuthSettingsList.

func (SparseAuthSettingsList) Copy

Copy returns a pointer to a copy the SparseAuthSettingsList.

func (SparseAuthSettingsList) DefaultOrder

func (o SparseAuthSettingsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuthSettingsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAuthSettingsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAuthSettingsList) ToPlain

ToPlain returns the SparseAuthSettingsList converted to AuthSettingsList.

func (SparseAuthSettingsList) Version

func (o SparseAuthSettingsList) Version() int

Version returns the version of the content.

type SparseContentPoliciesList

type SparseContentPoliciesList []*SparseContentPolicy

SparseContentPoliciesList represents a list of SparseContentPolicies

func (SparseContentPoliciesList) Append

Append appends the objects to the a new copy of the SparseContentPoliciesList.

func (SparseContentPoliciesList) Copy

Copy returns a pointer to a copy the SparseContentPoliciesList.

func (SparseContentPoliciesList) DefaultOrder

func (o SparseContentPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseContentPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseContentPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseContentPoliciesList) ToPlain

ToPlain returns the SparseContentPoliciesList converted to ContentPoliciesList.

func (SparseContentPoliciesList) Version

func (o SparseContentPoliciesList) Version() int

Version returns the version of the content.

type SparseContentPolicy

type SparseContentPolicy struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the content policy.
	Description *string `` /* 126-byte string literal not displayed */

	// Friendly name of the object.
	FriendlyName *string `` /* 130-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The list of moderations to take when the user has access to the provider.
	Moderations *[]*Moderation `` /* 126-byte string literal not displayed */

	// The internal reference name of the object. It is a sanitized version of Friendly
	// Name if empty.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseContentPolicy represents the sparse version of a contentpolicy.

func NewSparseContentPolicy

func NewSparseContentPolicy() *SparseContentPolicy

NewSparseContentPolicy returns a new SparseContentPolicy.

func (*SparseContentPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseContentPolicy.

func (*SparseContentPolicy) DeepCopyInto

func (o *SparseContentPolicy) DeepCopyInto(out *SparseContentPolicy)

DeepCopyInto copies the receiver into the given *SparseContentPolicy.

func (*SparseContentPolicy) GetBSON

func (o *SparseContentPolicy) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseContentPolicy) GetCreateTime

func (o *SparseContentPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseContentPolicy) GetImportHash

func (o *SparseContentPolicy) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseContentPolicy) GetImportLabel

func (o *SparseContentPolicy) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseContentPolicy) GetNamespace

func (o *SparseContentPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseContentPolicy) GetPropagate

func (o *SparseContentPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseContentPolicy) GetUpdateTime

func (o *SparseContentPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseContentPolicy) GetZHash

func (o *SparseContentPolicy) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseContentPolicy) GetZone

func (o *SparseContentPolicy) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseContentPolicy) Identifier

func (o *SparseContentPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseContentPolicy) Identity

func (o *SparseContentPolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseContentPolicy) SetBSON

func (o *SparseContentPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseContentPolicy) SetCreateTime

func (o *SparseContentPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseContentPolicy) SetIdentifier

func (o *SparseContentPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseContentPolicy) SetImportHash

func (o *SparseContentPolicy) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseContentPolicy) SetImportLabel

func (o *SparseContentPolicy) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseContentPolicy) SetNamespace

func (o *SparseContentPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseContentPolicy) SetPropagate

func (o *SparseContentPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseContentPolicy) SetUpdateTime

func (o *SparseContentPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseContentPolicy) SetZHash

func (o *SparseContentPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseContentPolicy) SetZone

func (o *SparseContentPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseContentPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseContentPolicy) Version

func (o *SparseContentPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseEmail

type SparseEmail struct {
	// The list of email recipients to set for the BCC field.
	BCC *[]string `json:"BCC,omitempty" msgpack:"BCC,omitempty" bson:"-" mapstructure:"BCC,omitempty"`

	// The list of email recipients to set for the CC field.
	CC *[]string `json:"CC,omitempty" msgpack:"CC,omitempty" bson:"-" mapstructure:"CC,omitempty"`

	// The attachment(s) to send with the email.
	Attachments *map[string][]byte `json:"attachments,omitempty" msgpack:"attachments,omitempty" bson:"-" mapstructure:"attachments,omitempty"`

	// The body of the email.
	Body *string `json:"body,omitempty" msgpack:"body,omitempty" bson:"-" mapstructure:"body,omitempty"`

	// The type of content being sent.
	ContentType *EmailContentTypeValue `json:"contentType,omitempty" msgpack:"contentType,omitempty" bson:"-" mapstructure:"contentType,omitempty"`

	// If set, the email to set for the From field.
	From *string `json:"from,omitempty" msgpack:"from,omitempty" bson:"-" mapstructure:"from,omitempty"`

	// The subject of the email.
	Subject *string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// The list of email recipients to set for the To field.
	To *[]string `json:"to,omitempty" msgpack:"to,omitempty" bson:"-" mapstructure:"to,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEmail represents the sparse version of a email.

func NewSparseEmail

func NewSparseEmail() *SparseEmail

NewSparseEmail returns a new SparseEmail.

func (*SparseEmail) DeepCopy

func (o *SparseEmail) DeepCopy() *SparseEmail

DeepCopy returns a deep copy if the SparseEmail.

func (*SparseEmail) DeepCopyInto

func (o *SparseEmail) DeepCopyInto(out *SparseEmail)

DeepCopyInto copies the receiver into the given *SparseEmail.

func (*SparseEmail) GetBSON

func (o *SparseEmail) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEmail) Identifier

func (o *SparseEmail) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEmail) Identity

func (o *SparseEmail) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseEmail) SetBSON

func (o *SparseEmail) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEmail) SetIdentifier

func (o *SparseEmail) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEmail) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEmail) Version

func (o *SparseEmail) Version() int

Version returns the hardcoded version of the model.

type SparseEmailsList

type SparseEmailsList []*SparseEmail

SparseEmailsList represents a list of SparseEmails

func (SparseEmailsList) Append

Append appends the objects to the a new copy of the SparseEmailsList.

func (SparseEmailsList) Copy

Copy returns a pointer to a copy the SparseEmailsList.

func (SparseEmailsList) DefaultOrder

func (o SparseEmailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEmailsList) Identity

func (o SparseEmailsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseEmailsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEmailsList) ToPlain

ToPlain returns the SparseEmailsList converted to EmailsList.

func (SparseEmailsList) Version

func (o SparseEmailsList) Version() int

Version returns the version of the content.

type SparseErrorTransformer

type SparseErrorTransformer struct {
	// The Content-Type to use when returning a formatted error.
	ContentType *string `` /* 126-byte string literal not displayed */

	// HTTP status code to return, instead of the classical one.
	StatusCode *int `json:"statusCode,omitempty" msgpack:"statusCode,omitempty" bson:"statuscode,omitempty" mapstructure:"statusCode,omitempty"`

	// Go template to process and transform the error. The delimiters
	// are << and >> to prevent collision with acuctl templating.
	// The template will be passed the following informations:
	//
	// - `.Messages`: a list of string containing the messages to return.
	// - `.Code`: The original status code.
	// - `.TransformedCode`: The transformed status code.
	// - `.Action`: The policy decision action (ask or deny).
	//
	// All the sprig text function are available.
	Template *string `json:"template,omitempty" msgpack:"template,omitempty" bson:"template,omitempty" mapstructure:"template,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseErrorTransformer represents the sparse version of a errortransformer.

func NewSparseErrorTransformer

func NewSparseErrorTransformer() *SparseErrorTransformer

NewSparseErrorTransformer returns a new SparseErrorTransformer.

func (*SparseErrorTransformer) DeepCopy

DeepCopy returns a deep copy if the SparseErrorTransformer.

func (*SparseErrorTransformer) DeepCopyInto

func (o *SparseErrorTransformer) DeepCopyInto(out *SparseErrorTransformer)

DeepCopyInto copies the receiver into the given *SparseErrorTransformer.

func (*SparseErrorTransformer) GetBSON

func (o *SparseErrorTransformer) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseErrorTransformer) Identifier

func (o *SparseErrorTransformer) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseErrorTransformer) Identity

Identity returns the Identity of the sparse object.

func (*SparseErrorTransformer) SetBSON

func (o *SparseErrorTransformer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseErrorTransformer) SetIdentifier

func (o *SparseErrorTransformer) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseErrorTransformer) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseErrorTransformer) Version

func (o *SparseErrorTransformer) Version() int

Version returns the hardcoded version of the model.

type SparseErrorTransformersList

type SparseErrorTransformersList []*SparseErrorTransformer

SparseErrorTransformersList represents a list of SparseErrorTransformers

func (SparseErrorTransformersList) Append

Append appends the objects to the a new copy of the SparseErrorTransformersList.

func (SparseErrorTransformersList) Copy

Copy returns a pointer to a copy the SparseErrorTransformersList.

func (SparseErrorTransformersList) DefaultOrder

func (o SparseErrorTransformersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseErrorTransformersList) Identity

Identity returns the identity of the objects in the list.

func (SparseErrorTransformersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseErrorTransformersList) ToPlain

ToPlain returns the SparseErrorTransformersList converted to ErrorTransformersList.

func (SparseErrorTransformersList) Version

func (o SparseErrorTransformersList) Version() int

Version returns the version of the content.

type SparseFeedback

type SparseFeedback struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// General comments on the feedback.
	Comment *string `json:"comment,omitempty" msgpack:"comment,omitempty" bson:"comment,omitempty" mapstructure:"comment,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The key of the feedback.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"`

	// The hash of the log.
	LogHash *string `json:"logHash,omitempty" msgpack:"logHash,omitempty" bson:"loghash,omitempty" mapstructure:"logHash,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal,omitempty" msgpack:"principal,omitempty" bson:"principal,omitempty" mapstructure:"principal,omitempty"`

	// The provider of the feedback.
	Provider *string `json:"provider,omitempty" msgpack:"provider,omitempty" bson:"provider,omitempty" mapstructure:"provider,omitempty"`

	// The feedback score (+1 for upvote, -1 for downvote).
	Score *int `json:"score,omitempty" msgpack:"score,omitempty" bson:"score,omitempty" mapstructure:"score,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// The value of the feedback.
	Value *string `json:"value,omitempty" msgpack:"value,omitempty" bson:"value,omitempty" mapstructure:"value,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseFeedback represents the sparse version of a feedback.

func NewSparseFeedback

func NewSparseFeedback() *SparseFeedback

NewSparseFeedback returns a new SparseFeedback.

func (*SparseFeedback) DeepCopy

func (o *SparseFeedback) DeepCopy() *SparseFeedback

DeepCopy returns a deep copy if the SparseFeedback.

func (*SparseFeedback) DeepCopyInto

func (o *SparseFeedback) DeepCopyInto(out *SparseFeedback)

DeepCopyInto copies the receiver into the given *SparseFeedback.

func (*SparseFeedback) GetBSON

func (o *SparseFeedback) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFeedback) GetCreateTime

func (o *SparseFeedback) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseFeedback) GetNamespace

func (o *SparseFeedback) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseFeedback) GetUpdateTime

func (o *SparseFeedback) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseFeedback) GetZHash

func (o *SparseFeedback) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseFeedback) GetZone

func (o *SparseFeedback) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseFeedback) Identifier

func (o *SparseFeedback) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseFeedback) Identity

func (o *SparseFeedback) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseFeedback) SetBSON

func (o *SparseFeedback) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFeedback) SetCreateTime

func (o *SparseFeedback) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseFeedback) SetIdentifier

func (o *SparseFeedback) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseFeedback) SetNamespace

func (o *SparseFeedback) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseFeedback) SetUpdateTime

func (o *SparseFeedback) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseFeedback) SetZHash

func (o *SparseFeedback) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseFeedback) SetZone

func (o *SparseFeedback) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseFeedback) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseFeedback) Version

func (o *SparseFeedback) Version() int

Version returns the hardcoded version of the model.

type SparseFeedbacksList

type SparseFeedbacksList []*SparseFeedback

SparseFeedbacksList represents a list of SparseFeedbacks

func (SparseFeedbacksList) Append

Append appends the objects to the a new copy of the SparseFeedbacksList.

func (SparseFeedbacksList) Copy

Copy returns a pointer to a copy the SparseFeedbacksList.

func (SparseFeedbacksList) DefaultOrder

func (o SparseFeedbacksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseFeedbacksList) Identity

func (o SparseFeedbacksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseFeedbacksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseFeedbacksList) ToPlain

ToPlain returns the SparseFeedbacksList converted to FeedbacksList.

func (SparseFeedbacksList) Version

func (o SparseFeedbacksList) Version() int

Version returns the version of the content.

type SparseGitbookToken

type SparseGitbookToken struct {
	// The token to access gitbook. This is not a valid acuvity token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseGitbookToken represents the sparse version of a gitbooktoken.

func NewSparseGitbookToken

func NewSparseGitbookToken() *SparseGitbookToken

NewSparseGitbookToken returns a new SparseGitbookToken.

func (*SparseGitbookToken) DeepCopy

func (o *SparseGitbookToken) DeepCopy() *SparseGitbookToken

DeepCopy returns a deep copy if the SparseGitbookToken.

func (*SparseGitbookToken) DeepCopyInto

func (o *SparseGitbookToken) DeepCopyInto(out *SparseGitbookToken)

DeepCopyInto copies the receiver into the given *SparseGitbookToken.

func (*SparseGitbookToken) GetBSON

func (o *SparseGitbookToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseGitbookToken) Identifier

func (o *SparseGitbookToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseGitbookToken) Identity

func (o *SparseGitbookToken) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseGitbookToken) SetBSON

func (o *SparseGitbookToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseGitbookToken) SetIdentifier

func (o *SparseGitbookToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseGitbookToken) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseGitbookToken) Version

func (o *SparseGitbookToken) Version() int

Version returns the hardcoded version of the model.

type SparseGitbookTokensList

type SparseGitbookTokensList []*SparseGitbookToken

SparseGitbookTokensList represents a list of SparseGitbookTokens

func (SparseGitbookTokensList) Append

Append appends the objects to the a new copy of the SparseGitbookTokensList.

func (SparseGitbookTokensList) Copy

Copy returns a pointer to a copy the SparseGitbookTokensList.

func (SparseGitbookTokensList) DefaultOrder

func (o SparseGitbookTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseGitbookTokensList) Identity

Identity returns the identity of the objects in the list.

func (SparseGitbookTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseGitbookTokensList) ToPlain

ToPlain returns the SparseGitbookTokensList converted to GitbookTokensList.

func (SparseGitbookTokensList) Version

func (o SparseGitbookTokensList) Version() int

Version returns the version of the content.

type SparseIgnoredDomain

type SparseIgnoredDomain struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The domain to ignore.
	Domain *string `json:"domain,omitempty" msgpack:"domain,omitempty" bson:"domain,omitempty" mapstructure:"domain,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseIgnoredDomain represents the sparse version of a ignoreddomain.

func NewSparseIgnoredDomain

func NewSparseIgnoredDomain() *SparseIgnoredDomain

NewSparseIgnoredDomain returns a new SparseIgnoredDomain.

func (*SparseIgnoredDomain) DeepCopy

DeepCopy returns a deep copy if the SparseIgnoredDomain.

func (*SparseIgnoredDomain) DeepCopyInto

func (o *SparseIgnoredDomain) DeepCopyInto(out *SparseIgnoredDomain)

DeepCopyInto copies the receiver into the given *SparseIgnoredDomain.

func (*SparseIgnoredDomain) GetBSON

func (o *SparseIgnoredDomain) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIgnoredDomain) GetCreateTime

func (o *SparseIgnoredDomain) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseIgnoredDomain) GetImportHash

func (o *SparseIgnoredDomain) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseIgnoredDomain) GetImportLabel

func (o *SparseIgnoredDomain) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseIgnoredDomain) GetNamespace

func (o *SparseIgnoredDomain) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseIgnoredDomain) GetPropagate

func (o *SparseIgnoredDomain) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseIgnoredDomain) GetUpdateTime

func (o *SparseIgnoredDomain) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseIgnoredDomain) GetZHash

func (o *SparseIgnoredDomain) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseIgnoredDomain) GetZone

func (o *SparseIgnoredDomain) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseIgnoredDomain) Identifier

func (o *SparseIgnoredDomain) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseIgnoredDomain) Identity

func (o *SparseIgnoredDomain) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseIgnoredDomain) SetBSON

func (o *SparseIgnoredDomain) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIgnoredDomain) SetCreateTime

func (o *SparseIgnoredDomain) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetIdentifier

func (o *SparseIgnoredDomain) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseIgnoredDomain) SetImportHash

func (o *SparseIgnoredDomain) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetImportLabel

func (o *SparseIgnoredDomain) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetNamespace

func (o *SparseIgnoredDomain) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetPropagate

func (o *SparseIgnoredDomain) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetUpdateTime

func (o *SparseIgnoredDomain) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetZHash

func (o *SparseIgnoredDomain) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseIgnoredDomain) SetZone

func (o *SparseIgnoredDomain) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseIgnoredDomain) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseIgnoredDomain) Version

func (o *SparseIgnoredDomain) Version() int

Version returns the hardcoded version of the model.

type SparseIgnoredDomainsList

type SparseIgnoredDomainsList []*SparseIgnoredDomain

SparseIgnoredDomainsList represents a list of SparseIgnoredDomains

func (SparseIgnoredDomainsList) Append

Append appends the objects to the a new copy of the SparseIgnoredDomainsList.

func (SparseIgnoredDomainsList) Copy

Copy returns a pointer to a copy the SparseIgnoredDomainsList.

func (SparseIgnoredDomainsList) DefaultOrder

func (o SparseIgnoredDomainsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseIgnoredDomainsList) Identity

Identity returns the identity of the objects in the list.

func (SparseIgnoredDomainsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseIgnoredDomainsList) ToPlain

ToPlain returns the SparseIgnoredDomainsList converted to IgnoredDomainsList.

func (SparseIgnoredDomainsList) Version

func (o SparseIgnoredDomainsList) Version() int

Version returns the version of the content.

type SparseImport

type SparseImport struct {
	// AI domains to import.
	AIDomains *AIDomainsList `json:"AIDomains,omitempty" msgpack:"AIDomains,omitempty" bson:"-" mapstructure:"AIDomains,omitempty"`

	// APIAuthorizations to import.
	APIAuthorizations *APIAuthorizationsList `json:"APIAuthorizations,omitempty" msgpack:"APIAuthorizations,omitempty" bson:"-" mapstructure:"APIAuthorizations,omitempty"`

	// PACConfigs to import.
	PACConfigs *PACConfigsList `json:"PACConfigs,omitempty" msgpack:"PACConfigs,omitempty" bson:"-" mapstructure:"PACConfigs,omitempty"`

	// Access policies to import.
	AccessPolicies *AccessPoliciesList `json:"accessPolicies,omitempty" msgpack:"accessPolicies,omitempty" bson:"-" mapstructure:"accessPolicies,omitempty"`

	// Agent configurations to import.
	AgentConfigs *AgentConfigsList `json:"agentConfigs,omitempty" msgpack:"agentConfigs,omitempty" bson:"-" mapstructure:"agentConfigs,omitempty"`

	// Alert definitions to import.
	AlertDefinitions *AlertDefinitionsList `json:"alertDefinitions,omitempty" msgpack:"alertDefinitions,omitempty" bson:"-" mapstructure:"alertDefinitions,omitempty"`

	// Apps to import.
	Apps *AppsList `json:"apps,omitempty" msgpack:"apps,omitempty" bson:"-" mapstructure:"apps,omitempty"`

	// Content policies to import.
	ContentPolicies *ContentPoliciesList `json:"contentPolicies,omitempty" msgpack:"contentPolicies,omitempty" bson:"-" mapstructure:"contentPolicies,omitempty"`

	// Ignored domains to import.
	IgnoredDomains *IgnoredDomainsList `json:"ignoredDomains,omitempty" msgpack:"ignoredDomains,omitempty" bson:"-" mapstructure:"ignoredDomains,omitempty"`

	// Import label that will be used to identify all the resources imported by this
	// resource.
	Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"-" mapstructure:"label,omitempty"`

	// OrgSettings to import.
	OrgSettings *OrgSettingsList `json:"orgSettings,omitempty" msgpack:"orgSettings,omitempty" bson:"-" mapstructure:"orgSettings,omitempty"`

	// Provider teams to import.
	ProviderTeams *ProviderTeamsList `json:"providerTeams,omitempty" msgpack:"providerTeams,omitempty" bson:"-" mapstructure:"providerTeams,omitempty"`

	// ProviderTokens to import.
	ProviderTokens *ProviderTokensList `json:"providerTokens,omitempty" msgpack:"providerTokens,omitempty" bson:"-" mapstructure:"providerTokens,omitempty"`

	// Providers to import.
	Providers *ProvidersList `json:"providers,omitempty" msgpack:"providers,omitempty" bson:"-" mapstructure:"providers,omitempty"`

	// Proxy roundtrip to import. This will populate dummy data.
	Proxyroundtrips *ProxyRoundtripsList `json:"proxyroundtrips,omitempty" msgpack:"proxyroundtrips,omitempty" bson:"-" mapstructure:"proxyroundtrips,omitempty"`

	// Sinks to import.
	Sinks *SinksList `json:"sinks,omitempty" msgpack:"sinks,omitempty" bson:"-" mapstructure:"sinks,omitempty"`

	// Teams to import.
	Teams *TeamsList `json:"teams,omitempty" msgpack:"teams,omitempty" bson:"-" mapstructure:"teams,omitempty"`

	// Visited URLs to import.
	Visitedurls *VisitedURLsList `json:"visitedurls,omitempty" msgpack:"visitedurls,omitempty" bson:"-" mapstructure:"visitedurls,omitempty"`

	// Web Extension configurations to import.
	WebExtensionConfigs *WebExtensionConfigsList `` /* 130-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseImport represents the sparse version of a import.

func NewSparseImport

func NewSparseImport() *SparseImport

NewSparseImport returns a new SparseImport.

func (*SparseImport) DeepCopy

func (o *SparseImport) DeepCopy() *SparseImport

DeepCopy returns a deep copy if the SparseImport.

func (*SparseImport) DeepCopyInto

func (o *SparseImport) DeepCopyInto(out *SparseImport)

DeepCopyInto copies the receiver into the given *SparseImport.

func (*SparseImport) GetBSON

func (o *SparseImport) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseImport) Identifier

func (o *SparseImport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseImport) Identity

func (o *SparseImport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseImport) SetBSON

func (o *SparseImport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseImport) SetIdentifier

func (o *SparseImport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseImport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseImport) Version

func (o *SparseImport) Version() int

Version returns the hardcoded version of the model.

type SparseImportsList

type SparseImportsList []*SparseImport

SparseImportsList represents a list of SparseImports

func (SparseImportsList) Append

Append appends the objects to the a new copy of the SparseImportsList.

func (SparseImportsList) Copy

Copy returns a pointer to a copy the SparseImportsList.

func (SparseImportsList) DefaultOrder

func (o SparseImportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseImportsList) Identity

func (o SparseImportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseImportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseImportsList) ToPlain

ToPlain returns the SparseImportsList converted to ImportsList.

func (SparseImportsList) Version

func (o SparseImportsList) Version() int

Version returns the version of the content.

type SparseLabelValue

type SparseLabelValue struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative *string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The label to retrieve all available the values for.
	Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"-" mapstructure:"label,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A set of log stream selector that selects the streams to match and return label
	// values for.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]string `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative *string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLabelValue represents the sparse version of a labelvalue.

func NewSparseLabelValue

func NewSparseLabelValue() *SparseLabelValue

NewSparseLabelValue returns a new SparseLabelValue.

func (*SparseLabelValue) DeepCopy

func (o *SparseLabelValue) DeepCopy() *SparseLabelValue

DeepCopy returns a deep copy if the SparseLabelValue.

func (*SparseLabelValue) DeepCopyInto

func (o *SparseLabelValue) DeepCopyInto(out *SparseLabelValue)

DeepCopyInto copies the receiver into the given *SparseLabelValue.

func (*SparseLabelValue) GetBSON

func (o *SparseLabelValue) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLabelValue) GetNamespace

func (o *SparseLabelValue) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseLabelValue) Identifier

func (o *SparseLabelValue) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLabelValue) Identity

func (o *SparseLabelValue) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLabelValue) SetBSON

func (o *SparseLabelValue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLabelValue) SetIdentifier

func (o *SparseLabelValue) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLabelValue) SetNamespace

func (o *SparseLabelValue) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseLabelValue) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseLabelValue) Version

func (o *SparseLabelValue) Version() int

Version returns the hardcoded version of the model.

type SparseLabelValuesList

type SparseLabelValuesList []*SparseLabelValue

SparseLabelValuesList represents a list of SparseLabelValues

func (SparseLabelValuesList) Append

Append appends the objects to the a new copy of the SparseLabelValuesList.

func (SparseLabelValuesList) Copy

Copy returns a pointer to a copy the SparseLabelValuesList.

func (SparseLabelValuesList) DefaultOrder

func (o SparseLabelValuesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLabelValuesList) Identity

Identity returns the identity of the objects in the list.

func (SparseLabelValuesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseLabelValuesList) ToPlain

ToPlain returns the SparseLabelValuesList converted to LabelValuesList.

func (SparseLabelValuesList) Version

func (o SparseLabelValuesList) Version() int

Version returns the version of the content.

type SparseLanding

type SparseLanding struct {
	// The identifier of the landing.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The permissions for the landing type.
	Permissions *map[string]map[string]bool `json:"permissions,omitempty" msgpack:"permissions,omitempty" bson:"-" mapstructure:"permissions,omitempty"`

	// Type of access.
	Type *LandingTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLanding represents the sparse version of a landing.

func NewSparseLanding

func NewSparseLanding() *SparseLanding

NewSparseLanding returns a new SparseLanding.

func (*SparseLanding) DeepCopy

func (o *SparseLanding) DeepCopy() *SparseLanding

DeepCopy returns a deep copy if the SparseLanding.

func (*SparseLanding) DeepCopyInto

func (o *SparseLanding) DeepCopyInto(out *SparseLanding)

DeepCopyInto copies the receiver into the given *SparseLanding.

func (*SparseLanding) GetBSON

func (o *SparseLanding) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLanding) Identifier

func (o *SparseLanding) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLanding) Identity

func (o *SparseLanding) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLanding) SetBSON

func (o *SparseLanding) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLanding) SetIdentifier

func (o *SparseLanding) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLanding) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseLanding) Version

func (o *SparseLanding) Version() int

Version returns the hardcoded version of the model.

type SparseLandingsList

type SparseLandingsList []*SparseLanding

SparseLandingsList represents a list of SparseLandings

func (SparseLandingsList) Append

Append appends the objects to the a new copy of the SparseLandingsList.

func (SparseLandingsList) Copy

Copy returns a pointer to a copy the SparseLandingsList.

func (SparseLandingsList) DefaultOrder

func (o SparseLandingsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLandingsList) Identity

func (o SparseLandingsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseLandingsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseLandingsList) ToPlain

ToPlain returns the SparseLandingsList converted to LandingsList.

func (SparseLandingsList) Version

func (o SparseLandingsList) Version() int

Version returns the version of the content.

type SparseLatenciesList

type SparseLatenciesList []*SparseLatency

SparseLatenciesList represents a list of SparseLatencies

func (SparseLatenciesList) Append

Append appends the objects to the a new copy of the SparseLatenciesList.

func (SparseLatenciesList) Copy

Copy returns a pointer to a copy the SparseLatenciesList.

func (SparseLatenciesList) DefaultOrder

func (o SparseLatenciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLatenciesList) Identity

func (o SparseLatenciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseLatenciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseLatenciesList) ToPlain

ToPlain returns the SparseLatenciesList converted to LatenciesList.

func (SparseLatenciesList) Version

func (o SparseLatenciesList) Version() int

Version returns the version of the content.

type SparseLatency

type SparseLatency struct {
	// How much time it took to run the access policy in nanoseconds.
	AccessPolicy *int `` /* 130-byte string literal not displayed */

	// How much time it took to run content analysis in nanoseconds.
	Analysis *int `json:"analysis,omitempty" msgpack:"analysis,omitempty" bson:"analysis,omitempty" mapstructure:"analysis,omitempty"`

	// How much time it took to run the assign policy in nanoseconds.
	AssignPolicy *int `` /* 130-byte string literal not displayed */

	// How much time it took to run content policy in nanoseconds.
	ContentPolicy *int `` /* 134-byte string literal not displayed */

	// How much time it took to run input or output extraction in nanoseconds.
	Extraction *int `json:"extraction,omitempty" msgpack:"extraction,omitempty" bson:"extraction,omitempty" mapstructure:"extraction,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLatency represents the sparse version of a latency.

func NewSparseLatency

func NewSparseLatency() *SparseLatency

NewSparseLatency returns a new SparseLatency.

func (*SparseLatency) DeepCopy

func (o *SparseLatency) DeepCopy() *SparseLatency

DeepCopy returns a deep copy if the SparseLatency.

func (*SparseLatency) DeepCopyInto

func (o *SparseLatency) DeepCopyInto(out *SparseLatency)

DeepCopyInto copies the receiver into the given *SparseLatency.

func (*SparseLatency) GetBSON

func (o *SparseLatency) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLatency) Identifier

func (o *SparseLatency) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLatency) Identity

func (o *SparseLatency) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLatency) SetBSON

func (o *SparseLatency) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLatency) SetIdentifier

func (o *SparseLatency) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLatency) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseLatency) Version

func (o *SparseLatency) Version() int

Version returns the hardcoded version of the model.

type SparseMetric

type SparseMetric struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in Prometheus query format.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]map[string]any `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType *string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The time for the query in any format supported by
	// https://github.com/araddon/dateparse.
	Time *string `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	// The relative time of the time window as time.Duration.
	TimeRelative *string `json:"timeRelative,omitempty" msgpack:"timeRelative,omitempty" bson:"-" mapstructure:"timeRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMetric represents the sparse version of a metric.

func NewSparseMetric

func NewSparseMetric() *SparseMetric

NewSparseMetric returns a new SparseMetric.

func (*SparseMetric) DeepCopy

func (o *SparseMetric) DeepCopy() *SparseMetric

DeepCopy returns a deep copy if the SparseMetric.

func (*SparseMetric) DeepCopyInto

func (o *SparseMetric) DeepCopyInto(out *SparseMetric)

DeepCopyInto copies the receiver into the given *SparseMetric.

func (*SparseMetric) GetBSON

func (o *SparseMetric) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetric) GetNamespace

func (o *SparseMetric) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseMetric) Identifier

func (o *SparseMetric) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMetric) Identity

func (o *SparseMetric) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseMetric) SetBSON

func (o *SparseMetric) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetric) SetIdentifier

func (o *SparseMetric) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMetric) SetNamespace

func (o *SparseMetric) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseMetric) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseMetric) Version

func (o *SparseMetric) Version() int

Version returns the hardcoded version of the model.

type SparseMetricLabelValue

type SparseMetricLabelValue struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative *string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The label to retrieve all available values for.
	Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"-" mapstructure:"label,omitempty"`

	// The max number of results to return.
	Limit *int `json:"limit,omitempty" msgpack:"limit,omitempty" bson:"-" mapstructure:"limit,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A set of metric stream selectors that selects the streams to match and return
	// label values for.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]string `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative *string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMetricLabelValue represents the sparse version of a metriclabelvalue.

func NewSparseMetricLabelValue

func NewSparseMetricLabelValue() *SparseMetricLabelValue

NewSparseMetricLabelValue returns a new SparseMetricLabelValue.

func (*SparseMetricLabelValue) DeepCopy

DeepCopy returns a deep copy if the SparseMetricLabelValue.

func (*SparseMetricLabelValue) DeepCopyInto

func (o *SparseMetricLabelValue) DeepCopyInto(out *SparseMetricLabelValue)

DeepCopyInto copies the receiver into the given *SparseMetricLabelValue.

func (*SparseMetricLabelValue) GetBSON

func (o *SparseMetricLabelValue) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricLabelValue) GetNamespace

func (o *SparseMetricLabelValue) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseMetricLabelValue) Identifier

func (o *SparseMetricLabelValue) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMetricLabelValue) Identity

Identity returns the Identity of the sparse object.

func (*SparseMetricLabelValue) SetBSON

func (o *SparseMetricLabelValue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricLabelValue) SetIdentifier

func (o *SparseMetricLabelValue) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMetricLabelValue) SetNamespace

func (o *SparseMetricLabelValue) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseMetricLabelValue) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseMetricLabelValue) Version

func (o *SparseMetricLabelValue) Version() int

Version returns the hardcoded version of the model.

type SparseMetricLabelValuesList

type SparseMetricLabelValuesList []*SparseMetricLabelValue

SparseMetricLabelValuesList represents a list of SparseMetricLabelValues

func (SparseMetricLabelValuesList) Append

Append appends the objects to the a new copy of the SparseMetricLabelValuesList.

func (SparseMetricLabelValuesList) Copy

Copy returns a pointer to a copy the SparseMetricLabelValuesList.

func (SparseMetricLabelValuesList) DefaultOrder

func (o SparseMetricLabelValuesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMetricLabelValuesList) Identity

Identity returns the identity of the objects in the list.

func (SparseMetricLabelValuesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseMetricLabelValuesList) ToPlain

ToPlain returns the SparseMetricLabelValuesList converted to MetricLabelValuesList.

func (SparseMetricLabelValuesList) Version

func (o SparseMetricLabelValuesList) Version() int

Version returns the version of the content.

type SparseMetricRange

type SparseMetricRange struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative *string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in Prometheus query format.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]map[string]any `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType *string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative *string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	// The query resolution step width as time.Duration.
	Step *string `json:"step,omitempty" msgpack:"step,omitempty" bson:"-" mapstructure:"step,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMetricRange represents the sparse version of a metricrange.

func NewSparseMetricRange

func NewSparseMetricRange() *SparseMetricRange

NewSparseMetricRange returns a new SparseMetricRange.

func (*SparseMetricRange) DeepCopy

func (o *SparseMetricRange) DeepCopy() *SparseMetricRange

DeepCopy returns a deep copy if the SparseMetricRange.

func (*SparseMetricRange) DeepCopyInto

func (o *SparseMetricRange) DeepCopyInto(out *SparseMetricRange)

DeepCopyInto copies the receiver into the given *SparseMetricRange.

func (*SparseMetricRange) GetBSON

func (o *SparseMetricRange) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricRange) GetNamespace

func (o *SparseMetricRange) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseMetricRange) Identifier

func (o *SparseMetricRange) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMetricRange) Identity

func (o *SparseMetricRange) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseMetricRange) SetBSON

func (o *SparseMetricRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricRange) SetIdentifier

func (o *SparseMetricRange) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMetricRange) SetNamespace

func (o *SparseMetricRange) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseMetricRange) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseMetricRange) Version

func (o *SparseMetricRange) Version() int

Version returns the hardcoded version of the model.

type SparseMetricRangesList

type SparseMetricRangesList []*SparseMetricRange

SparseMetricRangesList represents a list of SparseMetricRanges

func (SparseMetricRangesList) Append

Append appends the objects to the a new copy of the SparseMetricRangesList.

func (SparseMetricRangesList) Copy

Copy returns a pointer to a copy the SparseMetricRangesList.

func (SparseMetricRangesList) DefaultOrder

func (o SparseMetricRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMetricRangesList) Identity

Identity returns the identity of the objects in the list.

func (SparseMetricRangesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseMetricRangesList) ToPlain

ToPlain returns the SparseMetricRangesList converted to MetricRangesList.

func (SparseMetricRangesList) Version

func (o SparseMetricRangesList) Version() int

Version returns the version of the content.

type SparseMetricSerie

type SparseMetricSerie struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative *string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The max number of results to return.
	Limit *int `json:"limit,omitempty" msgpack:"limit,omitempty" bson:"-" mapstructure:"limit,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in Prometheus format.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]map[string]string `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative *string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMetricSerie represents the sparse version of a metricserie.

func NewSparseMetricSerie

func NewSparseMetricSerie() *SparseMetricSerie

NewSparseMetricSerie returns a new SparseMetricSerie.

func (*SparseMetricSerie) DeepCopy

func (o *SparseMetricSerie) DeepCopy() *SparseMetricSerie

DeepCopy returns a deep copy if the SparseMetricSerie.

func (*SparseMetricSerie) DeepCopyInto

func (o *SparseMetricSerie) DeepCopyInto(out *SparseMetricSerie)

DeepCopyInto copies the receiver into the given *SparseMetricSerie.

func (*SparseMetricSerie) GetBSON

func (o *SparseMetricSerie) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricSerie) GetNamespace

func (o *SparseMetricSerie) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseMetricSerie) Identifier

func (o *SparseMetricSerie) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMetricSerie) Identity

func (o *SparseMetricSerie) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseMetricSerie) SetBSON

func (o *SparseMetricSerie) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricSerie) SetIdentifier

func (o *SparseMetricSerie) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMetricSerie) SetNamespace

func (o *SparseMetricSerie) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseMetricSerie) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseMetricSerie) Version

func (o *SparseMetricSerie) Version() int

Version returns the hardcoded version of the model.

type SparseMetricSeriesList

type SparseMetricSeriesList []*SparseMetricSerie

SparseMetricSeriesList represents a list of SparseMetricSeries

func (SparseMetricSeriesList) Append

Append appends the objects to the a new copy of the SparseMetricSeriesList.

func (SparseMetricSeriesList) Copy

Copy returns a pointer to a copy the SparseMetricSeriesList.

func (SparseMetricSeriesList) DefaultOrder

func (o SparseMetricSeriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMetricSeriesList) Identity

Identity returns the identity of the objects in the list.

func (SparseMetricSeriesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseMetricSeriesList) ToPlain

ToPlain returns the SparseMetricSeriesList converted to MetricSeriesList.

func (SparseMetricSeriesList) Version

func (o SparseMetricSeriesList) Version() int

Version returns the version of the content.

type SparseMetricsList

type SparseMetricsList []*SparseMetric

SparseMetricsList represents a list of SparseMetrics

func (SparseMetricsList) Append

Append appends the objects to the a new copy of the SparseMetricsList.

func (SparseMetricsList) Copy

Copy returns a pointer to a copy the SparseMetricsList.

func (SparseMetricsList) DefaultOrder

func (o SparseMetricsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMetricsList) Identity

func (o SparseMetricsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseMetricsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseMetricsList) ToPlain

ToPlain returns the SparseMetricsList converted to MetricsList.

func (SparseMetricsList) Version

func (o SparseMetricsList) Version() int

Version returns the version of the content.

type SparseOrgSettings

type SparseOrgSettings struct {
	// The Certificate authority to use to validate user certificates in PEM format.
	CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"`

	// The currently used Certificate authorities's Common Name.
	CACommonNames *[]string `` /* 134-byte string literal not displayed */

	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The rego policy that decides if the incoming request can access the
	// provider. If this empty, the dynamic policy transpiled from
	// AccessPolicies API objects will be used by Apexes. If set however,
	// everything computed by API objects are ignored and this becomes the final
	// policy.
	AccessPolicy *string `` /* 130-byte string literal not displayed */

	// When enabled, an API authorization will be created in your
	// organization to allow the Support Team to access your organization in
	// read-only fashion to help you with any issue you might have.
	// Disable it again to remove the permissions.
	AllowSupportAccess *bool `` /* 154-byte string literal not displayed */

	// Ask the user of web applications for consent before accessing a monitored
	// provider, using an html splash screen the first time they connect. If
	// this is not set, the users of the providers can still figure out the
	// provider is monitored. This is a courtesy and not a security feature.
	AskConsent *bool `json:"askConsent,omitempty" msgpack:"askConsent,omitempty" bson:"askconsent,omitempty" mapstructure:"askConsent,omitempty"`

	// The rego policy that decides in which team an user should be in. The team
	// will be passed to the accessPolicy. If this empty, the dynamic policy
	// transpiled from AssignPolicies API objects will be used by Apexes. If set
	// however, everything computed by API objects are ignored and this becomes
	// the final policy.
	AssignPolicy *string `` /* 130-byte string literal not displayed */

	// The policy that decides how to handle the request content, once access
	// has been granted by accessPolicy and the content analysis was performed.
	// If this empty, the dynamic policy transpiled from AccessPolicies API
	// objects will be used by Apexes. If set however, everything computed by
	// API objects are ignored and this becomes the final policy.
	ContentPolicy *string `` /* 134-byte string literal not displayed */

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// If true, it disables discovering of the visited URLs.
	DisableURLDiscovery *bool `` /* 158-byte string literal not displayed */

	// the fingerprint of the cas in the chain.
	Fingerprints *[]string `` /* 130-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A few sentences about the organization. The description must be short
	// and detailed. It will be used by the inference engine to decide if the content
	// sent by the users are relevant to your company.
	Profile *string `json:"profile,omitempty" msgpack:"profile,omitempty" bson:"profile,omitempty" mapstructure:"profile,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// If set, files uploaded by the users will be stored.
	StoreInputFiles *bool `` /* 142-byte string literal not displayed */

	// If set, files sent to the users will be stored.
	StoreOutputFiles *bool `` /* 146-byte string literal not displayed */

	// the IDs of the subject keys of the cas in the chain.
	SubjectKeyIDs *[]string `` /* 134-byte string literal not displayed */

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// If true, it uses Rego code to define team assignment, provider access and
	// content policies.
	UseRegoCodeOnly *bool `` /* 142-byte string literal not displayed */

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseOrgSettings represents the sparse version of a orgsettings.

func NewSparseOrgSettings

func NewSparseOrgSettings() *SparseOrgSettings

NewSparseOrgSettings returns a new SparseOrgSettings.

func (*SparseOrgSettings) DeepCopy

func (o *SparseOrgSettings) DeepCopy() *SparseOrgSettings

DeepCopy returns a deep copy if the SparseOrgSettings.

func (*SparseOrgSettings) DeepCopyInto

func (o *SparseOrgSettings) DeepCopyInto(out *SparseOrgSettings)

DeepCopyInto copies the receiver into the given *SparseOrgSettings.

func (*SparseOrgSettings) GetBSON

func (o *SparseOrgSettings) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOrgSettings) GetCreateTime

func (o *SparseOrgSettings) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseOrgSettings) GetImportHash

func (o *SparseOrgSettings) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseOrgSettings) GetImportLabel

func (o *SparseOrgSettings) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseOrgSettings) GetNamespace

func (o *SparseOrgSettings) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseOrgSettings) GetPropagate

func (o *SparseOrgSettings) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseOrgSettings) GetUpdateTime

func (o *SparseOrgSettings) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseOrgSettings) GetZHash

func (o *SparseOrgSettings) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseOrgSettings) GetZone

func (o *SparseOrgSettings) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseOrgSettings) Identifier

func (o *SparseOrgSettings) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseOrgSettings) Identity

func (o *SparseOrgSettings) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseOrgSettings) SetBSON

func (o *SparseOrgSettings) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOrgSettings) SetCreateTime

func (o *SparseOrgSettings) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseOrgSettings) SetIdentifier

func (o *SparseOrgSettings) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseOrgSettings) SetImportHash

func (o *SparseOrgSettings) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseOrgSettings) SetImportLabel

func (o *SparseOrgSettings) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseOrgSettings) SetNamespace

func (o *SparseOrgSettings) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseOrgSettings) SetPropagate

func (o *SparseOrgSettings) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseOrgSettings) SetUpdateTime

func (o *SparseOrgSettings) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseOrgSettings) SetZHash

func (o *SparseOrgSettings) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseOrgSettings) SetZone

func (o *SparseOrgSettings) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseOrgSettings) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseOrgSettings) Version

func (o *SparseOrgSettings) Version() int

Version returns the hardcoded version of the model.

type SparseOrgSettingsList

type SparseOrgSettingsList []*SparseOrgSettings

SparseOrgSettingsList represents a list of SparseOrgSettings

func (SparseOrgSettingsList) Append

Append appends the objects to the a new copy of the SparseOrgSettingsList.

func (SparseOrgSettingsList) Copy

Copy returns a pointer to a copy the SparseOrgSettingsList.

func (SparseOrgSettingsList) DefaultOrder

func (o SparseOrgSettingsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseOrgSettingsList) Identity

Identity returns the identity of the objects in the list.

func (SparseOrgSettingsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseOrgSettingsList) ToPlain

ToPlain returns the SparseOrgSettingsList converted to OrgSettingsList.

func (SparseOrgSettingsList) Version

func (o SparseOrgSettingsList) Version() int

Version returns the version of the content.

type SparseOrgStorage

type SparseOrgStorage struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// Key of the storage.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Value of the storage.
	Value *string `json:"value,omitempty" msgpack:"value,omitempty" bson:"value,omitempty" mapstructure:"value,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseOrgStorage represents the sparse version of a orgstorage.

func NewSparseOrgStorage

func NewSparseOrgStorage() *SparseOrgStorage

NewSparseOrgStorage returns a new SparseOrgStorage.

func (*SparseOrgStorage) DeepCopy

func (o *SparseOrgStorage) DeepCopy() *SparseOrgStorage

DeepCopy returns a deep copy if the SparseOrgStorage.

func (*SparseOrgStorage) DeepCopyInto

func (o *SparseOrgStorage) DeepCopyInto(out *SparseOrgStorage)

DeepCopyInto copies the receiver into the given *SparseOrgStorage.

func (*SparseOrgStorage) GetBSON

func (o *SparseOrgStorage) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOrgStorage) GetCreateTime

func (o *SparseOrgStorage) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseOrgStorage) GetImportHash

func (o *SparseOrgStorage) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseOrgStorage) GetImportLabel

func (o *SparseOrgStorage) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseOrgStorage) GetNamespace

func (o *SparseOrgStorage) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseOrgStorage) GetUpdateTime

func (o *SparseOrgStorage) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseOrgStorage) GetZHash

func (o *SparseOrgStorage) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseOrgStorage) GetZone

func (o *SparseOrgStorage) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseOrgStorage) Identifier

func (o *SparseOrgStorage) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseOrgStorage) Identity

func (o *SparseOrgStorage) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseOrgStorage) SetBSON

func (o *SparseOrgStorage) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOrgStorage) SetCreateTime

func (o *SparseOrgStorage) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseOrgStorage) SetIdentifier

func (o *SparseOrgStorage) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseOrgStorage) SetImportHash

func (o *SparseOrgStorage) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseOrgStorage) SetImportLabel

func (o *SparseOrgStorage) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseOrgStorage) SetNamespace

func (o *SparseOrgStorage) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseOrgStorage) SetUpdateTime

func (o *SparseOrgStorage) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseOrgStorage) SetZHash

func (o *SparseOrgStorage) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseOrgStorage) SetZone

func (o *SparseOrgStorage) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseOrgStorage) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseOrgStorage) Version

func (o *SparseOrgStorage) Version() int

Version returns the hardcoded version of the model.

type SparseOrgStoragesList

type SparseOrgStoragesList []*SparseOrgStorage

SparseOrgStoragesList represents a list of SparseOrgStorages

func (SparseOrgStoragesList) Append

Append appends the objects to the a new copy of the SparseOrgStoragesList.

func (SparseOrgStoragesList) Copy

Copy returns a pointer to a copy the SparseOrgStoragesList.

func (SparseOrgStoragesList) DefaultOrder

func (o SparseOrgStoragesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseOrgStoragesList) Identity

Identity returns the identity of the objects in the list.

func (SparseOrgStoragesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseOrgStoragesList) ToPlain

ToPlain returns the SparseOrgStoragesList converted to OrgStoragesList.

func (SparseOrgStoragesList) Version

func (o SparseOrgStoragesList) Version() int

Version returns the version of the content.

type SparsePACConfig

type SparsePACConfig struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// Name of the PAC config. A special name is 'default'. The default pac will be the
	// one that APEX returns if nothing else is configured.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The list of providers to activate for that PAC config.
	Providers *[]string `json:"providers,omitempty" msgpack:"providers,omitempty" bson:"providers,omitempty" mapstructure:"providers,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePACConfig represents the sparse version of a pacconfig.

func NewSparsePACConfig

func NewSparsePACConfig() *SparsePACConfig

NewSparsePACConfig returns a new SparsePACConfig.

func (*SparsePACConfig) DeepCopy

func (o *SparsePACConfig) DeepCopy() *SparsePACConfig

DeepCopy returns a deep copy if the SparsePACConfig.

func (*SparsePACConfig) DeepCopyInto

func (o *SparsePACConfig) DeepCopyInto(out *SparsePACConfig)

DeepCopyInto copies the receiver into the given *SparsePACConfig.

func (*SparsePACConfig) GetBSON

func (o *SparsePACConfig) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePACConfig) GetCreateTime

func (o *SparsePACConfig) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePACConfig) GetImportHash

func (o *SparsePACConfig) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparsePACConfig) GetImportLabel

func (o *SparsePACConfig) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparsePACConfig) GetNamespace

func (o *SparsePACConfig) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePACConfig) GetUpdateTime

func (o *SparsePACConfig) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePACConfig) GetZHash

func (o *SparsePACConfig) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePACConfig) GetZone

func (o *SparsePACConfig) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePACConfig) Identifier

func (o *SparsePACConfig) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePACConfig) Identity

func (o *SparsePACConfig) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePACConfig) SetBSON

func (o *SparsePACConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePACConfig) SetCreateTime

func (o *SparsePACConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparsePACConfig) SetIdentifier

func (o *SparsePACConfig) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePACConfig) SetImportHash

func (o *SparsePACConfig) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparsePACConfig) SetImportLabel

func (o *SparsePACConfig) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparsePACConfig) SetNamespace

func (o *SparsePACConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePACConfig) SetUpdateTime

func (o *SparsePACConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparsePACConfig) SetZHash

func (o *SparsePACConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePACConfig) SetZone

func (o *SparsePACConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePACConfig) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePACConfig) Version

func (o *SparsePACConfig) Version() int

Version returns the hardcoded version of the model.

type SparsePACConfigsList

type SparsePACConfigsList []*SparsePACConfig

SparsePACConfigsList represents a list of SparsePACConfigs

func (SparsePACConfigsList) Append

Append appends the objects to the a new copy of the SparsePACConfigsList.

func (SparsePACConfigsList) Copy

Copy returns a pointer to a copy the SparsePACConfigsList.

func (SparsePACConfigsList) DefaultOrder

func (o SparsePACConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePACConfigsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePACConfigsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePACConfigsList) ToPlain

ToPlain returns the SparsePACConfigsList converted to PACConfigsList.

func (SparsePACConfigsList) Version

func (o SparsePACConfigsList) Version() int

Version returns the version of the content.

type SparsePasscode

type SparsePasscode struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The email of the customer. An email wih a login link will be sent.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// The date after which the secret will not be valid anymore. This is computed
	// using the validity property.
	Expiration *time.Time `json:"expiration,omitempty" msgpack:"expiration,omitempty" bson:"expiration,omitempty" mapstructure:"expiration,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The organization name.
	Organization *string `` /* 130-byte string literal not displayed */

	// The secret to login.
	Secret *string `json:"-" msgpack:"-" bson:"secret,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// The validity duration of the secret.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePasscode represents the sparse version of a passcode.

func NewSparsePasscode

func NewSparsePasscode() *SparsePasscode

NewSparsePasscode returns a new SparsePasscode.

func (*SparsePasscode) DecryptAttributes

func (o *SparsePasscode) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparsePasscode) DeepCopy

func (o *SparsePasscode) DeepCopy() *SparsePasscode

DeepCopy returns a deep copy if the SparsePasscode.

func (*SparsePasscode) DeepCopyInto

func (o *SparsePasscode) DeepCopyInto(out *SparsePasscode)

DeepCopyInto copies the receiver into the given *SparsePasscode.

func (*SparsePasscode) EncryptAttributes

func (o *SparsePasscode) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparsePasscode) GetBSON

func (o *SparsePasscode) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePasscode) GetCreateTime

func (o *SparsePasscode) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePasscode) GetNamespace

func (o *SparsePasscode) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePasscode) GetUpdateTime

func (o *SparsePasscode) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePasscode) GetZHash

func (o *SparsePasscode) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePasscode) GetZone

func (o *SparsePasscode) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePasscode) Identifier

func (o *SparsePasscode) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePasscode) Identity

func (o *SparsePasscode) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePasscode) SetBSON

func (o *SparsePasscode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePasscode) SetCreateTime

func (o *SparsePasscode) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparsePasscode) SetIdentifier

func (o *SparsePasscode) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePasscode) SetNamespace

func (o *SparsePasscode) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePasscode) SetUpdateTime

func (o *SparsePasscode) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparsePasscode) SetZHash

func (o *SparsePasscode) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePasscode) SetZone

func (o *SparsePasscode) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePasscode) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePasscode) Version

func (o *SparsePasscode) Version() int

Version returns the hardcoded version of the model.

type SparsePasscodeCheck

type SparsePasscodeCheck struct {
	// The password associated to the username.
	Password *string `json:"password,omitempty" msgpack:"password,omitempty" bson:"-" mapstructure:"password,omitempty"`

	// The username.
	Username *string `json:"username,omitempty" msgpack:"username,omitempty" bson:"-" mapstructure:"username,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePasscodeCheck represents the sparse version of a passcodecheck.

func NewSparsePasscodeCheck

func NewSparsePasscodeCheck() *SparsePasscodeCheck

NewSparsePasscodeCheck returns a new SparsePasscodeCheck.

func (*SparsePasscodeCheck) DeepCopy

DeepCopy returns a deep copy if the SparsePasscodeCheck.

func (*SparsePasscodeCheck) DeepCopyInto

func (o *SparsePasscodeCheck) DeepCopyInto(out *SparsePasscodeCheck)

DeepCopyInto copies the receiver into the given *SparsePasscodeCheck.

func (*SparsePasscodeCheck) GetBSON

func (o *SparsePasscodeCheck) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePasscodeCheck) Identifier

func (o *SparsePasscodeCheck) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePasscodeCheck) Identity

func (o *SparsePasscodeCheck) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePasscodeCheck) SetBSON

func (o *SparsePasscodeCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePasscodeCheck) SetIdentifier

func (o *SparsePasscodeCheck) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePasscodeCheck) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePasscodeCheck) Version

func (o *SparsePasscodeCheck) Version() int

Version returns the hardcoded version of the model.

type SparsePasscodeChecksList

type SparsePasscodeChecksList []*SparsePasscodeCheck

SparsePasscodeChecksList represents a list of SparsePasscodeChecks

func (SparsePasscodeChecksList) Append

Append appends the objects to the a new copy of the SparsePasscodeChecksList.

func (SparsePasscodeChecksList) Copy

Copy returns a pointer to a copy the SparsePasscodeChecksList.

func (SparsePasscodeChecksList) DefaultOrder

func (o SparsePasscodeChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePasscodeChecksList) Identity

Identity returns the identity of the objects in the list.

func (SparsePasscodeChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePasscodeChecksList) ToPlain

ToPlain returns the SparsePasscodeChecksList converted to PasscodeChecksList.

func (SparsePasscodeChecksList) Version

func (o SparsePasscodeChecksList) Version() int

Version returns the version of the content.

type SparsePasscodesList

type SparsePasscodesList []*SparsePasscode

SparsePasscodesList represents a list of SparsePasscodes

func (SparsePasscodesList) Append

Append appends the objects to the a new copy of the SparsePasscodesList.

func (SparsePasscodesList) Copy

Copy returns a pointer to a copy the SparsePasscodesList.

func (SparsePasscodesList) DefaultOrder

func (o SparsePasscodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePasscodesList) Identity

func (o SparsePasscodesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparsePasscodesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePasscodesList) ToPlain

ToPlain returns the SparsePasscodesList converted to PasscodesList.

func (SparsePasscodesList) Version

func (o SparsePasscodesList) Version() int

Version returns the version of the content.

type SparsePolicyUpdate

type SparsePolicyUpdate struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicyUpdate represents the sparse version of a policyupdate.

func NewSparsePolicyUpdate

func NewSparsePolicyUpdate() *SparsePolicyUpdate

NewSparsePolicyUpdate returns a new SparsePolicyUpdate.

func (*SparsePolicyUpdate) DeepCopy

func (o *SparsePolicyUpdate) DeepCopy() *SparsePolicyUpdate

DeepCopy returns a deep copy if the SparsePolicyUpdate.

func (*SparsePolicyUpdate) DeepCopyInto

func (o *SparsePolicyUpdate) DeepCopyInto(out *SparsePolicyUpdate)

DeepCopyInto copies the receiver into the given *SparsePolicyUpdate.

func (*SparsePolicyUpdate) GetBSON

func (o *SparsePolicyUpdate) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyUpdate) GetNamespace

func (o *SparsePolicyUpdate) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePolicyUpdate) Identifier

func (o *SparsePolicyUpdate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicyUpdate) Identity

func (o *SparsePolicyUpdate) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicyUpdate) SetBSON

func (o *SparsePolicyUpdate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyUpdate) SetIdentifier

func (o *SparsePolicyUpdate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicyUpdate) SetNamespace

func (o *SparsePolicyUpdate) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePolicyUpdate) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicyUpdate) Version

func (o *SparsePolicyUpdate) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyUpdatesList

type SparsePolicyUpdatesList []*SparsePolicyUpdate

SparsePolicyUpdatesList represents a list of SparsePolicyUpdates

func (SparsePolicyUpdatesList) Append

Append appends the objects to the a new copy of the SparsePolicyUpdatesList.

func (SparsePolicyUpdatesList) Copy

Copy returns a pointer to a copy the SparsePolicyUpdatesList.

func (SparsePolicyUpdatesList) DefaultOrder

func (o SparsePolicyUpdatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePolicyUpdatesList) Identity

Identity returns the identity of the objects in the list.

func (SparsePolicyUpdatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePolicyUpdatesList) ToPlain

ToPlain returns the SparsePolicyUpdatesList converted to PolicyUpdatesList.

func (SparsePolicyUpdatesList) Version

func (o SparsePolicyUpdatesList) Version() int

Version returns the version of the content.

type SparsePrincipal

type SparsePrincipal struct {
	// The application principal information if type is App.
	App *PrincipalApp `json:"app,omitempty" msgpack:"app,omitempty" bson:"app,omitempty" mapstructure:"app,omitempty"`

	// The type of authentication.
	AuthType *PrincipalAuthTypeValue `json:"authType,omitempty" msgpack:"authType,omitempty" bson:"authtype,omitempty" mapstructure:"authType,omitempty"`

	// List of claims extracted from the user query.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// The team that was used to authorize the request.
	Team *string `json:"team,omitempty" msgpack:"team,omitempty" bson:"team,omitempty" mapstructure:"team,omitempty"`

	// The name of the token, if any.
	TokenName *string `json:"tokenName,omitempty" msgpack:"tokenName,omitempty" bson:"tokenname,omitempty" mapstructure:"tokenName,omitempty"`

	// The type of principal.
	Type *PrincipalTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// The user principal information if type is User.
	User *PrincipalUser `json:"user,omitempty" msgpack:"user,omitempty" bson:"user,omitempty" mapstructure:"user,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePrincipal represents the sparse version of a principal.

func NewSparsePrincipal

func NewSparsePrincipal() *SparsePrincipal

NewSparsePrincipal returns a new SparsePrincipal.

func (*SparsePrincipal) DeepCopy

func (o *SparsePrincipal) DeepCopy() *SparsePrincipal

DeepCopy returns a deep copy if the SparsePrincipal.

func (*SparsePrincipal) DeepCopyInto

func (o *SparsePrincipal) DeepCopyInto(out *SparsePrincipal)

DeepCopyInto copies the receiver into the given *SparsePrincipal.

func (*SparsePrincipal) GetBSON

func (o *SparsePrincipal) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePrincipal) Identifier

func (o *SparsePrincipal) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePrincipal) Identity

func (o *SparsePrincipal) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePrincipal) SetBSON

func (o *SparsePrincipal) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePrincipal) SetIdentifier

func (o *SparsePrincipal) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePrincipal) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePrincipal) Version

func (o *SparsePrincipal) Version() int

Version returns the hardcoded version of the model.

type SparsePrincipalApp

type SparsePrincipalApp struct {
	// The list of labels attached to an application request.
	Labels *[]string `json:"labels,omitempty" msgpack:"labels,omitempty" bson:"labels,omitempty" mapstructure:"labels,omitempty"`

	// The name of the application.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The tier of the application request.
	Tier *string `json:"tier,omitempty" msgpack:"tier,omitempty" bson:"tier,omitempty" mapstructure:"tier,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePrincipalApp represents the sparse version of a principalapp.

func NewSparsePrincipalApp

func NewSparsePrincipalApp() *SparsePrincipalApp

NewSparsePrincipalApp returns a new SparsePrincipalApp.

func (*SparsePrincipalApp) DeepCopy

func (o *SparsePrincipalApp) DeepCopy() *SparsePrincipalApp

DeepCopy returns a deep copy if the SparsePrincipalApp.

func (*SparsePrincipalApp) DeepCopyInto

func (o *SparsePrincipalApp) DeepCopyInto(out *SparsePrincipalApp)

DeepCopyInto copies the receiver into the given *SparsePrincipalApp.

func (*SparsePrincipalApp) GetBSON

func (o *SparsePrincipalApp) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePrincipalApp) Identifier

func (o *SparsePrincipalApp) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePrincipalApp) Identity

func (o *SparsePrincipalApp) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePrincipalApp) SetBSON

func (o *SparsePrincipalApp) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePrincipalApp) SetIdentifier

func (o *SparsePrincipalApp) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePrincipalApp) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePrincipalApp) Version

func (o *SparsePrincipalApp) Version() int

Version returns the hardcoded version of the model.

type SparsePrincipalAppsList

type SparsePrincipalAppsList []*SparsePrincipalApp

SparsePrincipalAppsList represents a list of SparsePrincipalApps

func (SparsePrincipalAppsList) Append

Append appends the objects to the a new copy of the SparsePrincipalAppsList.

func (SparsePrincipalAppsList) Copy

Copy returns a pointer to a copy the SparsePrincipalAppsList.

func (SparsePrincipalAppsList) DefaultOrder

func (o SparsePrincipalAppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePrincipalAppsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePrincipalAppsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePrincipalAppsList) ToPlain

ToPlain returns the SparsePrincipalAppsList converted to PrincipalAppsList.

func (SparsePrincipalAppsList) Version

func (o SparsePrincipalAppsList) Version() int

Version returns the version of the content.

type SparsePrincipalUser

type SparsePrincipalUser struct {
	// Identification bit that will be used to identify the origin of the request.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePrincipalUser represents the sparse version of a principaluser.

func NewSparsePrincipalUser

func NewSparsePrincipalUser() *SparsePrincipalUser

NewSparsePrincipalUser returns a new SparsePrincipalUser.

func (*SparsePrincipalUser) DeepCopy

DeepCopy returns a deep copy if the SparsePrincipalUser.

func (*SparsePrincipalUser) DeepCopyInto

func (o *SparsePrincipalUser) DeepCopyInto(out *SparsePrincipalUser)

DeepCopyInto copies the receiver into the given *SparsePrincipalUser.

func (*SparsePrincipalUser) GetBSON

func (o *SparsePrincipalUser) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePrincipalUser) Identifier

func (o *SparsePrincipalUser) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePrincipalUser) Identity

func (o *SparsePrincipalUser) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePrincipalUser) SetBSON

func (o *SparsePrincipalUser) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePrincipalUser) SetIdentifier

func (o *SparsePrincipalUser) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePrincipalUser) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePrincipalUser) Version

func (o *SparsePrincipalUser) Version() int

Version returns the hardcoded version of the model.

type SparsePrincipalUsersList

type SparsePrincipalUsersList []*SparsePrincipalUser

SparsePrincipalUsersList represents a list of SparsePrincipalUsers

func (SparsePrincipalUsersList) Append

Append appends the objects to the a new copy of the SparsePrincipalUsersList.

func (SparsePrincipalUsersList) Copy

Copy returns a pointer to a copy the SparsePrincipalUsersList.

func (SparsePrincipalUsersList) DefaultOrder

func (o SparsePrincipalUsersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePrincipalUsersList) Identity

Identity returns the identity of the objects in the list.

func (SparsePrincipalUsersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePrincipalUsersList) ToPlain

ToPlain returns the SparsePrincipalUsersList converted to PrincipalUsersList.

func (SparsePrincipalUsersList) Version

func (o SparsePrincipalUsersList) Version() int

Version returns the version of the content.

type SparsePrincipalsList

type SparsePrincipalsList []*SparsePrincipal

SparsePrincipalsList represents a list of SparsePrincipals

func (SparsePrincipalsList) Append

Append appends the objects to the a new copy of the SparsePrincipalsList.

func (SparsePrincipalsList) Copy

Copy returns a pointer to a copy the SparsePrincipalsList.

func (SparsePrincipalsList) DefaultOrder

func (o SparsePrincipalsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePrincipalsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePrincipalsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePrincipalsList) ToPlain

ToPlain returns the SparsePrincipalsList converted to PrincipalsList.

func (SparsePrincipalsList) Version

func (o SparsePrincipalsList) Version() int

Version returns the version of the content.

type SparseProject

type SparseProject struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the project.
	Description *string `` /* 126-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The name of the project.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProject represents the sparse version of a project.

func NewSparseProject

func NewSparseProject() *SparseProject

NewSparseProject returns a new SparseProject.

func (*SparseProject) DeepCopy

func (o *SparseProject) DeepCopy() *SparseProject

DeepCopy returns a deep copy if the SparseProject.

func (*SparseProject) DeepCopyInto

func (o *SparseProject) DeepCopyInto(out *SparseProject)

DeepCopyInto copies the receiver into the given *SparseProject.

func (*SparseProject) GetBSON

func (o *SparseProject) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProject) GetCreateTime

func (o *SparseProject) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProject) GetImportHash

func (o *SparseProject) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseProject) GetImportLabel

func (o *SparseProject) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseProject) GetNamespace

func (o *SparseProject) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProject) GetUpdateTime

func (o *SparseProject) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProject) GetZHash

func (o *SparseProject) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseProject) GetZone

func (o *SparseProject) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseProject) Identifier

func (o *SparseProject) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProject) Identity

func (o *SparseProject) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProject) SetBSON

func (o *SparseProject) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProject) SetCreateTime

func (o *SparseProject) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseProject) SetIdentifier

func (o *SparseProject) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProject) SetImportHash

func (o *SparseProject) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseProject) SetImportLabel

func (o *SparseProject) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseProject) SetNamespace

func (o *SparseProject) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProject) SetUpdateTime

func (o *SparseProject) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseProject) SetZHash

func (o *SparseProject) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseProject) SetZone

func (o *SparseProject) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseProject) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProject) Version

func (o *SparseProject) Version() int

Version returns the hardcoded version of the model.

type SparseProjectsList

type SparseProjectsList []*SparseProject

SparseProjectsList represents a list of SparseProjects

func (SparseProjectsList) Append

Append appends the objects to the a new copy of the SparseProjectsList.

func (SparseProjectsList) Copy

Copy returns a pointer to a copy the SparseProjectsList.

func (SparseProjectsList) DefaultOrder

func (o SparseProjectsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProjectsList) Identity

func (o SparseProjectsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseProjectsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProjectsList) ToPlain

ToPlain returns the SparseProjectsList converted to ProjectsList.

func (SparseProjectsList) Version

func (o SparseProjectsList) Version() int

Version returns the version of the content.

type SparseProvider

type SparseProvider struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// If enabled, run the analysis pipelines on the provider output. No policy will be
	// applied, but the response will be analyzed and classified.
	AnalyzeOutput *bool `` /* 134-byte string literal not displayed */

	// The category of the provider.
	Category *ProviderCategoryValue `json:"category,omitempty" msgpack:"category,omitempty" bson:"category,omitempty" mapstructure:"category,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The description of the provider.
	Description *string `` /* 126-byte string literal not displayed */

	// Use to transform an error before sending it back to the client.
	ErrorTransformer *ErrorTransformer `` /* 146-byte string literal not displayed */

	// If true, consider this provider as experimental. It will require to use a custom
	// PAC Config to make it usable from the proxy.pac.
	Experimental *bool `` /* 130-byte string literal not displayed */

	// Friendly Name of the provider.
	FriendlyName *string `` /* 130-byte string literal not displayed */

	// Hosts supported by the providers.
	Hosts *[]*Host `json:"hosts,omitempty" msgpack:"hosts,omitempty" bson:"hosts,omitempty" mapstructure:"hosts,omitempty"`

	// The icon of the provider, base64 encoded.
	Icon *string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"icon,omitempty" mapstructure:"icon,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// Defines injection point for javascript snippet.
	Injectors *[]*Injector `json:"injectors,omitempty" msgpack:"injectors,omitempty" bson:"injectors,omitempty" mapstructure:"injectors,omitempty"`

	// List of input extractors.
	InputExtractors *[]*Extractor `` /* 142-byte string literal not displayed */

	// List of user mappers.
	Mappers *[]*Mapper `json:"mappers,omitempty" msgpack:"mappers,omitempty" bson:"mappers,omitempty" mapstructure:"mappers,omitempty"`

	// Name of the provider.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// List of output extractors.
	OutputExtractors *[]*Extractor `` /* 146-byte string literal not displayed */

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// If true, consider the incoming calls to use an acuvity token and swap them using
	// registered providertokens.
	TokenSwap *bool `json:"tokenSwap,omitempty" msgpack:"tokenSwap,omitempty" bson:"tokenswap,omitempty" mapstructure:"tokenSwap,omitempty"`

	// If set, additionally trust the Certificate Authorities from the PEM data. This
	// is useful when working on a custom provider using a self signed CA chain.
	TrustedCA *string `json:"trustedCA,omitempty" msgpack:"trustedCA,omitempty" bson:"trustedca,omitempty" mapstructure:"trustedCA,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// If enabled, force the ustream scheme to be HTTP instead of https. Mostly use for
	// dev purposes.
	UpstreamUnsecure *bool `` /* 146-byte string literal not displayed */

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProvider represents the sparse version of a provider.

func NewSparseProvider

func NewSparseProvider() *SparseProvider

NewSparseProvider returns a new SparseProvider.

func (*SparseProvider) DeepCopy

func (o *SparseProvider) DeepCopy() *SparseProvider

DeepCopy returns a deep copy if the SparseProvider.

func (*SparseProvider) DeepCopyInto

func (o *SparseProvider) DeepCopyInto(out *SparseProvider)

DeepCopyInto copies the receiver into the given *SparseProvider.

func (*SparseProvider) GetBSON

func (o *SparseProvider) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProvider) GetCreateTime

func (o *SparseProvider) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProvider) GetImportHash

func (o *SparseProvider) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseProvider) GetImportLabel

func (o *SparseProvider) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseProvider) GetNamespace

func (o *SparseProvider) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProvider) GetPropagate

func (o *SparseProvider) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseProvider) GetUpdateTime

func (o *SparseProvider) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProvider) GetZHash

func (o *SparseProvider) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseProvider) GetZone

func (o *SparseProvider) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseProvider) Identifier

func (o *SparseProvider) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProvider) Identity

func (o *SparseProvider) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProvider) SetBSON

func (o *SparseProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProvider) SetCreateTime

func (o *SparseProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseProvider) SetIdentifier

func (o *SparseProvider) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProvider) SetImportHash

func (o *SparseProvider) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseProvider) SetImportLabel

func (o *SparseProvider) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseProvider) SetNamespace

func (o *SparseProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProvider) SetPropagate

func (o *SparseProvider) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseProvider) SetUpdateTime

func (o *SparseProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseProvider) SetZHash

func (o *SparseProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseProvider) SetZone

func (o *SparseProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseProvider) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProvider) Version

func (o *SparseProvider) Version() int

Version returns the hardcoded version of the model.

type SparseProviderDetail

type SparseProviderDetail struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The description of the provider detail.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// Domain of the provider detail.
	Domain *string `json:"domain,omitempty" msgpack:"domain,omitempty" bson:"-" mapstructure:"domain,omitempty"`

	// Friendly Name of the provider detail.
	FriendlyName *string `json:"friendlyName,omitempty" msgpack:"friendlyName,omitempty" bson:"-" mapstructure:"friendlyName,omitempty"`

	// The icon of the providerdetail, base64 encoded.
	Icon *string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"-" mapstructure:"icon,omitempty"`

	// Name of the provider detail.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The risk score for the domain.
	RiskScore *float64 `json:"riskScore,omitempty" msgpack:"riskScore,omitempty" bson:"-" mapstructure:"riskScore,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProviderDetail represents the sparse version of a providerdetail.

func NewSparseProviderDetail

func NewSparseProviderDetail() *SparseProviderDetail

NewSparseProviderDetail returns a new SparseProviderDetail.

func (*SparseProviderDetail) DeepCopy

DeepCopy returns a deep copy if the SparseProviderDetail.

func (*SparseProviderDetail) DeepCopyInto

func (o *SparseProviderDetail) DeepCopyInto(out *SparseProviderDetail)

DeepCopyInto copies the receiver into the given *SparseProviderDetail.

func (*SparseProviderDetail) GetBSON

func (o *SparseProviderDetail) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProviderDetail) GetNamespace

func (o *SparseProviderDetail) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProviderDetail) Identifier

func (o *SparseProviderDetail) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProviderDetail) Identity

func (o *SparseProviderDetail) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProviderDetail) SetBSON

func (o *SparseProviderDetail) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProviderDetail) SetIdentifier

func (o *SparseProviderDetail) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProviderDetail) SetNamespace

func (o *SparseProviderDetail) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProviderDetail) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProviderDetail) Version

func (o *SparseProviderDetail) Version() int

Version returns the hardcoded version of the model.

type SparseProviderDetailsList

type SparseProviderDetailsList []*SparseProviderDetail

SparseProviderDetailsList represents a list of SparseProviderDetails

func (SparseProviderDetailsList) Append

Append appends the objects to the a new copy of the SparseProviderDetailsList.

func (SparseProviderDetailsList) Copy

Copy returns a pointer to a copy the SparseProviderDetailsList.

func (SparseProviderDetailsList) DefaultOrder

func (o SparseProviderDetailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProviderDetailsList) Identity

Identity returns the identity of the objects in the list.

func (SparseProviderDetailsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProviderDetailsList) ToPlain

ToPlain returns the SparseProviderDetailsList converted to ProviderDetailsList.

func (SparseProviderDetailsList) Version

func (o SparseProviderDetailsList) Version() int

Version returns the version of the content.

type SparseProviderTeam

type SparseProviderTeam struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the provider team.
	Description *string `` /* 126-byte string literal not displayed */

	// Set the provider team to be disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// A tag expression that identifies user(s) to not include in the team, even if
	// their claims match the subject.
	ExcludedSubject *[][]string `` /* 142-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The name of the provider team.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A tag expression that identifies user(s).
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProviderTeam represents the sparse version of a providerteam.

func NewSparseProviderTeam

func NewSparseProviderTeam() *SparseProviderTeam

NewSparseProviderTeam returns a new SparseProviderTeam.

func (*SparseProviderTeam) DeepCopy

func (o *SparseProviderTeam) DeepCopy() *SparseProviderTeam

DeepCopy returns a deep copy if the SparseProviderTeam.

func (*SparseProviderTeam) DeepCopyInto

func (o *SparseProviderTeam) DeepCopyInto(out *SparseProviderTeam)

DeepCopyInto copies the receiver into the given *SparseProviderTeam.

func (*SparseProviderTeam) GetBSON

func (o *SparseProviderTeam) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProviderTeam) GetCreateTime

func (o *SparseProviderTeam) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProviderTeam) GetImportHash

func (o *SparseProviderTeam) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseProviderTeam) GetImportLabel

func (o *SparseProviderTeam) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseProviderTeam) GetNamespace

func (o *SparseProviderTeam) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProviderTeam) GetUpdateTime

func (o *SparseProviderTeam) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProviderTeam) GetZHash

func (o *SparseProviderTeam) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseProviderTeam) GetZone

func (o *SparseProviderTeam) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseProviderTeam) Identifier

func (o *SparseProviderTeam) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProviderTeam) Identity

func (o *SparseProviderTeam) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProviderTeam) SetBSON

func (o *SparseProviderTeam) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProviderTeam) SetCreateTime

func (o *SparseProviderTeam) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseProviderTeam) SetIdentifier

func (o *SparseProviderTeam) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProviderTeam) SetImportHash

func (o *SparseProviderTeam) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseProviderTeam) SetImportLabel

func (o *SparseProviderTeam) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseProviderTeam) SetNamespace

func (o *SparseProviderTeam) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProviderTeam) SetUpdateTime

func (o *SparseProviderTeam) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseProviderTeam) SetZHash

func (o *SparseProviderTeam) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseProviderTeam) SetZone

func (o *SparseProviderTeam) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseProviderTeam) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProviderTeam) Version

func (o *SparseProviderTeam) Version() int

Version returns the hardcoded version of the model.

type SparseProviderTeamsList

type SparseProviderTeamsList []*SparseProviderTeam

SparseProviderTeamsList represents a list of SparseProviderTeams

func (SparseProviderTeamsList) Append

Append appends the objects to the a new copy of the SparseProviderTeamsList.

func (SparseProviderTeamsList) Copy

Copy returns a pointer to a copy the SparseProviderTeamsList.

func (SparseProviderTeamsList) DefaultOrder

func (o SparseProviderTeamsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProviderTeamsList) Identity

Identity returns the identity of the objects in the list.

func (SparseProviderTeamsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProviderTeamsList) ToPlain

ToPlain returns the SparseProviderTeamsList converted to ProviderTeamsList.

func (SparseProviderTeamsList) Version

func (o SparseProviderTeamsList) Version() int

Version returns the version of the content.

type SparseProviderToken

type SparseProviderToken struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// Name of the token. As token contents are hidden after creation, name allows a
	// way to delete it.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Name of the provider this token is used with.
	Provider *string `json:"provider,omitempty" msgpack:"provider,omitempty" bson:"provider,omitempty" mapstructure:"provider,omitempty"`

	// token to authenticate with the provider.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"token,omitempty" mapstructure:"token,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProviderToken represents the sparse version of a providertoken.

func NewSparseProviderToken

func NewSparseProviderToken() *SparseProviderToken

NewSparseProviderToken returns a new SparseProviderToken.

func (*SparseProviderToken) DecryptAttributes

func (o *SparseProviderToken) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseProviderToken) DeepCopy

DeepCopy returns a deep copy if the SparseProviderToken.

func (*SparseProviderToken) DeepCopyInto

func (o *SparseProviderToken) DeepCopyInto(out *SparseProviderToken)

DeepCopyInto copies the receiver into the given *SparseProviderToken.

func (*SparseProviderToken) EncryptAttributes

func (o *SparseProviderToken) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseProviderToken) GetBSON

func (o *SparseProviderToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProviderToken) GetCreateTime

func (o *SparseProviderToken) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProviderToken) GetImportHash

func (o *SparseProviderToken) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseProviderToken) GetImportLabel

func (o *SparseProviderToken) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseProviderToken) GetNamespace

func (o *SparseProviderToken) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProviderToken) GetUpdateTime

func (o *SparseProviderToken) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProviderToken) GetZHash

func (o *SparseProviderToken) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseProviderToken) GetZone

func (o *SparseProviderToken) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseProviderToken) Identifier

func (o *SparseProviderToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProviderToken) Identity

func (o *SparseProviderToken) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProviderToken) SetBSON

func (o *SparseProviderToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProviderToken) SetCreateTime

func (o *SparseProviderToken) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseProviderToken) SetIdentifier

func (o *SparseProviderToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProviderToken) SetImportHash

func (o *SparseProviderToken) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseProviderToken) SetImportLabel

func (o *SparseProviderToken) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseProviderToken) SetNamespace

func (o *SparseProviderToken) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProviderToken) SetUpdateTime

func (o *SparseProviderToken) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseProviderToken) SetZHash

func (o *SparseProviderToken) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseProviderToken) SetZone

func (o *SparseProviderToken) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseProviderToken) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProviderToken) Version

func (o *SparseProviderToken) Version() int

Version returns the hardcoded version of the model.

type SparseProviderTokensList

type SparseProviderTokensList []*SparseProviderToken

SparseProviderTokensList represents a list of SparseProviderTokens

func (SparseProviderTokensList) Append

Append appends the objects to the a new copy of the SparseProviderTokensList.

func (SparseProviderTokensList) Copy

Copy returns a pointer to a copy the SparseProviderTokensList.

func (SparseProviderTokensList) DefaultOrder

func (o SparseProviderTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProviderTokensList) Identity

Identity returns the identity of the objects in the list.

func (SparseProviderTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProviderTokensList) ToPlain

ToPlain returns the SparseProviderTokensList converted to ProviderTokensList.

func (SparseProviderTokensList) Version

func (o SparseProviderTokensList) Version() int

Version returns the version of the content.

type SparseProvidersList

type SparseProvidersList []*SparseProvider

SparseProvidersList represents a list of SparseProviders

func (SparseProvidersList) Append

Append appends the objects to the a new copy of the SparseProvidersList.

func (SparseProvidersList) Copy

Copy returns a pointer to a copy the SparseProvidersList.

func (SparseProvidersList) DefaultOrder

func (o SparseProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProvidersList) Identity

func (o SparseProvidersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseProvidersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProvidersList) ToPlain

ToPlain returns the SparseProvidersList converted to ProvidersList.

func (SparseProvidersList) Version

func (o SparseProvidersList) Version() int

Version returns the version of the content.

type SparseProxyConf

type SparseProxyConf struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The PAC configurations of the organizations.
	PACConfigs *PACConfigsList `json:"PACConfigs,omitempty" msgpack:"PACConfigs,omitempty" bson:"-" mapstructure:"PACConfigs,omitempty"`

	// The computed access policy.
	AccessPolicy *string `json:"accessPolicy,omitempty" msgpack:"accessPolicy,omitempty" bson:"-" mapstructure:"accessPolicy,omitempty"`

	// The agent configuration.
	AgentConfig *AgentConfig `json:"agentConfig,omitempty" msgpack:"agentConfig,omitempty" bson:"-" mapstructure:"agentConfig,omitempty"`

	// The computed assign policy.
	AssignPolicy *string `json:"assignPolicy,omitempty" msgpack:"assignPolicy,omitempty" bson:"-" mapstructure:"assignPolicy,omitempty"`

	// The computed content policy.
	ContentPolicy *string `json:"contentPolicy,omitempty" msgpack:"contentPolicy,omitempty" bson:"-" mapstructure:"contentPolicy,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The organization settings.
	OrgSettings *OrgSettings `json:"orgSettings,omitempty" msgpack:"orgSettings,omitempty" bson:"-" mapstructure:"orgSettings,omitempty"`

	// The list of available provider.
	Providers *ProvidersList `json:"providers,omitempty" msgpack:"providers,omitempty" bson:"-" mapstructure:"providers,omitempty"`

	// Tokens pool to authenticate with the provider.
	Tokens *map[string][]string `json:"tokens,omitempty" msgpack:"tokens,omitempty" bson:"-" mapstructure:"tokens,omitempty"`

	// The web extension configuration.
	WebExtensionConfig *WebExtensionConfig `` /* 127-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProxyConf represents the sparse version of a proxyconf.

func NewSparseProxyConf

func NewSparseProxyConf() *SparseProxyConf

NewSparseProxyConf returns a new SparseProxyConf.

func (*SparseProxyConf) DeepCopy

func (o *SparseProxyConf) DeepCopy() *SparseProxyConf

DeepCopy returns a deep copy if the SparseProxyConf.

func (*SparseProxyConf) DeepCopyInto

func (o *SparseProxyConf) DeepCopyInto(out *SparseProxyConf)

DeepCopyInto copies the receiver into the given *SparseProxyConf.

func (*SparseProxyConf) GetBSON

func (o *SparseProxyConf) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProxyConf) GetNamespace

func (o *SparseProxyConf) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProxyConf) Identifier

func (o *SparseProxyConf) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProxyConf) Identity

func (o *SparseProxyConf) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProxyConf) SetBSON

func (o *SparseProxyConf) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProxyConf) SetIdentifier

func (o *SparseProxyConf) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProxyConf) SetNamespace

func (o *SparseProxyConf) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProxyConf) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProxyConf) Version

func (o *SparseProxyConf) Version() int

Version returns the hardcoded version of the model.

type SparseProxyConfsList

type SparseProxyConfsList []*SparseProxyConf

SparseProxyConfsList represents a list of SparseProxyConfs

func (SparseProxyConfsList) Append

Append appends the objects to the a new copy of the SparseProxyConfsList.

func (SparseProxyConfsList) Copy

Copy returns a pointer to a copy the SparseProxyConfsList.

func (SparseProxyConfsList) DefaultOrder

func (o SparseProxyConfsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProxyConfsList) Identity

Identity returns the identity of the objects in the list.

func (SparseProxyConfsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProxyConfsList) ToPlain

ToPlain returns the SparseProxyConfsList converted to ProxyConfsList.

func (SparseProxyConfsList) Version

func (o SparseProxyConfsList) Version() int

Version returns the version of the content.

type SparseProxyRoundtrip

type SparseProxyRoundtrip struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// List of alerts that got raised during the policy resolution.
	Alerts *[]*AlertEvent `json:"alerts,omitempty" msgpack:"alerts,omitempty" bson:"alerts,omitempty" mapstructure:"alerts,omitempty"`

	// Annotations attached to the log.
	Annotations *map[string]string `` /* 126-byte string literal not displayed */

	// The client used to send the request.
	Client *string `json:"client,omitempty" msgpack:"client,omitempty" bson:"client,omitempty" mapstructure:"client,omitempty"`

	// The version of the client used to send the request.
	ClientVersion *string `` /* 134-byte string literal not displayed */

	// Tell what was the decision about the data.
	Decision *ProxyRoundtripDecisionValue `json:"decision,omitempty" msgpack:"decision,omitempty" bson:"decision,omitempty" mapstructure:"decision,omitempty"`

	// The extractions to log.
	Extractions *[]*Extraction `` /* 126-byte string literal not displayed */

	// The hash of the input.
	Hash *string `json:"hash,omitempty" msgpack:"hash,omitempty" bson:"hash,omitempty" mapstructure:"hash,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// Information about latency of various stage of request and response.
	Latency *Latency `json:"latency,omitempty" msgpack:"latency,omitempty" bson:"latency,omitempty" mapstructure:"latency,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The name of the particular pipeline that extracted the text.
	PipelineName *string `` /* 130-byte string literal not displayed */

	// The principal of the object.
	Principal *Principal `json:"principal,omitempty" msgpack:"principal,omitempty" bson:"principal,omitempty" mapstructure:"principal,omitempty"`

	// the provider to use.
	Provider *string `json:"provider,omitempty" msgpack:"provider,omitempty" bson:"provider,omitempty" mapstructure:"provider,omitempty"`

	// The various reasons returned by the policy engine.
	Reasons *[]string `json:"reasons,omitempty" msgpack:"reasons,omitempty" bson:"reasons,omitempty" mapstructure:"reasons,omitempty"`

	// The summary of the extractions.
	Summary *ExtractionSummary `json:"summary,omitempty" msgpack:"summary,omitempty" bson:"summary,omitempty" mapstructure:"summary,omitempty"`

	// Set the time of the message request.
	Time *time.Time `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	// The type of text.
	Type *ProxyRoundtripTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProxyRoundtrip represents the sparse version of a proxyroundtrip.

func NewSparseProxyRoundtrip

func NewSparseProxyRoundtrip() *SparseProxyRoundtrip

NewSparseProxyRoundtrip returns a new SparseProxyRoundtrip.

func (*SparseProxyRoundtrip) DeepCopy

DeepCopy returns a deep copy if the SparseProxyRoundtrip.

func (*SparseProxyRoundtrip) DeepCopyInto

func (o *SparseProxyRoundtrip) DeepCopyInto(out *SparseProxyRoundtrip)

DeepCopyInto copies the receiver into the given *SparseProxyRoundtrip.

func (*SparseProxyRoundtrip) GetBSON

func (o *SparseProxyRoundtrip) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProxyRoundtrip) GetImportHash

func (o *SparseProxyRoundtrip) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseProxyRoundtrip) GetImportLabel

func (o *SparseProxyRoundtrip) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseProxyRoundtrip) GetNamespace

func (o *SparseProxyRoundtrip) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProxyRoundtrip) Identifier

func (o *SparseProxyRoundtrip) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProxyRoundtrip) Identity

func (o *SparseProxyRoundtrip) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProxyRoundtrip) SetBSON

func (o *SparseProxyRoundtrip) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProxyRoundtrip) SetIdentifier

func (o *SparseProxyRoundtrip) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProxyRoundtrip) SetImportHash

func (o *SparseProxyRoundtrip) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseProxyRoundtrip) SetImportLabel

func (o *SparseProxyRoundtrip) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseProxyRoundtrip) SetNamespace

func (o *SparseProxyRoundtrip) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProxyRoundtrip) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProxyRoundtrip) Version

func (o *SparseProxyRoundtrip) Version() int

Version returns the hardcoded version of the model.

type SparseProxyRoundtripsList

type SparseProxyRoundtripsList []*SparseProxyRoundtrip

SparseProxyRoundtripsList represents a list of SparseProxyRoundtrips

func (SparseProxyRoundtripsList) Append

Append appends the objects to the a new copy of the SparseProxyRoundtripsList.

func (SparseProxyRoundtripsList) Copy

Copy returns a pointer to a copy the SparseProxyRoundtripsList.

func (SparseProxyRoundtripsList) DefaultOrder

func (o SparseProxyRoundtripsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProxyRoundtripsList) Identity

Identity returns the identity of the objects in the list.

func (SparseProxyRoundtripsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProxyRoundtripsList) ToPlain

ToPlain returns the SparseProxyRoundtripsList converted to ProxyRoundtripsList.

func (SparseProxyRoundtripsList) Version

func (o SparseProxyRoundtripsList) Version() int

Version returns the version of the content.

type SparseQueriesList

type SparseQueriesList []*SparseQuery

SparseQueriesList represents a list of SparseQueries

func (SparseQueriesList) Append

Append appends the objects to the a new copy of the SparseQueriesList.

func (SparseQueriesList) Copy

Copy returns a pointer to a copy the SparseQueriesList.

func (SparseQueriesList) DefaultOrder

func (o SparseQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseQueriesList) Identity

func (o SparseQueriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseQueriesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseQueriesList) ToPlain

ToPlain returns the SparseQueriesList converted to QueriesList.

func (SparseQueriesList) Version

func (o SparseQueriesList) Version() int

Version returns the version of the content.

type SparseQuery

type SparseQuery struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Determines the sort order of logs.
	Direction *QueryDirectionValue `json:"direction,omitempty" msgpack:"direction,omitempty" bson:"-" mapstructure:"direction,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in LogQL format.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]map[string]any `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType *string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The time for the query in any format supported by
	// https://github.com/araddon/dateparse.
	Time *string `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	// The relative time of the time window as time.Duration.
	TimeRelative *string `json:"timeRelative,omitempty" msgpack:"timeRelative,omitempty" bson:"-" mapstructure:"timeRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseQuery represents the sparse version of a query.

func NewSparseQuery

func NewSparseQuery() *SparseQuery

NewSparseQuery returns a new SparseQuery.

func (*SparseQuery) DeepCopy

func (o *SparseQuery) DeepCopy() *SparseQuery

DeepCopy returns a deep copy if the SparseQuery.

func (*SparseQuery) DeepCopyInto

func (o *SparseQuery) DeepCopyInto(out *SparseQuery)

DeepCopyInto copies the receiver into the given *SparseQuery.

func (*SparseQuery) GetBSON

func (o *SparseQuery) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQuery) GetNamespace

func (o *SparseQuery) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseQuery) Identifier

func (o *SparseQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseQuery) Identity

func (o *SparseQuery) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseQuery) SetBSON

func (o *SparseQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQuery) SetIdentifier

func (o *SparseQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseQuery) SetNamespace

func (o *SparseQuery) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseQuery) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseQuery) Version

func (o *SparseQuery) Version() int

Version returns the hardcoded version of the model.

type SparseQueryRange

type SparseQueryRange struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Determines the sort order of logs.
	Direction *QueryRangeDirectionValue `json:"direction,omitempty" msgpack:"direction,omitempty" bson:"-" mapstructure:"direction,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative *string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// the number of results to return.
	Limit *int `json:"limit,omitempty" msgpack:"limit,omitempty" bson:"-" mapstructure:"limit,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in LogQL format.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]map[string]any `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The type of the result.
	ResultType *string `json:"resultType,omitempty" msgpack:"resultType,omitempty" bson:"-" mapstructure:"resultType,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative *string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseQueryRange represents the sparse version of a queryrange.

func NewSparseQueryRange

func NewSparseQueryRange() *SparseQueryRange

NewSparseQueryRange returns a new SparseQueryRange.

func (*SparseQueryRange) DeepCopy

func (o *SparseQueryRange) DeepCopy() *SparseQueryRange

DeepCopy returns a deep copy if the SparseQueryRange.

func (*SparseQueryRange) DeepCopyInto

func (o *SparseQueryRange) DeepCopyInto(out *SparseQueryRange)

DeepCopyInto copies the receiver into the given *SparseQueryRange.

func (*SparseQueryRange) GetBSON

func (o *SparseQueryRange) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQueryRange) GetNamespace

func (o *SparseQueryRange) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseQueryRange) Identifier

func (o *SparseQueryRange) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseQueryRange) Identity

func (o *SparseQueryRange) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseQueryRange) SetBSON

func (o *SparseQueryRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQueryRange) SetIdentifier

func (o *SparseQueryRange) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseQueryRange) SetNamespace

func (o *SparseQueryRange) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseQueryRange) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseQueryRange) Version

func (o *SparseQueryRange) Version() int

Version returns the hardcoded version of the model.

type SparseQueryRangesList

type SparseQueryRangesList []*SparseQueryRange

SparseQueryRangesList represents a list of SparseQueryRanges

func (SparseQueryRangesList) Append

Append appends the objects to the a new copy of the SparseQueryRangesList.

func (SparseQueryRangesList) Copy

Copy returns a pointer to a copy the SparseQueryRangesList.

func (SparseQueryRangesList) DefaultOrder

func (o SparseQueryRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseQueryRangesList) Identity

Identity returns the identity of the objects in the list.

func (SparseQueryRangesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseQueryRangesList) ToPlain

ToPlain returns the SparseQueryRangesList converted to QueryRangesList.

func (SparseQueryRangesList) Version

func (o SparseQueryRangesList) Version() int

Version returns the version of the content.

type SparseRole

type SparseRole struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The description of the role.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// The friendly name of the role.
	FriendlyName *string `json:"friendlyName,omitempty" msgpack:"friendlyName,omitempty" bson:"-" mapstructure:"friendlyName,omitempty"`

	// The name of the role.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Permissions for the role.
	Permissions *[]string `json:"permissions,omitempty" msgpack:"permissions,omitempty" bson:"-" mapstructure:"permissions,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRole represents the sparse version of a role.

func NewSparseRole

func NewSparseRole() *SparseRole

NewSparseRole returns a new SparseRole.

func (*SparseRole) DeepCopy

func (o *SparseRole) DeepCopy() *SparseRole

DeepCopy returns a deep copy if the SparseRole.

func (*SparseRole) DeepCopyInto

func (o *SparseRole) DeepCopyInto(out *SparseRole)

DeepCopyInto copies the receiver into the given *SparseRole.

func (*SparseRole) GetBSON

func (o *SparseRole) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRole) GetNamespace

func (o *SparseRole) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseRole) Identifier

func (o *SparseRole) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRole) Identity

func (o *SparseRole) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseRole) SetBSON

func (o *SparseRole) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRole) SetIdentifier

func (o *SparseRole) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRole) SetNamespace

func (o *SparseRole) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseRole) ToPlain

func (o *SparseRole) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseRole) Version

func (o *SparseRole) Version() int

Version returns the hardcoded version of the model.

type SparseRolesList

type SparseRolesList []*SparseRole

SparseRolesList represents a list of SparseRoles

func (SparseRolesList) Append

Append appends the objects to the a new copy of the SparseRolesList.

func (SparseRolesList) Copy

Copy returns a pointer to a copy the SparseRolesList.

func (SparseRolesList) DefaultOrder

func (o SparseRolesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRolesList) Identity

func (o SparseRolesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseRolesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseRolesList) ToPlain

ToPlain returns the SparseRolesList converted to RolesList.

func (SparseRolesList) Version

func (o SparseRolesList) Version() int

Version returns the version of the content.

type SparseSchemaVersion

type SparseSchemaVersion struct {
	// The current version of the schema.
	CurrentVersion *float64 `json:"-" msgpack:"-" bson:"currentversion,omitempty" mapstructure:"-,omitempty"`

	// The service the schema is applied to.
	Service *string `json:"-" msgpack:"-" bson:"service,omitempty" mapstructure:"-,omitempty"`

	// When the schema was upserted.
	Timestamp *time.Time `json:"-" msgpack:"-" bson:"timestamp,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSchemaVersion represents the sparse version of a schemaversion.

func NewSparseSchemaVersion

func NewSparseSchemaVersion() *SparseSchemaVersion

NewSparseSchemaVersion returns a new SparseSchemaVersion.

func (*SparseSchemaVersion) DeepCopy

DeepCopy returns a deep copy if the SparseSchemaVersion.

func (*SparseSchemaVersion) DeepCopyInto

func (o *SparseSchemaVersion) DeepCopyInto(out *SparseSchemaVersion)

DeepCopyInto copies the receiver into the given *SparseSchemaVersion.

func (*SparseSchemaVersion) GetBSON

func (o *SparseSchemaVersion) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSchemaVersion) Identifier

func (o *SparseSchemaVersion) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSchemaVersion) Identity

func (o *SparseSchemaVersion) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSchemaVersion) SetBSON

func (o *SparseSchemaVersion) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSchemaVersion) SetIdentifier

func (o *SparseSchemaVersion) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSchemaVersion) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSchemaVersion) Version

func (o *SparseSchemaVersion) Version() int

Version returns the hardcoded version of the model.

type SparseSchemaVersionsList

type SparseSchemaVersionsList []*SparseSchemaVersion

SparseSchemaVersionsList represents a list of SparseSchemaVersions

func (SparseSchemaVersionsList) Append

Append appends the objects to the a new copy of the SparseSchemaVersionsList.

func (SparseSchemaVersionsList) Copy

Copy returns a pointer to a copy the SparseSchemaVersionsList.

func (SparseSchemaVersionsList) DefaultOrder

func (o SparseSchemaVersionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSchemaVersionsList) Identity

Identity returns the identity of the objects in the list.

func (SparseSchemaVersionsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSchemaVersionsList) ToPlain

ToPlain returns the SparseSchemaVersionsList converted to SchemaVersionsList.

func (SparseSchemaVersionsList) Version

func (o SparseSchemaVersionsList) Version() int

Version returns the version of the content.

type SparseSerie

type SparseSerie struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The end of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// The relative end of the time window as time.Duration.
	EndRelative *string `json:"endRelative,omitempty" msgpack:"endRelative,omitempty" bson:"-" mapstructure:"endRelative,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The query in LogQL format.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The result of the request.
	Result *[]map[string]string `json:"result,omitempty" msgpack:"result,omitempty" bson:"-" mapstructure:"result,omitempty"`

	// The start of the time window in any format supported by
	// https://github.com/araddon/dateparse.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// The relative start of the time window as time.Duration.
	StartRelative *string `json:"startRelative,omitempty" msgpack:"startRelative,omitempty" bson:"-" mapstructure:"startRelative,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSerie represents the sparse version of a serie.

func NewSparseSerie

func NewSparseSerie() *SparseSerie

NewSparseSerie returns a new SparseSerie.

func (*SparseSerie) DeepCopy

func (o *SparseSerie) DeepCopy() *SparseSerie

DeepCopy returns a deep copy if the SparseSerie.

func (*SparseSerie) DeepCopyInto

func (o *SparseSerie) DeepCopyInto(out *SparseSerie)

DeepCopyInto copies the receiver into the given *SparseSerie.

func (*SparseSerie) GetBSON

func (o *SparseSerie) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSerie) GetNamespace

func (o *SparseSerie) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseSerie) Identifier

func (o *SparseSerie) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSerie) Identity

func (o *SparseSerie) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSerie) SetBSON

func (o *SparseSerie) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSerie) SetIdentifier

func (o *SparseSerie) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSerie) SetNamespace

func (o *SparseSerie) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseSerie) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSerie) Version

func (o *SparseSerie) Version() int

Version returns the hardcoded version of the model.

type SparseSeriesList

type SparseSeriesList []*SparseSerie

SparseSeriesList represents a list of SparseSeries

func (SparseSeriesList) Append

Append appends the objects to the a new copy of the SparseSeriesList.

func (SparseSeriesList) Copy

Copy returns a pointer to a copy the SparseSeriesList.

func (SparseSeriesList) DefaultOrder

func (o SparseSeriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSeriesList) Identity

func (o SparseSeriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseSeriesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSeriesList) ToPlain

ToPlain returns the SparseSeriesList converted to SeriesList.

func (SparseSeriesList) Version

func (o SparseSeriesList) Version() int

Version returns the version of the content.

type SparseSignup

type SparseSignup struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The email requesting the signup. This email can be considered valid and
	// verified, as for the signup request to succeed, it must have been verified by
	// signing up with one of the oauth2 source we support.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The type of signup requested.
	Type *SignupTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// The source of verification.
	VerifiedBy *string `json:"verifiedBy,omitempty" msgpack:"verifiedBy,omitempty" bson:"verifiedby,omitempty" mapstructure:"verifiedBy,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSignup represents the sparse version of a signup.

func NewSparseSignup

func NewSparseSignup() *SparseSignup

NewSparseSignup returns a new SparseSignup.

func (*SparseSignup) DeepCopy

func (o *SparseSignup) DeepCopy() *SparseSignup

DeepCopy returns a deep copy if the SparseSignup.

func (*SparseSignup) DeepCopyInto

func (o *SparseSignup) DeepCopyInto(out *SparseSignup)

DeepCopyInto copies the receiver into the given *SparseSignup.

func (*SparseSignup) GetBSON

func (o *SparseSignup) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSignup) GetCreateTime

func (o *SparseSignup) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSignup) GetNamespace

func (o *SparseSignup) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseSignup) GetUpdateTime

func (o *SparseSignup) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSignup) GetZHash

func (o *SparseSignup) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseSignup) GetZone

func (o *SparseSignup) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseSignup) Identifier

func (o *SparseSignup) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSignup) Identity

func (o *SparseSignup) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSignup) SetBSON

func (o *SparseSignup) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSignup) SetCreateTime

func (o *SparseSignup) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseSignup) SetIdentifier

func (o *SparseSignup) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSignup) SetNamespace

func (o *SparseSignup) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseSignup) SetUpdateTime

func (o *SparseSignup) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseSignup) SetZHash

func (o *SparseSignup) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseSignup) SetZone

func (o *SparseSignup) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseSignup) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSignup) Version

func (o *SparseSignup) Version() int

Version returns the hardcoded version of the model.

type SparseSignupsList

type SparseSignupsList []*SparseSignup

SparseSignupsList represents a list of SparseSignups

func (SparseSignupsList) Append

Append appends the objects to the a new copy of the SparseSignupsList.

func (SparseSignupsList) Copy

Copy returns a pointer to a copy the SparseSignupsList.

func (SparseSignupsList) DefaultOrder

func (o SparseSignupsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSignupsList) Identity

func (o SparseSignupsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseSignupsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSignupsList) ToPlain

ToPlain returns the SparseSignupsList converted to SignupsList.

func (SparseSignupsList) Version

func (o SparseSignupsList) Version() int

Version returns the version of the content.

type SparseSink

type SparseSink struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The description of the sink.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains additional configuration for sending an email.
	Email *SinkEmail `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// Friendly name of the object.
	FriendlyName *string `` /* 130-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The internal reference name of the object. It is a sanitized version of Friendly
	// Name if empty.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains additional configuration for sending a PagerDuty event.
	PagerDuty *SinkPagerDuty `json:"pagerDuty,omitempty" msgpack:"pagerDuty,omitempty" bson:"pagerduty,omitempty" mapstructure:"pagerDuty,omitempty"`

	// Propagates the object to all child namespaces. This is always true.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Contains additional configuration for sending a Slack message.
	Slack *SinkSlack `json:"slack,omitempty" msgpack:"slack,omitempty" bson:"slack,omitempty" mapstructure:"slack,omitempty"`

	// Contains additional configuration for sending the alert to Splunk.
	Splunk *SinkSplunk `json:"splunk,omitempty" msgpack:"splunk,omitempty" bson:"splunk,omitempty" mapstructure:"splunk,omitempty"`

	// The type of sink.
	Type *SinkTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSink represents the sparse version of a sink.

func NewSparseSink

func NewSparseSink() *SparseSink

NewSparseSink returns a new SparseSink.

func (*SparseSink) DeepCopy

func (o *SparseSink) DeepCopy() *SparseSink

DeepCopy returns a deep copy if the SparseSink.

func (*SparseSink) DeepCopyInto

func (o *SparseSink) DeepCopyInto(out *SparseSink)

DeepCopyInto copies the receiver into the given *SparseSink.

func (*SparseSink) GetBSON

func (o *SparseSink) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSink) GetCreateTime

func (o *SparseSink) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSink) GetImportHash

func (o *SparseSink) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseSink) GetImportLabel

func (o *SparseSink) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseSink) GetNamespace

func (o *SparseSink) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseSink) GetPropagate

func (o *SparseSink) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseSink) GetUpdateTime

func (o *SparseSink) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSink) GetZHash

func (o *SparseSink) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseSink) GetZone

func (o *SparseSink) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseSink) Identifier

func (o *SparseSink) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSink) Identity

func (o *SparseSink) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSink) SetBSON

func (o *SparseSink) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSink) SetCreateTime

func (o *SparseSink) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseSink) SetIdentifier

func (o *SparseSink) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSink) SetImportHash

func (o *SparseSink) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseSink) SetImportLabel

func (o *SparseSink) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseSink) SetNamespace

func (o *SparseSink) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseSink) SetPropagate

func (o *SparseSink) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseSink) SetUpdateTime

func (o *SparseSink) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseSink) SetZHash

func (o *SparseSink) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseSink) SetZone

func (o *SparseSink) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseSink) ToPlain

func (o *SparseSink) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseSink) Version

func (o *SparseSink) Version() int

Version returns the hardcoded version of the model.

type SparseSinkEmail

type SparseSinkEmail struct {
	// The list of email recipients the notification will be sent to.
	Recipients *[]string `json:"recipients,omitempty" msgpack:"recipients,omitempty" bson:"recipients,omitempty" mapstructure:"recipients,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSinkEmail represents the sparse version of a sinkemail.

func NewSparseSinkEmail

func NewSparseSinkEmail() *SparseSinkEmail

NewSparseSinkEmail returns a new SparseSinkEmail.

func (*SparseSinkEmail) DeepCopy

func (o *SparseSinkEmail) DeepCopy() *SparseSinkEmail

DeepCopy returns a deep copy if the SparseSinkEmail.

func (*SparseSinkEmail) DeepCopyInto

func (o *SparseSinkEmail) DeepCopyInto(out *SparseSinkEmail)

DeepCopyInto copies the receiver into the given *SparseSinkEmail.

func (*SparseSinkEmail) GetBSON

func (o *SparseSinkEmail) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkEmail) Identifier

func (o *SparseSinkEmail) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSinkEmail) Identity

func (o *SparseSinkEmail) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSinkEmail) SetBSON

func (o *SparseSinkEmail) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkEmail) SetIdentifier

func (o *SparseSinkEmail) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSinkEmail) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSinkEmail) Version

func (o *SparseSinkEmail) Version() int

Version returns the hardcoded version of the model.

type SparseSinkEmailsList

type SparseSinkEmailsList []*SparseSinkEmail

SparseSinkEmailsList represents a list of SparseSinkEmails

func (SparseSinkEmailsList) Append

Append appends the objects to the a new copy of the SparseSinkEmailsList.

func (SparseSinkEmailsList) Copy

Copy returns a pointer to a copy the SparseSinkEmailsList.

func (SparseSinkEmailsList) DefaultOrder

func (o SparseSinkEmailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSinkEmailsList) Identity

Identity returns the identity of the objects in the list.

func (SparseSinkEmailsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSinkEmailsList) ToPlain

ToPlain returns the SparseSinkEmailsList converted to SinkEmailsList.

func (SparseSinkEmailsList) Version

func (o SparseSinkEmailsList) Version() int

Version returns the version of the content.

type SparseSinkPagerDutiesList

type SparseSinkPagerDutiesList []*SparseSinkPagerDuty

SparseSinkPagerDutiesList represents a list of SparseSinkPagerDuties

func (SparseSinkPagerDutiesList) Append

Append appends the objects to the a new copy of the SparseSinkPagerDutiesList.

func (SparseSinkPagerDutiesList) Copy

Copy returns a pointer to a copy the SparseSinkPagerDutiesList.

func (SparseSinkPagerDutiesList) DefaultOrder

func (o SparseSinkPagerDutiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSinkPagerDutiesList) Identity

Identity returns the identity of the objects in the list.

func (SparseSinkPagerDutiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSinkPagerDutiesList) ToPlain

ToPlain returns the SparseSinkPagerDutiesList converted to SinkPagerDutiesList.

func (SparseSinkPagerDutiesList) Version

func (o SparseSinkPagerDutiesList) Version() int

Version returns the version of the content.

type SparseSinkPagerDuty

type SparseSinkPagerDuty struct {
	// The token for PagerDuty events.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"token,omitempty" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSinkPagerDuty represents the sparse version of a sinkpagerduty.

func NewSparseSinkPagerDuty

func NewSparseSinkPagerDuty() *SparseSinkPagerDuty

NewSparseSinkPagerDuty returns a new SparseSinkPagerDuty.

func (*SparseSinkPagerDuty) DecryptAttributes

func (o *SparseSinkPagerDuty) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseSinkPagerDuty) DeepCopy

DeepCopy returns a deep copy if the SparseSinkPagerDuty.

func (*SparseSinkPagerDuty) DeepCopyInto

func (o *SparseSinkPagerDuty) DeepCopyInto(out *SparseSinkPagerDuty)

DeepCopyInto copies the receiver into the given *SparseSinkPagerDuty.

func (*SparseSinkPagerDuty) EncryptAttributes

func (o *SparseSinkPagerDuty) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseSinkPagerDuty) GetBSON

func (o *SparseSinkPagerDuty) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkPagerDuty) Identifier

func (o *SparseSinkPagerDuty) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSinkPagerDuty) Identity

func (o *SparseSinkPagerDuty) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSinkPagerDuty) SetBSON

func (o *SparseSinkPagerDuty) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkPagerDuty) SetIdentifier

func (o *SparseSinkPagerDuty) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSinkPagerDuty) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSinkPagerDuty) Version

func (o *SparseSinkPagerDuty) Version() int

Version returns the hardcoded version of the model.

type SparseSinkSlack

type SparseSinkSlack struct {
	// The webhook URL to send the Slack messages to.
	WebhookURL *string `json:"webhookURL,omitempty" msgpack:"webhookURL,omitempty" bson:"webhookurl,omitempty" mapstructure:"webhookURL,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSinkSlack represents the sparse version of a sinkslack.

func NewSparseSinkSlack

func NewSparseSinkSlack() *SparseSinkSlack

NewSparseSinkSlack returns a new SparseSinkSlack.

func (*SparseSinkSlack) DecryptAttributes

func (o *SparseSinkSlack) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseSinkSlack) DeepCopy

func (o *SparseSinkSlack) DeepCopy() *SparseSinkSlack

DeepCopy returns a deep copy if the SparseSinkSlack.

func (*SparseSinkSlack) DeepCopyInto

func (o *SparseSinkSlack) DeepCopyInto(out *SparseSinkSlack)

DeepCopyInto copies the receiver into the given *SparseSinkSlack.

func (*SparseSinkSlack) EncryptAttributes

func (o *SparseSinkSlack) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseSinkSlack) GetBSON

func (o *SparseSinkSlack) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkSlack) Identifier

func (o *SparseSinkSlack) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSinkSlack) Identity

func (o *SparseSinkSlack) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSinkSlack) SetBSON

func (o *SparseSinkSlack) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkSlack) SetIdentifier

func (o *SparseSinkSlack) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSinkSlack) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSinkSlack) Version

func (o *SparseSinkSlack) Version() int

Version returns the hardcoded version of the model.

type SparseSinkSlacksList

type SparseSinkSlacksList []*SparseSinkSlack

SparseSinkSlacksList represents a list of SparseSinkSlacks

func (SparseSinkSlacksList) Append

Append appends the objects to the a new copy of the SparseSinkSlacksList.

func (SparseSinkSlacksList) Copy

Copy returns a pointer to a copy the SparseSinkSlacksList.

func (SparseSinkSlacksList) DefaultOrder

func (o SparseSinkSlacksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSinkSlacksList) Identity

Identity returns the identity of the objects in the list.

func (SparseSinkSlacksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSinkSlacksList) ToPlain

ToPlain returns the SparseSinkSlacksList converted to SinkSlacksList.

func (SparseSinkSlacksList) Version

func (o SparseSinkSlacksList) Version() int

Version returns the version of the content.

type SparseSinkSplunk

type SparseSinkSplunk struct {
	// The HTTP event collector (HEC) URL to send the alert to.
	HECURL *string `json:"HECURL,omitempty" msgpack:"HECURL,omitempty" bson:"hecurl,omitempty" mapstructure:"HECURL,omitempty"`

	// If set, will use this as the CA for TLS communication.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// If true, will attempt to skip TLS verification when communicating.
	InsecureSkipVerify *bool `` /* 154-byte string literal not displayed */

	// The token to communicate with the HTTP event collector.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"token,omitempty" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSinkSplunk represents the sparse version of a sinksplunk.

func NewSparseSinkSplunk

func NewSparseSinkSplunk() *SparseSinkSplunk

NewSparseSinkSplunk returns a new SparseSinkSplunk.

func (*SparseSinkSplunk) DecryptAttributes

func (o *SparseSinkSplunk) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseSinkSplunk) DeepCopy

func (o *SparseSinkSplunk) DeepCopy() *SparseSinkSplunk

DeepCopy returns a deep copy if the SparseSinkSplunk.

func (*SparseSinkSplunk) DeepCopyInto

func (o *SparseSinkSplunk) DeepCopyInto(out *SparseSinkSplunk)

DeepCopyInto copies the receiver into the given *SparseSinkSplunk.

func (*SparseSinkSplunk) EncryptAttributes

func (o *SparseSinkSplunk) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseSinkSplunk) GetBSON

func (o *SparseSinkSplunk) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkSplunk) Identifier

func (o *SparseSinkSplunk) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSinkSplunk) Identity

func (o *SparseSinkSplunk) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSinkSplunk) SetBSON

func (o *SparseSinkSplunk) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSinkSplunk) SetIdentifier

func (o *SparseSinkSplunk) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSinkSplunk) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSinkSplunk) Version

func (o *SparseSinkSplunk) Version() int

Version returns the hardcoded version of the model.

type SparseSinkSplunksList

type SparseSinkSplunksList []*SparseSinkSplunk

SparseSinkSplunksList represents a list of SparseSinkSplunks

func (SparseSinkSplunksList) Append

Append appends the objects to the a new copy of the SparseSinkSplunksList.

func (SparseSinkSplunksList) Copy

Copy returns a pointer to a copy the SparseSinkSplunksList.

func (SparseSinkSplunksList) DefaultOrder

func (o SparseSinkSplunksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSinkSplunksList) Identity

Identity returns the identity of the objects in the list.

func (SparseSinkSplunksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSinkSplunksList) ToPlain

ToPlain returns the SparseSinkSplunksList converted to SinkSplunksList.

func (SparseSinkSplunksList) Version

func (o SparseSinkSplunksList) Version() int

Version returns the version of the content.

type SparseSinksList

type SparseSinksList []*SparseSink

SparseSinksList represents a list of SparseSinks

func (SparseSinksList) Append

Append appends the objects to the a new copy of the SparseSinksList.

func (SparseSinksList) Copy

Copy returns a pointer to a copy the SparseSinksList.

func (SparseSinksList) DefaultOrder

func (o SparseSinksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSinksList) Identity

func (o SparseSinksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseSinksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSinksList) ToPlain

ToPlain returns the SparseSinksList converted to SinksList.

func (SparseSinksList) Version

func (o SparseSinksList) Version() int

Version returns the version of the content.

type SparseTeam

type SparseTeam struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the team.
	Description *string `` /* 126-byte string literal not displayed */

	// Set the team to be disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The name of the team.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A tag expression that identifies user(s).
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Weight of the team. It is used if multiple teams match for a user. In that case
	// the team with the higher weight will be used.
	Weight *int `json:"weight,omitempty" msgpack:"weight,omitempty" bson:"weight,omitempty" mapstructure:"weight,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTeam represents the sparse version of a team.

func NewSparseTeam

func NewSparseTeam() *SparseTeam

NewSparseTeam returns a new SparseTeam.

func (*SparseTeam) DeepCopy

func (o *SparseTeam) DeepCopy() *SparseTeam

DeepCopy returns a deep copy if the SparseTeam.

func (*SparseTeam) DeepCopyInto

func (o *SparseTeam) DeepCopyInto(out *SparseTeam)

DeepCopyInto copies the receiver into the given *SparseTeam.

func (*SparseTeam) GetBSON

func (o *SparseTeam) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTeam) GetCreateTime

func (o *SparseTeam) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseTeam) GetImportHash

func (o *SparseTeam) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseTeam) GetImportLabel

func (o *SparseTeam) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseTeam) GetNamespace

func (o *SparseTeam) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseTeam) GetUpdateTime

func (o *SparseTeam) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseTeam) GetZHash

func (o *SparseTeam) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseTeam) GetZone

func (o *SparseTeam) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseTeam) Identifier

func (o *SparseTeam) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTeam) Identity

func (o *SparseTeam) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTeam) SetBSON

func (o *SparseTeam) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTeam) SetCreateTime

func (o *SparseTeam) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseTeam) SetIdentifier

func (o *SparseTeam) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTeam) SetImportHash

func (o *SparseTeam) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseTeam) SetImportLabel

func (o *SparseTeam) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseTeam) SetNamespace

func (o *SparseTeam) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseTeam) SetUpdateTime

func (o *SparseTeam) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseTeam) SetZHash

func (o *SparseTeam) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseTeam) SetZone

func (o *SparseTeam) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseTeam) ToPlain

func (o *SparseTeam) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseTeam) Version

func (o *SparseTeam) Version() int

Version returns the hardcoded version of the model.

type SparseTeamsList

type SparseTeamsList []*SparseTeam

SparseTeamsList represents a list of SparseTeams

func (SparseTeamsList) Append

Append appends the objects to the a new copy of the SparseTeamsList.

func (SparseTeamsList) Copy

Copy returns a pointer to a copy the SparseTeamsList.

func (SparseTeamsList) DefaultOrder

func (o SparseTeamsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTeamsList) Identity

func (o SparseTeamsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseTeamsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTeamsList) ToPlain

ToPlain returns the SparseTeamsList converted to TeamsList.

func (SparseTeamsList) Version

func (o SparseTeamsList) Version() int

Version returns the version of the content.

type SparseUserToken

type SparseUserToken struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The list of claims delivered in the token.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// the client type of the user token.
	ClientType *UserTokenClientTypeValue `json:"clientType,omitempty" msgpack:"clientType,omitempty" bson:"clienttype,omitempty" mapstructure:"clientType,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The email of the user who requested the token.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// Tells when the token will expire.
	ExpirationDate *time.Time `` /* 138-byte string literal not displayed */

	// Name of the token is specified while creating the token.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The source IP of the request that initiated the creation of the token.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"sourceip,omitempty" mapstructure:"sourceIP,omitempty"`

	// The generated token. It won't be stored.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// The ID of the associated token.
	TokenID *string `json:"tokenID,omitempty" msgpack:"tokenID,omitempty" bson:"tokenid,omitempty" mapstructure:"tokenID,omitempty"`

	// If true, the token will not be stored and will only be revocable if you keep
	// track of the token ID yourself. Also, the validity will be capped and the token
	// won't be long lived.
	Transient *bool `json:"transient,omitempty" msgpack:"transient,omitempty" bson:"transient,omitempty" mapstructure:"transient,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Configures the validity of the token.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseUserToken represents the sparse version of a usertoken.

func NewSparseUserToken

func NewSparseUserToken() *SparseUserToken

NewSparseUserToken returns a new SparseUserToken.

func (*SparseUserToken) DeepCopy

func (o *SparseUserToken) DeepCopy() *SparseUserToken

DeepCopy returns a deep copy if the SparseUserToken.

func (*SparseUserToken) DeepCopyInto

func (o *SparseUserToken) DeepCopyInto(out *SparseUserToken)

DeepCopyInto copies the receiver into the given *SparseUserToken.

func (*SparseUserToken) GetBSON

func (o *SparseUserToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseUserToken) GetCreateTime

func (o *SparseUserToken) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseUserToken) GetNamespace

func (o *SparseUserToken) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseUserToken) GetUpdateTime

func (o *SparseUserToken) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseUserToken) GetZHash

func (o *SparseUserToken) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseUserToken) GetZone

func (o *SparseUserToken) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseUserToken) Identifier

func (o *SparseUserToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseUserToken) Identity

func (o *SparseUserToken) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseUserToken) SetBSON

func (o *SparseUserToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseUserToken) SetCreateTime

func (o *SparseUserToken) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseUserToken) SetIdentifier

func (o *SparseUserToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseUserToken) SetNamespace

func (o *SparseUserToken) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseUserToken) SetUpdateTime

func (o *SparseUserToken) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseUserToken) SetZHash

func (o *SparseUserToken) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseUserToken) SetZone

func (o *SparseUserToken) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseUserToken) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseUserToken) Version

func (o *SparseUserToken) Version() int

Version returns the hardcoded version of the model.

type SparseUserTokensList

type SparseUserTokensList []*SparseUserToken

SparseUserTokensList represents a list of SparseUserTokens

func (SparseUserTokensList) Append

Append appends the objects to the a new copy of the SparseUserTokensList.

func (SparseUserTokensList) Copy

Copy returns a pointer to a copy the SparseUserTokensList.

func (SparseUserTokensList) DefaultOrder

func (o SparseUserTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseUserTokensList) Identity

Identity returns the identity of the objects in the list.

func (SparseUserTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseUserTokensList) ToPlain

ToPlain returns the SparseUserTokensList converted to UserTokensList.

func (SparseUserTokensList) Version

func (o SparseUserTokensList) Version() int

Version returns the version of the content.

type SparseVisitedURL

type SparseVisitedURL struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Domain that has been visited.
	DomainHits *[]*DomainHits `json:"domainHits,omitempty" msgpack:"domainHits,omitempty" bson:"-" mapstructure:"domainHits,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Origin indicates from where the url has been tracked.
	Origin *VisitedURLOriginValue `json:"origin,omitempty" msgpack:"origin,omitempty" bson:"-" mapstructure:"origin,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal,omitempty" msgpack:"principal,omitempty" bson:"principal,omitempty" mapstructure:"principal,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseVisitedURL represents the sparse version of a visitedurl.

func NewSparseVisitedURL

func NewSparseVisitedURL() *SparseVisitedURL

NewSparseVisitedURL returns a new SparseVisitedURL.

func (*SparseVisitedURL) DeepCopy

func (o *SparseVisitedURL) DeepCopy() *SparseVisitedURL

DeepCopy returns a deep copy if the SparseVisitedURL.

func (*SparseVisitedURL) DeepCopyInto

func (o *SparseVisitedURL) DeepCopyInto(out *SparseVisitedURL)

DeepCopyInto copies the receiver into the given *SparseVisitedURL.

func (*SparseVisitedURL) GetBSON

func (o *SparseVisitedURL) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseVisitedURL) GetImportHash

func (o *SparseVisitedURL) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseVisitedURL) GetImportLabel

func (o *SparseVisitedURL) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseVisitedURL) GetNamespace

func (o *SparseVisitedURL) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseVisitedURL) Identifier

func (o *SparseVisitedURL) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseVisitedURL) Identity

func (o *SparseVisitedURL) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseVisitedURL) SetBSON

func (o *SparseVisitedURL) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseVisitedURL) SetIdentifier

func (o *SparseVisitedURL) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseVisitedURL) SetImportHash

func (o *SparseVisitedURL) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseVisitedURL) SetImportLabel

func (o *SparseVisitedURL) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseVisitedURL) SetNamespace

func (o *SparseVisitedURL) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseVisitedURL) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseVisitedURL) Version

func (o *SparseVisitedURL) Version() int

Version returns the hardcoded version of the model.

type SparseVisitedURLsList

type SparseVisitedURLsList []*SparseVisitedURL

SparseVisitedURLsList represents a list of SparseVisitedURLs

func (SparseVisitedURLsList) Append

Append appends the objects to the a new copy of the SparseVisitedURLsList.

func (SparseVisitedURLsList) Copy

Copy returns a pointer to a copy the SparseVisitedURLsList.

func (SparseVisitedURLsList) DefaultOrder

func (o SparseVisitedURLsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseVisitedURLsList) Identity

Identity returns the identity of the objects in the list.

func (SparseVisitedURLsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseVisitedURLsList) ToPlain

ToPlain returns the SparseVisitedURLsList converted to VisitedURLsList.

func (SparseVisitedURLsList) Version

func (o SparseVisitedURLsList) Version() int

Version returns the version of the content.

type SparseWatchedOrg

type SparseWatchedOrg struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The name of the accessible organization.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The name namespace of the org.
	OrgNamespace *string `json:"orgNamespace,omitempty" msgpack:"orgNamespace,omitempty" bson:"-" mapstructure:"orgNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseWatchedOrg represents the sparse version of a watchedorg.

func NewSparseWatchedOrg

func NewSparseWatchedOrg() *SparseWatchedOrg

NewSparseWatchedOrg returns a new SparseWatchedOrg.

func (*SparseWatchedOrg) DeepCopy

func (o *SparseWatchedOrg) DeepCopy() *SparseWatchedOrg

DeepCopy returns a deep copy if the SparseWatchedOrg.

func (*SparseWatchedOrg) DeepCopyInto

func (o *SparseWatchedOrg) DeepCopyInto(out *SparseWatchedOrg)

DeepCopyInto copies the receiver into the given *SparseWatchedOrg.

func (*SparseWatchedOrg) GetBSON

func (o *SparseWatchedOrg) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseWatchedOrg) GetNamespace

func (o *SparseWatchedOrg) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseWatchedOrg) Identifier

func (o *SparseWatchedOrg) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseWatchedOrg) Identity

func (o *SparseWatchedOrg) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseWatchedOrg) SetBSON

func (o *SparseWatchedOrg) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseWatchedOrg) SetIdentifier

func (o *SparseWatchedOrg) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseWatchedOrg) SetNamespace

func (o *SparseWatchedOrg) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseWatchedOrg) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseWatchedOrg) Version

func (o *SparseWatchedOrg) Version() int

Version returns the hardcoded version of the model.

type SparseWatchedOrgsList

type SparseWatchedOrgsList []*SparseWatchedOrg

SparseWatchedOrgsList represents a list of SparseWatchedOrgs

func (SparseWatchedOrgsList) Append

Append appends the objects to the a new copy of the SparseWatchedOrgsList.

func (SparseWatchedOrgsList) Copy

Copy returns a pointer to a copy the SparseWatchedOrgsList.

func (SparseWatchedOrgsList) DefaultOrder

func (o SparseWatchedOrgsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseWatchedOrgsList) Identity

Identity returns the identity of the objects in the list.

func (SparseWatchedOrgsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseWatchedOrgsList) ToPlain

ToPlain returns the SparseWatchedOrgsList converted to WatchedOrgsList.

func (SparseWatchedOrgsList) Version

func (o SparseWatchedOrgsList) Version() int

Version returns the version of the content.

type SparseWebExtensionConfig

type SparseWebExtensionConfig struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Allow the webextension to set the proxy settings in the employee browser.
	AllowProxySettings *bool `` /* 154-byte string literal not displayed */

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the webextension configuration.
	Description *string `` /* 126-byte string literal not displayed */

	// The hash of the structure used to compare with new import version.
	ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel *string `` /* 126-byte string literal not displayed */

	// The name of the webextension configuration.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Define the interval in minutes to refresh the configuration browser.
	RefreshWebExtensionConfigInterval *int `` /* 214-byte string literal not displayed */

	// Define the interval in minutes between two reports of the visited urls.
	ReportVisitedURLsInterval *int `` /* 182-byte string literal not displayed */

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseWebExtensionConfig represents the sparse version of a webextensionconfig.

func NewSparseWebExtensionConfig

func NewSparseWebExtensionConfig() *SparseWebExtensionConfig

NewSparseWebExtensionConfig returns a new SparseWebExtensionConfig.

func (*SparseWebExtensionConfig) DeepCopy

DeepCopy returns a deep copy if the SparseWebExtensionConfig.

func (*SparseWebExtensionConfig) DeepCopyInto

func (o *SparseWebExtensionConfig) DeepCopyInto(out *SparseWebExtensionConfig)

DeepCopyInto copies the receiver into the given *SparseWebExtensionConfig.

func (*SparseWebExtensionConfig) GetBSON

func (o *SparseWebExtensionConfig) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseWebExtensionConfig) GetCreateTime

func (o *SparseWebExtensionConfig) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseWebExtensionConfig) GetImportHash

func (o *SparseWebExtensionConfig) GetImportHash() (out string)

GetImportHash returns the ImportHash of the receiver.

func (*SparseWebExtensionConfig) GetImportLabel

func (o *SparseWebExtensionConfig) GetImportLabel() (out string)

GetImportLabel returns the ImportLabel of the receiver.

func (*SparseWebExtensionConfig) GetNamespace

func (o *SparseWebExtensionConfig) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseWebExtensionConfig) GetUpdateTime

func (o *SparseWebExtensionConfig) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseWebExtensionConfig) GetZHash

func (o *SparseWebExtensionConfig) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseWebExtensionConfig) GetZone

func (o *SparseWebExtensionConfig) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseWebExtensionConfig) Identifier

func (o *SparseWebExtensionConfig) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseWebExtensionConfig) Identity

Identity returns the Identity of the sparse object.

func (*SparseWebExtensionConfig) SetBSON

func (o *SparseWebExtensionConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseWebExtensionConfig) SetCreateTime

func (o *SparseWebExtensionConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) SetIdentifier

func (o *SparseWebExtensionConfig) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseWebExtensionConfig) SetImportHash

func (o *SparseWebExtensionConfig) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) SetImportLabel

func (o *SparseWebExtensionConfig) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) SetNamespace

func (o *SparseWebExtensionConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) SetUpdateTime

func (o *SparseWebExtensionConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) SetZHash

func (o *SparseWebExtensionConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) SetZone

func (o *SparseWebExtensionConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseWebExtensionConfig) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseWebExtensionConfig) Version

func (o *SparseWebExtensionConfig) Version() int

Version returns the hardcoded version of the model.

type SparseWebExtensionConfigsList

type SparseWebExtensionConfigsList []*SparseWebExtensionConfig

SparseWebExtensionConfigsList represents a list of SparseWebExtensionConfigs

func (SparseWebExtensionConfigsList) Append

Append appends the objects to the a new copy of the SparseWebExtensionConfigsList.

func (SparseWebExtensionConfigsList) Copy

Copy returns a pointer to a copy the SparseWebExtensionConfigsList.

func (SparseWebExtensionConfigsList) DefaultOrder

func (o SparseWebExtensionConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseWebExtensionConfigsList) Identity

Identity returns the identity of the objects in the list.

func (SparseWebExtensionConfigsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseWebExtensionConfigsList) ToPlain

ToPlain returns the SparseWebExtensionConfigsList converted to WebExtensionConfigsList.

func (SparseWebExtensionConfigsList) Version

func (o SparseWebExtensionConfigsList) Version() int

Version returns the version of the content.

type Team

type Team struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the team.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Set the team to be disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The name of the team.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// A tag expression that identifies user(s).
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Weight of the team. It is used if multiple teams match for a user. In that case
	// the team with the higher weight will be used.
	Weight int `json:"weight" msgpack:"weight" bson:"weight" mapstructure:"weight,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Team represents the model of a team

func NewTeam

func NewTeam() *Team

NewTeam returns a new *Team

func (*Team) AttributeSpecifications

func (*Team) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Team) BleveType

func (o *Team) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Team) DeepCopy

func (o *Team) DeepCopy() *Team

DeepCopy returns a deep copy if the Team.

func (*Team) DeepCopyInto

func (o *Team) DeepCopyInto(out *Team)

DeepCopyInto copies the receiver into the given *Team.

func (*Team) DefaultOrder

func (o *Team) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Team) Doc

func (o *Team) Doc() string

Doc returns the documentation for the object

func (*Team) GetBSON

func (o *Team) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Team) GetCreateTime

func (o *Team) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Team) GetImportHash

func (o *Team) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*Team) GetImportLabel

func (o *Team) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*Team) GetNamespace

func (o *Team) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Team) GetUpdateTime

func (o *Team) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Team) GetZHash

func (o *Team) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Team) GetZone

func (o *Team) GetZone() int

GetZone returns the Zone of the receiver.

func (*Team) Identifier

func (o *Team) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Team) Identity

func (o *Team) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Team) Patch

func (o *Team) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTeam to the object.

func (*Team) SetBSON

func (o *Team) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Team) SetCreateTime

func (o *Team) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Team) SetIdentifier

func (o *Team) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Team) SetImportHash

func (o *Team) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*Team) SetImportLabel

func (o *Team) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*Team) SetNamespace

func (o *Team) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Team) SetUpdateTime

func (o *Team) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Team) SetZHash

func (o *Team) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Team) SetZone

func (o *Team) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Team) SpecificationForAttribute

func (*Team) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Team) String

func (o *Team) String() string

func (*Team) ToSparse

func (o *Team) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*Team) Validate

func (o *Team) Validate() error

Validate valides the current information stored into the structure.

func (*Team) ValueForAttribute

func (o *Team) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Team) Version

func (o *Team) Version() int

Version returns the hardcoded version of the model.

type TeamsList

type TeamsList []*Team

TeamsList represents a list of Teams

func (TeamsList) Append

Append appends the objects to the a new copy of the TeamsList.

func (TeamsList) Copy

Copy returns a pointer to a copy the TeamsList.

func (TeamsList) DefaultOrder

func (o TeamsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TeamsList) Identity

func (o TeamsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TeamsList) List

List converts the object to an elemental.IdentifiablesList.

func (TeamsList) ToSparse

func (o TeamsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TeamsList converted to SparseTeamsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TeamsList) Version

func (o TeamsList) Version() int

Version returns the version of the content.

type TextualDetection

type TextualDetection struct {
	// The original detected content.
	Content string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// The end position of the detection in the original data.
	End int `json:"end" msgpack:"end" bson:"end" mapstructure:"end,omitempty"`

	// The key that is used in the name's place, If empty, a sequence of X's are used.
	Key string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"`

	// The name of the detection.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// If true this detection has been redacted.
	Redacted bool `json:"redacted,omitempty" msgpack:"redacted,omitempty" bson:"redacted,omitempty" mapstructure:"redacted,omitempty"`

	// The end position of the detection in the redacted data.
	RedactedEnd int `` /* 126-byte string literal not displayed */

	// The start position of the detection in the redacted data.
	RedactedStart int `` /* 134-byte string literal not displayed */

	// The confidence score of the detection.
	Score float64 `json:"score" msgpack:"score" bson:"score" mapstructure:"score,omitempty"`

	// The start position of the detection in the original data.
	Start int `json:"start" msgpack:"start" bson:"start" mapstructure:"start,omitempty"`

	// The type of detection.
	Type TextualDetectionTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TextualDetection represents the model of a textualdetection

func NewTextualDetection

func NewTextualDetection() *TextualDetection

NewTextualDetection returns a new *TextualDetection

func (*TextualDetection) AttributeSpecifications

func (*TextualDetection) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TextualDetection) BleveType

func (o *TextualDetection) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TextualDetection) DeepCopy

func (o *TextualDetection) DeepCopy() *TextualDetection

DeepCopy returns a deep copy if the TextualDetection.

func (*TextualDetection) DeepCopyInto

func (o *TextualDetection) DeepCopyInto(out *TextualDetection)

DeepCopyInto copies the receiver into the given *TextualDetection.

func (*TextualDetection) GetBSON

func (o *TextualDetection) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TextualDetection) SetBSON

func (o *TextualDetection) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TextualDetection) SpecificationForAttribute

func (*TextualDetection) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TextualDetection) Validate

func (o *TextualDetection) Validate() error

Validate valides the current information stored into the structure.

func (*TextualDetection) ValueForAttribute

func (o *TextualDetection) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

type TextualDetectionTypeValue

type TextualDetectionTypeValue string

TextualDetectionTypeValue represents the possible values for attribute "type".

const (
	// TextualDetectionTypeKeyword represents the value Keyword.
	TextualDetectionTypeKeyword TextualDetectionTypeValue = "Keyword"

	// TextualDetectionTypePII represents the value PII.
	TextualDetectionTypePII TextualDetectionTypeValue = "PII"

	// TextualDetectionTypeSecret represents the value Secret.
	TextualDetectionTypeSecret TextualDetectionTypeValue = "Secret"
)

type UserToken

type UserToken struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The list of claims delivered in the token.
	Claims []string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// the client type of the user token.
	ClientType UserTokenClientTypeValue `json:"clientType" msgpack:"clientType" bson:"clienttype" mapstructure:"clientType,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The email of the user who requested the token.
	Email string `json:"email" msgpack:"email" bson:"email" mapstructure:"email,omitempty"`

	// Tells when the token will expire.
	ExpirationDate time.Time `json:"expirationDate" msgpack:"expirationDate" bson:"expirationdate" mapstructure:"expirationDate,omitempty"`

	// Name of the token is specified while creating the token.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The source IP of the request that initiated the creation of the token.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"sourceip" mapstructure:"sourceIP,omitempty"`

	// The generated token. It won't be stored.
	Token string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// The ID of the associated token.
	TokenID string `json:"tokenID" msgpack:"tokenID" bson:"tokenid" mapstructure:"tokenID,omitempty"`

	// If true, the token will not be stored and will only be revocable if you keep
	// track of the token ID yourself. Also, the validity will be capped and the token
	// won't be long lived.
	Transient bool `json:"transient,omitempty" msgpack:"transient,omitempty" bson:"transient,omitempty" mapstructure:"transient,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Configures the validity of the token.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

UserToken represents the model of a usertoken

func NewUserToken

func NewUserToken() *UserToken

NewUserToken returns a new *UserToken

func (*UserToken) AttributeSpecifications

func (*UserToken) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*UserToken) BleveType

func (o *UserToken) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*UserToken) DeepCopy

func (o *UserToken) DeepCopy() *UserToken

DeepCopy returns a deep copy if the UserToken.

func (*UserToken) DeepCopyInto

func (o *UserToken) DeepCopyInto(out *UserToken)

DeepCopyInto copies the receiver into the given *UserToken.

func (*UserToken) DefaultOrder

func (o *UserToken) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*UserToken) Doc

func (o *UserToken) Doc() string

Doc returns the documentation for the object

func (*UserToken) GetBSON

func (o *UserToken) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UserToken) GetCreateTime

func (o *UserToken) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*UserToken) GetNamespace

func (o *UserToken) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*UserToken) GetUpdateTime

func (o *UserToken) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*UserToken) GetZHash

func (o *UserToken) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*UserToken) GetZone

func (o *UserToken) GetZone() int

GetZone returns the Zone of the receiver.

func (*UserToken) Identifier

func (o *UserToken) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*UserToken) Identity

func (o *UserToken) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*UserToken) Patch

func (o *UserToken) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseUserToken to the object.

func (*UserToken) SetBSON

func (o *UserToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UserToken) SetCreateTime

func (o *UserToken) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*UserToken) SetIdentifier

func (o *UserToken) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*UserToken) SetNamespace

func (o *UserToken) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*UserToken) SetUpdateTime

func (o *UserToken) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*UserToken) SetZHash

func (o *UserToken) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*UserToken) SetZone

func (o *UserToken) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*UserToken) SpecificationForAttribute

func (*UserToken) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*UserToken) String

func (o *UserToken) String() string

func (*UserToken) ToSparse

func (o *UserToken) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*UserToken) Validate

func (o *UserToken) Validate() error

Validate valides the current information stored into the structure.

func (*UserToken) ValueForAttribute

func (o *UserToken) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*UserToken) Version

func (o *UserToken) Version() int

Version returns the hardcoded version of the model.

type UserTokenClientTypeValue

type UserTokenClientTypeValue string

UserTokenClientTypeValue represents the possible values for attribute "clientType".

const (
	// UserTokenClientTypeAcushield represents the value Acushield.
	UserTokenClientTypeAcushield UserTokenClientTypeValue = "Acushield"

	// UserTokenClientTypeNone represents the value None.
	UserTokenClientTypeNone UserTokenClientTypeValue = "None"

	// UserTokenClientTypeWebExtension represents the value WebExtension.
	UserTokenClientTypeWebExtension UserTokenClientTypeValue = "WebExtension"
)

type UserTokensList

type UserTokensList []*UserToken

UserTokensList represents a list of UserTokens

func (UserTokensList) Append

Append appends the objects to the a new copy of the UserTokensList.

func (UserTokensList) Copy

Copy returns a pointer to a copy the UserTokensList.

func (UserTokensList) DefaultOrder

func (o UserTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (UserTokensList) Identity

func (o UserTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (UserTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (UserTokensList) ToSparse

func (o UserTokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the UserTokensList converted to SparseUserTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (UserTokensList) Version

func (o UserTokensList) Version() int

Version returns the version of the content.

type VisitedURL

type VisitedURL struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Domain that has been visited.
	DomainHits []*DomainHits `json:"domainHits" msgpack:"domainHits" bson:"-" mapstructure:"domainHits,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Origin indicates from where the url has been tracked.
	Origin VisitedURLOriginValue `json:"origin" msgpack:"origin" bson:"-" mapstructure:"origin,omitempty"`

	// The principal of the object.
	Principal *Principal `json:"principal" msgpack:"principal" bson:"principal" mapstructure:"principal,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

VisitedURL represents the model of a visitedurl

func NewVisitedURL

func NewVisitedURL() *VisitedURL

NewVisitedURL returns a new *VisitedURL

func (*VisitedURL) AttributeSpecifications

func (*VisitedURL) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*VisitedURL) BleveType

func (o *VisitedURL) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*VisitedURL) DeepCopy

func (o *VisitedURL) DeepCopy() *VisitedURL

DeepCopy returns a deep copy if the VisitedURL.

func (*VisitedURL) DeepCopyInto

func (o *VisitedURL) DeepCopyInto(out *VisitedURL)

DeepCopyInto copies the receiver into the given *VisitedURL.

func (*VisitedURL) DefaultOrder

func (o *VisitedURL) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*VisitedURL) Doc

func (o *VisitedURL) Doc() string

Doc returns the documentation for the object

func (*VisitedURL) GetBSON

func (o *VisitedURL) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*VisitedURL) GetImportHash

func (o *VisitedURL) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*VisitedURL) GetImportLabel

func (o *VisitedURL) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*VisitedURL) GetNamespace

func (o *VisitedURL) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*VisitedURL) Identifier

func (o *VisitedURL) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*VisitedURL) Identity

func (o *VisitedURL) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*VisitedURL) Patch

func (o *VisitedURL) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseVisitedURL to the object.

func (*VisitedURL) SetBSON

func (o *VisitedURL) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*VisitedURL) SetIdentifier

func (o *VisitedURL) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*VisitedURL) SetImportHash

func (o *VisitedURL) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*VisitedURL) SetImportLabel

func (o *VisitedURL) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*VisitedURL) SetNamespace

func (o *VisitedURL) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*VisitedURL) SpecificationForAttribute

func (*VisitedURL) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*VisitedURL) String

func (o *VisitedURL) String() string

func (*VisitedURL) ToSparse

func (o *VisitedURL) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*VisitedURL) Validate

func (o *VisitedURL) Validate() error

Validate valides the current information stored into the structure.

func (*VisitedURL) ValueForAttribute

func (o *VisitedURL) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*VisitedURL) Version

func (o *VisitedURL) Version() int

Version returns the hardcoded version of the model.

type VisitedURLOriginValue

type VisitedURLOriginValue string

VisitedURLOriginValue represents the possible values for attribute "origin".

const (
	// VisitedURLOriginProxy represents the value Proxy.
	VisitedURLOriginProxy VisitedURLOriginValue = "Proxy"

	// VisitedURLOriginWebExtension represents the value WebExtension.
	VisitedURLOriginWebExtension VisitedURLOriginValue = "WebExtension"
)

type VisitedURLsList

type VisitedURLsList []*VisitedURL

VisitedURLsList represents a list of VisitedURLs

func (VisitedURLsList) Append

Append appends the objects to the a new copy of the VisitedURLsList.

func (VisitedURLsList) Copy

Copy returns a pointer to a copy the VisitedURLsList.

func (VisitedURLsList) DefaultOrder

func (o VisitedURLsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (VisitedURLsList) Identity

func (o VisitedURLsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (VisitedURLsList) List

List converts the object to an elemental.IdentifiablesList.

func (VisitedURLsList) ToSparse

func (o VisitedURLsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the VisitedURLsList converted to SparseVisitedURLsList. Objects in the list will only contain the given fields. No field means entire field set.

func (VisitedURLsList) Version

func (o VisitedURLsList) Version() int

Version returns the version of the content.

type WatchedOrg

type WatchedOrg struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The name of the accessible organization.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The name namespace of the org.
	OrgNamespace string `json:"orgNamespace" msgpack:"orgNamespace" bson:"-" mapstructure:"orgNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

WatchedOrg represents the model of a watchedorg

func NewWatchedOrg

func NewWatchedOrg() *WatchedOrg

NewWatchedOrg returns a new *WatchedOrg

func (*WatchedOrg) AttributeSpecifications

func (*WatchedOrg) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*WatchedOrg) BleveType

func (o *WatchedOrg) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*WatchedOrg) DeepCopy

func (o *WatchedOrg) DeepCopy() *WatchedOrg

DeepCopy returns a deep copy if the WatchedOrg.

func (*WatchedOrg) DeepCopyInto

func (o *WatchedOrg) DeepCopyInto(out *WatchedOrg)

DeepCopyInto copies the receiver into the given *WatchedOrg.

func (*WatchedOrg) DefaultOrder

func (o *WatchedOrg) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*WatchedOrg) Doc

func (o *WatchedOrg) Doc() string

Doc returns the documentation for the object

func (*WatchedOrg) GetBSON

func (o *WatchedOrg) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*WatchedOrg) GetNamespace

func (o *WatchedOrg) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*WatchedOrg) Identifier

func (o *WatchedOrg) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*WatchedOrg) Identity

func (o *WatchedOrg) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*WatchedOrg) Patch

func (o *WatchedOrg) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseWatchedOrg to the object.

func (*WatchedOrg) SetBSON

func (o *WatchedOrg) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*WatchedOrg) SetIdentifier

func (o *WatchedOrg) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*WatchedOrg) SetNamespace

func (o *WatchedOrg) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*WatchedOrg) SpecificationForAttribute

func (*WatchedOrg) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*WatchedOrg) String

func (o *WatchedOrg) String() string

func (*WatchedOrg) ToSparse

func (o *WatchedOrg) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*WatchedOrg) Validate

func (o *WatchedOrg) Validate() error

Validate valides the current information stored into the structure.

func (*WatchedOrg) ValueForAttribute

func (o *WatchedOrg) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*WatchedOrg) Version

func (o *WatchedOrg) Version() int

Version returns the hardcoded version of the model.

type WatchedOrgsList

type WatchedOrgsList []*WatchedOrg

WatchedOrgsList represents a list of WatchedOrgs

func (WatchedOrgsList) Append

Append appends the objects to the a new copy of the WatchedOrgsList.

func (WatchedOrgsList) Copy

Copy returns a pointer to a copy the WatchedOrgsList.

func (WatchedOrgsList) DefaultOrder

func (o WatchedOrgsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (WatchedOrgsList) Identity

func (o WatchedOrgsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (WatchedOrgsList) List

List converts the object to an elemental.IdentifiablesList.

func (WatchedOrgsList) ToSparse

func (o WatchedOrgsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the WatchedOrgsList converted to SparseWatchedOrgsList. Objects in the list will only contain the given fields. No field means entire field set.

func (WatchedOrgsList) Version

func (o WatchedOrgsList) Version() int

Version returns the version of the content.

type WebExtensionConfig

type WebExtensionConfig struct {
	// ID is the identifier of the object.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Allow the webextension to set the proxy settings in the employee browser.
	AllowProxySettings bool `json:"allowProxySettings" msgpack:"allowProxySettings" bson:"allowproxysettings" mapstructure:"allowProxySettings,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the webextension configuration.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The hash of the structure used to compare with new import version.
	ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"`

	// The user-defined import label that allows the system to group resources from the
	// same import operation.
	ImportLabel string `` /* 126-byte string literal not displayed */

	// The name of the webextension configuration.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace of the object.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Define the interval in minutes to refresh the configuration browser.
	RefreshWebExtensionConfigInterval int `` /* 184-byte string literal not displayed */

	// Define the interval in minutes between two reports of the visited urls.
	ReportVisitedURLsInterval int `` /* 152-byte string literal not displayed */

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Hash of the object used to shard the data.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Sharding zone.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

WebExtensionConfig represents the model of a webextensionconfig

func NewWebExtensionConfig

func NewWebExtensionConfig() *WebExtensionConfig

NewWebExtensionConfig returns a new *WebExtensionConfig

func (*WebExtensionConfig) AttributeSpecifications

func (*WebExtensionConfig) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*WebExtensionConfig) BleveType

func (o *WebExtensionConfig) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*WebExtensionConfig) DeepCopy

func (o *WebExtensionConfig) DeepCopy() *WebExtensionConfig

DeepCopy returns a deep copy if the WebExtensionConfig.

func (*WebExtensionConfig) DeepCopyInto

func (o *WebExtensionConfig) DeepCopyInto(out *WebExtensionConfig)

DeepCopyInto copies the receiver into the given *WebExtensionConfig.

func (*WebExtensionConfig) DefaultOrder

func (o *WebExtensionConfig) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*WebExtensionConfig) Doc

func (o *WebExtensionConfig) Doc() string

Doc returns the documentation for the object

func (*WebExtensionConfig) GetBSON

func (o *WebExtensionConfig) GetBSON() (any, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*WebExtensionConfig) GetCreateTime

func (o *WebExtensionConfig) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*WebExtensionConfig) GetImportHash

func (o *WebExtensionConfig) GetImportHash() string

GetImportHash returns the ImportHash of the receiver.

func (*WebExtensionConfig) GetImportLabel

func (o *WebExtensionConfig) GetImportLabel() string

GetImportLabel returns the ImportLabel of the receiver.

func (*WebExtensionConfig) GetNamespace

func (o *WebExtensionConfig) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*WebExtensionConfig) GetUpdateTime

func (o *WebExtensionConfig) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*WebExtensionConfig) GetZHash

func (o *WebExtensionConfig) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*WebExtensionConfig) GetZone

func (o *WebExtensionConfig) GetZone() int

GetZone returns the Zone of the receiver.

func (*WebExtensionConfig) Identifier

func (o *WebExtensionConfig) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*WebExtensionConfig) Identity

func (o *WebExtensionConfig) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*WebExtensionConfig) Patch

Patch apply the non nil value of a *SparseWebExtensionConfig to the object.

func (*WebExtensionConfig) SetBSON

func (o *WebExtensionConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*WebExtensionConfig) SetCreateTime

func (o *WebExtensionConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*WebExtensionConfig) SetIdentifier

func (o *WebExtensionConfig) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*WebExtensionConfig) SetImportHash

func (o *WebExtensionConfig) SetImportHash(importHash string)

SetImportHash sets the property ImportHash of the receiver using the given value.

func (*WebExtensionConfig) SetImportLabel

func (o *WebExtensionConfig) SetImportLabel(importLabel string)

SetImportLabel sets the property ImportLabel of the receiver using the given value.

func (*WebExtensionConfig) SetNamespace

func (o *WebExtensionConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*WebExtensionConfig) SetUpdateTime

func (o *WebExtensionConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*WebExtensionConfig) SetZHash

func (o *WebExtensionConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*WebExtensionConfig) SetZone

func (o *WebExtensionConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*WebExtensionConfig) SpecificationForAttribute

func (*WebExtensionConfig) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*WebExtensionConfig) String

func (o *WebExtensionConfig) String() string

func (*WebExtensionConfig) ToSparse

func (o *WebExtensionConfig) ToSparse(fields ...string) elemental.SparseIdentifiable

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*WebExtensionConfig) Validate

func (o *WebExtensionConfig) Validate() error

Validate valides the current information stored into the structure.

func (*WebExtensionConfig) ValueForAttribute

func (o *WebExtensionConfig) ValueForAttribute(name string) any

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*WebExtensionConfig) Version

func (o *WebExtensionConfig) Version() int

Version returns the hardcoded version of the model.

type WebExtensionConfigsList

type WebExtensionConfigsList []*WebExtensionConfig

WebExtensionConfigsList represents a list of WebExtensionConfigs

func (WebExtensionConfigsList) Append

Append appends the objects to the a new copy of the WebExtensionConfigsList.

func (WebExtensionConfigsList) Copy

Copy returns a pointer to a copy the WebExtensionConfigsList.

func (WebExtensionConfigsList) DefaultOrder

func (o WebExtensionConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (WebExtensionConfigsList) Identity

Identity returns the identity of the objects in the list.

func (WebExtensionConfigsList) List

List converts the object to an elemental.IdentifiablesList.

func (WebExtensionConfigsList) ToSparse

func (o WebExtensionConfigsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the WebExtensionConfigsList converted to SparseWebExtensionConfigsList. Objects in the list will only contain the given fields. No field means entire field set.

func (WebExtensionConfigsList) Version

func (o WebExtensionConfigsList) Version() int

Version returns the version of the content.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL