models

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityObject

type ActivityObject struct {

	// at context
	AtContext string `json:"@context,omitempty"`

	// Place Properties
	Accuracy float32 `json:"accuracy,omitempty"`

	// Activity Properties
	Actor *ActivityObject `json:"actor,omitempty"`

	// altitude
	Altitude float32 `json:"altitude,omitempty"`

	// any of
	AnyOf *ActivityObject `json:"anyOf,omitempty"`

	// attachment
	Attachment *ActivityObject `json:"attachment,omitempty"`

	// attributed to
	AttributedTo *ActivityObject `json:"attributedTo,omitempty"`

	// audience
	Audience *ActivityObject `json:"audience,omitempty"`

	// bcc
	Bcc *ActivityObject `json:"bcc,omitempty"`

	// bto
	Bto *ActivityObject `json:"bto,omitempty"`

	// cc
	Cc *ActivityObject `json:"cc,omitempty"`

	// closed
	// Format: date-time
	Closed strfmt.DateTime `json:"closed,omitempty"`

	// content
	Content *ActivityObject `json:"content,omitempty"`

	// context
	Context *ActivityObject `json:"context,omitempty"`

	// current
	Current *ActivityObject `json:"current,omitempty"`

	// deleted
	// Format: date-time
	Deleted strfmt.DateTime `json:"deleted,omitempty"`

	// duration
	// Format: date-time
	Duration strfmt.DateTime `json:"duration,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// first
	First *ActivityObject `json:"first,omitempty"`

	// Tombstone Properties
	FormerType *ActivityObjectType `json:"formerType,omitempty"`

	// generator
	Generator *ActivityObject `json:"generator,omitempty"`

	// height
	Height int32 `json:"height,omitempty"`

	// Link Properties
	Href string `json:"href,omitempty"`

	// hreflang
	Hreflang string `json:"hreflang,omitempty"`

	// icon
	Icon *ActivityObject `json:"icon,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// image
	Image *ActivityObject `json:"image,omitempty"`

	// in reply to
	InReplyTo *ActivityObject `json:"inReplyTo,omitempty"`

	// instrument
	Instrument *ActivityObject `json:"instrument,omitempty"`

	// Collection Properties
	Items []*ActivityObject `json:"items"`

	// last
	Last *ActivityObject `json:"last,omitempty"`

	// latitude
	Latitude float32 `json:"latitude,omitempty"`

	// location
	Location *ActivityObject `json:"location,omitempty"`

	// longitude
	Longitude float32 `json:"longitude,omitempty"`

	// markdown
	Markdown string `json:"markdown,omitempty"`

	// media type
	MediaType string `json:"mediaType,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// next
	Next *ActivityObject `json:"next,omitempty"`

	// object
	Object *ActivityObject `json:"object,omitempty"`

	// Question Properties
	OneOf *ActivityObject `json:"oneOf,omitempty"`

	// origin
	Origin *ActivityObject `json:"origin,omitempty"`

	// part of
	PartOf *ActivityObject `json:"partOf,omitempty"`

	// prev
	Prev *ActivityObject `json:"prev,omitempty"`

	// preview
	Preview *ActivityObject `json:"preview,omitempty"`

	// published
	// Format: date-time
	Published strfmt.DateTime `json:"published,omitempty"`

	// radius
	Radius float32 `json:"radius,omitempty"`

	// rel
	Rel string `json:"rel,omitempty"`

	// relationship
	Relationship *ActivityObject `json:"relationship,omitempty"`

	// replies
	Replies *ActivityObject `json:"replies,omitempty"`

	// result
	Result *ActivityObject `json:"result,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// Relationship Properties
	Subject *ActivityObject `json:"subject,omitempty"`

	// summary
	Summary string `json:"summary,omitempty"`

	// tag
	Tag *ActivityObject `json:"tag,omitempty"`

	// target
	Target *ActivityObject `json:"target,omitempty"`

	// to
	To *ActivityObject `json:"to,omitempty"`

	// total items
	TotalItems int32 `json:"totalItems,omitempty"`

	// type
	Type *ActivityObjectType `json:"type,omitempty"`

	// units
	Units string `json:"units,omitempty"`

	// updated
	// Format: date-time
	Updated strfmt.DateTime `json:"updated,omitempty"`

	// url
	URL *ActivityObject `json:"url,omitempty"`

	// width
	Width int32 `json:"width,omitempty"`
}

ActivityObject activity object

swagger:model activityObject

func (*ActivityObject) ContextValidate

func (m *ActivityObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity object based on the context it is used

func (*ActivityObject) MarshalBinary

func (m *ActivityObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivityObject) UnmarshalBinary

func (m *ActivityObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivityObject) Validate

func (m *ActivityObject) Validate(formats strfmt.Registry) error

Validate validates this activity object

type ActivityObjectType

type ActivityObjectType string

ActivityObjectType - Collection: CollectionTypes

  • Application: Actor Types
  • Article: Objects Types
  • Accept: Activity Types
  • Workspace: Pydio Types

swagger:model activityObjectType

const (

	// ActivityObjectTypeBaseObject captures enum value "BaseObject"
	ActivityObjectTypeBaseObject ActivityObjectType = "BaseObject"

	// ActivityObjectTypeActivity captures enum value "Activity"
	ActivityObjectTypeActivity ActivityObjectType = "Activity"

	// ActivityObjectTypeLink captures enum value "Link"
	ActivityObjectTypeLink ActivityObjectType = "Link"

	// ActivityObjectTypeMention captures enum value "Mention"
	ActivityObjectTypeMention ActivityObjectType = "Mention"

	// ActivityObjectTypeCollection captures enum value "Collection"
	ActivityObjectTypeCollection ActivityObjectType = "Collection"

	// ActivityObjectTypeOrderedCollection captures enum value "OrderedCollection"
	ActivityObjectTypeOrderedCollection ActivityObjectType = "OrderedCollection"

	// ActivityObjectTypeCollectionPage captures enum value "CollectionPage"
	ActivityObjectTypeCollectionPage ActivityObjectType = "CollectionPage"

	// ActivityObjectTypeOrderedCollectionPage captures enum value "OrderedCollectionPage"
	ActivityObjectTypeOrderedCollectionPage ActivityObjectType = "OrderedCollectionPage"

	// ActivityObjectTypeApplication captures enum value "Application"
	ActivityObjectTypeApplication ActivityObjectType = "Application"

	// ActivityObjectTypeGroup captures enum value "Group"
	ActivityObjectTypeGroup ActivityObjectType = "Group"

	// ActivityObjectTypeOrganization captures enum value "Organization"
	ActivityObjectTypeOrganization ActivityObjectType = "Organization"

	// ActivityObjectTypePerson captures enum value "Person"
	ActivityObjectTypePerson ActivityObjectType = "Person"

	// ActivityObjectTypeService captures enum value "Service"
	ActivityObjectTypeService ActivityObjectType = "Service"

	// ActivityObjectTypeArticle captures enum value "Article"
	ActivityObjectTypeArticle ActivityObjectType = "Article"

	// ActivityObjectTypeAudio captures enum value "Audio"
	ActivityObjectTypeAudio ActivityObjectType = "Audio"

	// ActivityObjectTypeDocument captures enum value "Document"
	ActivityObjectTypeDocument ActivityObjectType = "Document"

	// ActivityObjectTypeEvent captures enum value "Event"
	ActivityObjectTypeEvent ActivityObjectType = "Event"

	// ActivityObjectTypeImage captures enum value "Image"
	ActivityObjectTypeImage ActivityObjectType = "Image"

	// ActivityObjectTypeNote captures enum value "Note"
	ActivityObjectTypeNote ActivityObjectType = "Note"

	// ActivityObjectTypePage captures enum value "Page"
	ActivityObjectTypePage ActivityObjectType = "Page"

	// ActivityObjectTypePlace captures enum value "Place"
	ActivityObjectTypePlace ActivityObjectType = "Place"

	// ActivityObjectTypeProfile captures enum value "Profile"
	ActivityObjectTypeProfile ActivityObjectType = "Profile"

	// ActivityObjectTypeRelationship captures enum value "Relationship"
	ActivityObjectTypeRelationship ActivityObjectType = "Relationship"

	// ActivityObjectTypeTombstone captures enum value "Tombstone"
	ActivityObjectTypeTombstone ActivityObjectType = "Tombstone"

	// ActivityObjectTypeVideo captures enum value "Video"
	ActivityObjectTypeVideo ActivityObjectType = "Video"

	// ActivityObjectTypeAccept captures enum value "Accept"
	ActivityObjectTypeAccept ActivityObjectType = "Accept"

	// ActivityObjectTypeAdd captures enum value "Add"
	ActivityObjectTypeAdd ActivityObjectType = "Add"

	// ActivityObjectTypeAnnounce captures enum value "Announce"
	ActivityObjectTypeAnnounce ActivityObjectType = "Announce"

	// ActivityObjectTypeArrive captures enum value "Arrive"
	ActivityObjectTypeArrive ActivityObjectType = "Arrive"

	// ActivityObjectTypeBlock captures enum value "Block"
	ActivityObjectTypeBlock ActivityObjectType = "Block"

	// ActivityObjectTypeCreate captures enum value "Create"
	ActivityObjectTypeCreate ActivityObjectType = "Create"

	// ActivityObjectTypeDelete captures enum value "Delete"
	ActivityObjectTypeDelete ActivityObjectType = "Delete"

	// ActivityObjectTypeDislike captures enum value "Dislike"
	ActivityObjectTypeDislike ActivityObjectType = "Dislike"

	// ActivityObjectTypeFlag captures enum value "Flag"
	ActivityObjectTypeFlag ActivityObjectType = "Flag"

	// ActivityObjectTypeFollow captures enum value "Follow"
	ActivityObjectTypeFollow ActivityObjectType = "Follow"

	// ActivityObjectTypeIgnore captures enum value "Ignore"
	ActivityObjectTypeIgnore ActivityObjectType = "Ignore"

	// ActivityObjectTypeInvite captures enum value "Invite"
	ActivityObjectTypeInvite ActivityObjectType = "Invite"

	// ActivityObjectTypeJoin captures enum value "Join"
	ActivityObjectTypeJoin ActivityObjectType = "Join"

	// ActivityObjectTypeLeave captures enum value "Leave"
	ActivityObjectTypeLeave ActivityObjectType = "Leave"

	// ActivityObjectTypeLike captures enum value "Like"
	ActivityObjectTypeLike ActivityObjectType = "Like"

	// ActivityObjectTypeListen captures enum value "Listen"
	ActivityObjectTypeListen ActivityObjectType = "Listen"

	// ActivityObjectTypeMove captures enum value "Move"
	ActivityObjectTypeMove ActivityObjectType = "Move"

	// ActivityObjectTypeOffer captures enum value "Offer"
	ActivityObjectTypeOffer ActivityObjectType = "Offer"

	// ActivityObjectTypeQuestion captures enum value "Question"
	ActivityObjectTypeQuestion ActivityObjectType = "Question"

	// ActivityObjectTypeReject captures enum value "Reject"
	ActivityObjectTypeReject ActivityObjectType = "Reject"

	// ActivityObjectTypeRead captures enum value "Read"
	ActivityObjectTypeRead ActivityObjectType = "Read"

	// ActivityObjectTypeRemove captures enum value "Remove"
	ActivityObjectTypeRemove ActivityObjectType = "Remove"

	// ActivityObjectTypeTentativeReject captures enum value "TentativeReject"
	ActivityObjectTypeTentativeReject ActivityObjectType = "TentativeReject"

	// ActivityObjectTypeTentativeAccept captures enum value "TentativeAccept"
	ActivityObjectTypeTentativeAccept ActivityObjectType = "TentativeAccept"

	// ActivityObjectTypeTravel captures enum value "Travel"
	ActivityObjectTypeTravel ActivityObjectType = "Travel"

	// ActivityObjectTypeUndo captures enum value "Undo"
	ActivityObjectTypeUndo ActivityObjectType = "Undo"

	// ActivityObjectTypeUpdate captures enum value "Update"
	ActivityObjectTypeUpdate ActivityObjectType = "Update"

	// ActivityObjectTypeUpdateComment captures enum value "UpdateComment"
	ActivityObjectTypeUpdateComment ActivityObjectType = "UpdateComment"

	// ActivityObjectTypeUpdateMeta captures enum value "UpdateMeta"
	ActivityObjectTypeUpdateMeta ActivityObjectType = "UpdateMeta"

	// ActivityObjectTypeView captures enum value "View"
	ActivityObjectTypeView ActivityObjectType = "View"

	// ActivityObjectTypeWorkspace captures enum value "Workspace"
	ActivityObjectTypeWorkspace ActivityObjectType = "Workspace"

	// ActivityObjectTypeDigest captures enum value "Digest"
	ActivityObjectTypeDigest ActivityObjectType = "Digest"

	// ActivityObjectTypeFolder captures enum value "Folder"
	ActivityObjectTypeFolder ActivityObjectType = "Folder"

	// ActivityObjectTypeCell captures enum value "Cell"
	ActivityObjectTypeCell ActivityObjectType = "Cell"

	// ActivityObjectTypeShare captures enum value "Share"
	ActivityObjectTypeShare ActivityObjectType = "Share"
)

func NewActivityObjectType

func NewActivityObjectType(value ActivityObjectType) *ActivityObjectType

func (ActivityObjectType) ContextValidate

func (m ActivityObjectType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activity object type based on context it is used

func (ActivityObjectType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ActivityObjectType.

func (ActivityObjectType) Validate

func (m ActivityObjectType) Validate(formats strfmt.Registry) error

Validate validates this activity object type

type AuthLdapMapping

type AuthLdapMapping struct {

	// left attribute
	LeftAttribute string `json:"LeftAttribute,omitempty"`

	// right attribute
	RightAttribute string `json:"RightAttribute,omitempty"`

	// role prefix
	RolePrefix string `json:"RolePrefix,omitempty"`

	// rule string
	RuleString string `json:"RuleString,omitempty"`
}

AuthLdapMapping auth ldap mapping

swagger:model authLdapMapping

func (*AuthLdapMapping) ContextValidate

func (m *AuthLdapMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth ldap mapping based on context it is used

func (*AuthLdapMapping) MarshalBinary

func (m *AuthLdapMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthLdapMapping) UnmarshalBinary

func (m *AuthLdapMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthLdapMapping) Validate

func (m *AuthLdapMapping) Validate(formats strfmt.Registry) error

Validate validates this auth ldap mapping

type AuthLdapMemberOfMapping

type AuthLdapMemberOfMapping struct {

	// group filter
	GroupFilter *AuthLdapSearchFilter `json:"GroupFilter,omitempty"`

	// mapping
	Mapping *AuthLdapMapping `json:"Mapping,omitempty"`

	// pydio member of attribute
	PydioMemberOfAttribute string `json:"PydioMemberOfAttribute,omitempty"`

	// pydio member of value format
	PydioMemberOfValueFormat string `json:"PydioMemberOfValueFormat,omitempty"`

	// real member of
	RealMemberOf bool `json:"RealMemberOf,omitempty"`

	// real member of attribute
	RealMemberOfAttribute string `json:"RealMemberOfAttribute,omitempty"`

	// real member of value format
	RealMemberOfValueFormat string `json:"RealMemberOfValueFormat,omitempty"`

	// support nested group
	SupportNestedGroup bool `json:"SupportNestedGroup,omitempty"`
}

AuthLdapMemberOfMapping auth ldap member of mapping

swagger:model authLdapMemberOfMapping

func (*AuthLdapMemberOfMapping) ContextValidate

func (m *AuthLdapMemberOfMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth ldap member of mapping based on the context it is used

func (*AuthLdapMemberOfMapping) MarshalBinary

func (m *AuthLdapMemberOfMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthLdapMemberOfMapping) UnmarshalBinary

func (m *AuthLdapMemberOfMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthLdapMemberOfMapping) Validate

func (m *AuthLdapMemberOfMapping) Validate(formats strfmt.Registry) error

Validate validates this auth ldap member of mapping

type AuthLdapSearchFilter

type AuthLdapSearchFilter struct {

	// d ns
	DNs []string `json:"DNs"`

	// display attribute
	DisplayAttribute string `json:"DisplayAttribute,omitempty"`

	// filter
	Filter string `json:"Filter,omitempty"`

	// ID attribute
	IDAttribute string `json:"IDAttribute,omitempty"`

	// scope
	Scope string `json:"Scope,omitempty"`
}

AuthLdapSearchFilter auth ldap search filter

swagger:model authLdapSearchFilter

func (*AuthLdapSearchFilter) ContextValidate

func (m *AuthLdapSearchFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth ldap search filter based on context it is used

func (*AuthLdapSearchFilter) MarshalBinary

func (m *AuthLdapSearchFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthLdapSearchFilter) UnmarshalBinary

func (m *AuthLdapSearchFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthLdapSearchFilter) Validate

func (m *AuthLdapSearchFilter) Validate(formats strfmt.Registry) error

Validate validates this auth ldap search filter

type AuthLdapServerConfig

type AuthLdapServerConfig struct {

	// bind anonymous
	BindAnonymous bool `json:"BindAnonymous,omitempty"`

	// bind d n
	BindDN string `json:"BindDN,omitempty"`

	// bind p w
	BindPW string `json:"BindPW,omitempty"`

	// config Id
	ConfigID string `json:"ConfigId,omitempty"`

	// connection
	Connection string `json:"Connection,omitempty"`

	// domain name
	DomainName string `json:"DomainName,omitempty"`

	// host
	Host string `json:"Host,omitempty"`

	// mapping rules
	MappingRules []*AuthLdapMapping `json:"MappingRules"`

	// member of mapping
	MemberOfMapping *AuthLdapMemberOfMapping `json:"MemberOfMapping,omitempty"`

	// page size
	PageSize int32 `json:"PageSize,omitempty"`

	// role prefix
	RolePrefix string `json:"RolePrefix,omitempty"`

	// root c a
	RootCA string `json:"RootCA,omitempty"`

	// To be converted to []byte
	RootCAData string `json:"RootCAData,omitempty"`

	// schedule
	Schedule string `json:"Schedule,omitempty"`

	// scheduler details
	SchedulerDetails string `json:"SchedulerDetails,omitempty"`

	// skip verify certificate
	SkipVerifyCertificate bool `json:"SkipVerifyCertificate,omitempty"`

	// sync only
	SyncOnly bool `json:"SyncOnly,omitempty"`

	// user
	User *AuthLdapSearchFilter `json:"User,omitempty"`
}

AuthLdapServerConfig auth ldap server config

swagger:model authLdapServerConfig

func (*AuthLdapServerConfig) ContextValidate

func (m *AuthLdapServerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth ldap server config based on the context it is used

func (*AuthLdapServerConfig) MarshalBinary

func (m *AuthLdapServerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthLdapServerConfig) UnmarshalBinary

func (m *AuthLdapServerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthLdapServerConfig) Validate

func (m *AuthLdapServerConfig) Validate(formats strfmt.Registry) error

Validate validates this auth ldap server config

type AuthOAuth2ClientConfig

type AuthOAuth2ClientConfig struct {

	// audience
	Audience []string `json:"audience"`

	// client id
	ClientID string `json:"client_id,omitempty"`

	// client name
	ClientName string `json:"client_name,omitempty"`

	// client secret
	ClientSecret string `json:"client_secret,omitempty"`

	// grant types
	GrantTypes []string `json:"grant_types"`

	// redirect uris
	RedirectUris []string `json:"redirect_uris"`

	// response types
	ResponseTypes []string `json:"response_types"`

	// scope
	Scope string `json:"scope,omitempty"`
}

AuthOAuth2ClientConfig auth o auth2 client config

swagger:model authOAuth2ClientConfig

func (*AuthOAuth2ClientConfig) ContextValidate

func (m *AuthOAuth2ClientConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 client config based on context it is used

func (*AuthOAuth2ClientConfig) MarshalBinary

func (m *AuthOAuth2ClientConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ClientConfig) UnmarshalBinary

func (m *AuthOAuth2ClientConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ClientConfig) Validate

func (m *AuthOAuth2ClientConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 client config

type AuthOAuth2ConnectorBitbucketConfig

type AuthOAuth2ConnectorBitbucketConfig struct {

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// teams
	Teams []string `json:"teams"`
}

AuthOAuth2ConnectorBitbucketConfig auth o auth2 connector bitbucket config

swagger:model authOAuth2ConnectorBitbucketConfig

func (*AuthOAuth2ConnectorBitbucketConfig) ContextValidate

func (m *AuthOAuth2ConnectorBitbucketConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector bitbucket config based on context it is used

func (*AuthOAuth2ConnectorBitbucketConfig) MarshalBinary

func (m *AuthOAuth2ConnectorBitbucketConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorBitbucketConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorBitbucketConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorBitbucketConfig) Validate

Validate validates this auth o auth2 connector bitbucket config

type AuthOAuth2ConnectorCollection

type AuthOAuth2ConnectorCollection struct {

	// connectors
	Connectors []*AuthOAuth2ConnectorConfig `json:"connectors"`
}

AuthOAuth2ConnectorCollection auth o auth2 connector collection

swagger:model authOAuth2ConnectorCollection

func (*AuthOAuth2ConnectorCollection) ContextValidate

func (m *AuthOAuth2ConnectorCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth o auth2 connector collection based on the context it is used

func (*AuthOAuth2ConnectorCollection) MarshalBinary

func (m *AuthOAuth2ConnectorCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorCollection) UnmarshalBinary

func (m *AuthOAuth2ConnectorCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorCollection) Validate

func (m *AuthOAuth2ConnectorCollection) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector collection

type AuthOAuth2ConnectorConfig

type AuthOAuth2ConnectorConfig struct {

	// configbitbucket
	Configbitbucket *AuthOAuth2ConnectorBitbucketConfig `json:"configbitbucket,omitempty"`

	// configgithub
	Configgithub *AuthOAuth2ConnectorGithubConfig `json:"configgithub,omitempty"`

	// configgitlab
	Configgitlab *AuthOAuth2ConnectorGitlabConfig `json:"configgitlab,omitempty"`

	// configldap
	Configldap *AuthLdapServerConfig `json:"configldap,omitempty"`

	// configlinkedin
	Configlinkedin *AuthOAuth2ConnectorLinkedinConfig `json:"configlinkedin,omitempty"`

	// configmicrosoft
	Configmicrosoft *AuthOAuth2ConnectorMicrosoftConfig `json:"configmicrosoft,omitempty"`

	// configmock
	Configmock *AuthOAuth2ConnectorMockConfig `json:"configmock,omitempty"`

	// configoauth
	Configoauth *AuthOAuth2ConnectorOAuthConfig `json:"configoauth,omitempty"`

	// configoidc
	Configoidc *AuthOAuth2ConnectorOIDCConfig `json:"configoidc,omitempty"`

	// configpydio
	Configpydio *AuthOAuth2ConnectorPydioConfig `json:"configpydio,omitempty"`

	// configsaml
	Configsaml *AuthOAuth2ConnectorSAMLConfig `json:"configsaml,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// mapping rules
	MappingRules []*AuthOAuth2MappingRule `json:"mappingRules"`

	// name
	Name string `json:"name,omitempty"`

	// sites
	Sites []string `json:"sites"`

	// type
	Type string `json:"type,omitempty"`
}

AuthOAuth2ConnectorConfig auth o auth2 connector config

swagger:model authOAuth2ConnectorConfig

func (*AuthOAuth2ConnectorConfig) ContextValidate

func (m *AuthOAuth2ConnectorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth o auth2 connector config based on the context it is used

func (*AuthOAuth2ConnectorConfig) MarshalBinary

func (m *AuthOAuth2ConnectorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorConfig) Validate

func (m *AuthOAuth2ConnectorConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector config

type AuthOAuth2ConnectorGithubConfig

type AuthOAuth2ConnectorGithubConfig struct {

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// For GitHub enterprise
	HostName string `json:"hostName,omitempty"`

	// load all groups
	LoadAllGroups bool `json:"loadAllGroups,omitempty"`

	// orgs
	Orgs []*AuthOAuth2ConnectorGithubConfigOrg `json:"orgs"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// root c a
	RootCA string `json:"rootCA,omitempty"`

	// team name field
	TeamNameField string `json:"teamNameField,omitempty"`

	// use login as ID
	UseLoginAsID bool `json:"useLoginAsID,omitempty"`
}

AuthOAuth2ConnectorGithubConfig auth o auth2 connector github config

swagger:model authOAuth2ConnectorGithubConfig

func (*AuthOAuth2ConnectorGithubConfig) ContextValidate

func (m *AuthOAuth2ConnectorGithubConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth o auth2 connector github config based on the context it is used

func (*AuthOAuth2ConnectorGithubConfig) MarshalBinary

func (m *AuthOAuth2ConnectorGithubConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorGithubConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorGithubConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorGithubConfig) Validate

Validate validates this auth o auth2 connector github config

type AuthOAuth2ConnectorGithubConfigOrg

type AuthOAuth2ConnectorGithubConfigOrg struct {

	// name
	Name string `json:"name,omitempty"`

	// teams
	Teams []string `json:"teams"`
}

AuthOAuth2ConnectorGithubConfigOrg auth o auth2 connector github config org

swagger:model authOAuth2ConnectorGithubConfigOrg

func (*AuthOAuth2ConnectorGithubConfigOrg) ContextValidate

func (m *AuthOAuth2ConnectorGithubConfigOrg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector github config org based on context it is used

func (*AuthOAuth2ConnectorGithubConfigOrg) MarshalBinary

func (m *AuthOAuth2ConnectorGithubConfigOrg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorGithubConfigOrg) UnmarshalBinary

func (m *AuthOAuth2ConnectorGithubConfigOrg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorGithubConfigOrg) Validate

Validate validates this auth o auth2 connector github config org

type AuthOAuth2ConnectorGitlabConfig

type AuthOAuth2ConnectorGitlabConfig struct {

	// base URL
	BaseURL string `json:"baseURL,omitempty"`

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// groups
	Groups []string `json:"groups"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// user login as ID
	UserLoginAsID bool `json:"userLoginAsID,omitempty"`
}

AuthOAuth2ConnectorGitlabConfig auth o auth2 connector gitlab config

swagger:model authOAuth2ConnectorGitlabConfig

func (*AuthOAuth2ConnectorGitlabConfig) ContextValidate

func (m *AuthOAuth2ConnectorGitlabConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector gitlab config based on context it is used

func (*AuthOAuth2ConnectorGitlabConfig) MarshalBinary

func (m *AuthOAuth2ConnectorGitlabConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorGitlabConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorGitlabConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorGitlabConfig) Validate

Validate validates this auth o auth2 connector gitlab config

type AuthOAuth2ConnectorLinkedinConfig

type AuthOAuth2ConnectorLinkedinConfig struct {

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`
}

AuthOAuth2ConnectorLinkedinConfig auth o auth2 connector linkedin config

swagger:model authOAuth2ConnectorLinkedinConfig

func (*AuthOAuth2ConnectorLinkedinConfig) ContextValidate

func (m *AuthOAuth2ConnectorLinkedinConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector linkedin config based on context it is used

func (*AuthOAuth2ConnectorLinkedinConfig) MarshalBinary

func (m *AuthOAuth2ConnectorLinkedinConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorLinkedinConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorLinkedinConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorLinkedinConfig) Validate

Validate validates this auth o auth2 connector linkedin config

type AuthOAuth2ConnectorMicrosoftConfig

type AuthOAuth2ConnectorMicrosoftConfig struct {

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// group name format
	GroupNameFormat string `json:"groupNameFormat,omitempty"`

	// groups
	Groups []string `json:"groups"`

	// only security groups
	OnlySecurityGroups bool `json:"onlySecurityGroups,omitempty"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// tenant
	Tenant string `json:"tenant,omitempty"`

	// use groups as whitelist
	UseGroupsAsWhitelist bool `json:"useGroupsAsWhitelist,omitempty"`
}

AuthOAuth2ConnectorMicrosoftConfig auth o auth2 connector microsoft config

swagger:model authOAuth2ConnectorMicrosoftConfig

func (*AuthOAuth2ConnectorMicrosoftConfig) ContextValidate

func (m *AuthOAuth2ConnectorMicrosoftConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector microsoft config based on context it is used

func (*AuthOAuth2ConnectorMicrosoftConfig) MarshalBinary

func (m *AuthOAuth2ConnectorMicrosoftConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorMicrosoftConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorMicrosoftConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorMicrosoftConfig) Validate

Validate validates this auth o auth2 connector microsoft config

type AuthOAuth2ConnectorMockConfig added in v1.4.4

type AuthOAuth2ConnectorMockConfig struct {

	// json identity
	JSONIdentity string `json:"jsonIdentity,omitempty"`
}

AuthOAuth2ConnectorMockConfig auth o auth2 connector mock config

swagger:model authOAuth2ConnectorMockConfig

func (*AuthOAuth2ConnectorMockConfig) ContextValidate added in v1.4.4

func (m *AuthOAuth2ConnectorMockConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector mock config based on context it is used

func (*AuthOAuth2ConnectorMockConfig) MarshalBinary added in v1.4.4

func (m *AuthOAuth2ConnectorMockConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorMockConfig) UnmarshalBinary added in v1.4.4

func (m *AuthOAuth2ConnectorMockConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorMockConfig) Validate added in v1.4.4

func (m *AuthOAuth2ConnectorMockConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector mock config

type AuthOAuth2ConnectorOAuthConfig

type AuthOAuth2ConnectorOAuthConfig struct {

	// authorize URL
	AuthorizeURL string `json:"authorizeURL,omitempty"`

	// base URL
	BaseURL string `json:"baseURL,omitempty"`

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// groups
	Groups []string `json:"groups"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// token URL
	TokenURL string `json:"tokenURL,omitempty"`

	// use broken auth header provider
	UseBrokenAuthHeaderProvider bool `json:"useBrokenAuthHeaderProvider,omitempty"`

	// use login as ID
	UseLoginAsID bool `json:"useLoginAsID,omitempty"`

	// user info URL
	UserInfoURL string `json:"userInfoURL,omitempty"`
}

AuthOAuth2ConnectorOAuthConfig auth o auth2 connector o auth config

swagger:model authOAuth2ConnectorOAuthConfig

func (*AuthOAuth2ConnectorOAuthConfig) ContextValidate

func (m *AuthOAuth2ConnectorOAuthConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector o auth config based on context it is used

func (*AuthOAuth2ConnectorOAuthConfig) MarshalBinary

func (m *AuthOAuth2ConnectorOAuthConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorOAuthConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorOAuthConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorOAuthConfig) Validate

func (m *AuthOAuth2ConnectorOAuthConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector o auth config

type AuthOAuth2ConnectorOIDCConfig

type AuthOAuth2ConnectorOIDCConfig struct {

	// basic auth unsupported
	BasicAuthUnsupported bool `json:"basicAuthUnsupported,omitempty"`

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// get user info
	GetUserInfo bool `json:"getUserInfo,omitempty"`

	// hosted domains
	HostedDomains []string `json:"hostedDomains"`

	// insecure skip email verified
	InsecureSkipEmailVerified bool `json:"insecureSkipEmailVerified,omitempty"`

	// issuer
	Issuer string `json:"issuer,omitempty"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// scopes
	Scopes []string `json:"scopes"`

	// user ID key
	UserIDKey string `json:"userIDKey,omitempty"`

	// user name key
	UserNameKey string `json:"userNameKey,omitempty"`
}

AuthOAuth2ConnectorOIDCConfig auth o auth2 connector o ID c config

swagger:model authOAuth2ConnectorOIDCConfig

func (*AuthOAuth2ConnectorOIDCConfig) ContextValidate

func (m *AuthOAuth2ConnectorOIDCConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector o ID c config based on context it is used

func (*AuthOAuth2ConnectorOIDCConfig) MarshalBinary

func (m *AuthOAuth2ConnectorOIDCConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorOIDCConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorOIDCConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorOIDCConfig) Validate

func (m *AuthOAuth2ConnectorOIDCConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector o ID c config

type AuthOAuth2ConnectorPydioConfig

type AuthOAuth2ConnectorPydioConfig struct {

	// pydioconnectors
	Pydioconnectors []*AuthOAuth2ConnectorPydioConfigConnector `json:"pydioconnectors"`
}

AuthOAuth2ConnectorPydioConfig auth o auth2 connector pydio config

swagger:model authOAuth2ConnectorPydioConfig

func (*AuthOAuth2ConnectorPydioConfig) ContextValidate

func (m *AuthOAuth2ConnectorPydioConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth o auth2 connector pydio config based on the context it is used

func (*AuthOAuth2ConnectorPydioConfig) MarshalBinary

func (m *AuthOAuth2ConnectorPydioConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorPydioConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorPydioConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorPydioConfig) Validate

func (m *AuthOAuth2ConnectorPydioConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector pydio config

type AuthOAuth2ConnectorPydioConfigConnector

type AuthOAuth2ConnectorPydioConfigConnector struct {

	// id
	ID int32 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

AuthOAuth2ConnectorPydioConfigConnector auth o auth2 connector pydio config connector

swagger:model authOAuth2ConnectorPydioConfigConnector

func (*AuthOAuth2ConnectorPydioConfigConnector) ContextValidate

ContextValidate validates this auth o auth2 connector pydio config connector based on context it is used

func (*AuthOAuth2ConnectorPydioConfigConnector) MarshalBinary

func (m *AuthOAuth2ConnectorPydioConfigConnector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorPydioConfigConnector) UnmarshalBinary

func (m *AuthOAuth2ConnectorPydioConfigConnector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorPydioConfigConnector) Validate

Validate validates this auth o auth2 connector pydio config connector

type AuthOAuth2ConnectorSAMLConfig

type AuthOAuth2ConnectorSAMLConfig struct {

	// ca
	Ca string `json:"ca,omitempty"`

	// ca data
	CaData string `json:"caData,omitempty"`

	// email attr
	EmailAttr string `json:"emailAttr,omitempty"`

	// entity issuer
	EntityIssuer string `json:"entityIssuer,omitempty"`

	// groups attr
	GroupsAttr string `json:"groupsAttr,omitempty"`

	// groups delim
	GroupsDelim string `json:"groupsDelim,omitempty"`

	// insecure skip signature validation
	InsecureSkipSignatureValidation bool `json:"insecureSkipSignatureValidation,omitempty"`

	// name ID policy format
	NameIDPolicyFormat string `json:"nameIDPolicyFormat,omitempty"`

	// redirect URI
	RedirectURI string `json:"redirectURI,omitempty"`

	// sso issuer
	SsoIssuer string `json:"ssoIssuer,omitempty"`

	// sso URL
	SsoURL string `json:"ssoURL,omitempty"`

	// username attr
	UsernameAttr string `json:"usernameAttr,omitempty"`
}

AuthOAuth2ConnectorSAMLConfig auth o auth2 connector s a m l config

swagger:model authOAuth2ConnectorSAMLConfig

func (*AuthOAuth2ConnectorSAMLConfig) ContextValidate

func (m *AuthOAuth2ConnectorSAMLConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 connector s a m l config based on context it is used

func (*AuthOAuth2ConnectorSAMLConfig) MarshalBinary

func (m *AuthOAuth2ConnectorSAMLConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2ConnectorSAMLConfig) UnmarshalBinary

func (m *AuthOAuth2ConnectorSAMLConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2ConnectorSAMLConfig) Validate

func (m *AuthOAuth2ConnectorSAMLConfig) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 connector s a m l config

type AuthOAuth2MappingRule

type AuthOAuth2MappingRule struct {

	// left attribute
	LeftAttribute string `json:"LeftAttribute,omitempty"`

	// left split
	LeftSplit string `json:"LeftSplit,omitempty"`

	// no update
	NoUpdate bool `json:"NoUpdate,omitempty"`

	// right attribute
	RightAttribute string `json:"RightAttribute,omitempty"`

	// right value template
	RightValueTemplate string `json:"RightValueTemplate,omitempty"`

	// rule string
	RuleString string `json:"RuleString,omitempty"`
}

AuthOAuth2MappingRule auth o auth2 mapping rule

swagger:model authOAuth2MappingRule

func (*AuthOAuth2MappingRule) ContextValidate

func (m *AuthOAuth2MappingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth o auth2 mapping rule based on context it is used

func (*AuthOAuth2MappingRule) MarshalBinary

func (m *AuthOAuth2MappingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOAuth2MappingRule) UnmarshalBinary

func (m *AuthOAuth2MappingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOAuth2MappingRule) Validate

func (m *AuthOAuth2MappingRule) Validate(formats strfmt.Registry) error

Validate validates this auth o auth2 mapping rule

type AuthPatListResponse

type AuthPatListResponse struct {

	// tokens
	Tokens []*AuthPersonalAccessToken `json:"Tokens"`
}

AuthPatListResponse auth pat list response

swagger:model authPatListResponse

func (*AuthPatListResponse) ContextValidate

func (m *AuthPatListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth pat list response based on the context it is used

func (*AuthPatListResponse) MarshalBinary

func (m *AuthPatListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthPatListResponse) UnmarshalBinary

func (m *AuthPatListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthPatListResponse) Validate

func (m *AuthPatListResponse) Validate(formats strfmt.Registry) error

Validate validates this auth pat list response

type AuthPatType

type AuthPatType string

AuthPatType auth pat type

swagger:model authPatType

const (

	// AuthPatTypeANY captures enum value "ANY"
	AuthPatTypeANY AuthPatType = "ANY"

	// AuthPatTypePERSONAL captures enum value "PERSONAL"
	AuthPatTypePERSONAL AuthPatType = "PERSONAL"

	// AuthPatTypeDOCUMENT captures enum value "DOCUMENT"
	AuthPatTypeDOCUMENT AuthPatType = "DOCUMENT"
)

func NewAuthPatType

func NewAuthPatType(value AuthPatType) *AuthPatType

func (AuthPatType) ContextValidate

func (m AuthPatType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth pat type based on context it is used

func (AuthPatType) Pointer added in v1.4.0

func (m AuthPatType) Pointer() *AuthPatType

Pointer returns a pointer to a freshly-allocated AuthPatType.

func (AuthPatType) Validate

func (m AuthPatType) Validate(formats strfmt.Registry) error

Validate validates this auth pat type

type AuthPersonalAccessToken

type AuthPersonalAccessToken struct {

	// auto refresh window
	AutoRefreshWindow int32 `json:"AutoRefreshWindow,omitempty"`

	// created at
	CreatedAt string `json:"CreatedAt,omitempty"`

	// created by
	CreatedBy string `json:"CreatedBy,omitempty"`

	// expires at
	ExpiresAt string `json:"ExpiresAt,omitempty"`

	// label
	Label string `json:"Label,omitempty"`

	// scopes
	Scopes []string `json:"Scopes"`

	// type
	Type *AuthPatType `json:"Type,omitempty"`

	// updated at
	UpdatedAt string `json:"UpdatedAt,omitempty"`

	// user login
	UserLogin string `json:"UserLogin,omitempty"`

	// user Uuid
	UserUUID string `json:"UserUuid,omitempty"`

	// Uuid
	UUID string `json:"Uuid,omitempty"`
}

AuthPersonalAccessToken auth personal access token

swagger:model authPersonalAccessToken

func (*AuthPersonalAccessToken) ContextValidate

func (m *AuthPersonalAccessToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this auth personal access token based on the context it is used

func (*AuthPersonalAccessToken) MarshalBinary

func (m *AuthPersonalAccessToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthPersonalAccessToken) UnmarshalBinary

func (m *AuthPersonalAccessToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthPersonalAccessToken) Validate

func (m *AuthPersonalAccessToken) Validate(formats strfmt.Registry) error

Validate validates this auth personal access token

type CertLicenseInfo

type CertLicenseInfo struct {

	// account name
	AccountName string `json:"AccountName,omitempty"`

	// expire time
	ExpireTime int32 `json:"ExpireTime,omitempty"`

	// features
	Features map[string]string `json:"Features,omitempty"`

	// Id
	ID string `json:"Id,omitempty"`

	// issue time
	IssueTime int32 `json:"IssueTime,omitempty"`

	// max peers
	MaxPeers string `json:"MaxPeers,omitempty"`

	// max users
	MaxUsers string `json:"MaxUsers,omitempty"`

	// server domain
	ServerDomain string `json:"ServerDomain,omitempty"`
}

CertLicenseInfo cert license info

swagger:model certLicenseInfo

func (*CertLicenseInfo) ContextValidate

func (m *CertLicenseInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cert license info based on context it is used

func (*CertLicenseInfo) MarshalBinary

func (m *CertLicenseInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertLicenseInfo) UnmarshalBinary

func (m *CertLicenseInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertLicenseInfo) Validate

func (m *CertLicenseInfo) Validate(formats strfmt.Registry) error

Validate validates this cert license info

type CertLicenseStatsResponse

type CertLicenseStatsResponse struct {

	// active peers
	ActivePeers string `json:"ActivePeers,omitempty"`

	// active users
	ActiveUsers string `json:"ActiveUsers,omitempty"`

	// license
	License *CertLicenseInfo `json:"License,omitempty"`
}

CertLicenseStatsResponse cert license stats response

swagger:model certLicenseStatsResponse

func (*CertLicenseStatsResponse) ContextValidate

func (m *CertLicenseStatsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cert license stats response based on the context it is used

func (*CertLicenseStatsResponse) MarshalBinary

func (m *CertLicenseStatsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertLicenseStatsResponse) UnmarshalBinary

func (m *CertLicenseStatsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertLicenseStatsResponse) Validate

func (m *CertLicenseStatsResponse) Validate(formats strfmt.Registry) error

Validate validates this cert license stats response

type CertPutLicenseInfoRequest

type CertPutLicenseInfoRequest struct {

	// license string
	LicenseString string `json:"LicenseString,omitempty"`
}

CertPutLicenseInfoRequest cert put license info request

swagger:model certPutLicenseInfoRequest

func (*CertPutLicenseInfoRequest) ContextValidate

func (m *CertPutLicenseInfoRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cert put license info request based on context it is used

func (*CertPutLicenseInfoRequest) MarshalBinary

func (m *CertPutLicenseInfoRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertPutLicenseInfoRequest) UnmarshalBinary

func (m *CertPutLicenseInfoRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertPutLicenseInfoRequest) Validate

func (m *CertPutLicenseInfoRequest) Validate(formats strfmt.Registry) error

Validate validates this cert put license info request

type CertPutLicenseInfoResponse

type CertPutLicenseInfoResponse struct {

	// error invalid
	ErrorInvalid bool `json:"ErrorInvalid,omitempty"`

	// error write
	ErrorWrite bool `json:"ErrorWrite,omitempty"`

	// success
	Success bool `json:"Success,omitempty"`
}

CertPutLicenseInfoResponse cert put license info response

swagger:model certPutLicenseInfoResponse

func (*CertPutLicenseInfoResponse) ContextValidate

func (m *CertPutLicenseInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cert put license info response based on context it is used

func (*CertPutLicenseInfoResponse) MarshalBinary

func (m *CertPutLicenseInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertPutLicenseInfoResponse) UnmarshalBinary

func (m *CertPutLicenseInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertPutLicenseInfoResponse) Validate

func (m *CertPutLicenseInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this cert put license info response

type EntActionTemplate

type EntActionTemplate struct {

	// action
	Action *JobsAction `json:"Action,omitempty"`

	// name
	Name string `json:"Name,omitempty"`
}

EntActionTemplate ent action template

swagger:model entActionTemplate

func (*EntActionTemplate) ContextValidate

func (m *EntActionTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent action template based on the context it is used

func (*EntActionTemplate) MarshalBinary

func (m *EntActionTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntActionTemplate) UnmarshalBinary

func (m *EntActionTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntActionTemplate) Validate

func (m *EntActionTemplate) Validate(formats strfmt.Registry) error

Validate validates this ent action template

type EntConnector

type EntConnector struct {

	// Id
	ID string `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// type
	Type string `json:"Type,omitempty"`
}

EntConnector ent connector

swagger:model entConnector

func (*EntConnector) ContextValidate

func (m *EntConnector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent connector based on context it is used

func (*EntConnector) MarshalBinary

func (m *EntConnector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntConnector) UnmarshalBinary

func (m *EntConnector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntConnector) Validate

func (m *EntConnector) Validate(formats strfmt.Registry) error

Validate validates this ent connector

type EntCreateNodeTemplateRequest added in v1.4.0

type EntCreateNodeTemplateRequest struct {

	// Optional policies
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// ref node Uuid
	RefNodeUUID string `json:"RefNodeUuid,omitempty"`

	// tpl label
	TplLabel string `json:"TplLabel,omitempty"`
}

EntCreateNodeTemplateRequest ent create node template request

swagger:model entCreateNodeTemplateRequest

func (*EntCreateNodeTemplateRequest) ContextValidate added in v1.4.0

func (m *EntCreateNodeTemplateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent create node template request based on the context it is used

func (*EntCreateNodeTemplateRequest) MarshalBinary added in v1.4.0

func (m *EntCreateNodeTemplateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntCreateNodeTemplateRequest) UnmarshalBinary added in v1.4.0

func (m *EntCreateNodeTemplateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntCreateNodeTemplateRequest) Validate added in v1.4.0

func (m *EntCreateNodeTemplateRequest) Validate(formats strfmt.Registry) error

Validate validates this ent create node template request

type EntCreateNodeTemplateResponse added in v1.4.0

type EntCreateNodeTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`

	// template Uuid
	TemplateUUID string `json:"TemplateUuid,omitempty"`
}

EntCreateNodeTemplateResponse ent create node template response

swagger:model entCreateNodeTemplateResponse

func (*EntCreateNodeTemplateResponse) ContextValidate added in v1.4.0

func (m *EntCreateNodeTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent create node template response based on context it is used

func (*EntCreateNodeTemplateResponse) MarshalBinary added in v1.4.0

func (m *EntCreateNodeTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntCreateNodeTemplateResponse) UnmarshalBinary added in v1.4.0

func (m *EntCreateNodeTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntCreateNodeTemplateResponse) Validate added in v1.4.0

func (m *EntCreateNodeTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent create node template response

type EntDeleteActionTemplateResponse

type EntDeleteActionTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteActionTemplateResponse ent delete action template response

swagger:model entDeleteActionTemplateResponse

func (*EntDeleteActionTemplateResponse) ContextValidate

func (m *EntDeleteActionTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete action template response based on context it is used

func (*EntDeleteActionTemplateResponse) MarshalBinary

func (m *EntDeleteActionTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteActionTemplateResponse) UnmarshalBinary

func (m *EntDeleteActionTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteActionTemplateResponse) Validate

Validate validates this ent delete action template response

type EntDeleteJobTemplateResponse

type EntDeleteJobTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteJobTemplateResponse ent delete job template response

swagger:model entDeleteJobTemplateResponse

func (*EntDeleteJobTemplateResponse) ContextValidate

func (m *EntDeleteJobTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete job template response based on context it is used

func (*EntDeleteJobTemplateResponse) MarshalBinary

func (m *EntDeleteJobTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteJobTemplateResponse) UnmarshalBinary

func (m *EntDeleteJobTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteJobTemplateResponse) Validate

func (m *EntDeleteJobTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent delete job template response

type EntDeleteJobVersionResponse added in v1.4.1

type EntDeleteJobVersionResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteJobVersionResponse ent delete job version response

swagger:model entDeleteJobVersionResponse

func (*EntDeleteJobVersionResponse) ContextValidate added in v1.4.1

func (m *EntDeleteJobVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete job version response based on context it is used

func (*EntDeleteJobVersionResponse) MarshalBinary added in v1.4.1

func (m *EntDeleteJobVersionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteJobVersionResponse) UnmarshalBinary added in v1.4.1

func (m *EntDeleteJobVersionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteJobVersionResponse) Validate added in v1.4.1

func (m *EntDeleteJobVersionResponse) Validate(formats strfmt.Registry) error

Validate validates this ent delete job version response

type EntDeleteMetaTemplateResponse added in v1.4.0

type EntDeleteMetaTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteMetaTemplateResponse ent delete meta template response

swagger:model entDeleteMetaTemplateResponse

func (*EntDeleteMetaTemplateResponse) ContextValidate added in v1.4.0

func (m *EntDeleteMetaTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete meta template response based on context it is used

func (*EntDeleteMetaTemplateResponse) MarshalBinary added in v1.4.0

func (m *EntDeleteMetaTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteMetaTemplateResponse) UnmarshalBinary added in v1.4.0

func (m *EntDeleteMetaTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteMetaTemplateResponse) Validate added in v1.4.0

func (m *EntDeleteMetaTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent delete meta template response

type EntDeleteNodeTemplateResponse added in v1.4.0

type EntDeleteNodeTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteNodeTemplateResponse ent delete node template response

swagger:model entDeleteNodeTemplateResponse

func (*EntDeleteNodeTemplateResponse) ContextValidate added in v1.4.0

func (m *EntDeleteNodeTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete node template response based on context it is used

func (*EntDeleteNodeTemplateResponse) MarshalBinary added in v1.4.0

func (m *EntDeleteNodeTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteNodeTemplateResponse) UnmarshalBinary added in v1.4.0

func (m *EntDeleteNodeTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteNodeTemplateResponse) Validate added in v1.4.0

func (m *EntDeleteNodeTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent delete node template response

type EntDeleteSelectorTemplateResponse

type EntDeleteSelectorTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteSelectorTemplateResponse ent delete selector template response

swagger:model entDeleteSelectorTemplateResponse

func (*EntDeleteSelectorTemplateResponse) ContextValidate

func (m *EntDeleteSelectorTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete selector template response based on context it is used

func (*EntDeleteSelectorTemplateResponse) MarshalBinary

func (m *EntDeleteSelectorTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteSelectorTemplateResponse) UnmarshalBinary

func (m *EntDeleteSelectorTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteSelectorTemplateResponse) Validate

Validate validates this ent delete selector template response

type EntDeleteVersioningPolicyResponse

type EntDeleteVersioningPolicyResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteVersioningPolicyResponse ent delete versioning policy response

swagger:model entDeleteVersioningPolicyResponse

func (*EntDeleteVersioningPolicyResponse) ContextValidate

func (m *EntDeleteVersioningPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete versioning policy response based on context it is used

func (*EntDeleteVersioningPolicyResponse) MarshalBinary

func (m *EntDeleteVersioningPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteVersioningPolicyResponse) UnmarshalBinary

func (m *EntDeleteVersioningPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteVersioningPolicyResponse) Validate

Validate validates this ent delete versioning policy response

type EntDeleteVirtualNodeResponse

type EntDeleteVirtualNodeResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntDeleteVirtualNodeResponse ent delete virtual node response

swagger:model entDeleteVirtualNodeResponse

func (*EntDeleteVirtualNodeResponse) ContextValidate

func (m *EntDeleteVirtualNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent delete virtual node response based on context it is used

func (*EntDeleteVirtualNodeResponse) MarshalBinary

func (m *EntDeleteVirtualNodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDeleteVirtualNodeResponse) UnmarshalBinary

func (m *EntDeleteVirtualNodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDeleteVirtualNodeResponse) Validate

func (m *EntDeleteVirtualNodeResponse) Validate(formats strfmt.Registry) error

Validate validates this ent delete virtual node response

type EntDocTemplatePiece

type EntDocTemplatePiece struct {

	// context
	Context string `json:"Context,omitempty"`

	// long
	Long string `json:"Long,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// short
	Short string `json:"Short,omitempty"`
}

EntDocTemplatePiece ent doc template piece

swagger:model entDocTemplatePiece

func (*EntDocTemplatePiece) ContextValidate

func (m *EntDocTemplatePiece) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent doc template piece based on context it is used

func (*EntDocTemplatePiece) MarshalBinary

func (m *EntDocTemplatePiece) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDocTemplatePiece) UnmarshalBinary

func (m *EntDocTemplatePiece) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDocTemplatePiece) Validate

func (m *EntDocTemplatePiece) Validate(formats strfmt.Registry) error

Validate validates this ent doc template piece

type EntDocTemplatesResponse

type EntDocTemplatesResponse struct {

	// docs
	Docs []*EntDocTemplatePiece `json:"Docs"`

	// type
	Type string `json:"Type,omitempty"`
}

EntDocTemplatesResponse ent doc templates response

swagger:model entDocTemplatesResponse

func (*EntDocTemplatesResponse) ContextValidate

func (m *EntDocTemplatesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent doc templates response based on the context it is used

func (*EntDocTemplatesResponse) MarshalBinary

func (m *EntDocTemplatesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntDocTemplatesResponse) UnmarshalBinary

func (m *EntDocTemplatesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntDocTemplatesResponse) Validate

func (m *EntDocTemplatesResponse) Validate(formats strfmt.Registry) error

Validate validates this ent doc templates response

type EntExternalDirectoryCollection

type EntExternalDirectoryCollection struct {

	// directories
	Directories []*AuthLdapServerConfig `json:"Directories"`
}

EntExternalDirectoryCollection ent external directory collection

swagger:model entExternalDirectoryCollection

func (*EntExternalDirectoryCollection) ContextValidate

func (m *EntExternalDirectoryCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent external directory collection based on the context it is used

func (*EntExternalDirectoryCollection) MarshalBinary

func (m *EntExternalDirectoryCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntExternalDirectoryCollection) UnmarshalBinary

func (m *EntExternalDirectoryCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntExternalDirectoryCollection) Validate

func (m *EntExternalDirectoryCollection) Validate(formats strfmt.Registry) error

Validate validates this ent external directory collection

type EntExternalDirectoryPingRequest added in v1.4.0

type EntExternalDirectoryPingRequest struct {

	// bind
	Bind bool `json:"Bind,omitempty"`

	// config
	Config *AuthLdapServerConfig `json:"Config,omitempty"`
}

EntExternalDirectoryPingRequest Try to connect to an external directory

swagger:model entExternalDirectoryPingRequest

func (*EntExternalDirectoryPingRequest) ContextValidate added in v1.4.0

func (m *EntExternalDirectoryPingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent external directory ping request based on the context it is used

func (*EntExternalDirectoryPingRequest) MarshalBinary added in v1.4.0

func (m *EntExternalDirectoryPingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntExternalDirectoryPingRequest) UnmarshalBinary added in v1.4.0

func (m *EntExternalDirectoryPingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntExternalDirectoryPingRequest) Validate added in v1.4.0

Validate validates this ent external directory ping request

type EntExternalDirectoryResponse

type EntExternalDirectoryResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntExternalDirectoryResponse ent external directory response

swagger:model entExternalDirectoryResponse

func (*EntExternalDirectoryResponse) ContextValidate

func (m *EntExternalDirectoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent external directory response based on context it is used

func (*EntExternalDirectoryResponse) MarshalBinary

func (m *EntExternalDirectoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntExternalDirectoryResponse) UnmarshalBinary

func (m *EntExternalDirectoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntExternalDirectoryResponse) Validate

func (m *EntExternalDirectoryResponse) Validate(formats strfmt.Registry) error

Validate validates this ent external directory response

type EntExternalDirectorySearchRequest added in v1.4.0

type EntExternalDirectorySearchRequest struct {

	// config
	Config *AuthLdapServerConfig `json:"Config,omitempty"`

	// filter
	Filter *AuthLdapSearchFilter `json:"Filter,omitempty"`

	// limit
	Limit int32 `json:"Limit,omitempty"`

	// offset
	Offset int32 `json:"Offset,omitempty"`
}

EntExternalDirectorySearchRequest Try to connect perform an ldapsearch in an external directory

swagger:model entExternalDirectorySearchRequest

func (*EntExternalDirectorySearchRequest) ContextValidate added in v1.4.0

func (m *EntExternalDirectorySearchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent external directory search request based on the context it is used

func (*EntExternalDirectorySearchRequest) MarshalBinary added in v1.4.0

func (m *EntExternalDirectorySearchRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntExternalDirectorySearchRequest) UnmarshalBinary added in v1.4.0

func (m *EntExternalDirectorySearchRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntExternalDirectorySearchRequest) Validate added in v1.4.0

Validate validates this ent external directory search request

type EntExternalDirectoryTestResponse added in v1.4.0

type EntExternalDirectoryTestResponse struct {

	// directory response JSON
	DirectoryResponseJSON string `json:"DirectoryResponseJSON,omitempty"`

	// success
	Success bool `json:"Success,omitempty"`
}

EntExternalDirectoryTestResponse Test responses sends back arbitrary JSON contents

swagger:model entExternalDirectoryTestResponse

func (*EntExternalDirectoryTestResponse) ContextValidate added in v1.4.0

func (m *EntExternalDirectoryTestResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent external directory test response based on context it is used

func (*EntExternalDirectoryTestResponse) MarshalBinary added in v1.4.0

func (m *EntExternalDirectoryTestResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntExternalDirectoryTestResponse) UnmarshalBinary added in v1.4.0

func (m *EntExternalDirectoryTestResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntExternalDirectoryTestResponse) Validate added in v1.4.0

Validate validates this ent external directory test response

type EntFrontLoginConnectorsResponse

type EntFrontLoginConnectorsResponse struct {

	// connectors
	Connectors []*EntConnector `json:"Connectors"`
}

EntFrontLoginConnectorsResponse ent front login connectors response

swagger:model entFrontLoginConnectorsResponse

func (*EntFrontLoginConnectorsResponse) ContextValidate

func (m *EntFrontLoginConnectorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent front login connectors response based on the context it is used

func (*EntFrontLoginConnectorsResponse) MarshalBinary

func (m *EntFrontLoginConnectorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntFrontLoginConnectorsResponse) UnmarshalBinary

func (m *EntFrontLoginConnectorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntFrontLoginConnectorsResponse) Validate

Validate validates this ent front login connectors response

type EntJobHookResponse added in v1.4.1

type EntJobHookResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntJobHookResponse ent job hook response

swagger:model entJobHookResponse

func (*EntJobHookResponse) ContextValidate added in v1.4.1

func (m *EntJobHookResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent job hook response based on context it is used

func (*EntJobHookResponse) MarshalBinary added in v1.4.1

func (m *EntJobHookResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntJobHookResponse) UnmarshalBinary added in v1.4.1

func (m *EntJobHookResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntJobHookResponse) Validate added in v1.4.1

func (m *EntJobHookResponse) Validate(formats strfmt.Registry) error

Validate validates this ent job hook response

type EntJobVersion added in v1.4.1

type EntJobVersion struct {

	// date
	Date int32 `json:"Date,omitempty"`

	// ID
	ID string `json:"ID,omitempty"`

	// job
	Job *JobsJob `json:"Job,omitempty"`

	// job ID
	JobID string `json:"JobID,omitempty"`

	// label
	Label string `json:"Label,omitempty"`
}

EntJobVersion ent job version

swagger:model entJobVersion

func (*EntJobVersion) ContextValidate added in v1.4.1

func (m *EntJobVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent job version based on the context it is used

func (*EntJobVersion) MarshalBinary added in v1.4.1

func (m *EntJobVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntJobVersion) UnmarshalBinary added in v1.4.1

func (m *EntJobVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntJobVersion) Validate added in v1.4.1

func (m *EntJobVersion) Validate(formats strfmt.Registry) error

Validate validates this ent job version

type EntListAccessTokensRequest

type EntListAccessTokensRequest struct {

	// by user
	ByUser string `json:"ByUser,omitempty"`
}

EntListAccessTokensRequest ent list access tokens request

swagger:model entListAccessTokensRequest

func (*EntListAccessTokensRequest) ContextValidate

func (m *EntListAccessTokensRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent list access tokens request based on context it is used

func (*EntListAccessTokensRequest) MarshalBinary

func (m *EntListAccessTokensRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListAccessTokensRequest) UnmarshalBinary

func (m *EntListAccessTokensRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListAccessTokensRequest) Validate

func (m *EntListAccessTokensRequest) Validate(formats strfmt.Registry) error

Validate validates this ent list access tokens request

type EntListActionTemplatesRequest

type EntListActionTemplatesRequest struct {

	// all
	All bool `json:"All,omitempty"`
}

EntListActionTemplatesRequest ent list action templates request

swagger:model entListActionTemplatesRequest

func (*EntListActionTemplatesRequest) ContextValidate added in v1.4.0

func (m *EntListActionTemplatesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent list action templates request based on context it is used

func (*EntListActionTemplatesRequest) MarshalBinary added in v1.4.0

func (m *EntListActionTemplatesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListActionTemplatesRequest) UnmarshalBinary added in v1.4.0

func (m *EntListActionTemplatesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListActionTemplatesRequest) Validate added in v1.4.0

func (m *EntListActionTemplatesRequest) Validate(formats strfmt.Registry) error

Validate validates this ent list action templates request

type EntListActionTemplatesResponse

type EntListActionTemplatesResponse struct {

	// templates
	Templates []*EntActionTemplate `json:"Templates"`
}

EntListActionTemplatesResponse ent list action templates response

swagger:model entListActionTemplatesResponse

func (*EntListActionTemplatesResponse) ContextValidate

func (m *EntListActionTemplatesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent list action templates response based on the context it is used

func (*EntListActionTemplatesResponse) MarshalBinary

func (m *EntListActionTemplatesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListActionTemplatesResponse) UnmarshalBinary

func (m *EntListActionTemplatesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListActionTemplatesResponse) Validate

func (m *EntListActionTemplatesResponse) Validate(formats strfmt.Registry) error

Validate validates this ent list action templates response

type EntListJobTemplatesRequest

type EntListJobTemplatesRequest struct {

	// all
	All bool `json:"All,omitempty"`
}

EntListJobTemplatesRequest ent list job templates request

swagger:model entListJobTemplatesRequest

func (*EntListJobTemplatesRequest) ContextValidate added in v1.4.0

func (m *EntListJobTemplatesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent list job templates request based on context it is used

func (*EntListJobTemplatesRequest) MarshalBinary added in v1.4.0

func (m *EntListJobTemplatesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListJobTemplatesRequest) UnmarshalBinary added in v1.4.0

func (m *EntListJobTemplatesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListJobTemplatesRequest) Validate added in v1.4.0

func (m *EntListJobTemplatesRequest) Validate(formats strfmt.Registry) error

Validate validates this ent list job templates request

type EntListJobTemplatesResponse

type EntListJobTemplatesResponse struct {

	// jobs
	Jobs []*JobsJob `json:"Jobs"`
}

EntListJobTemplatesResponse ent list job templates response

swagger:model entListJobTemplatesResponse

func (*EntListJobTemplatesResponse) ContextValidate

func (m *EntListJobTemplatesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent list job templates response based on the context it is used

func (*EntListJobTemplatesResponse) MarshalBinary

func (m *EntListJobTemplatesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListJobTemplatesResponse) UnmarshalBinary

func (m *EntListJobTemplatesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListJobTemplatesResponse) Validate

func (m *EntListJobTemplatesResponse) Validate(formats strfmt.Registry) error

Validate validates this ent list job templates response

type EntListJobVersionsResponse added in v1.4.1

type EntListJobVersionsResponse struct {

	// versions
	Versions []*EntJobVersion `json:"Versions"`
}

EntListJobVersionsResponse ent list job versions response

swagger:model entListJobVersionsResponse

func (*EntListJobVersionsResponse) ContextValidate added in v1.4.1

func (m *EntListJobVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent list job versions response based on the context it is used

func (*EntListJobVersionsResponse) MarshalBinary added in v1.4.1

func (m *EntListJobVersionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListJobVersionsResponse) UnmarshalBinary added in v1.4.1

func (m *EntListJobVersionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListJobVersionsResponse) Validate added in v1.4.1

func (m *EntListJobVersionsResponse) Validate(formats strfmt.Registry) error

Validate validates this ent list job versions response

type EntListMetaTemplateResponse added in v1.4.0

type EntListMetaTemplateResponse struct {

	// templates
	Templates []*EntMetaTemplate `json:"Templates"`
}

EntListMetaTemplateResponse ent list meta template response

swagger:model entListMetaTemplateResponse

func (*EntListMetaTemplateResponse) ContextValidate added in v1.4.0

func (m *EntListMetaTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent list meta template response based on the context it is used

func (*EntListMetaTemplateResponse) MarshalBinary added in v1.4.0

func (m *EntListMetaTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListMetaTemplateResponse) UnmarshalBinary added in v1.4.0

func (m *EntListMetaTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListMetaTemplateResponse) Validate added in v1.4.0

func (m *EntListMetaTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent list meta template response

type EntListSelectorTemplatesRequest

type EntListSelectorTemplatesRequest struct {

	// filter
	Filter string `json:"Filter,omitempty"`
}

EntListSelectorTemplatesRequest ent list selector templates request

swagger:model entListSelectorTemplatesRequest

func (*EntListSelectorTemplatesRequest) ContextValidate

func (m *EntListSelectorTemplatesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent list selector templates request based on context it is used

func (*EntListSelectorTemplatesRequest) MarshalBinary

func (m *EntListSelectorTemplatesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListSelectorTemplatesRequest) UnmarshalBinary

func (m *EntListSelectorTemplatesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListSelectorTemplatesRequest) Validate

Validate validates this ent list selector templates request

type EntListSelectorTemplatesResponse

type EntListSelectorTemplatesResponse struct {

	// templates
	Templates []*EntSelectorTemplate `json:"Templates"`
}

EntListSelectorTemplatesResponse ent list selector templates response

swagger:model entListSelectorTemplatesResponse

func (*EntListSelectorTemplatesResponse) ContextValidate

func (m *EntListSelectorTemplatesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent list selector templates response based on the context it is used

func (*EntListSelectorTemplatesResponse) MarshalBinary

func (m *EntListSelectorTemplatesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListSelectorTemplatesResponse) UnmarshalBinary

func (m *EntListSelectorTemplatesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListSelectorTemplatesResponse) Validate

Validate validates this ent list selector templates response

type EntListSitesResponse

type EntListSitesResponse struct {

	// sites
	Sites []*InstallProxyConfig `json:"Sites"`
}

EntListSitesResponse ent list sites response

swagger:model entListSitesResponse

func (*EntListSitesResponse) ContextValidate

func (m *EntListSitesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent list sites response based on the context it is used

func (*EntListSitesResponse) MarshalBinary

func (m *EntListSitesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntListSitesResponse) UnmarshalBinary

func (m *EntListSitesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntListSitesResponse) Validate

func (m *EntListSitesResponse) Validate(formats strfmt.Registry) error

Validate validates this ent list sites response

type EntMetaTemplate added in v1.4.0

type EntMetaTemplate struct {

	// label
	Label string `json:"Label,omitempty"`

	// meta
	Meta string `json:"Meta,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// Optional policies
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Uuid
	UUID string `json:"Uuid,omitempty"`
}

EntMetaTemplate ent meta template

swagger:model entMetaTemplate

func (*EntMetaTemplate) ContextValidate added in v1.4.0

func (m *EntMetaTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent meta template based on the context it is used

func (*EntMetaTemplate) MarshalBinary added in v1.4.0

func (m *EntMetaTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntMetaTemplate) UnmarshalBinary added in v1.4.0

func (m *EntMetaTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntMetaTemplate) Validate added in v1.4.0

func (m *EntMetaTemplate) Validate(formats strfmt.Registry) error

Validate validates this ent meta template

type EntOAuth2ClientCollection

type EntOAuth2ClientCollection struct {

	// static clients
	StaticClients []*AuthOAuth2ClientConfig `json:"staticClients"`
}

EntOAuth2ClientCollection ent o auth2 client collection

swagger:model entOAuth2ClientCollection

func (*EntOAuth2ClientCollection) ContextValidate

func (m *EntOAuth2ClientCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent o auth2 client collection based on the context it is used

func (*EntOAuth2ClientCollection) MarshalBinary

func (m *EntOAuth2ClientCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntOAuth2ClientCollection) UnmarshalBinary

func (m *EntOAuth2ClientCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntOAuth2ClientCollection) Validate

func (m *EntOAuth2ClientCollection) Validate(formats strfmt.Registry) error

Validate validates this ent o auth2 client collection

type EntOAuth2ClientResponse

type EntOAuth2ClientResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntOAuth2ClientResponse ent o auth2 client response

swagger:model entOAuth2ClientResponse

func (*EntOAuth2ClientResponse) ContextValidate

func (m *EntOAuth2ClientResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent o auth2 client response based on context it is used

func (*EntOAuth2ClientResponse) MarshalBinary

func (m *EntOAuth2ClientResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntOAuth2ClientResponse) UnmarshalBinary

func (m *EntOAuth2ClientResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntOAuth2ClientResponse) Validate

func (m *EntOAuth2ClientResponse) Validate(formats strfmt.Registry) error

Validate validates this ent o auth2 client response

type EntOAuth2ConnectorCollection

type EntOAuth2ConnectorCollection struct {

	// connectors
	Connectors []*AuthOAuth2ConnectorConfig `json:"connectors"`
}

EntOAuth2ConnectorCollection ent o auth2 connector collection

swagger:model entOAuth2ConnectorCollection

func (*EntOAuth2ConnectorCollection) ContextValidate

func (m *EntOAuth2ConnectorCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent o auth2 connector collection based on the context it is used

func (*EntOAuth2ConnectorCollection) MarshalBinary

func (m *EntOAuth2ConnectorCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntOAuth2ConnectorCollection) UnmarshalBinary

func (m *EntOAuth2ConnectorCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntOAuth2ConnectorCollection) Validate

func (m *EntOAuth2ConnectorCollection) Validate(formats strfmt.Registry) error

Validate validates this ent o auth2 connector collection

type EntOAuth2ConnectorResponse

type EntOAuth2ConnectorResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntOAuth2ConnectorResponse ent o auth2 connector response

swagger:model entOAuth2ConnectorResponse

func (*EntOAuth2ConnectorResponse) ContextValidate

func (m *EntOAuth2ConnectorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent o auth2 connector response based on context it is used

func (*EntOAuth2ConnectorResponse) MarshalBinary

func (m *EntOAuth2ConnectorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntOAuth2ConnectorResponse) UnmarshalBinary

func (m *EntOAuth2ConnectorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntOAuth2ConnectorResponse) Validate

func (m *EntOAuth2ConnectorResponse) Validate(formats strfmt.Registry) error

Validate validates this ent o auth2 connector response

type EntPersonalAccessTokenRequest

type EntPersonalAccessTokenRequest struct {

	// auto refresh
	AutoRefresh int32 `json:"AutoRefresh,omitempty"`

	// expires at
	ExpiresAt string `json:"ExpiresAt,omitempty"`

	// label
	Label string `json:"Label,omitempty"`

	// scopes
	Scopes []string `json:"Scopes"`

	// user login
	UserLogin string `json:"UserLogin,omitempty"`
}

EntPersonalAccessTokenRequest ent personal access token request

swagger:model entPersonalAccessTokenRequest

func (*EntPersonalAccessTokenRequest) ContextValidate

func (m *EntPersonalAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent personal access token request based on context it is used

func (*EntPersonalAccessTokenRequest) MarshalBinary

func (m *EntPersonalAccessTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPersonalAccessTokenRequest) UnmarshalBinary

func (m *EntPersonalAccessTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPersonalAccessTokenRequest) Validate

func (m *EntPersonalAccessTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this ent personal access token request

type EntPersonalAccessTokenResponse

type EntPersonalAccessTokenResponse struct {

	// access token
	AccessToken string `json:"AccessToken,omitempty"`
}

EntPersonalAccessTokenResponse ent personal access token response

swagger:model entPersonalAccessTokenResponse

func (*EntPersonalAccessTokenResponse) ContextValidate

func (m *EntPersonalAccessTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent personal access token response based on context it is used

func (*EntPersonalAccessTokenResponse) MarshalBinary

func (m *EntPersonalAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPersonalAccessTokenResponse) UnmarshalBinary

func (m *EntPersonalAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPersonalAccessTokenResponse) Validate

func (m *EntPersonalAccessTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this ent personal access token response

type EntPlaygroundRequest

type EntPlaygroundRequest struct {

	// code
	Code string `json:"Code,omitempty"`

	// code mime
	CodeMime string `json:"CodeMime,omitempty"`

	// input
	Input *JobsActionMessage `json:"Input,omitempty"`

	// last output Json body
	LastOutputJSONBody string `json:"LastOutputJsonBody,omitempty"`
}

EntPlaygroundRequest ent playground request

swagger:model entPlaygroundRequest

func (*EntPlaygroundRequest) ContextValidate

func (m *EntPlaygroundRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent playground request based on the context it is used

func (*EntPlaygroundRequest) MarshalBinary

func (m *EntPlaygroundRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPlaygroundRequest) UnmarshalBinary

func (m *EntPlaygroundRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPlaygroundRequest) Validate

func (m *EntPlaygroundRequest) Validate(formats strfmt.Registry) error

Validate validates this ent playground request

type EntPlaygroundResponse

type EntPlaygroundResponse struct {

	// code
	Code string `json:"Code,omitempty"`

	// code mime
	CodeMime string `json:"CodeMime,omitempty"`

	// input
	Input *JobsActionMessage `json:"Input,omitempty"`

	// last output Json body
	LastOutputJSONBody string `json:"LastOutputJsonBody,omitempty"`

	// output
	Output string `json:"Output,omitempty"`
}

EntPlaygroundResponse ent playground response

swagger:model entPlaygroundResponse

func (*EntPlaygroundResponse) ContextValidate

func (m *EntPlaygroundResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent playground response based on the context it is used

func (*EntPlaygroundResponse) MarshalBinary

func (m *EntPlaygroundResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPlaygroundResponse) UnmarshalBinary

func (m *EntPlaygroundResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPlaygroundResponse) Validate

func (m *EntPlaygroundResponse) Validate(formats strfmt.Registry) error

Validate validates this ent playground response

type EntPutActionTemplateRequest

type EntPutActionTemplateRequest struct {

	// template
	Template *EntActionTemplate `json:"Template,omitempty"`
}

EntPutActionTemplateRequest ent put action template request

swagger:model entPutActionTemplateRequest

func (*EntPutActionTemplateRequest) ContextValidate

func (m *EntPutActionTemplateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent put action template request based on the context it is used

func (*EntPutActionTemplateRequest) MarshalBinary

func (m *EntPutActionTemplateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutActionTemplateRequest) UnmarshalBinary

func (m *EntPutActionTemplateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutActionTemplateRequest) Validate

func (m *EntPutActionTemplateRequest) Validate(formats strfmt.Registry) error

Validate validates this ent put action template request

type EntPutActionTemplateResponse

type EntPutActionTemplateResponse struct {

	// template
	Template *EntActionTemplate `json:"Template,omitempty"`
}

EntPutActionTemplateResponse ent put action template response

swagger:model entPutActionTemplateResponse

func (*EntPutActionTemplateResponse) ContextValidate

func (m *EntPutActionTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent put action template response based on the context it is used

func (*EntPutActionTemplateResponse) MarshalBinary

func (m *EntPutActionTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutActionTemplateResponse) UnmarshalBinary

func (m *EntPutActionTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutActionTemplateResponse) Validate

func (m *EntPutActionTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent put action template response

type EntPutJobTemplateResponse

type EntPutJobTemplateResponse struct {

	// job
	Job *JobsJob `json:"Job,omitempty"`
}

EntPutJobTemplateResponse ent put job template response

swagger:model entPutJobTemplateResponse

func (*EntPutJobTemplateResponse) ContextValidate

func (m *EntPutJobTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent put job template response based on the context it is used

func (*EntPutJobTemplateResponse) MarshalBinary

func (m *EntPutJobTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutJobTemplateResponse) UnmarshalBinary

func (m *EntPutJobTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutJobTemplateResponse) Validate

func (m *EntPutJobTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent put job template response

type EntPutMetaTemplateRequest added in v1.4.0

type EntPutMetaTemplateRequest struct {

	// template
	Template *EntMetaTemplate `json:"Template,omitempty"`

	// Uuid
	UUID string `json:"Uuid,omitempty"`
}

EntPutMetaTemplateRequest ent put meta template request

swagger:model entPutMetaTemplateRequest

func (*EntPutMetaTemplateRequest) ContextValidate added in v1.4.0

func (m *EntPutMetaTemplateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent put meta template request based on the context it is used

func (*EntPutMetaTemplateRequest) MarshalBinary added in v1.4.0

func (m *EntPutMetaTemplateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutMetaTemplateRequest) UnmarshalBinary added in v1.4.0

func (m *EntPutMetaTemplateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutMetaTemplateRequest) Validate added in v1.4.0

func (m *EntPutMetaTemplateRequest) Validate(formats strfmt.Registry) error

Validate validates this ent put meta template request

type EntPutMetaTemplateResponse added in v1.4.0

type EntPutMetaTemplateResponse struct {

	// template
	Template *EntMetaTemplate `json:"Template,omitempty"`
}

EntPutMetaTemplateResponse ent put meta template response

swagger:model entPutMetaTemplateResponse

func (*EntPutMetaTemplateResponse) ContextValidate added in v1.4.0

func (m *EntPutMetaTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent put meta template response based on the context it is used

func (*EntPutMetaTemplateResponse) MarshalBinary added in v1.4.0

func (m *EntPutMetaTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutMetaTemplateResponse) UnmarshalBinary added in v1.4.0

func (m *EntPutMetaTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutMetaTemplateResponse) Validate added in v1.4.0

func (m *EntPutMetaTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent put meta template response

type EntPutSelectorTemplateRequest

type EntPutSelectorTemplateRequest struct {

	// template
	Template *EntSelectorTemplate `json:"Template,omitempty"`
}

EntPutSelectorTemplateRequest ent put selector template request

swagger:model entPutSelectorTemplateRequest

func (*EntPutSelectorTemplateRequest) ContextValidate

func (m *EntPutSelectorTemplateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent put selector template request based on the context it is used

func (*EntPutSelectorTemplateRequest) MarshalBinary

func (m *EntPutSelectorTemplateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutSelectorTemplateRequest) UnmarshalBinary

func (m *EntPutSelectorTemplateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutSelectorTemplateRequest) Validate

func (m *EntPutSelectorTemplateRequest) Validate(formats strfmt.Registry) error

Validate validates this ent put selector template request

type EntPutSelectorTemplateResponse

type EntPutSelectorTemplateResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

EntPutSelectorTemplateResponse ent put selector template response

swagger:model entPutSelectorTemplateResponse

func (*EntPutSelectorTemplateResponse) ContextValidate

func (m *EntPutSelectorTemplateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ent put selector template response based on context it is used

func (*EntPutSelectorTemplateResponse) MarshalBinary

func (m *EntPutSelectorTemplateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntPutSelectorTemplateResponse) UnmarshalBinary

func (m *EntPutSelectorTemplateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntPutSelectorTemplateResponse) Validate

func (m *EntPutSelectorTemplateResponse) Validate(formats strfmt.Registry) error

Validate validates this ent put selector template response

type EntRestoreJobVersionResponse added in v1.4.1

type EntRestoreJobVersionResponse struct {

	// job
	Job *JobsJob `json:"Job,omitempty"`

	// success
	Success bool `json:"Success,omitempty"`
}

EntRestoreJobVersionResponse ent restore job version response

swagger:model entRestoreJobVersionResponse

func (*EntRestoreJobVersionResponse) ContextValidate added in v1.4.1

func (m *EntRestoreJobVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent restore job version response based on the context it is used

func (*EntRestoreJobVersionResponse) MarshalBinary added in v1.4.1

func (m *EntRestoreJobVersionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntRestoreJobVersionResponse) UnmarshalBinary added in v1.4.1

func (m *EntRestoreJobVersionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntRestoreJobVersionResponse) Validate added in v1.4.1

func (m *EntRestoreJobVersionResponse) Validate(formats strfmt.Registry) error

Validate validates this ent restore job version response

type EntSelectorTemplate

type EntSelectorTemplate struct {

	// action output filter
	ActionOutputFilter *JobsActionOutputFilter `json:"ActionOutputFilter,omitempty"`

	// as filter
	AsFilter bool `json:"AsFilter,omitempty"`

	// context meta filter
	ContextMetaFilter *JobsContextMetaFilter `json:"ContextMetaFilter,omitempty"`

	// data source selector
	DataSourceSelector *JobsDataSourceSelector `json:"DataSourceSelector,omitempty"`

	// description
	Description string `json:"Description,omitempty"`

	// idm selector
	IdmSelector *JobsIdmSelector `json:"IdmSelector,omitempty"`

	// label
	Label string `json:"Label,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// nodes selector
	NodesSelector *JobsNodesSelector `json:"NodesSelector,omitempty"`

	// trigger filter
	TriggerFilter *JobsTriggerFilter `json:"TriggerFilter,omitempty"`
}

EntSelectorTemplate ent selector template

swagger:model entSelectorTemplate

func (*EntSelectorTemplate) ContextValidate

func (m *EntSelectorTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ent selector template based on the context it is used

func (*EntSelectorTemplate) MarshalBinary

func (m *EntSelectorTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntSelectorTemplate) UnmarshalBinary

func (m *EntSelectorTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntSelectorTemplate) Validate

func (m *EntSelectorTemplate) Validate(formats strfmt.Registry) error

Validate validates this ent selector template

type IdmACL

type IdmACL struct {

	// Action on which this ACL provides control
	Action *IdmACLAction `json:"Action,omitempty"`

	// Unique ID of this ACL
	ID string `json:"ID,omitempty"`

	// Associated Node
	NodeID string `json:"NodeID,omitempty"`

	// Associated Role
	RoleID string `json:"RoleID,omitempty"`

	// Associated Workspace
	WorkspaceID string `json:"WorkspaceID,omitempty"`
}

IdmACL ACL are the basic flags that can be put anywhere in the tree to provide some specific rights to a given role. The context of how they apply can be fine-tuned by workspace.

swagger:model idmACL

func (*IdmACL) ContextValidate

func (m *IdmACL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idm ACL based on the context it is used

func (*IdmACL) MarshalBinary

func (m *IdmACL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmACL) UnmarshalBinary

func (m *IdmACL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmACL) Validate

func (m *IdmACL) Validate(formats strfmt.Registry) error

Validate validates this idm ACL

type IdmACLAction

type IdmACLAction struct {

	// ACL Action name, most frequent values are "read" or "write"
	Name string `json:"Name,omitempty"`

	// ACL Action value
	Value string `json:"Value,omitempty"`
}

IdmACLAction idm ACL action

swagger:model idmACLAction

func (*IdmACLAction) ContextValidate

func (m *IdmACLAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idm ACL action based on context it is used

func (*IdmACLAction) MarshalBinary

func (m *IdmACLAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmACLAction) UnmarshalBinary

func (m *IdmACLAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmACLAction) Validate

func (m *IdmACLAction) Validate(formats strfmt.Registry) error

Validate validates this idm ACL action

type IdmPolicy

type IdmPolicy struct {

	// actions
	Actions []string `json:"actions"`

	// conditions
	Conditions map[string]IdmPolicyCondition `json:"conditions,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// effect
	Effect *IdmPolicyEffect `json:"effect,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// resources
	Resources []string `json:"resources"`

	// subjects
	Subjects []string `json:"subjects"`
}

IdmPolicy idm policy

swagger:model idmPolicy

func (*IdmPolicy) ContextValidate

func (m *IdmPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idm policy based on the context it is used

func (*IdmPolicy) MarshalBinary

func (m *IdmPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmPolicy) UnmarshalBinary

func (m *IdmPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmPolicy) Validate

func (m *IdmPolicy) Validate(formats strfmt.Registry) error

Validate validates this idm policy

type IdmPolicyCondition

type IdmPolicyCondition struct {

	// json options
	JSONOptions string `json:"jsonOptions,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

IdmPolicyCondition idm policy condition

swagger:model idmPolicyCondition

func (*IdmPolicyCondition) ContextValidate

func (m *IdmPolicyCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idm policy condition based on context it is used

func (*IdmPolicyCondition) MarshalBinary

func (m *IdmPolicyCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmPolicyCondition) UnmarshalBinary

func (m *IdmPolicyCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmPolicyCondition) Validate

func (m *IdmPolicyCondition) Validate(formats strfmt.Registry) error

Validate validates this idm policy condition

type IdmPolicyEffect

type IdmPolicyEffect string

IdmPolicyEffect idm policy effect

swagger:model idmPolicyEffect

const (

	// IdmPolicyEffectUnknown captures enum value "unknown"
	IdmPolicyEffectUnknown IdmPolicyEffect = "unknown"

	// IdmPolicyEffectDeny captures enum value "deny"
	IdmPolicyEffectDeny IdmPolicyEffect = "deny"

	// IdmPolicyEffectAllow captures enum value "allow"
	IdmPolicyEffectAllow IdmPolicyEffect = "allow"
)

func NewIdmPolicyEffect

func NewIdmPolicyEffect(value IdmPolicyEffect) *IdmPolicyEffect

func (IdmPolicyEffect) ContextValidate

func (m IdmPolicyEffect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idm policy effect based on context it is used

func (IdmPolicyEffect) Pointer added in v1.4.0

func (m IdmPolicyEffect) Pointer() *IdmPolicyEffect

Pointer returns a pointer to a freshly-allocated IdmPolicyEffect.

func (IdmPolicyEffect) Validate

func (m IdmPolicyEffect) Validate(formats strfmt.Registry) error

Validate validates this idm policy effect

type IdmPolicyGroup

type IdmPolicyGroup struct {

	// description
	Description string `json:"Description,omitempty"`

	// last updated
	LastUpdated int32 `json:"LastUpdated,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// owner Uuid
	OwnerUUID string `json:"OwnerUuid,omitempty"`

	// policies
	Policies []*IdmPolicy `json:"Policies"`

	// resource group
	ResourceGroup *IdmPolicyResourceGroup `json:"ResourceGroup,omitempty"`

	// Uuid
	UUID string `json:"Uuid,omitempty"`
}

IdmPolicyGroup idm policy group

swagger:model idmPolicyGroup

func (*IdmPolicyGroup) ContextValidate

func (m *IdmPolicyGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idm policy group based on the context it is used

func (*IdmPolicyGroup) MarshalBinary

func (m *IdmPolicyGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmPolicyGroup) UnmarshalBinary

func (m *IdmPolicyGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmPolicyGroup) Validate

func (m *IdmPolicyGroup) Validate(formats strfmt.Registry) error

Validate validates this idm policy group

type IdmPolicyResourceGroup

type IdmPolicyResourceGroup string

IdmPolicyResourceGroup idm policy resource group

swagger:model idmPolicyResourceGroup

const (

	// IdmPolicyResourceGroupRest captures enum value "rest"
	IdmPolicyResourceGroupRest IdmPolicyResourceGroup = "rest"

	// IdmPolicyResourceGroupACL captures enum value "acl"
	IdmPolicyResourceGroupACL IdmPolicyResourceGroup = "acl"

	// IdmPolicyResourceGroupOidc captures enum value "oidc"
	IdmPolicyResourceGroupOidc IdmPolicyResourceGroup = "oidc"
)

func NewIdmPolicyResourceGroup

func NewIdmPolicyResourceGroup(value IdmPolicyResourceGroup) *IdmPolicyResourceGroup

func (IdmPolicyResourceGroup) ContextValidate

func (m IdmPolicyResourceGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idm policy resource group based on context it is used

func (IdmPolicyResourceGroup) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated IdmPolicyResourceGroup.

func (IdmPolicyResourceGroup) Validate

func (m IdmPolicyResourceGroup) Validate(formats strfmt.Registry) error

Validate validates this idm policy resource group

type IdmRole

type IdmRole struct {

	// List of profiles (standard, shared, admin) on which the role will be automatically applied
	AutoApplies []string `json:"AutoApplies"`

	// Is used in a stack of roles, this one will always be applied last.
	ForceOverride bool `json:"ForceOverride,omitempty"`

	// Whether this role is attached to a Group object
	GroupRole bool `json:"GroupRole,omitempty"`

	// Whether this role represents a user team or not
	IsTeam bool `json:"IsTeam,omitempty"`

	// Label of this role
	Label string `json:"Label,omitempty"`

	// Last modification date of the role
	LastUpdated int32 `json:"LastUpdated,omitempty"`

	// List of policies for securing this role access
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Whether the policies resolve into an editable state
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

	// Whether this role is attached to a User object
	UserRole bool `json:"UserRole,omitempty"`

	// Unique identifier of this role
	UUID string `json:"Uuid,omitempty"`
}

IdmRole Role represents a generic set of permissions that can be applied to any users or groups.

swagger:model idmRole

func (*IdmRole) ContextValidate

func (m *IdmRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idm role based on the context it is used

func (*IdmRole) MarshalBinary

func (m *IdmRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmRole) UnmarshalBinary

func (m *IdmRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmRole) Validate

func (m *IdmRole) Validate(formats strfmt.Registry) error

Validate validates this idm role

type IdmUser

type IdmUser struct {

	// A free list of attributes
	Attributes map[string]string `json:"Attributes,omitempty"`

	// Label of the group, field is empty for users
	GroupLabel string `json:"GroupLabel,omitempty"`

	// Path to the parent group
	GroupPath string `json:"GroupPath,omitempty"`

	// Whether this object is a group or a user
	IsGroup bool `json:"IsGroup,omitempty"`

	// Last successful connection timestamp
	LastConnected int32 `json:"LastConnected,omitempty"`

	// User login is used to connect, field is empty for groups
	Login string `json:"Login,omitempty"`

	// OldPassword must be set when a user updates her own password
	OldPassword string `json:"OldPassword,omitempty"`

	// Password can be passed to be updated (but never read back), field is empty for groups
	Password string `json:"Password,omitempty"`

	// Policies securing access to this user
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Context-resolved to quickly check if user is editable or not.
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

	// List of roles applied to this user or group
	Roles []*IdmRole `json:"Roles"`

	// User unique identifier
	UUID string `json:"Uuid,omitempty"`
}

IdmUser User can represent either a User or a Group

swagger:model idmUser

func (*IdmUser) ContextValidate

func (m *IdmUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idm user based on the context it is used

func (*IdmUser) MarshalBinary

func (m *IdmUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmUser) UnmarshalBinary

func (m *IdmUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmUser) Validate

func (m *IdmUser) Validate(formats strfmt.Registry) error

Validate validates this idm user

type IdmWorkspace

type IdmWorkspace struct {

	// JSON-encoded list of attributes
	Attributes string `json:"Attributes,omitempty"`

	// Description of the workspace (max length 1000)
	Description string `json:"Description,omitempty"`

	// Label of the workspace (max length 500)
	Label string `json:"Label,omitempty"`

	// Last modification time
	LastUpdated int32 `json:"LastUpdated,omitempty"`

	// Policies for securing access
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Context-resolved to quickly check if workspace is editable or not
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

	// List of the Root Nodes in the tree that compose this workspace
	RootNodes map[string]TreeNode `json:"RootNodes,omitempty"`

	// Quick list of the RootNodes uuids
	RootUUIDs []string `json:"RootUUIDs"`

	// Scope can be ADMIN, ROOM (=CELL) or LINK
	Scope *IdmWorkspaceScope `json:"Scope,omitempty"`

	// Slug is an url-compatible form of the workspace label, or can be freely modified (max length 500)
	Slug string `json:"Slug,omitempty"`

	// Unique identifier of the workspace
	UUID string `json:"UUID,omitempty"`
}

IdmWorkspace A Workspace is composed of a set of nodes UUIDs and is used to provide accesses to the tree via ACLs.

swagger:model idmWorkspace

func (*IdmWorkspace) ContextValidate

func (m *IdmWorkspace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this idm workspace based on the context it is used

func (*IdmWorkspace) MarshalBinary

func (m *IdmWorkspace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdmWorkspace) UnmarshalBinary

func (m *IdmWorkspace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdmWorkspace) Validate

func (m *IdmWorkspace) Validate(formats strfmt.Registry) error

Validate validates this idm workspace

type IdmWorkspaceScope

type IdmWorkspaceScope string

IdmWorkspaceScope idm workspace scope

swagger:model idmWorkspaceScope

const (

	// IdmWorkspaceScopeANY captures enum value "ANY"
	IdmWorkspaceScopeANY IdmWorkspaceScope = "ANY"

	// IdmWorkspaceScopeADMIN captures enum value "ADMIN"
	IdmWorkspaceScopeADMIN IdmWorkspaceScope = "ADMIN"

	// IdmWorkspaceScopeROOM captures enum value "ROOM"
	IdmWorkspaceScopeROOM IdmWorkspaceScope = "ROOM"

	// IdmWorkspaceScopeLINK captures enum value "LINK"
	IdmWorkspaceScopeLINK IdmWorkspaceScope = "LINK"
)

func NewIdmWorkspaceScope

func NewIdmWorkspaceScope(value IdmWorkspaceScope) *IdmWorkspaceScope

func (IdmWorkspaceScope) ContextValidate

func (m IdmWorkspaceScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this idm workspace scope based on context it is used

func (IdmWorkspaceScope) Pointer added in v1.4.0

func (m IdmWorkspaceScope) Pointer() *IdmWorkspaceScope

Pointer returns a pointer to a freshly-allocated IdmWorkspaceScope.

func (IdmWorkspaceScope) Validate

func (m IdmWorkspaceScope) Validate(formats strfmt.Registry) error

Validate validates this idm workspace scope

type InstallProxyConfig

type InstallProxyConfig struct {

	// A list of [host]:port to bind to
	Binds []string `json:"Binds"`

	// certificate
	Certificate *InstallTLSCertificate `json:"Certificate,omitempty"`

	// lets encrypt
	LetsEncrypt *InstallTLSLetsEncrypt `json:"LetsEncrypt,omitempty"`

	// If set, this site will be in maintenance mode
	Maintenance bool `json:"Maintenance,omitempty"`

	// Append caddy directive to restrict maintenance mode
	MaintenanceConditions []string `json:"MaintenanceConditions"`

	// Optional URL of reverse proxy exposing this site
	ReverseProxyURL string `json:"ReverseProxyURL,omitempty"`

	// If TLS is set, whether to automatically redirect each http://host:port to https://host:port
	SSLRedirect bool `json:"SSLRedirect,omitempty"`

	// self signed
	SelfSigned *InstallTLSSelfSigned `json:"SelfSigned,omitempty"`
}

InstallProxyConfig ProxyConfig gives necessary URL and TLS configurations to start proxy

swagger:model installProxyConfig

func (*InstallProxyConfig) ContextValidate

func (m *InstallProxyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this install proxy config based on the context it is used

func (*InstallProxyConfig) MarshalBinary

func (m *InstallProxyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstallProxyConfig) UnmarshalBinary

func (m *InstallProxyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstallProxyConfig) Validate

func (m *InstallProxyConfig) Validate(formats strfmt.Registry) error

Validate validates this install proxy config

type InstallTLSCertificate

type InstallTLSCertificate struct {

	// cells root c a
	CellsRootCA string `json:"CellsRootCA,omitempty"`

	// cert file
	CertFile string `json:"CertFile,omitempty"`

	// key file
	KeyFile string `json:"KeyFile,omitempty"`
}

InstallTLSCertificate TLSCertificate is a TLSConfig where user passes

swagger:model installTLSCertificate

func (*InstallTLSCertificate) ContextValidate

func (m *InstallTLSCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this install TLS certificate based on context it is used

func (*InstallTLSCertificate) MarshalBinary

func (m *InstallTLSCertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstallTLSCertificate) UnmarshalBinary

func (m *InstallTLSCertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstallTLSCertificate) Validate

func (m *InstallTLSCertificate) Validate(formats strfmt.Registry) error

Validate validates this install TLS certificate

type InstallTLSLetsEncrypt

type InstallTLSLetsEncrypt struct {

	// accept e u l a
	AcceptEULA bool `json:"AcceptEULA,omitempty"`

	// email
	Email string `json:"Email,omitempty"`

	// staging c a
	StagingCA bool `json:"StagingCA,omitempty"`
}

InstallTLSLetsEncrypt TLSLetsEncrypt set up proxy to automatically get a valid certificate from let's encrypt servers

swagger:model installTLSLetsEncrypt

func (*InstallTLSLetsEncrypt) ContextValidate

func (m *InstallTLSLetsEncrypt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this install TLS lets encrypt based on context it is used

func (*InstallTLSLetsEncrypt) MarshalBinary

func (m *InstallTLSLetsEncrypt) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstallTLSLetsEncrypt) UnmarshalBinary

func (m *InstallTLSLetsEncrypt) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstallTLSLetsEncrypt) Validate

func (m *InstallTLSLetsEncrypt) Validate(formats strfmt.Registry) error

Validate validates this install TLS lets encrypt

type InstallTLSSelfSigned

type InstallTLSSelfSigned struct {

	// hostnames
	Hostnames []string `json:"Hostnames"`
}

InstallTLSSelfSigned TLSSelfSigned generates a selfsigned certificate

swagger:model installTLSSelfSigned

func (*InstallTLSSelfSigned) ContextValidate

func (m *InstallTLSSelfSigned) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this install TLS self signed based on context it is used

func (*InstallTLSSelfSigned) MarshalBinary

func (m *InstallTLSSelfSigned) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstallTLSSelfSigned) UnmarshalBinary

func (m *InstallTLSSelfSigned) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstallTLSSelfSigned) Validate

func (m *InstallTLSSelfSigned) Validate(formats strfmt.Registry) error

Validate validates this install TLS self signed

type IpbanBannedConnection

type IpbanBannedConnection struct {

	// ban expire
	BanExpire string `json:"BanExpire,omitempty"`

	// history
	History []*IpbanConnectionAttempt `json:"History"`

	// IP
	IP string `json:"IP,omitempty"`
}

IpbanBannedConnection ipban banned connection

swagger:model ipbanBannedConnection

func (*IpbanBannedConnection) ContextValidate

func (m *IpbanBannedConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ipban banned connection based on the context it is used

func (*IpbanBannedConnection) MarshalBinary

func (m *IpbanBannedConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IpbanBannedConnection) UnmarshalBinary

func (m *IpbanBannedConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IpbanBannedConnection) Validate

func (m *IpbanBannedConnection) Validate(formats strfmt.Registry) error

Validate validates this ipban banned connection

type IpbanConnectionAttempt

type IpbanConnectionAttempt struct {

	// details
	Details map[string]string `json:"Details,omitempty"`

	// IP
	IP string `json:"IP,omitempty"`

	// is success
	IsSuccess bool `json:"IsSuccess,omitempty"`

	// connection time
	ConnectionTime string `json:"connectionTime,omitempty"`
}

IpbanConnectionAttempt ipban connection attempt

swagger:model ipbanConnectionAttempt

func (*IpbanConnectionAttempt) ContextValidate

func (m *IpbanConnectionAttempt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ipban connection attempt based on context it is used

func (*IpbanConnectionAttempt) MarshalBinary

func (m *IpbanConnectionAttempt) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IpbanConnectionAttempt) UnmarshalBinary

func (m *IpbanConnectionAttempt) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IpbanConnectionAttempt) Validate

func (m *IpbanConnectionAttempt) Validate(formats strfmt.Registry) error

Validate validates this ipban connection attempt

type IpbanIPsCollection

type IpbanIPsCollection struct {

	// i ps
	IPs []string `json:"IPs"`

	// name
	Name string `json:"Name,omitempty"`
}

IpbanIPsCollection Used for white list / black list

swagger:model ipbanIPsCollection

func (*IpbanIPsCollection) ContextValidate

func (m *IpbanIPsCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ipban i ps collection based on context it is used

func (*IpbanIPsCollection) MarshalBinary

func (m *IpbanIPsCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IpbanIPsCollection) UnmarshalBinary

func (m *IpbanIPsCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IpbanIPsCollection) Validate

func (m *IpbanIPsCollection) Validate(formats strfmt.Registry) error

Validate validates this ipban i ps collection

type IpbanListBansCollection

type IpbanListBansCollection struct {

	// bans
	Bans []*IpbanBannedConnection `json:"Bans"`
}

IpbanListBansCollection ipban list bans collection

swagger:model ipbanListBansCollection

func (*IpbanListBansCollection) ContextValidate

func (m *IpbanListBansCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ipban list bans collection based on the context it is used

func (*IpbanListBansCollection) MarshalBinary

func (m *IpbanListBansCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IpbanListBansCollection) UnmarshalBinary

func (m *IpbanListBansCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IpbanListBansCollection) Validate

func (m *IpbanListBansCollection) Validate(formats strfmt.Registry) error

Validate validates this ipban list bans collection

type IpbanUnbanRequest

type IpbanUnbanRequest struct {

	// IP
	IP string `json:"IP,omitempty"`
}

IpbanUnbanRequest ipban unban request

swagger:model ipbanUnbanRequest

func (*IpbanUnbanRequest) ContextValidate

func (m *IpbanUnbanRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ipban unban request based on context it is used

func (*IpbanUnbanRequest) MarshalBinary

func (m *IpbanUnbanRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IpbanUnbanRequest) UnmarshalBinary

func (m *IpbanUnbanRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IpbanUnbanRequest) Validate

func (m *IpbanUnbanRequest) Validate(formats strfmt.Registry) error

Validate validates this ipban unban request

type IpbanUnbanResponse

type IpbanUnbanResponse struct {

	// success
	Success bool `json:"Success,omitempty"`
}

IpbanUnbanResponse ipban unban response

swagger:model ipbanUnbanResponse

func (*IpbanUnbanResponse) ContextValidate

func (m *IpbanUnbanResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ipban unban response based on context it is used

func (*IpbanUnbanResponse) MarshalBinary

func (m *IpbanUnbanResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IpbanUnbanResponse) UnmarshalBinary

func (m *IpbanUnbanResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IpbanUnbanResponse) Validate

func (m *IpbanUnbanResponse) Validate(formats strfmt.Registry) error

Validate validates this ipban unban response

type JobsAction

type JobsAction struct {

	// Previous action output filter
	ActionOutputFilter *JobsActionOutputFilter `json:"ActionOutputFilter,omitempty"`

	// Stop full chain now : do not carry on executing next actions
	BreakAfter bool `json:"BreakAfter,omitempty"`

	// Bypass this action (forward input to output and do nothing)
	Bypass bool `json:"Bypass,omitempty"`

	// Other actions to perform after this one is finished,
	// using the Output of this action as Input for the next.
	// If there are many, it is considered they can be triggered
	// in parallel
	ChainedActions []*JobsAction `json:"ChainedActions"`

	// Filter values from ChatEvent
	ChatEventFilter *JobsChatEventFilter `json:"ChatEventFilter,omitempty"`

	// Metadata policy-based filter
	ContextMetaFilter *JobsContextMetaFilter `json:"ContextMetaFilter,omitempty"`

	// Filter values from JsonBody
	DataFilter *JobsDataSelector `json:"DataFilter,omitempty"`

	// Collect/select values from JsonBody
	DataSelector *JobsDataSelector `json:"DataSelector,omitempty"`

	// DataSource objects filter
	DataSourceFilter *JobsDataSourceSelector `json:"DataSourceFilter,omitempty"`

	// DataSource objects collector
	DataSourceSelector *JobsDataSourceSelector `json:"DataSourceSelector,omitempty"`

	// User-defined comment for this action
	Description string `json:"Description,omitempty"`

	// If any Filter is used, next actions can be triggered on Failure
	// This adds ability to create conditional Yes/No branches
	FailedFilterActions []*JobsAction `json:"FailedFilterActions"`

	// String Identifier for specific action
	ID string `json:"ID,omitempty"`

	// Idm objects filter
	IdmFilter *JobsIdmSelector `json:"IdmFilter,omitempty"`

	// Idm objects collector
	IdmSelector *JobsIdmSelector `json:"IdmSelector,omitempty"`

	// User-defined label for this action
	Label string `json:"Label,omitempty"`

	// CollectAction adds starts another chain after the whole ChainedAction/FailedFilterActions have been performed
	MergeAction *JobsAction `json:"MergeAction,omitempty"`

	// Node Filter
	NodesFilter *JobsNodesSelector `json:"NodesFilter,omitempty"`

	// Nodes Selector
	NodesSelector *JobsNodesSelector `json:"NodesSelector,omitempty"`

	// Defined parameters for this action
	Parameters map[string]string `json:"Parameters,omitempty"`

	// Optional timeout for this action
	Timeout string `json:"Timeout,omitempty"`

	// Filter on specific triggers
	TriggerFilter *JobsTriggerFilter `json:"TriggerFilter,omitempty"`

	// User Filter (deprecated in favor of IdmSelector)
	UsersFilter *JobsUsersSelector `json:"UsersFilter,omitempty"`

	// Users Selector (deprecated in favor of IdmSelector)
	UsersSelector *JobsUsersSelector `json:"UsersSelector,omitempty"`
}

JobsAction jobs action

swagger:model jobsAction

func (*JobsAction) ContextValidate

func (m *JobsAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs action based on the context it is used

func (*JobsAction) MarshalBinary

func (m *JobsAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsAction) UnmarshalBinary

func (m *JobsAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsAction) Validate

func (m *JobsAction) Validate(formats strfmt.Registry) error

Validate validates this jobs action

type JobsActionLog

type JobsActionLog struct {

	// action
	Action *JobsAction `json:"Action,omitempty"`

	// input message
	InputMessage *JobsActionMessage `json:"InputMessage,omitempty"`

	// output message
	OutputMessage *JobsActionMessage `json:"OutputMessage,omitempty"`
}

JobsActionLog jobs action log

swagger:model jobsActionLog

func (*JobsActionLog) ContextValidate

func (m *JobsActionLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs action log based on the context it is used

func (*JobsActionLog) MarshalBinary

func (m *JobsActionLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsActionLog) UnmarshalBinary

func (m *JobsActionLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsActionLog) Validate

func (m *JobsActionLog) Validate(formats strfmt.Registry) error

Validate validates this jobs action log

type JobsActionMessage

type JobsActionMessage struct {

	// One or more ACL
	Acls []*IdmACL `json:"Acls"`

	// One or more Activity
	Activities []*ActivityObject `json:"Activities"`

	// One or more DataSource
	DataSources []*ObjectDataSource `json:"DataSources"`

	// Initial event that triggered the Job
	Event *ProtobufAny `json:"Event,omitempty"`

	// One or more Node
	Nodes []*TreeNode `json:"Nodes"`

	// Stack of ActionOutput messages appended by all previous actions
	OutputChain []*JobsActionOutput `json:"OutputChain"`

	// One or more Role
	Roles []*IdmRole `json:"Roles"`

	// One or more User
	Users []*IdmUser `json:"Users"`

	// One or more Workspace
	Workspaces []*IdmWorkspace `json:"Workspaces"`
}

JobsActionMessage Message passed along from one action to another, main properties are modified by the various actions. OutputChain is being stacked up when passing through actions

swagger:model jobsActionMessage

func (*JobsActionMessage) ContextValidate

func (m *JobsActionMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs action message based on the context it is used

func (*JobsActionMessage) MarshalBinary

func (m *JobsActionMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsActionMessage) UnmarshalBinary

func (m *JobsActionMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsActionMessage) Validate

func (m *JobsActionMessage) Validate(formats strfmt.Registry) error

Validate validates this jobs action message

type JobsActionOutput

type JobsActionOutput struct {

	// Error
	ErrorString string `json:"ErrorString,omitempty"`

	// If action was returned WithIgnore()
	Ignored bool `json:"Ignored,omitempty"`

	// Arbitrary JSON-encoded bytes
	// Format: byte
	JSONBody strfmt.Base64 `json:"JsonBody,omitempty"`

	// Arbitrary bytes sequence
	// Format: byte
	RawBody strfmt.Base64 `json:"RawBody,omitempty"`

	// Arbitrary string
	StringBody string `json:"StringBody,omitempty"`

	// True if action succeeded
	Success bool `json:"Success,omitempty"`

	// Time taken to run the action
	Time int32 `json:"Time,omitempty"`

	// Vars container, values are json-encoded.
	Vars map[string]string `json:"Vars,omitempty"`
}

JobsActionOutput Standard output of an action. Success value is required other are optional

swagger:model jobsActionOutput

func (*JobsActionOutput) ContextValidate

func (m *JobsActionOutput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs action output based on context it is used

func (*JobsActionOutput) MarshalBinary

func (m *JobsActionOutput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsActionOutput) UnmarshalBinary

func (m *JobsActionOutput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsActionOutput) Validate

func (m *JobsActionOutput) Validate(formats strfmt.Registry) error

Validate validates this jobs action output

type JobsActionOutputFilter

type JobsActionOutputFilter struct {

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Query built from ActionOutputSingleQuery
	Query *ServiceQuery `json:"Query,omitempty"`
}

JobsActionOutputFilter ActionOutputFilter can be used to filter last message output

swagger:model jobsActionOutputFilter

func (*JobsActionOutputFilter) ContextValidate

func (m *JobsActionOutputFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs action output filter based on the context it is used

func (*JobsActionOutputFilter) MarshalBinary

func (m *JobsActionOutputFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsActionOutputFilter) UnmarshalBinary

func (m *JobsActionOutputFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsActionOutputFilter) Validate

func (m *JobsActionOutputFilter) Validate(formats strfmt.Registry) error

Validate validates this jobs action output filter

type JobsChatEventFilter added in v1.4.4

type JobsChatEventFilter struct {

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Query used to compute output object or list of objects
	Query *ServiceQuery `json:"Query,omitempty"`
}

JobsChatEventFilter jobs chat event filter

swagger:model jobsChatEventFilter

func (*JobsChatEventFilter) ContextValidate added in v1.4.4

func (m *JobsChatEventFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs chat event filter based on the context it is used

func (*JobsChatEventFilter) MarshalBinary added in v1.4.4

func (m *JobsChatEventFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsChatEventFilter) UnmarshalBinary added in v1.4.4

func (m *JobsChatEventFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsChatEventFilter) Validate added in v1.4.4

func (m *JobsChatEventFilter) Validate(formats strfmt.Registry) error

Validate validates this jobs chat event filter

type JobsContextMetaFilter

type JobsContextMetaFilter struct {

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Can be built with ContextMetaSingleQuery
	Query *ServiceQuery `json:"Query,omitempty"`

	// Type of context filter
	Type *JobsContextMetaFilterType `json:"Type,omitempty"`
}

JobsContextMetaFilter PolicyContextFilter can be used to filter request metadata

swagger:model jobsContextMetaFilter

func (*JobsContextMetaFilter) ContextValidate

func (m *JobsContextMetaFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs context meta filter based on the context it is used

func (*JobsContextMetaFilter) MarshalBinary

func (m *JobsContextMetaFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsContextMetaFilter) UnmarshalBinary

func (m *JobsContextMetaFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsContextMetaFilter) Validate

func (m *JobsContextMetaFilter) Validate(formats strfmt.Registry) error

Validate validates this jobs context meta filter

type JobsContextMetaFilterType

type JobsContextMetaFilterType string

JobsContextMetaFilterType jobs context meta filter type

swagger:model jobsContextMetaFilterType

const (

	// JobsContextMetaFilterTypeRequestMeta captures enum value "RequestMeta"
	JobsContextMetaFilterTypeRequestMeta JobsContextMetaFilterType = "RequestMeta"

	// JobsContextMetaFilterTypeContextUser captures enum value "ContextUser"
	JobsContextMetaFilterTypeContextUser JobsContextMetaFilterType = "ContextUser"
)

func (JobsContextMetaFilterType) ContextValidate

func (m JobsContextMetaFilterType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs context meta filter type based on context it is used

func (JobsContextMetaFilterType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated JobsContextMetaFilterType.

func (JobsContextMetaFilterType) Validate

func (m JobsContextMetaFilterType) Validate(formats strfmt.Registry) error

Validate validates this jobs context meta filter type

type JobsDataSelector added in v1.4.4

type JobsDataSelector struct {

	// Clear previous selection
	ClearInput bool `json:"ClearInput,omitempty"`

	// Collect results
	Collect bool `json:"Collect,omitempty"`

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Ignore query and just fan out input.LastOutput.JsonBody
	FanOutInput bool `json:"FanOutInput,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Query used to compute output object or list of objects
	Query *ServiceQuery `json:"Query,omitempty"`

	// Optional Timeout for this selector
	Timeout string `json:"Timeout,omitempty"`
}

JobsDataSelector jobs data selector

swagger:model jobsDataSelector

func (*JobsDataSelector) ContextValidate added in v1.4.4

func (m *JobsDataSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs data selector based on the context it is used

func (*JobsDataSelector) MarshalBinary added in v1.4.4

func (m *JobsDataSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsDataSelector) UnmarshalBinary added in v1.4.4

func (m *JobsDataSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsDataSelector) Validate added in v1.4.4

func (m *JobsDataSelector) Validate(formats strfmt.Registry) error

Validate validates this jobs data selector

type JobsDataSourceSelector

type JobsDataSourceSelector struct {

	// Select all
	All bool `json:"All,omitempty"`

	// Clear previous selection
	ClearInput bool `json:"ClearInput,omitempty"`

	// Collect results
	Collect bool `json:"Collect,omitempty"`

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Ignore query and just fan out input.DataSources
	FanOutInput bool `json:"FanOutInput,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Composition of DataSourceSingleQueries
	Query *ServiceQuery `json:"Query,omitempty"`

	// Optional Timeout for this selector
	Timeout string `json:"Timeout,omitempty"`

	// Selector type, either DataSource or Object service
	Type *JobsDataSourceSelectorType `json:"Type,omitempty"`
}

JobsDataSourceSelector Selector/Filter for DataSource objects

swagger:model jobsDataSourceSelector

func (*JobsDataSourceSelector) ContextValidate

func (m *JobsDataSourceSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs data source selector based on the context it is used

func (*JobsDataSourceSelector) MarshalBinary

func (m *JobsDataSourceSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsDataSourceSelector) UnmarshalBinary

func (m *JobsDataSourceSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsDataSourceSelector) Validate

func (m *JobsDataSourceSelector) Validate(formats strfmt.Registry) error

Validate validates this jobs data source selector

type JobsDataSourceSelectorType

type JobsDataSourceSelectorType string

JobsDataSourceSelectorType jobs data source selector type

swagger:model jobsDataSourceSelectorType

const (

	// JobsDataSourceSelectorTypeDataSource captures enum value "DataSource"
	JobsDataSourceSelectorTypeDataSource JobsDataSourceSelectorType = "DataSource"

	// JobsDataSourceSelectorTypeObject captures enum value "Object"
	JobsDataSourceSelectorTypeObject JobsDataSourceSelectorType = "Object"
)

func (JobsDataSourceSelectorType) ContextValidate

func (m JobsDataSourceSelectorType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs data source selector type based on context it is used

func (JobsDataSourceSelectorType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated JobsDataSourceSelectorType.

func (JobsDataSourceSelectorType) Validate

func (m JobsDataSourceSelectorType) Validate(formats strfmt.Registry) error

Validate validates this jobs data source selector type

type JobsDeleteJobResponse

type JobsDeleteJobResponse struct {

	// delete count
	DeleteCount int32 `json:"DeleteCount,omitempty"`

	// success
	Success bool `json:"Success,omitempty"`
}

JobsDeleteJobResponse jobs delete job response

swagger:model jobsDeleteJobResponse

func (*JobsDeleteJobResponse) ContextValidate

func (m *JobsDeleteJobResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs delete job response based on context it is used

func (*JobsDeleteJobResponse) MarshalBinary

func (m *JobsDeleteJobResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsDeleteJobResponse) UnmarshalBinary

func (m *JobsDeleteJobResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsDeleteJobResponse) Validate

func (m *JobsDeleteJobResponse) Validate(formats strfmt.Registry) error

Validate validates this jobs delete job response

type JobsIdmSelector

type JobsIdmSelector struct {

	// Load all objects
	All bool `json:"All,omitempty"`

	// Clear previous selection
	ClearInput bool `json:"ClearInput,omitempty"`

	// Pass a slice of objects to one action, or trigger all actions in parallel
	Collect bool `json:"Collect,omitempty"`

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Ignore query and just fan out input.[Type]
	FanOutInput bool `json:"FanOutInput,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Serialized search query
	Query *ServiceQuery `json:"Query,omitempty"`

	// Handle ranges
	Range *JobsSelectorRange `json:"Range,omitempty"`

	// Optional Timeout for this selector
	Timeout string `json:"Timeout,omitempty"`

	// Type of objects to look for
	Type *JobsIdmSelectorType `json:"Type,omitempty"`
}

JobsIdmSelector Generic container for select/filter idm objects

swagger:model jobsIdmSelector

func (*JobsIdmSelector) ContextValidate

func (m *JobsIdmSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs idm selector based on the context it is used

func (*JobsIdmSelector) MarshalBinary

func (m *JobsIdmSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsIdmSelector) UnmarshalBinary

func (m *JobsIdmSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsIdmSelector) Validate

func (m *JobsIdmSelector) Validate(formats strfmt.Registry) error

Validate validates this jobs idm selector

type JobsIdmSelectorType

type JobsIdmSelectorType string

JobsIdmSelectorType Possible values for IdmSelector.Type

swagger:model jobsIdmSelectorType

const (

	// JobsIdmSelectorTypeUser captures enum value "User"
	JobsIdmSelectorTypeUser JobsIdmSelectorType = "User"

	// JobsIdmSelectorTypeRole captures enum value "Role"
	JobsIdmSelectorTypeRole JobsIdmSelectorType = "Role"

	// JobsIdmSelectorTypeWorkspace captures enum value "Workspace"
	JobsIdmSelectorTypeWorkspace JobsIdmSelectorType = "Workspace"

	// JobsIdmSelectorTypeACL captures enum value "Acl"
	JobsIdmSelectorTypeACL JobsIdmSelectorType = "Acl"
)

func NewJobsIdmSelectorType

func NewJobsIdmSelectorType(value JobsIdmSelectorType) *JobsIdmSelectorType

func (JobsIdmSelectorType) ContextValidate

func (m JobsIdmSelectorType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs idm selector type based on context it is used

func (JobsIdmSelectorType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated JobsIdmSelectorType.

func (JobsIdmSelectorType) Validate

func (m JobsIdmSelectorType) Validate(formats strfmt.Registry) error

Validate validates this jobs idm selector type

type JobsJob

type JobsJob struct {

	// Chain of actions to perform
	Actions []*JobsAction `json:"Actions"`

	// Remove job automatically once it is finished (success only)
	AutoClean bool `json:"AutoClean,omitempty"`

	// Start task as soon as server is started
	AutoRestart bool `json:"AutoRestart,omitempty"`

	// Start task as soon as job is inserted
	AutoStart bool `json:"AutoStart,omitempty"`

	// Filter values from ChatEvent
	ChatEventFilter *JobsChatEventFilter `json:"ChatEventFilter,omitempty"`

	// Event Context Filter
	ContextMetaFilter *JobsContextMetaFilter `json:"ContextMetaFilter,omitempty"`

	// Timestamp for creation time
	CreatedAt int32 `json:"CreatedAt,omitempty"`

	// Job created by application or by administrator
	Custom bool `json:"Custom,omitempty"`

	// DataSource objects filter
	DataSourceFilter *JobsDataSourceSelector `json:"DataSourceFilter,omitempty"`

	// How the job will be triggered.
	// One of these must be set (not exclusive)
	// Listen to a given set of events
	EventNames []string `json:"EventNames"`

	// Expose this job through one or more-userspace APIs
	Hooks []*JobsJobHook `json:"Hooks"`

	// Unique ID for this Job
	ID string `json:"ID,omitempty"`

	// Idm objects filter
	IdmFilter *JobsIdmSelector `json:"IdmFilter,omitempty"`

	// Admin can temporarily disable this job
	Inactive bool `json:"Inactive,omitempty"`

	// Human-readable Label
	Label string `json:"Label,omitempty"`

	// Optional list of languages detected in the context at launch time
	Languages []string `json:"Languages"`

	// Task properties
	MaxConcurrency int32 `json:"MaxConcurrency,omitempty"`

	// Collect chain of actions into a merged output
	MergeAction *JobsAction `json:"MergeAction,omitempty"`

	// Additional user-defined metadata, can be used for icon, documentation, pre-requisites, etc.
	Metadata map[string]string `json:"Metadata,omitempty"`

	// Timestamp for modification time
	ModifiedAt int32 `json:"ModifiedAt,omitempty"`

	// Filter out specific events
	NodeEventFilter *JobsNodesSelector `json:"NodeEventFilter,omitempty"`

	// Who created this Job
	Owner string `json:"Owner,omitempty"`

	// Job-level parameters that can be passed to underlying actions
	Parameters []*JobsJobParameter `json:"Parameters"`

	// Additional dependencies that may be required when running the job
	ResourcesDependencies []*ProtobufAny `json:"ResourcesDependencies"`

	// Schedule a periodic repetition
	Schedule *JobsSchedule `json:"Schedule,omitempty"`

	// Filled with currently running tasks
	Tasks []*JobsTask `json:"Tasks"`

	// Do not send notification on task update
	TasksSilentUpdate bool `json:"TasksSilentUpdate,omitempty"`

	// Optional Timeout any running job
	Timeout string `json:"Timeout,omitempty"`

	// Deprecated in favor of more generic IdmSelector
	UserEventFilter *JobsUsersSelector `json:"UserEventFilter,omitempty"`

	// Additional Versioning Metadata
	VersionMeta map[string]string `json:"VersionMeta,omitempty"`
}

JobsJob jobs job

swagger:model jobsJob

func (*JobsJob) ContextValidate

func (m *JobsJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs job based on the context it is used

func (*JobsJob) MarshalBinary

func (m *JobsJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsJob) UnmarshalBinary

func (m *JobsJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsJob) Validate

func (m *JobsJob) Validate(formats strfmt.Registry) error

Validate validates this jobs job

type JobsJobHook added in v1.4.1

type JobsJobHook struct {

	// Allow trigger parameters to override default presets
	AllowOverridePresets bool `json:"AllowOverridePresets,omitempty"`

	// Custom ApiSlug, otherwise use the job UUID
	APISlug string `json:"ApiSlug,omitempty"`

	// Additional arbitrary metadata attached to this hook
	Metadata map[string]string `json:"Metadata,omitempty"`

	// Set permissions for accessing this endpoint
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Preset parameters values when calling this endpoint. May be overriden by a map[string]string in the body
	PresetParameters map[string]string `json:"PresetParameters,omitempty"`
}

JobsJobHook Dynamically expose a job trigger via API

swagger:model jobsJobHook

func (*JobsJobHook) ContextValidate added in v1.4.1

func (m *JobsJobHook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs job hook based on the context it is used

func (*JobsJobHook) MarshalBinary added in v1.4.1

func (m *JobsJobHook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsJobHook) UnmarshalBinary added in v1.4.1

func (m *JobsJobHook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsJobHook) Validate added in v1.4.1

func (m *JobsJobHook) Validate(formats strfmt.Registry) error

Validate validates this jobs job hook

type JobsJobParameter

type JobsJobParameter struct {

	// Additional description
	Description string `json:"Description,omitempty"`

	// Additional data used by GUI elements
	JSONChoices string `json:"JsonChoices,omitempty"`

	// If mandatory, job cannot start without a value
	Mandatory bool `json:"Mandatory,omitempty"`

	// Parameter name
	Name string `json:"Name,omitempty"`

	// Parameter type used in GUI forms
	Type string `json:"Type,omitempty"`

	// Value saved for this parameter
	Value string `json:"Value,omitempty"`
}

JobsJobParameter jobs job parameter

swagger:model jobsJobParameter

func (*JobsJobParameter) ContextValidate

func (m *JobsJobParameter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs job parameter based on context it is used

func (*JobsJobParameter) MarshalBinary

func (m *JobsJobParameter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsJobParameter) UnmarshalBinary

func (m *JobsJobParameter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsJobParameter) Validate

func (m *JobsJobParameter) Validate(formats strfmt.Registry) error

Validate validates this jobs job parameter

type JobsNodesSelector

type JobsNodesSelector struct {

	// Select all files - ignore any other condition
	All bool `json:"All,omitempty"`

	// Clear previous selection
	ClearInput bool `json:"ClearInput,omitempty"`

	// Whether to trigger one action per node or one action
	// with all nodes as selection
	Collect bool `json:"Collect,omitempty"`

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Ignore query and just fan out input.Nodes
	FanOutInput bool `json:"FanOutInput,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Preset list of node pathes
	Pathes []string `json:"Pathes"`

	// Query to apply to select users (or filter a given node passed by event)
	Query *ServiceQuery `json:"Query,omitempty"`

	// Handle ranges
	Range *JobsSelectorRange `json:"Range,omitempty"`

	// Optional Timeout for this selector
	Timeout string `json:"Timeout,omitempty"`
}

JobsNodesSelector ///////////////// JOB SERVICE // /////////////////

swagger:model jobsNodesSelector

func (*JobsNodesSelector) ContextValidate

func (m *JobsNodesSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs nodes selector based on the context it is used

func (*JobsNodesSelector) MarshalBinary

func (m *JobsNodesSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsNodesSelector) UnmarshalBinary

func (m *JobsNodesSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsNodesSelector) Validate

func (m *JobsNodesSelector) Validate(formats strfmt.Registry) error

Validate validates this jobs nodes selector

type JobsPutJobRequest

type JobsPutJobRequest struct {

	// job
	Job *JobsJob `json:"Job,omitempty"`
}

JobsPutJobRequest jobs put job request

swagger:model jobsPutJobRequest

func (*JobsPutJobRequest) ContextValidate

func (m *JobsPutJobRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs put job request based on the context it is used

func (*JobsPutJobRequest) MarshalBinary

func (m *JobsPutJobRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsPutJobRequest) UnmarshalBinary

func (m *JobsPutJobRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsPutJobRequest) Validate

func (m *JobsPutJobRequest) Validate(formats strfmt.Registry) error

Validate validates this jobs put job request

type JobsPutJobResponse

type JobsPutJobResponse struct {

	// job
	Job *JobsJob `json:"Job,omitempty"`
}

JobsPutJobResponse jobs put job response

swagger:model jobsPutJobResponse

func (*JobsPutJobResponse) ContextValidate

func (m *JobsPutJobResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs put job response based on the context it is used

func (*JobsPutJobResponse) MarshalBinary

func (m *JobsPutJobResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsPutJobResponse) UnmarshalBinary

func (m *JobsPutJobResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsPutJobResponse) Validate

func (m *JobsPutJobResponse) Validate(formats strfmt.Registry) error

Validate validates this jobs put job response

type JobsSchedule

type JobsSchedule struct {

	// Minimum time between two runs
	Iso8601MinDelta string `json:"Iso8601MinDelta,omitempty"`

	// ISO 8601 Description of the scheduling for instance "R2/2015-06-04T19:25:16.828696-07:00/PT4S"
	// where first part is the number of repetitions (if 0, infinite repetition),
	// second part the starting date and last part, the duration between 2 occurrences.
	Iso8601Schedule string `json:"Iso8601Schedule,omitempty"`
}

JobsSchedule jobs schedule

swagger:model jobsSchedule

func (*JobsSchedule) ContextValidate

func (m *JobsSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs schedule based on context it is used

func (*JobsSchedule) MarshalBinary

func (m *JobsSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsSchedule) UnmarshalBinary

func (m *JobsSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsSchedule) Validate

func (m *JobsSchedule) Validate(formats strfmt.Registry) error

Validate validates this jobs schedule

type JobsSelectorRange added in v1.4.4

type JobsSelectorRange struct {

	// Limit number of results - use string to allow templating
	Limit string `json:"Limit,omitempty"`

	// Start offset - use string to allow templating
	Offset string `json:"Offset,omitempty"`

	// OrderBy a given field of the object
	OrderBy string `json:"OrderBy,omitempty"`

	// Order direction (asc/desc)
	OrderDir string `json:"OrderDir,omitempty"`
}

JobsSelectorRange jobs selector range

swagger:model jobsSelectorRange

func (*JobsSelectorRange) ContextValidate added in v1.4.4

func (m *JobsSelectorRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs selector range based on context it is used

func (*JobsSelectorRange) MarshalBinary added in v1.4.4

func (m *JobsSelectorRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsSelectorRange) UnmarshalBinary added in v1.4.4

func (m *JobsSelectorRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsSelectorRange) Validate added in v1.4.4

func (m *JobsSelectorRange) Validate(formats strfmt.Registry) error

Validate validates this jobs selector range

type JobsTask

type JobsTask struct {

	// Logs of all the actions performed
	ActionsLogs []*JobsActionLog `json:"ActionsLogs"`

	// Can be paused/resumed
	CanPause bool `json:"CanPause,omitempty"`

	// Can be interrupted
	CanStop bool `json:"CanStop,omitempty"`

	// end time
	EndTime int32 `json:"EndTime,omitempty"`

	// Tasks publish a progress
	HasProgress bool `json:"HasProgress,omitempty"`

	// ID
	ID string `json:"ID,omitempty"`

	// job ID
	JobID string `json:"JobID,omitempty"`

	// Float value of the progress between 0 and 1
	Progress float32 `json:"Progress,omitempty"`

	// start time
	StartTime int32 `json:"StartTime,omitempty"`

	// status
	Status *JobsTaskStatus `json:"Status,omitempty"`

	// status message
	StatusMessage string `json:"StatusMessage,omitempty"`

	// trigger owner
	TriggerOwner string `json:"TriggerOwner,omitempty"`
}

JobsTask jobs task

swagger:model jobsTask

func (*JobsTask) ContextValidate

func (m *JobsTask) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs task based on the context it is used

func (*JobsTask) MarshalBinary

func (m *JobsTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsTask) UnmarshalBinary

func (m *JobsTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsTask) Validate

func (m *JobsTask) Validate(formats strfmt.Registry) error

Validate validates this jobs task

type JobsTaskStatus

type JobsTaskStatus string

JobsTaskStatus ///////////////// TASK SERVICE // /////////////////

swagger:model jobsTaskStatus

const (

	// JobsTaskStatusUnknown captures enum value "Unknown"
	JobsTaskStatusUnknown JobsTaskStatus = "Unknown"

	// JobsTaskStatusIdle captures enum value "Idle"
	JobsTaskStatusIdle JobsTaskStatus = "Idle"

	// JobsTaskStatusRunning captures enum value "Running"
	JobsTaskStatusRunning JobsTaskStatus = "Running"

	// JobsTaskStatusFinished captures enum value "Finished"
	JobsTaskStatusFinished JobsTaskStatus = "Finished"

	// JobsTaskStatusInterrupted captures enum value "Interrupted"
	JobsTaskStatusInterrupted JobsTaskStatus = "Interrupted"

	// JobsTaskStatusPaused captures enum value "Paused"
	JobsTaskStatusPaused JobsTaskStatus = "Paused"

	// JobsTaskStatusAny captures enum value "Any"
	JobsTaskStatusAny JobsTaskStatus = "Any"

	// JobsTaskStatusError captures enum value "Error"
	JobsTaskStatusError JobsTaskStatus = "Error"

	// JobsTaskStatusQueued captures enum value "Queued"
	JobsTaskStatusQueued JobsTaskStatus = "Queued"
)

func NewJobsTaskStatus

func NewJobsTaskStatus(value JobsTaskStatus) *JobsTaskStatus

func (JobsTaskStatus) ContextValidate

func (m JobsTaskStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jobs task status based on context it is used

func (JobsTaskStatus) Pointer added in v1.4.0

func (m JobsTaskStatus) Pointer() *JobsTaskStatus

Pointer returns a pointer to a freshly-allocated JobsTaskStatus.

func (JobsTaskStatus) Validate

func (m JobsTaskStatus) Validate(formats strfmt.Registry) error

Validate validates this jobs task status

type JobsTriggerFilter

type JobsTriggerFilter struct {

	// Filter additional description
	Description string `json:"Description,omitempty"`

	// Filter custom label
	Label string `json:"Label,omitempty"`

	// Filter type
	Query *ServiceQuery `json:"Query,omitempty"`
}

JobsTriggerFilter Filter for events, can be applied on action branches

swagger:model jobsTriggerFilter

func (*JobsTriggerFilter) ContextValidate

func (m *JobsTriggerFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs trigger filter based on the context it is used

func (*JobsTriggerFilter) MarshalBinary

func (m *JobsTriggerFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsTriggerFilter) UnmarshalBinary

func (m *JobsTriggerFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsTriggerFilter) Validate

func (m *JobsTriggerFilter) Validate(formats strfmt.Registry) error

Validate validates this jobs trigger filter

type JobsUsersSelector

type JobsUsersSelector struct {

	// Select all users
	All bool `json:"All,omitempty"`

	// Clear previous selection
	ClearInput bool `json:"ClearInput,omitempty"`

	// Wether to trigger one action per user or one action
	// with all user as a selection
	Collect bool `json:"Collect,omitempty"`

	// Selector additional description
	Description string `json:"Description,omitempty"`

	// Selector custom label
	Label string `json:"Label,omitempty"`

	// Filter users using this query
	Query *ServiceQuery `json:"Query,omitempty"`

	// Optional Timeout for this selector
	Timeout string `json:"Timeout,omitempty"`

	// Preset set of Users
	Users []*IdmUser `json:"Users"`
}

JobsUsersSelector Select or filter users - should be replaced by more generic IdmSelector

swagger:model jobsUsersSelector

func (*JobsUsersSelector) ContextValidate

func (m *JobsUsersSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jobs users selector based on the context it is used

func (*JobsUsersSelector) MarshalBinary

func (m *JobsUsersSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobsUsersSelector) UnmarshalBinary

func (m *JobsUsersSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobsUsersSelector) Validate

func (m *JobsUsersSelector) Validate(formats strfmt.Registry) error

Validate validates this jobs users selector

type ListLogRequestLogFormat

type ListLogRequestLogFormat string

ListLogRequestLogFormat Output Format

swagger:model ListLogRequestLogFormat

const (

	// ListLogRequestLogFormatJSON captures enum value "JSON"
	ListLogRequestLogFormatJSON ListLogRequestLogFormat = "JSON"

	// ListLogRequestLogFormatCSV captures enum value "CSV"
	ListLogRequestLogFormatCSV ListLogRequestLogFormat = "CSV"

	// ListLogRequestLogFormatXLSX captures enum value "XLSX"
	ListLogRequestLogFormatXLSX ListLogRequestLogFormat = "XLSX"
)

func NewListLogRequestLogFormat

func NewListLogRequestLogFormat(value ListLogRequestLogFormat) *ListLogRequestLogFormat

func (ListLogRequestLogFormat) ContextValidate

func (m ListLogRequestLogFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list log request log format based on context it is used

func (ListLogRequestLogFormat) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ListLogRequestLogFormat.

func (ListLogRequestLogFormat) Validate

func (m ListLogRequestLogFormat) Validate(formats strfmt.Registry) error

Validate validates this list log request log format

type LogListLogRequest

type LogListLogRequest struct {

	// format
	Format *ListLogRequestLogFormat `json:"Format,omitempty"`

	// Start at page
	Page int32 `json:"Page,omitempty"`

	// Bleve-type Query stsring
	Query string `json:"Query,omitempty"`

	// Number of results
	Size int32 `json:"Size,omitempty"`
}

LogListLogRequest ListLogRequest launches a parameterised query in the log repository and streams the results.

swagger:model logListLogRequest

func (*LogListLogRequest) ContextValidate

func (m *LogListLogRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log list log request based on the context it is used

func (*LogListLogRequest) MarshalBinary

func (m *LogListLogRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogListLogRequest) UnmarshalBinary

func (m *LogListLogRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogListLogRequest) Validate

func (m *LogListLogRequest) Validate(formats strfmt.Registry) error

Validate validates this log list log request

type LogLogMessage

type LogLogMessage struct {

	// group path
	GroupPath string `json:"GroupPath,omitempty"`

	// Http protocol
	HTTPProtocol string `json:"HttpProtocol,omitempty"`

	// Other Unkown Fields
	JSONZaps string `json:"JsonZaps,omitempty"`

	// level
	Level string `json:"Level,omitempty"`

	// logger
	Logger string `json:"Logger,omitempty"`

	// msg
	Msg string `json:"Msg,omitempty"`

	// Pydio specific
	MsgID string `json:"MsgId,omitempty"`

	// node path
	NodePath string `json:"NodePath,omitempty"`

	// Tree Info
	NodeUUID string `json:"NodeUuid,omitempty"`

	// operation label
	OperationLabel string `json:"OperationLabel,omitempty"`

	// High Level Operation Info
	OperationUUID string `json:"OperationUuid,omitempty"`

	// profile
	Profile string `json:"Profile,omitempty"`

	// Client info
	RemoteAddress string `json:"RemoteAddress,omitempty"`

	// role uuids
	RoleUuids []string `json:"RoleUuids"`

	// scheduler job Uuid
	SchedulerJobUUID string `json:"SchedulerJobUuid,omitempty"`

	// scheduler task action path
	SchedulerTaskActionPath string `json:"SchedulerTaskActionPath,omitempty"`

	// scheduler task Uuid
	SchedulerTaskUUID string `json:"SchedulerTaskUuid,omitempty"`

	// span parent Uuid
	SpanParentUUID string `json:"SpanParentUuid,omitempty"`

	// span root Uuid
	SpanRootUUID string `json:"SpanRootUuid,omitempty"`

	// Span Info
	SpanUUID string `json:"SpanUuid,omitempty"`

	// transfer size
	TransferSize string `json:"TransferSize,omitempty"`

	// Generic zap fields
	Ts int32 `json:"Ts,omitempty"`

	// user agent
	UserAgent string `json:"UserAgent,omitempty"`

	// User Info
	UserName string `json:"UserName,omitempty"`

	// user Uuid
	UserUUID string `json:"UserUuid,omitempty"`

	// ws scope
	WsScope string `json:"WsScope,omitempty"`

	// ws Uuid
	WsUUID string `json:"WsUuid,omitempty"`
}

LogLogMessage LogMessage is the format used to transmit log messages to clients via the REST API.

swagger:model logLogMessage

func (*LogLogMessage) ContextValidate

func (m *LogLogMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log log message based on context it is used

func (*LogLogMessage) MarshalBinary

func (m *LogLogMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogLogMessage) UnmarshalBinary

func (m *LogLogMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogLogMessage) Validate

func (m *LogLogMessage) Validate(formats strfmt.Registry) error

Validate validates this log log message

type LogRelType

type LogRelType string

LogRelType Relative links types. Note that First is time.Now() and last time.Unix(0). We added an unused NONE enum with value 0 to workaround 0 issues between JSON and proto3.

swagger:model logRelType

const (

	// LogRelTypeNONE captures enum value "NONE"
	LogRelTypeNONE LogRelType = "NONE"

	// LogRelTypeFIRST captures enum value "FIRST"
	LogRelTypeFIRST LogRelType = "FIRST"

	// LogRelTypePREV captures enum value "PREV"
	LogRelTypePREV LogRelType = "PREV"

	// LogRelTypeNEXT captures enum value "NEXT"
	LogRelTypeNEXT LogRelType = "NEXT"

	// LogRelTypeLAST captures enum value "LAST"
	LogRelTypeLAST LogRelType = "LAST"
)

func NewLogRelType

func NewLogRelType(value LogRelType) *LogRelType

func (LogRelType) ContextValidate

func (m LogRelType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log rel type based on context it is used

func (LogRelType) Pointer added in v1.4.0

func (m LogRelType) Pointer() *LogRelType

Pointer returns a pointer to a freshly-allocated LogRelType.

func (LogRelType) Validate

func (m LogRelType) Validate(formats strfmt.Registry) error

Validate validates this log rel type

type LogTimeRangeCursor

type LogTimeRangeCursor struct {

	// count
	Count int32 `json:"Count,omitempty"`

	// ref time
	RefTime int32 `json:"RefTime,omitempty"`

	// rel
	Rel *LogRelType `json:"Rel,omitempty"`
}

LogTimeRangeCursor Ease implementation of data navigation for a chart.

swagger:model logTimeRangeCursor

func (*LogTimeRangeCursor) ContextValidate

func (m *LogTimeRangeCursor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log time range cursor based on the context it is used

func (*LogTimeRangeCursor) MarshalBinary

func (m *LogTimeRangeCursor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogTimeRangeCursor) UnmarshalBinary

func (m *LogTimeRangeCursor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogTimeRangeCursor) Validate

func (m *LogTimeRangeCursor) Validate(formats strfmt.Registry) error

Validate validates this log time range cursor

type LogTimeRangeRequest

type LogTimeRangeRequest struct {

	// Type of event we are auditing
	MsgID string `json:"MsgId,omitempty"`

	// Upper bound for our request
	RefTime int32 `json:"RefTime,omitempty"`

	// Known types: H, D, W, M or Y
	TimeRangeType string `json:"TimeRangeType,omitempty"`
}

LogTimeRangeRequest TimeRangeRequest contains the parameter to configure the query to retrieve the number of audit events of this type for a given time range defined by last timestamp and a range type.

swagger:model logTimeRangeRequest

func (*LogTimeRangeRequest) ContextValidate

func (m *LogTimeRangeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log time range request based on context it is used

func (*LogTimeRangeRequest) MarshalBinary

func (m *LogTimeRangeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogTimeRangeRequest) UnmarshalBinary

func (m *LogTimeRangeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogTimeRangeRequest) Validate

func (m *LogTimeRangeRequest) Validate(formats strfmt.Registry) error

Validate validates this log time range request

type LogTimeRangeResult

type LogTimeRangeResult struct {

	// nb of occurrences found within this range
	Count int32 `json:"Count,omitempty"`

	// end timestamp
	End int32 `json:"End,omitempty"`

	// a label for this time range
	Name string `json:"Name,omitempty"`

	// a score between 1 and 100 that gives the relevance of this result:
	// if End > now, we ponderate the returned count with the duration of the last time range
	// for instance for a hour range if now is 6PM, last count will be
	// multiplied by 4/3 and have a relevance of 75.
	// Relevance will be almost always equals to 100
	Relevance int32 `json:"Relevance,omitempty"`

	// begin timestamp
	Start int32 `json:"Start,omitempty"`
}

LogTimeRangeResult TimeRangeResult represents one point of a graph.

swagger:model logTimeRangeResult

func (*LogTimeRangeResult) ContextValidate

func (m *LogTimeRangeResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log time range result based on context it is used

func (*LogTimeRangeResult) MarshalBinary

func (m *LogTimeRangeResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogTimeRangeResult) UnmarshalBinary

func (m *LogTimeRangeResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogTimeRangeResult) Validate

func (m *LogTimeRangeResult) Validate(formats strfmt.Registry) error

Validate validates this log time range result

type NodeChangeEventEventType

type NodeChangeEventEventType string

NodeChangeEventEventType node change event event type

swagger:model NodeChangeEventEventType

const (

	// NodeChangeEventEventTypeCREATE captures enum value "CREATE"
	NodeChangeEventEventTypeCREATE NodeChangeEventEventType = "CREATE"

	// NodeChangeEventEventTypeREAD captures enum value "READ"
	NodeChangeEventEventTypeREAD NodeChangeEventEventType = "READ"

	// NodeChangeEventEventTypeUPDATEPATH captures enum value "UPDATE_PATH"
	NodeChangeEventEventTypeUPDATEPATH NodeChangeEventEventType = "UPDATE_PATH"

	// NodeChangeEventEventTypeUPDATECONTENT captures enum value "UPDATE_CONTENT"
	NodeChangeEventEventTypeUPDATECONTENT NodeChangeEventEventType = "UPDATE_CONTENT"

	// NodeChangeEventEventTypeUPDATEMETA captures enum value "UPDATE_META"
	NodeChangeEventEventTypeUPDATEMETA NodeChangeEventEventType = "UPDATE_META"

	// NodeChangeEventEventTypeUPDATEUSERMETA captures enum value "UPDATE_USER_META"
	NodeChangeEventEventTypeUPDATEUSERMETA NodeChangeEventEventType = "UPDATE_USER_META"

	// NodeChangeEventEventTypeDELETE captures enum value "DELETE"
	NodeChangeEventEventTypeDELETE NodeChangeEventEventType = "DELETE"
)

func (NodeChangeEventEventType) ContextValidate

func (m NodeChangeEventEventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node change event event type based on context it is used

func (NodeChangeEventEventType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated NodeChangeEventEventType.

func (NodeChangeEventEventType) Validate

func (m NodeChangeEventEventType) Validate(formats strfmt.Registry) error

Validate validates this node change event event type

type ObjectDataSource

type ObjectDataSource struct {

	// Corresponding objects service api key
	APIKey string `json:"ApiKey,omitempty"`

	// Corresponding objects service api secret
	APISecret string `json:"ApiSecret,omitempty"`

	// Data Source creation date
	CreationDate int32 `json:"CreationDate,omitempty"`

	// Whether this data source is disabled or running
	Disabled bool `json:"Disabled,omitempty"`

	// Encryption key used for encrypting data
	EncryptionKey string `json:"EncryptionKey,omitempty"`

	// Type of encryption applied before sending data to storage
	EncryptionMode *ObjectEncryptionMode `json:"EncryptionMode,omitempty"`

	// Store data in flat format (object-storage like)
	FlatStorage bool `json:"FlatStorage,omitempty"`

	// Data Source last synchronization date
	LastSynchronizationDate int32 `json:"LastSynchronizationDate,omitempty"`

	// Name of the data source (max length 34)
	Name string `json:"Name,omitempty"`

	// Corresponding objects service base folder inside the bucket
	ObjectsBaseFolder string `json:"ObjectsBaseFolder,omitempty"`

	// Corresponding objects service bucket
	ObjectsBucket string `json:"ObjectsBucket,omitempty"`

	// Corresponding objects service host
	ObjectsHost string `json:"ObjectsHost,omitempty"`

	// Corresponding objects service port
	ObjectsPort int32 `json:"ObjectsPort,omitempty"`

	// Corresponding objects service connection type
	ObjectsSecure bool `json:"ObjectsSecure,omitempty"`

	// Corresponding objects service name (underlying s3 service)
	ObjectsServiceName string `json:"ObjectsServiceName,omitempty"`

	// Peer address of the data source
	PeerAddress string `json:"PeerAddress,omitempty"`

	// Do not trigger resync at start
	SkipSyncOnRestart bool `json:"SkipSyncOnRestart,omitempty"`

	// List of key values describing storage configuration
	StorageConfiguration map[string]string `json:"StorageConfiguration,omitempty"`

	// Type of underlying storage (LOCAL, S3, AZURE, GCS)
	StorageType *ObjectStorageType `json:"StorageType,omitempty"`

	// Versioning policy describes how files are kept in the versioning queue
	VersioningPolicyName string `json:"VersioningPolicyName,omitempty"`

	// Not implemented, whether to watch for underlying changes on the FS
	Watch bool `json:"Watch,omitempty"`
}

ObjectDataSource DataSource Object description

swagger:model objectDataSource

func (*ObjectDataSource) ContextValidate

func (m *ObjectDataSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this object data source based on the context it is used

func (*ObjectDataSource) MarshalBinary

func (m *ObjectDataSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectDataSource) UnmarshalBinary

func (m *ObjectDataSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectDataSource) Validate

func (m *ObjectDataSource) Validate(formats strfmt.Registry) error

Validate validates this object data source

type ObjectEncryptionMode

type ObjectEncryptionMode string

ObjectEncryptionMode Type of Encryption

swagger:model objectEncryptionMode

const (

	// ObjectEncryptionModeCLEAR captures enum value "CLEAR"
	ObjectEncryptionModeCLEAR ObjectEncryptionMode = "CLEAR"

	// ObjectEncryptionModeMASTER captures enum value "MASTER"
	ObjectEncryptionModeMASTER ObjectEncryptionMode = "MASTER"

	// ObjectEncryptionModeUSER captures enum value "USER"
	ObjectEncryptionModeUSER ObjectEncryptionMode = "USER"

	// ObjectEncryptionModeUSERPWD captures enum value "USER_PWD"
	ObjectEncryptionModeUSERPWD ObjectEncryptionMode = "USER_PWD"
)

func NewObjectEncryptionMode

func NewObjectEncryptionMode(value ObjectEncryptionMode) *ObjectEncryptionMode

func (ObjectEncryptionMode) ContextValidate

func (m ObjectEncryptionMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object encryption mode based on context it is used

func (ObjectEncryptionMode) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ObjectEncryptionMode.

func (ObjectEncryptionMode) Validate

func (m ObjectEncryptionMode) Validate(formats strfmt.Registry) error

Validate validates this object encryption mode

type ObjectStorageType

type ObjectStorageType string

ObjectStorageType Type of Gateway

swagger:model objectStorageType

const (

	// ObjectStorageTypeLOCAL captures enum value "LOCAL"
	ObjectStorageTypeLOCAL ObjectStorageType = "LOCAL"

	// ObjectStorageTypeS3 captures enum value "S3"
	ObjectStorageTypeS3 ObjectStorageType = "S3"

	// ObjectStorageTypeSMB captures enum value "SMB"
	ObjectStorageTypeSMB ObjectStorageType = "SMB"

	// ObjectStorageTypeCELLS captures enum value "CELLS"
	ObjectStorageTypeCELLS ObjectStorageType = "CELLS"

	// ObjectStorageTypeAZURE captures enum value "AZURE"
	ObjectStorageTypeAZURE ObjectStorageType = "AZURE"

	// ObjectStorageTypeGCS captures enum value "GCS"
	ObjectStorageTypeGCS ObjectStorageType = "GCS"

	// ObjectStorageTypeB2 captures enum value "B2"
	ObjectStorageTypeB2 ObjectStorageType = "B2"

	// ObjectStorageTypeMANTA captures enum value "MANTA"
	ObjectStorageTypeMANTA ObjectStorageType = "MANTA"

	// ObjectStorageTypeSIA captures enum value "SIA"
	ObjectStorageTypeSIA ObjectStorageType = "SIA"
)

func NewObjectStorageType

func NewObjectStorageType(value ObjectStorageType) *ObjectStorageType

func (ObjectStorageType) ContextValidate

func (m ObjectStorageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object storage type based on context it is used

func (ObjectStorageType) Pointer added in v1.4.0

func (m ObjectStorageType) Pointer() *ObjectStorageType

Pointer returns a pointer to a freshly-allocated ObjectStorageType.

func (ObjectStorageType) Validate

func (m ObjectStorageType) Validate(formats strfmt.Registry) error

Validate validates this object storage type

type ProtobufAny

type ProtobufAny struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]interface{} `json:"-"`
}

ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
  foo = any.unpack(Foo.class);
}

Example 3: Pack and unpack a message in Python.

foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
  any.Unpack(foo)
  ...

Example 4: Pack and unpack a message in Go

foo := &pb.Foo{...}
any, err := anypb.New(foo)
if err != nil {
  ...
}
...
foo := &pb.Foo{}
if err := any.UnmarshalTo(foo); err != nil {
  ...
}

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON

The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProtobufAny) MarshalJSON added in v1.4.4

func (m ProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON added in v1.4.4

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RPCStatus added in v1.4.0

type RPCStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

RPCStatus rpc status

swagger:model rpcStatus

func (*RPCStatus) ContextValidate added in v1.4.0

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary added in v1.4.0

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary added in v1.4.0

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate added in v1.4.0

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

type ReportsAuditedWorkspace

type ReportsAuditedWorkspace struct {

	// broken link
	BrokenLink bool `json:"BrokenLink,omitempty"`

	// broken workspace
	BrokenWorkspace bool `json:"BrokenWorkspace,omitempty"`

	// owner user
	OwnerUser *IdmUser `json:"OwnerUser,omitempty"`

	// roles read
	RolesRead []*IdmRole `json:"RolesRead"`

	// roles write
	RolesWrite []*IdmRole `json:"RolesWrite"`

	// users read count
	UsersReadCount int32 `json:"UsersReadCount,omitempty"`

	// users write count
	UsersWriteCount int32 `json:"UsersWriteCount,omitempty"`

	// workspace
	Workspace *IdmWorkspace `json:"Workspace,omitempty"`
}

ReportsAuditedWorkspace reports audited workspace

swagger:model reportsAuditedWorkspace

func (*ReportsAuditedWorkspace) ContextValidate

func (m *ReportsAuditedWorkspace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reports audited workspace based on the context it is used

func (*ReportsAuditedWorkspace) MarshalBinary

func (m *ReportsAuditedWorkspace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportsAuditedWorkspace) UnmarshalBinary

func (m *ReportsAuditedWorkspace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportsAuditedWorkspace) Validate

func (m *ReportsAuditedWorkspace) Validate(formats strfmt.Registry) error

Validate validates this reports audited workspace

type ReportsListReportsResponse added in v1.4.0

type ReportsListReportsResponse struct {

	// report dates
	ReportDates []int32 `json:"ReportDates"`
}

ReportsListReportsResponse reports list reports response

swagger:model reportsListReportsResponse

func (*ReportsListReportsResponse) ContextValidate added in v1.4.0

func (m *ReportsListReportsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reports list reports response based on context it is used

func (*ReportsListReportsResponse) MarshalBinary added in v1.4.0

func (m *ReportsListReportsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportsListReportsResponse) UnmarshalBinary added in v1.4.0

func (m *ReportsListReportsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportsListReportsResponse) Validate added in v1.4.0

func (m *ReportsListReportsResponse) Validate(formats strfmt.Registry) error

Validate validates this reports list reports response

type ReportsSharedResource

type ReportsSharedResource struct {

	// children shared resources
	ChildrenSharedResources int32 `json:"ChildrenSharedResources,omitempty"`

	// node
	Node *TreeNode `json:"Node,omitempty"`

	// report date
	ReportDate int32 `json:"ReportDate,omitempty"`

	// workspaces
	Workspaces []*ReportsAuditedWorkspace `json:"Workspaces"`
}

ReportsSharedResource reports shared resource

swagger:model reportsSharedResource

func (*ReportsSharedResource) ContextValidate

func (m *ReportsSharedResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reports shared resource based on the context it is used

func (*ReportsSharedResource) MarshalBinary

func (m *ReportsSharedResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportsSharedResource) UnmarshalBinary

func (m *ReportsSharedResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportsSharedResource) Validate

func (m *ReportsSharedResource) Validate(formats strfmt.Registry) error

Validate validates this reports shared resource

type ReportsSharedResourceShareType

type ReportsSharedResourceShareType string

ReportsSharedResourceShareType reports shared resource share type

swagger:model reportsSharedResourceShareType

const (

	// ReportsSharedResourceShareTypeANY captures enum value "ANY"
	ReportsSharedResourceShareTypeANY ReportsSharedResourceShareType = "ANY"

	// ReportsSharedResourceShareTypeWORKSPACE captures enum value "WORKSPACE"
	ReportsSharedResourceShareTypeWORKSPACE ReportsSharedResourceShareType = "WORKSPACE"

	// ReportsSharedResourceShareTypeCELL captures enum value "CELL"
	ReportsSharedResourceShareTypeCELL ReportsSharedResourceShareType = "CELL"

	// ReportsSharedResourceShareTypeLINK captures enum value "LINK"
	ReportsSharedResourceShareTypeLINK ReportsSharedResourceShareType = "LINK"
)

func (ReportsSharedResourceShareType) ContextValidate

func (m ReportsSharedResourceShareType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reports shared resource share type based on context it is used

func (ReportsSharedResourceShareType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ReportsSharedResourceShareType.

func (ReportsSharedResourceShareType) Validate

Validate validates this reports shared resource share type

type ReportsSharedResourcesRequest

type ReportsSharedResourcesRequest struct {

	// last updated before
	LastUpdatedBefore int32 `json:"LastUpdatedBefore,omitempty"`

	// last updated since
	LastUpdatedSince int32 `json:"LastUpdatedSince,omitempty"`

	// limit
	Limit int32 `json:"Limit,omitempty"`

	// node size min
	NodeSizeMin int32 `json:"NodeSizeMin,omitempty"`

	// node type
	NodeType *TreeNodeType `json:"NodeType,omitempty"`

	// Listing options
	Offset int32 `json:"Offset,omitempty"`

	// owner UUID
	OwnerUUID string `json:"OwnerUUID,omitempty"`

	// report date
	ReportDate int32 `json:"ReportDate,omitempty"`

	// roles read a n d
	RolesReadAND bool `json:"RolesReadAND,omitempty"`

	// roles read u UI ds
	RolesReadUUIDs []string `json:"RolesReadUUIDs"`

	// Filter by root path
	RootPath string `json:"RootPath,omitempty"`

	// share type
	ShareType *ReportsSharedResourceShareType `json:"ShareType,omitempty"`

	// users read count max
	UsersReadCountMax int32 `json:"UsersReadCountMax,omitempty"`

	// users read count min
	UsersReadCountMin int32 `json:"UsersReadCountMin,omitempty"`
}

ReportsSharedResourcesRequest reports shared resources request

swagger:model reportsSharedResourcesRequest

func (*ReportsSharedResourcesRequest) ContextValidate

func (m *ReportsSharedResourcesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reports shared resources request based on the context it is used

func (*ReportsSharedResourcesRequest) MarshalBinary

func (m *ReportsSharedResourcesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportsSharedResourcesRequest) UnmarshalBinary

func (m *ReportsSharedResourcesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportsSharedResourcesRequest) Validate

func (m *ReportsSharedResourcesRequest) Validate(formats strfmt.Registry) error

Validate validates this reports shared resources request

type ReportsSharedResourcesResponse

type ReportsSharedResourcesResponse struct {

	// facets
	Facets map[string]int32 `json:"Facets,omitempty"`

	// limit
	Limit int32 `json:"Limit,omitempty"`

	// offset
	Offset int32 `json:"Offset,omitempty"`

	// resources
	Resources []*ReportsSharedResource `json:"Resources"`

	// total
	Total int32 `json:"Total,omitempty"`
}

ReportsSharedResourcesResponse reports shared resources response

swagger:model reportsSharedResourcesResponse

func (*ReportsSharedResourcesResponse) ContextValidate

func (m *ReportsSharedResourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reports shared resources response based on the context it is used

func (*ReportsSharedResourcesResponse) MarshalBinary

func (m *ReportsSharedResourcesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReportsSharedResourcesResponse) UnmarshalBinary

func (m *ReportsSharedResourcesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReportsSharedResourcesResponse) Validate

func (m *ReportsSharedResourcesResponse) Validate(formats strfmt.Registry) error

Validate validates this reports shared resources response

type RestDeleteResponse

type RestDeleteResponse struct {

	// Number of records deleted during operation
	NumRows string `json:"NumRows,omitempty"`

	// If delete was successfull
	Success bool `json:"Success,omitempty"`
}

RestDeleteResponse Generic Message

swagger:model restDeleteResponse

func (*RestDeleteResponse) ContextValidate

func (m *RestDeleteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rest delete response based on context it is used

func (*RestDeleteResponse) MarshalBinary

func (m *RestDeleteResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestDeleteResponse) UnmarshalBinary

func (m *RestDeleteResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestDeleteResponse) Validate

func (m *RestDeleteResponse) Validate(formats strfmt.Registry) error

Validate validates this rest delete response

type RestError

type RestError struct {

	// Unique ID of the error
	Code string `json:"Code,omitempty"`

	// Human-readable, longer description
	Detail string `json:"Detail,omitempty"`

	// Additional Metadata
	Meta map[string]string `json:"Meta,omitempty"`

	// Cells service name or other quickly useful info
	Source string `json:"Source,omitempty"`

	// Human-readable, short label
	Title string `json:"Title,omitempty"`
}

RestError Generic error message

swagger:model restError

func (*RestError) ContextValidate

func (m *RestError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rest error based on context it is used

func (*RestError) MarshalBinary

func (m *RestError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestError) UnmarshalBinary

func (m *RestError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestError) Validate

func (m *RestError) Validate(formats strfmt.Registry) error

Validate validates this rest error

type RestLogMessageCollection

type RestLogMessageCollection struct {

	// logs
	Logs []*LogLogMessage `json:"Logs"`
}

RestLogMessageCollection Collection of serialized log messages

swagger:model restLogMessageCollection

func (*RestLogMessageCollection) ContextValidate

func (m *RestLogMessageCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rest log message collection based on the context it is used

func (*RestLogMessageCollection) MarshalBinary

func (m *RestLogMessageCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestLogMessageCollection) UnmarshalBinary

func (m *RestLogMessageCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestLogMessageCollection) Validate

func (m *RestLogMessageCollection) Validate(formats strfmt.Registry) error

Validate validates this rest log message collection

type RestRevokeResponse

type RestRevokeResponse struct {

	// message
	Message string `json:"Message,omitempty"`

	// success
	Success bool `json:"Success,omitempty"`
}

RestRevokeResponse Rest response

swagger:model restRevokeResponse

func (*RestRevokeResponse) ContextValidate

func (m *RestRevokeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rest revoke response based on context it is used

func (*RestRevokeResponse) MarshalBinary

func (m *RestRevokeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestRevokeResponse) UnmarshalBinary

func (m *RestRevokeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestRevokeResponse) Validate

func (m *RestRevokeResponse) Validate(formats strfmt.Registry) error

Validate validates this rest revoke response

type RestTimeRangeResultCollection

type RestTimeRangeResultCollection struct {

	// links
	Links []*LogTimeRangeCursor `json:"Links"`

	// results
	Results []*LogTimeRangeResult `json:"Results"`
}

RestTimeRangeResultCollection Collection of serialized aggregated result of time range request with a cursor to ease navigation implementation

swagger:model restTimeRangeResultCollection

func (*RestTimeRangeResultCollection) ContextValidate

func (m *RestTimeRangeResultCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rest time range result collection based on the context it is used

func (*RestTimeRangeResultCollection) MarshalBinary

func (m *RestTimeRangeResultCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestTimeRangeResultCollection) UnmarshalBinary

func (m *RestTimeRangeResultCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestTimeRangeResultCollection) Validate

func (m *RestTimeRangeResultCollection) Validate(formats strfmt.Registry) error

Validate validates this rest time range result collection

type ServiceOperationType

type ServiceOperationType string

ServiceOperationType service operation type

swagger:model serviceOperationType

const (

	// ServiceOperationTypeOR captures enum value "OR"
	ServiceOperationTypeOR ServiceOperationType = "OR"

	// ServiceOperationTypeAND captures enum value "AND"
	ServiceOperationTypeAND ServiceOperationType = "AND"
)

func NewServiceOperationType

func NewServiceOperationType(value ServiceOperationType) *ServiceOperationType

func (ServiceOperationType) ContextValidate

func (m ServiceOperationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service operation type based on context it is used

func (ServiceOperationType) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ServiceOperationType.

func (ServiceOperationType) Validate

func (m ServiceOperationType) Validate(formats strfmt.Registry) error

Validate validates this service operation type

type ServiceQuery

type ServiceQuery struct {

	// limit
	Limit string `json:"Limit,omitempty"`

	// offset
	Offset string `json:"Offset,omitempty"`

	// operation
	Operation *ServiceOperationType `json:"Operation,omitempty"`

	// resource policy query
	ResourcePolicyQuery *ServiceResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`

	// sort desc
	SortDesc bool `json:"SortDesc,omitempty"`

	// sort field
	SortField string `json:"SortField,omitempty"`

	// sub queries
	SubQueries []*ProtobufAny `json:"SubQueries"`

	// group by
	GroupBy int32 `json:"groupBy,omitempty"`
}

ServiceQuery service query

swagger:model serviceQuery

func (*ServiceQuery) ContextValidate

func (m *ServiceQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service query based on the context it is used

func (*ServiceQuery) MarshalBinary

func (m *ServiceQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceQuery) UnmarshalBinary

func (m *ServiceQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceQuery) Validate

func (m *ServiceQuery) Validate(formats strfmt.Registry) error

Validate validates this service query

type ServiceResourcePolicy

type ServiceResourcePolicy struct {

	// action
	Action *ServiceResourcePolicyAction `json:"Action,omitempty"`

	// effect
	Effect *ServiceResourcePolicyPolicyEffect `json:"Effect,omitempty"`

	// Json conditions
	JSONConditions string `json:"JsonConditions,omitempty"`

	// resource
	Resource string `json:"Resource,omitempty"`

	// subject
	Subject string `json:"Subject,omitempty"`

	// id
	ID string `json:"id,omitempty"`
}

ServiceResourcePolicy service resource policy

swagger:model serviceResourcePolicy

func (*ServiceResourcePolicy) ContextValidate

func (m *ServiceResourcePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service resource policy based on the context it is used

func (*ServiceResourcePolicy) MarshalBinary

func (m *ServiceResourcePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceResourcePolicy) UnmarshalBinary

func (m *ServiceResourcePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceResourcePolicy) Validate

func (m *ServiceResourcePolicy) Validate(formats strfmt.Registry) error

Validate validates this service resource policy

type ServiceResourcePolicyAction

type ServiceResourcePolicyAction string

ServiceResourcePolicyAction service resource policy action

swagger:model serviceResourcePolicyAction

const (

	// ServiceResourcePolicyActionANY captures enum value "ANY"
	ServiceResourcePolicyActionANY ServiceResourcePolicyAction = "ANY"

	// ServiceResourcePolicyActionOWNER captures enum value "OWNER"
	ServiceResourcePolicyActionOWNER ServiceResourcePolicyAction = "OWNER"

	// ServiceResourcePolicyActionREAD captures enum value "READ"
	ServiceResourcePolicyActionREAD ServiceResourcePolicyAction = "READ"

	// ServiceResourcePolicyActionWRITE captures enum value "WRITE"
	ServiceResourcePolicyActionWRITE ServiceResourcePolicyAction = "WRITE"

	// ServiceResourcePolicyActionEDITRULES captures enum value "EDIT_RULES"
	ServiceResourcePolicyActionEDITRULES ServiceResourcePolicyAction = "EDIT_RULES"
)

func (ServiceResourcePolicyAction) ContextValidate

func (m ServiceResourcePolicyAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service resource policy action based on context it is used

func (ServiceResourcePolicyAction) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ServiceResourcePolicyAction.

func (ServiceResourcePolicyAction) Validate

func (m ServiceResourcePolicyAction) Validate(formats strfmt.Registry) error

Validate validates this service resource policy action

type ServiceResourcePolicyPolicyEffect

type ServiceResourcePolicyPolicyEffect string

ServiceResourcePolicyPolicyEffect service resource policy policy effect

swagger:model serviceResourcePolicyPolicyEffect

const (

	// ServiceResourcePolicyPolicyEffectDeny captures enum value "deny"
	ServiceResourcePolicyPolicyEffectDeny ServiceResourcePolicyPolicyEffect = "deny"

	// ServiceResourcePolicyPolicyEffectAllow captures enum value "allow"
	ServiceResourcePolicyPolicyEffectAllow ServiceResourcePolicyPolicyEffect = "allow"
)

func (ServiceResourcePolicyPolicyEffect) ContextValidate

func (m ServiceResourcePolicyPolicyEffect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service resource policy policy effect based on context it is used

func (ServiceResourcePolicyPolicyEffect) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated ServiceResourcePolicyPolicyEffect.

func (ServiceResourcePolicyPolicyEffect) Validate

Validate validates this service resource policy policy effect

type ServiceResourcePolicyQuery

type ServiceResourcePolicyQuery struct {

	// any
	Any bool `json:"Any,omitempty"`

	// empty
	Empty bool `json:"Empty,omitempty"`

	// subjects
	Subjects []string `json:"Subjects"`
}

ServiceResourcePolicyQuery service resource policy query

swagger:model serviceResourcePolicyQuery

func (*ServiceResourcePolicyQuery) ContextValidate

func (m *ServiceResourcePolicyQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service resource policy query based on context it is used

func (*ServiceResourcePolicyQuery) MarshalBinary

func (m *ServiceResourcePolicyQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceResourcePolicyQuery) UnmarshalBinary

func (m *ServiceResourcePolicyQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceResourcePolicyQuery) Validate

func (m *ServiceResourcePolicyQuery) Validate(formats strfmt.Registry) error

Validate validates this service resource policy query

type TreeChangeLog

type TreeChangeLog struct {

	// Arbitrary additional data
	// Format: byte
	Data strfmt.Base64 `json:"Data,omitempty"`

	// Human-readable description of what happened
	Description string `json:"Description,omitempty"`

	// Event that triggered this change
	Event *TreeNodeChangeEvent `json:"Event,omitempty"`

	// Actual location of the stored version
	Location *TreeNode `json:"Location,omitempty"`

	// Unix Timestamp
	MTime string `json:"MTime,omitempty"`

	// Who performed this action
	OwnerUUID string `json:"OwnerUuid,omitempty"`

	// Content Size at that moment
	Size string `json:"Size,omitempty"`

	// Unique commit ID
	UUID string `json:"Uuid,omitempty"`
}

TreeChangeLog tree change log

swagger:model treeChangeLog

func (*TreeChangeLog) ContextValidate

func (m *TreeChangeLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tree change log based on the context it is used

func (*TreeChangeLog) MarshalBinary

func (m *TreeChangeLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TreeChangeLog) UnmarshalBinary

func (m *TreeChangeLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TreeChangeLog) Validate

func (m *TreeChangeLog) Validate(formats strfmt.Registry) error

Validate validates this tree change log

type TreeNode

type TreeNode struct {

	// Can be used for output when node is appearing in multiple workspaces
	AppearsIn []*TreeWorkspaceRelativePath `json:"AppearsIn"`

	// List of successive commits
	Commits []*TreeChangeLog `json:"Commits"`

	// Hash of the content if node is a LEAF, Uuid or
	Etag string `json:"Etag,omitempty"`

	// Last modification Timestamp
	MTime string `json:"MTime,omitempty"`

	// ------------------------------------
	// Then a free K => V representation of any kind of metadata
	// ------------------------------------
	MetaStore map[string]string `json:"MetaStore,omitempty"`

	// Permission mode, like 0777
	Mode int32 `json:"Mode,omitempty"`

	// path
	Path string `json:"Path,omitempty"`

	// Size of the file, or cumulated size of folder
	Size string `json:"Size,omitempty"`

	// type
	Type *TreeNodeType `json:"Type,omitempty"`

	// ------------------------------------
	// Core identification of the node
	// ------------------------------------
	UUID string `json:"Uuid,omitempty"`
}

TreeNode tree node

swagger:model treeNode

func (*TreeNode) ContextValidate

func (m *TreeNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tree node based on the context it is used

func (*TreeNode) MarshalBinary

func (m *TreeNode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TreeNode) UnmarshalBinary

func (m *TreeNode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TreeNode) Validate

func (m *TreeNode) Validate(formats strfmt.Registry) error

Validate validates this tree node

type TreeNodeChangeEvent

type TreeNodeChangeEvent struct {

	// metadata
	Metadata map[string]string `json:"Metadata,omitempty"`

	// optimistic
	Optimistic bool `json:"Optimistic,omitempty"`

	// silent
	Silent bool `json:"Silent,omitempty"`

	// source
	Source *TreeNode `json:"Source,omitempty"`

	// target
	Target *TreeNode `json:"Target,omitempty"`

	// type
	Type *NodeChangeEventEventType `json:"Type,omitempty"`
}

TreeNodeChangeEvent tree node change event

swagger:model treeNodeChangeEvent

func (*TreeNodeChangeEvent) ContextValidate

func (m *TreeNodeChangeEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tree node change event based on the context it is used

func (*TreeNodeChangeEvent) MarshalBinary

func (m *TreeNodeChangeEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TreeNodeChangeEvent) UnmarshalBinary

func (m *TreeNodeChangeEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TreeNodeChangeEvent) Validate

func (m *TreeNodeChangeEvent) Validate(formats strfmt.Registry) error

Validate validates this tree node change event

type TreeNodeType

type TreeNodeType string

TreeNodeType ========================================================== * Standard Messages ==========================================================

swagger:model treeNodeType

const (

	// TreeNodeTypeUNKNOWN captures enum value "UNKNOWN"
	TreeNodeTypeUNKNOWN TreeNodeType = "UNKNOWN"

	// TreeNodeTypeLEAF captures enum value "LEAF"
	TreeNodeTypeLEAF TreeNodeType = "LEAF"

	// TreeNodeTypeCOLLECTION captures enum value "COLLECTION"
	TreeNodeTypeCOLLECTION TreeNodeType = "COLLECTION"
)

func NewTreeNodeType

func NewTreeNodeType(value TreeNodeType) *TreeNodeType

func (TreeNodeType) ContextValidate

func (m TreeNodeType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tree node type based on context it is used

func (TreeNodeType) Pointer added in v1.4.0

func (m TreeNodeType) Pointer() *TreeNodeType

Pointer returns a pointer to a freshly-allocated TreeNodeType.

func (TreeNodeType) Validate

func (m TreeNodeType) Validate(formats strfmt.Registry) error

Validate validates this tree node type

type TreeVersioningKeepPeriod

type TreeVersioningKeepPeriod struct {

	// interval start
	IntervalStart string `json:"IntervalStart,omitempty"`

	// max number
	MaxNumber int32 `json:"MaxNumber,omitempty"`
}

TreeVersioningKeepPeriod tree versioning keep period

swagger:model treeVersioningKeepPeriod

func (*TreeVersioningKeepPeriod) ContextValidate

func (m *TreeVersioningKeepPeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tree versioning keep period based on context it is used

func (*TreeVersioningKeepPeriod) MarshalBinary

func (m *TreeVersioningKeepPeriod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TreeVersioningKeepPeriod) UnmarshalBinary

func (m *TreeVersioningKeepPeriod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TreeVersioningKeepPeriod) Validate

func (m *TreeVersioningKeepPeriod) Validate(formats strfmt.Registry) error

Validate validates this tree versioning keep period

type TreeVersioningNodeDeletedStrategy

type TreeVersioningNodeDeletedStrategy string

TreeVersioningNodeDeletedStrategy tree versioning node deleted strategy

swagger:model treeVersioningNodeDeletedStrategy

const (

	// TreeVersioningNodeDeletedStrategyKeepAll captures enum value "KeepAll"
	TreeVersioningNodeDeletedStrategyKeepAll TreeVersioningNodeDeletedStrategy = "KeepAll"

	// TreeVersioningNodeDeletedStrategyKeepLast captures enum value "KeepLast"
	TreeVersioningNodeDeletedStrategyKeepLast TreeVersioningNodeDeletedStrategy = "KeepLast"

	// TreeVersioningNodeDeletedStrategyKeepNone captures enum value "KeepNone"
	TreeVersioningNodeDeletedStrategyKeepNone TreeVersioningNodeDeletedStrategy = "KeepNone"
)

func (TreeVersioningNodeDeletedStrategy) ContextValidate

func (m TreeVersioningNodeDeletedStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tree versioning node deleted strategy based on context it is used

func (TreeVersioningNodeDeletedStrategy) Pointer added in v1.4.0

Pointer returns a pointer to a freshly-allocated TreeVersioningNodeDeletedStrategy.

func (TreeVersioningNodeDeletedStrategy) Validate

Validate validates this tree versioning node deleted strategy

type TreeVersioningPolicy

type TreeVersioningPolicy struct {

	// description
	Description string `json:"Description,omitempty"`

	// ignore files greater than
	IgnoreFilesGreaterThan string `json:"IgnoreFilesGreaterThan,omitempty"`

	// keep periods
	KeepPeriods []*TreeVersioningKeepPeriod `json:"KeepPeriods"`

	// max size per file
	MaxSizePerFile string `json:"MaxSizePerFile,omitempty"`

	// max total size
	MaxTotalSize string `json:"MaxTotalSize,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// node deleted strategy
	NodeDeletedStrategy *TreeVersioningNodeDeletedStrategy `json:"NodeDeletedStrategy,omitempty"`

	// Uuid
	UUID string `json:"Uuid,omitempty"`

	// versions data source bucket
	VersionsDataSourceBucket string `json:"VersionsDataSourceBucket,omitempty"`

	// versions data source name
	VersionsDataSourceName string `json:"VersionsDataSourceName,omitempty"`
}

TreeVersioningPolicy tree versioning policy

swagger:model treeVersioningPolicy

func (*TreeVersioningPolicy) ContextValidate

func (m *TreeVersioningPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tree versioning policy based on the context it is used

func (*TreeVersioningPolicy) MarshalBinary

func (m *TreeVersioningPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TreeVersioningPolicy) UnmarshalBinary

func (m *TreeVersioningPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TreeVersioningPolicy) Validate

func (m *TreeVersioningPolicy) Validate(formats strfmt.Registry) error

Validate validates this tree versioning policy

type TreeWorkspaceRelativePath

type TreeWorkspaceRelativePath struct {

	// Relative Path inside workspace
	Path string `json:"Path,omitempty"`

	// Workspace Label
	WsLabel string `json:"WsLabel,omitempty"`

	// Workspace Scope
	WsScope string `json:"WsScope,omitempty"`

	// Workspace slug
	WsSlug string `json:"WsSlug,omitempty"`

	// Workspace Id
	WsUUID string `json:"WsUuid,omitempty"`
}

TreeWorkspaceRelativePath Used in AppearsIn to signal a node is appearing in multiple workspaces in the current context

swagger:model treeWorkspaceRelativePath

func (*TreeWorkspaceRelativePath) ContextValidate

func (m *TreeWorkspaceRelativePath) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tree workspace relative path based on context it is used

func (*TreeWorkspaceRelativePath) MarshalBinary

func (m *TreeWorkspaceRelativePath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TreeWorkspaceRelativePath) UnmarshalBinary

func (m *TreeWorkspaceRelativePath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TreeWorkspaceRelativePath) Validate

func (m *TreeWorkspaceRelativePath) Validate(formats strfmt.Registry) error

Validate validates this tree workspace relative path

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址