models

package
v5.0.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

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 ¶

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 ActivityOwnerType ¶

type ActivityOwnerType string

ActivityOwnerType activity owner type

swagger:model activityOwnerType

const (

	// ActivityOwnerTypeNODE captures enum value "NODE"
	ActivityOwnerTypeNODE ActivityOwnerType = "NODE"

	// ActivityOwnerTypeUSER captures enum value "USER"
	ActivityOwnerTypeUSER ActivityOwnerType = "USER"
)

func NewActivityOwnerType ¶

func NewActivityOwnerType(value ActivityOwnerType) *ActivityOwnerType

func (ActivityOwnerType) ContextValidate ¶

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

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

func (ActivityOwnerType) Pointer ¶

func (m ActivityOwnerType) Pointer() *ActivityOwnerType

Pointer returns a pointer to a freshly-allocated ActivityOwnerType.

func (ActivityOwnerType) Validate ¶

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

Validate validates this activity owner type

type ActivitySearchSubscriptionsRequest ¶

type ActivitySearchSubscriptionsRequest struct {

	// Filter by object Ids
	ObjectIds []string `json:"ObjectIds"`

	// Filter by type of objects
	ObjectTypes []*ActivityOwnerType `json:"ObjectTypes"`

	// List of UserIds for which we want to list
	UserIds []string `json:"UserIds"`
}

ActivitySearchSubscriptionsRequest activity search subscriptions request

swagger:model activitySearchSubscriptionsRequest

func (*ActivitySearchSubscriptionsRequest) ContextValidate ¶

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

ContextValidate validate this activity search subscriptions request based on the context it is used

func (*ActivitySearchSubscriptionsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ActivitySearchSubscriptionsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ActivitySearchSubscriptionsRequest) Validate ¶

Validate validates this activity search subscriptions request

type ActivityStreamActivitiesRequest ¶

type ActivityStreamActivitiesRequest struct {

	// Compute a digest of all unread activities
	AsDigest bool `json:"AsDigest,omitempty"`

	// Target inbox or outbox for the given object
	BoxName string `json:"BoxName,omitempty"`

	// Define the context of the stream
	Context *ActivityStreamContext `json:"Context,omitempty"`

	// Value for the context (e.g. User Id, Node Id)
	ContextData string `json:"ContextData,omitempty"`

	// Provide language information for building the human-readable strings.
	Language string `json:"Language,omitempty"`

	// Limit the number of results
	Limit string `json:"Limit,omitempty"`

	// Start listing at a given position
	Offset string `json:"Offset,omitempty"`

	// Provide context for building the human-readable strings of each activity
	PointOfView *ActivitySummaryPointOfView `json:"PointOfView,omitempty"`

	// Json-encoded filter
	StreamFilter string `json:"StreamFilter,omitempty"`

	// Count last activities that were not loaded yet
	UnreadCountOnly bool `json:"UnreadCountOnly,omitempty"`
}

ActivityStreamActivitiesRequest activity stream activities request

swagger:model activityStreamActivitiesRequest

func (*ActivityStreamActivitiesRequest) ContextValidate ¶

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

ContextValidate validate this activity stream activities request based on the context it is used

func (*ActivityStreamActivitiesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ActivityStreamActivitiesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ActivityStreamActivitiesRequest) Validate ¶

Validate validates this activity stream activities request

type ActivityStreamContext ¶

type ActivityStreamContext string

ActivityStreamContext activity stream context

swagger:model activityStreamContext

const (

	// ActivityStreamContextMYFEED captures enum value "MYFEED"
	ActivityStreamContextMYFEED ActivityStreamContext = "MYFEED"

	// ActivityStreamContextUSERID captures enum value "USER_ID"
	ActivityStreamContextUSERID ActivityStreamContext = "USER_ID"

	// ActivityStreamContextNODEID captures enum value "NODE_ID"
	ActivityStreamContextNODEID ActivityStreamContext = "NODE_ID"
)

func NewActivityStreamContext ¶

func NewActivityStreamContext(value ActivityStreamContext) *ActivityStreamContext

func (ActivityStreamContext) ContextValidate ¶

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

ContextValidate validates this activity stream context based on context it is used

func (ActivityStreamContext) Pointer ¶

Pointer returns a pointer to a freshly-allocated ActivityStreamContext.

func (ActivityStreamContext) Validate ¶

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

Validate validates this activity stream context

type ActivitySubscription ¶

type ActivitySubscription struct {

	// List of events to listen to
	Events []string `json:"Events"`

	// If of the owner
	ObjectID string `json:"ObjectId,omitempty"`

	// Type of owner
	ObjectType *ActivityOwnerType `json:"ObjectType,omitempty"`

	// Id of the user for this subscription
	UserID string `json:"UserId,omitempty"`
}

ActivitySubscription activity subscription

swagger:model activitySubscription

func (*ActivitySubscription) ContextValidate ¶

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

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

func (*ActivitySubscription) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ActivitySubscription) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ActivitySubscription) Validate ¶

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

Validate validates this activity subscription

type ActivitySummaryPointOfView ¶

type ActivitySummaryPointOfView string

ActivitySummaryPointOfView activity summary point of view

swagger:model activitySummaryPointOfView

const (

	// ActivitySummaryPointOfViewGENERIC captures enum value "GENERIC"
	ActivitySummaryPointOfViewGENERIC ActivitySummaryPointOfView = "GENERIC"

	// ActivitySummaryPointOfViewACTOR captures enum value "ACTOR"
	ActivitySummaryPointOfViewACTOR ActivitySummaryPointOfView = "ACTOR"

	// ActivitySummaryPointOfViewSUBJECT captures enum value "SUBJECT"
	ActivitySummaryPointOfViewSUBJECT ActivitySummaryPointOfView = "SUBJECT"
)

func (ActivitySummaryPointOfView) ContextValidate ¶

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

ContextValidate validates this activity summary point of view based on context it is used

func (ActivitySummaryPointOfView) Pointer ¶

Pointer returns a pointer to a freshly-allocated ActivitySummaryPointOfView.

func (ActivitySummaryPointOfView) Validate ¶

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

Validate validates this activity summary point of view

type AuthToken ¶

type AuthToken struct {

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

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

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

	// refresh token
	RefreshToken string `json:"RefreshToken,omitempty"`
}

AuthToken auth token

swagger:model authToken

func (*AuthToken) ContextValidate ¶

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

ContextValidate validates this auth token based on context it is used

func (*AuthToken) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AuthToken) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AuthToken) Validate ¶

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

Validate validates this auth token

type CtlPeer ¶

type CtlPeer struct {

	// address
	Address string `json:"Address,omitempty"`

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

	// metadata
	Metadata map[string]string `json:"Metadata,omitempty"`

	// port
	Port int32 `json:"Port,omitempty"`
}

CtlPeer ctl peer

swagger:model ctlPeer

func (*CtlPeer) ContextValidate ¶

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

ContextValidate validates this ctl peer based on context it is used

func (*CtlPeer) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CtlPeer) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CtlPeer) Validate ¶

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

Validate validates this ctl peer

type CtlService ¶

type CtlService struct {

	// controllable
	Controllable bool `json:"Controllable,omitempty"`

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

	// metadata
	Metadata map[string]string `json:"Metadata,omitempty"`

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

	// running peers
	RunningPeers []*CtlPeer `json:"RunningPeers"`

	// status
	Status *CtlServiceStatus `json:"Status,omitempty"`

	// tag
	Tag string `json:"Tag,omitempty"`

	// version
	Version string `json:"Version,omitempty"`
}

CtlService ctl service

swagger:model ctlService

func (*CtlService) ContextValidate ¶

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

ContextValidate validate this ctl service based on the context it is used

func (*CtlService) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CtlService) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CtlService) Validate ¶

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

Validate validates this ctl service

type CtlServiceCommand ¶

type CtlServiceCommand string

CtlServiceCommand ctl service command

swagger:model ctlServiceCommand

const (

	// CtlServiceCommandSTART captures enum value "START"
	CtlServiceCommandSTART CtlServiceCommand = "START"

	// CtlServiceCommandSTOP captures enum value "STOP"
	CtlServiceCommandSTOP CtlServiceCommand = "STOP"
)

func NewCtlServiceCommand ¶

func NewCtlServiceCommand(value CtlServiceCommand) *CtlServiceCommand

func (CtlServiceCommand) ContextValidate ¶

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

ContextValidate validates this ctl service command based on context it is used

func (CtlServiceCommand) Pointer ¶

func (m CtlServiceCommand) Pointer() *CtlServiceCommand

Pointer returns a pointer to a freshly-allocated CtlServiceCommand.

func (CtlServiceCommand) Validate ¶

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

Validate validates this ctl service command

type CtlServiceStatus ¶

type CtlServiceStatus string

CtlServiceStatus ctl service status

swagger:model ctlServiceStatus

const (

	// CtlServiceStatusANY captures enum value "ANY"
	CtlServiceStatusANY CtlServiceStatus = "ANY"

	// CtlServiceStatusSTOPPED captures enum value "STOPPED"
	CtlServiceStatusSTOPPED CtlServiceStatus = "STOPPED"

	// CtlServiceStatusSTARTING captures enum value "STARTING"
	CtlServiceStatusSTARTING CtlServiceStatus = "STARTING"

	// CtlServiceStatusSTOPPING captures enum value "STOPPING"
	CtlServiceStatusSTOPPING CtlServiceStatus = "STOPPING"

	// CtlServiceStatusSTARTED captures enum value "STARTED"
	CtlServiceStatusSTARTED CtlServiceStatus = "STARTED"
)

func NewCtlServiceStatus ¶

func NewCtlServiceStatus(value CtlServiceStatus) *CtlServiceStatus

func (CtlServiceStatus) ContextValidate ¶

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

ContextValidate validates this ctl service status based on context it is used

func (CtlServiceStatus) Pointer ¶

func (m CtlServiceStatus) Pointer() *CtlServiceStatus

Pointer returns a pointer to a freshly-allocated CtlServiceStatus.

func (CtlServiceStatus) Validate ¶

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

Validate validates this ctl service status

type EncryptionAdminCreateKeyRequest ¶

type EncryptionAdminCreateKeyRequest struct {

	// Create a key with this ID
	KeyID string `json:"KeyID,omitempty"`

	// Provide label for the newly created key
	Label string `json:"Label,omitempty"`
}

EncryptionAdminCreateKeyRequest encryption admin create key request

swagger:model encryptionAdminCreateKeyRequest

func (*EncryptionAdminCreateKeyRequest) ContextValidate ¶

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

ContextValidate validates this encryption admin create key request based on context it is used

func (*EncryptionAdminCreateKeyRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminCreateKeyRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminCreateKeyRequest) Validate ¶

Validate validates this encryption admin create key request

type EncryptionAdminCreateKeyResponse ¶

type EncryptionAdminCreateKeyResponse struct {

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

EncryptionAdminCreateKeyResponse encryption admin create key response

swagger:model encryptionAdminCreateKeyResponse

func (*EncryptionAdminCreateKeyResponse) ContextValidate ¶

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

ContextValidate validates this encryption admin create key response based on context it is used

func (*EncryptionAdminCreateKeyResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminCreateKeyResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminCreateKeyResponse) Validate ¶

Validate validates this encryption admin create key response

type EncryptionAdminDeleteKeyRequest ¶

type EncryptionAdminDeleteKeyRequest struct {

	// Id of the key to delete
	KeyID string `json:"KeyID,omitempty"`
}

EncryptionAdminDeleteKeyRequest encryption admin delete key request

swagger:model encryptionAdminDeleteKeyRequest

func (*EncryptionAdminDeleteKeyRequest) ContextValidate ¶

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

ContextValidate validates this encryption admin delete key request based on context it is used

func (*EncryptionAdminDeleteKeyRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminDeleteKeyRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminDeleteKeyRequest) Validate ¶

Validate validates this encryption admin delete key request

type EncryptionAdminDeleteKeyResponse ¶

type EncryptionAdminDeleteKeyResponse struct {

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

EncryptionAdminDeleteKeyResponse encryption admin delete key response

swagger:model encryptionAdminDeleteKeyResponse

func (*EncryptionAdminDeleteKeyResponse) ContextValidate ¶

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

ContextValidate validates this encryption admin delete key response based on context it is used

func (*EncryptionAdminDeleteKeyResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminDeleteKeyResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminDeleteKeyResponse) Validate ¶

Validate validates this encryption admin delete key response

type EncryptionAdminExportKeyRequest ¶

type EncryptionAdminExportKeyRequest struct {

	// Id of the key to export
	KeyID string `json:"KeyID,omitempty"`

	// Associated password as string
	StrPassword string `json:"StrPassword,omitempty"`
}

EncryptionAdminExportKeyRequest encryption admin export key request

swagger:model encryptionAdminExportKeyRequest

func (*EncryptionAdminExportKeyRequest) ContextValidate ¶

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

ContextValidate validates this encryption admin export key request based on context it is used

func (*EncryptionAdminExportKeyRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminExportKeyRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminExportKeyRequest) Validate ¶

Validate validates this encryption admin export key request

type EncryptionAdminExportKeyResponse ¶

type EncryptionAdminExportKeyResponse struct {

	// key
	Key *EncryptionKey `json:"Key,omitempty"`
}

EncryptionAdminExportKeyResponse encryption admin export key response

swagger:model encryptionAdminExportKeyResponse

func (*EncryptionAdminExportKeyResponse) ContextValidate ¶

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

ContextValidate validate this encryption admin export key response based on the context it is used

func (*EncryptionAdminExportKeyResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminExportKeyResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminExportKeyResponse) Validate ¶

Validate validates this encryption admin export key response

type EncryptionAdminImportKeyRequest ¶

type EncryptionAdminImportKeyRequest struct {

	// Imported key data
	Key *EncryptionKey `json:"Key,omitempty"`

	// Whether to override if a key with same ID already exists
	Override bool `json:"Override,omitempty"`

	// Key password
	StrPassword string `json:"StrPassword,omitempty"`
}

EncryptionAdminImportKeyRequest encryption admin import key request

swagger:model encryptionAdminImportKeyRequest

func (*EncryptionAdminImportKeyRequest) ContextValidate ¶

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

ContextValidate validate this encryption admin import key request based on the context it is used

func (*EncryptionAdminImportKeyRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminImportKeyRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminImportKeyRequest) Validate ¶

Validate validates this encryption admin import key request

type EncryptionAdminImportKeyResponse ¶

type EncryptionAdminImportKeyResponse struct {

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

EncryptionAdminImportKeyResponse encryption admin import key response

swagger:model encryptionAdminImportKeyResponse

func (*EncryptionAdminImportKeyResponse) ContextValidate ¶

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

ContextValidate validates this encryption admin import key response based on context it is used

func (*EncryptionAdminImportKeyResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminImportKeyResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminImportKeyResponse) Validate ¶

Validate validates this encryption admin import key response

type EncryptionAdminListKeysRequest ¶

type EncryptionAdminListKeysRequest struct {

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

EncryptionAdminListKeysRequest encryption admin list keys request

swagger:model encryptionAdminListKeysRequest

func (*EncryptionAdminListKeysRequest) ContextValidate ¶

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

ContextValidate validates this encryption admin list keys request based on context it is used

func (*EncryptionAdminListKeysRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminListKeysRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminListKeysRequest) Validate ¶

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

Validate validates this encryption admin list keys request

type EncryptionAdminListKeysResponse ¶

type EncryptionAdminListKeysResponse struct {

	// keys
	Keys []*EncryptionKey `json:"Keys"`
}

EncryptionAdminListKeysResponse encryption admin list keys response

swagger:model encryptionAdminListKeysResponse

func (*EncryptionAdminListKeysResponse) ContextValidate ¶

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

ContextValidate validate this encryption admin list keys response based on the context it is used

func (*EncryptionAdminListKeysResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionAdminListKeysResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionAdminListKeysResponse) Validate ¶

Validate validates this encryption admin list keys response

type EncryptionExport ¶

type EncryptionExport struct {

	// Name of exporter
	By string `json:"By,omitempty"`

	// Date of export
	Date int32 `json:"Date,omitempty"`
}

EncryptionExport encryption export

swagger:model encryptionExport

func (*EncryptionExport) ContextValidate ¶

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

ContextValidate validates this encryption export based on context it is used

func (*EncryptionExport) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionExport) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionExport) Validate ¶

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

Validate validates this encryption export

type EncryptionImport ¶

type EncryptionImport struct {

	// Name of importer
	By string `json:"By,omitempty"`

	// Date of import
	Date int32 `json:"Date,omitempty"`
}

EncryptionImport encryption import

swagger:model encryptionImport

func (*EncryptionImport) ContextValidate ¶

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

ContextValidate validates this encryption import based on context it is used

func (*EncryptionImport) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionImport) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionImport) Validate ¶

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

Validate validates this encryption import

type EncryptionKey ¶

type EncryptionKey struct {

	// Key content
	Content string `json:"Content,omitempty"`

	// Key creation date
	CreationDate int32 `json:"CreationDate,omitempty"`

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

	// Additional key info
	Info *EncryptionKeyInfo `json:"Info,omitempty"`

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

	// Key owner
	Owner string `json:"Owner,omitempty"`
}

EncryptionKey encryption key

swagger:model encryptionKey

func (*EncryptionKey) ContextValidate ¶

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

ContextValidate validate this encryption key based on the context it is used

func (*EncryptionKey) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionKey) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionKey) Validate ¶

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

Validate validates this encryption key

type EncryptionKeyInfo ¶

type EncryptionKeyInfo struct {

	// exports
	Exports []*EncryptionExport `json:"Exports"`

	// imports
	Imports []*EncryptionImport `json:"Imports"`
}

EncryptionKeyInfo encryption key info

swagger:model encryptionKeyInfo

func (*EncryptionKeyInfo) ContextValidate ¶

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

ContextValidate validate this encryption key info based on the context it is used

func (*EncryptionKeyInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EncryptionKeyInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EncryptionKeyInfo) Validate ¶

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

Validate validates this encryption key info

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 IdmACLSingleQuery ¶

type IdmACLSingleQuery struct {

	// List of Actions to lookup
	Actions []*IdmACLAction `json:"Actions"`

	// Filter by one or more node UUID
	NodeIDs []string `json:"NodeIDs"`

	// Filter by one or more role UUID
	RoleIDs []string `json:"RoleIDs"`

	// Filter by one or more workspace UUID
	WorkspaceIDs []string `json:"WorkspaceIDs"`

	// Internal - Negate query
	Not bool `json:"not,omitempty"`
}

IdmACLSingleQuery idm ACL single query

swagger:model idmACLSingleQuery

func (*IdmACLSingleQuery) ContextValidate ¶

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

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

func (*IdmACLSingleQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmACLSingleQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmACLSingleQuery) Validate ¶

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

Validate validates this idm ACL single query

type IdmListPolicyGroupsRequest ¶

type IdmListPolicyGroupsRequest struct {

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

IdmListPolicyGroupsRequest idm list policy groups request

swagger:model idmListPolicyGroupsRequest

func (*IdmListPolicyGroupsRequest) ContextValidate ¶

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

ContextValidate validates this idm list policy groups request based on context it is used

func (*IdmListPolicyGroupsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmListPolicyGroupsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmListPolicyGroupsRequest) Validate ¶

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

Validate validates this idm list policy groups request

type IdmListPolicyGroupsResponse ¶

type IdmListPolicyGroupsResponse struct {

	// policy groups
	PolicyGroups []*IdmPolicyGroup `json:"PolicyGroups"`

	// total
	Total int32 `json:"Total,omitempty"`
}

IdmListPolicyGroupsResponse idm list policy groups response

swagger:model idmListPolicyGroupsResponse

func (*IdmListPolicyGroupsResponse) ContextValidate ¶

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

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

func (*IdmListPolicyGroupsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmListPolicyGroupsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmListPolicyGroupsResponse) Validate ¶

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

Validate validates this idm list policy groups response

type IdmNodeType ¶

type IdmNodeType string

IdmNodeType idm node type

swagger:model idmNodeType

const (

	// IdmNodeTypeUNKNOWN captures enum value "UNKNOWN"
	IdmNodeTypeUNKNOWN IdmNodeType = "UNKNOWN"

	// IdmNodeTypeUSER captures enum value "USER"
	IdmNodeTypeUSER IdmNodeType = "USER"

	// IdmNodeTypeGROUP captures enum value "GROUP"
	IdmNodeTypeGROUP IdmNodeType = "GROUP"
)

func NewIdmNodeType ¶

func NewIdmNodeType(value IdmNodeType) *IdmNodeType

func (IdmNodeType) ContextValidate ¶

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

ContextValidate validates this idm node type based on context it is used

func (IdmNodeType) Pointer ¶

func (m IdmNodeType) Pointer() *IdmNodeType

Pointer returns a pointer to a freshly-allocated IdmNodeType.

func (IdmNodeType) Validate ¶

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

Validate validates this idm node type

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 ¶

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 ¶

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 IdmRoleSingleQuery ¶

type IdmRoleSingleQuery struct {

	// Look for roles that have any value in the autoApplies field
	HasAutoApply bool `json:"HasAutoApply,omitempty"`

	// Look for roles associated with a Group
	IsGroupRole bool `json:"IsGroupRole,omitempty"`

	// Look up for roles associated with a Team
	IsTeam bool `json:"IsTeam,omitempty"`

	// Look for roles associated with a User
	IsUserRole bool `json:"IsUserRole,omitempty"`

	// Look for roles by label, eventually using "wildchar"
	Label string `json:"Label,omitempty"`

	// Look for roles by Uuid
	UUID []string `json:"Uuid"`

	// Internal - Negate the query
	Not bool `json:"not,omitempty"`
}

IdmRoleSingleQuery RoleSingleQuery is the basic unit for building queries to Roles.

swagger:model idmRoleSingleQuery

func (*IdmRoleSingleQuery) ContextValidate ¶

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

ContextValidate validates this idm role single query based on context it is used

func (*IdmRoleSingleQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmRoleSingleQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmRoleSingleQuery) Validate ¶

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

Validate validates this idm role single query

type IdmSearchUserMetaRequest ¶

type IdmSearchUserMetaRequest struct {

	// Look for meta by their unique identifier
	MetaUuids []string `json:"MetaUuids"`

	// Filter meta by their namespace
	Namespace string `json:"Namespace,omitempty"`

	// Look for all meta for a list of nodes
	NodeUuids []string `json:"NodeUuids"`

	// Filter meta by policies query
	ResourceQuery *ServiceResourcePolicyQuery `json:"ResourceQuery,omitempty"`

	// Filter meta by owner (in the sense of the policies)
	ResourceSubjectOwner string `json:"ResourceSubjectOwner,omitempty"`
}

IdmSearchUserMetaRequest Request for searching UserMeta by NodeUuid or by Namespace

swagger:model idmSearchUserMetaRequest

func (*IdmSearchUserMetaRequest) ContextValidate ¶

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

ContextValidate validate this idm search user meta request based on the context it is used

func (*IdmSearchUserMetaRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmSearchUserMetaRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmSearchUserMetaRequest) Validate ¶

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

Validate validates this idm search user meta request

type IdmUpdateUserMetaNamespaceRequest ¶

type IdmUpdateUserMetaNamespaceRequest struct {

	// namespaces
	Namespaces []*IdmUserMetaNamespace `json:"Namespaces"`

	// operation
	Operation *UpdateUserMetaNamespaceRequestUserMetaNsOp `json:"Operation,omitempty"`
}

IdmUpdateUserMetaNamespaceRequest Modify UserMetaNamespaces

swagger:model idmUpdateUserMetaNamespaceRequest

func (*IdmUpdateUserMetaNamespaceRequest) ContextValidate ¶

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

ContextValidate validate this idm update user meta namespace request based on the context it is used

func (*IdmUpdateUserMetaNamespaceRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUpdateUserMetaNamespaceRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUpdateUserMetaNamespaceRequest) Validate ¶

Validate validates this idm update user meta namespace request

type IdmUpdateUserMetaNamespaceResponse ¶

type IdmUpdateUserMetaNamespaceResponse struct {

	// namespaces
	Namespaces []*IdmUserMetaNamespace `json:"Namespaces"`
}

IdmUpdateUserMetaNamespaceResponse Response of the

swagger:model idmUpdateUserMetaNamespaceResponse

func (*IdmUpdateUserMetaNamespaceResponse) ContextValidate ¶

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

ContextValidate validate this idm update user meta namespace response based on the context it is used

func (*IdmUpdateUserMetaNamespaceResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUpdateUserMetaNamespaceResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUpdateUserMetaNamespaceResponse) Validate ¶

Validate validates this idm update user meta namespace response

type IdmUpdateUserMetaRequest ¶

type IdmUpdateUserMetaRequest struct {

	// List of metadatas to update or delete
	MetaDatas []*IdmUserMeta `json:"MetaDatas"`

	// Type of operation to apply (PUT / DELETE)
	Operation *UpdateUserMetaRequestUserMetaOp `json:"Operation,omitempty"`
}

IdmUpdateUserMetaRequest Request for modifying UserMeta

swagger:model idmUpdateUserMetaRequest

func (*IdmUpdateUserMetaRequest) ContextValidate ¶

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

ContextValidate validate this idm update user meta request based on the context it is used

func (*IdmUpdateUserMetaRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUpdateUserMetaRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUpdateUserMetaRequest) Validate ¶

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

Validate validates this idm update user meta request

type IdmUpdateUserMetaResponse ¶

type IdmUpdateUserMetaResponse struct {

	// List of metadatas
	MetaDatas []*IdmUserMeta `json:"MetaDatas"`
}

IdmUpdateUserMetaResponse Response of UpdateUserMeta service

swagger:model idmUpdateUserMetaResponse

func (*IdmUpdateUserMetaResponse) ContextValidate ¶

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

ContextValidate validate this idm update user meta response based on the context it is used

func (*IdmUpdateUserMetaResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUpdateUserMetaResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUpdateUserMetaResponse) Validate ¶

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

Validate validates this idm update user meta response

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 IdmUserMeta ¶

type IdmUserMeta struct {

	// Json encoded value used to pass any type of values
	JSONValue string `json:"JsonValue,omitempty"`

	// Namespace for the metadata
	Namespace string `json:"Namespace,omitempty"`

	// Unique identifier of the node to which meta is attached
	NodeUUID string `json:"NodeUuid,omitempty"`

	// Policies for securing access
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Context-resolved to quickly check if this meta is editable or not
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

	// Pass along resolved Node for advanced filtering
	ResolvedNode *TreeNode `json:"ResolvedNode,omitempty"`

	// Unique identifier of the metadata
	UUID string `json:"Uuid,omitempty"`
}

IdmUserMeta Piece of metadata attached to a node

swagger:model idmUserMeta

func (*IdmUserMeta) ContextValidate ¶

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

ContextValidate validate this idm user meta based on the context it is used

func (*IdmUserMeta) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUserMeta) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUserMeta) Validate ¶

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

Validate validates this idm user meta

type IdmUserMetaNamespace ¶

type IdmUserMetaNamespace struct {

	// Whether a modification of a metadata value for this namespace should trigger an indexation by the search engine
	Indexable bool `json:"Indexable,omitempty"`

	// Json-encoded type to provide accurate interface for edition
	JSONDefinition string `json:"JsonDefinition,omitempty"`

	// Human-readable Label
	Label string `json:"Label,omitempty"`

	// Namespace identifier, must be unique
	Namespace string `json:"Namespace,omitempty"`

	// Order is used for sorting lists of namesapces
	Order int32 `json:"Order,omitempty"`

	// Policies securing this namespace
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Context-resolved to quickly check if this meta is editable or not
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`
}

IdmUserMetaNamespace Globally declared Namespace with associated policies

swagger:model idmUserMetaNamespace

func (*IdmUserMetaNamespace) ContextValidate ¶

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

ContextValidate validate this idm user meta namespace based on the context it is used

func (*IdmUserMetaNamespace) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUserMetaNamespace) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUserMetaNamespace) Validate ¶

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

Validate validates this idm user meta namespace

type IdmUserSingleQuery ¶

type IdmUserSingleQuery struct {

	// Search for the existence of the AttributeName, whatever its value
	AttributeAnyValue bool `json:"AttributeAnyValue,omitempty"`

	// Search on attribute, to be combined with AttributeValue
	AttributeName string `json:"AttributeName,omitempty"`

	// Value used for comparison
	AttributeValue string `json:"AttributeValue,omitempty"`

	// Lookup by last connection date. Must be a timestamp with a leading comparison symbol ('<' or '>')
	ConnectedSince string `json:"ConnectedSince,omitempty"`

	// Search one specific Group by its path
	FullPath string `json:"FullPath,omitempty"`

	// List users below a specific on group path
	GroupPath string `json:"GroupPath,omitempty"`

	// Lookup by profile name (e.g. admin, standard, shared). This is a shortcut for searching on the pydio:profile attribute
	HasProfile string `json:"HasProfile,omitempty"`

	// Search users having a specific role UUID
	HasRole string `json:"HasRole,omitempty"`

	// Lookup a user by Login
	Login string `json:"Login,omitempty"`

	// Filter/Search by NodeType (generally user or group)
	NodeType *IdmNodeType `json:"NodeType,omitempty"`

	// Lookup by hashed password, probably never used
	Password string `json:"Password,omitempty"`

	// When searching on group path, load all users and groups recursively
	Recursive bool `json:"Recursive,omitempty"`

	// Lookup a user by its Uuid
	UUID string `json:"Uuid,omitempty"`

	// Internal - Negate the query/filter result
	Not bool `json:"not,omitempty"`
}

IdmUserSingleQuery idm user single query

swagger:model idmUserSingleQuery

func (*IdmUserSingleQuery) ContextValidate ¶

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

ContextValidate validate this idm user single query based on the context it is used

func (*IdmUserSingleQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmUserSingleQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmUserSingleQuery) Validate ¶

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

Validate validates this idm user single query

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 ¶

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 IdmWorkspaceSingleQuery ¶

type IdmWorkspaceSingleQuery struct {

	// Lookup for an attribute, to be used in combination with AttributeValue
	AttributeName string `json:"AttributeName,omitempty"`

	// Value used for comparison
	AttributeValue string `json:"AttributeValue,omitempty"`

	// Lookup for the presence of a specific attribute, whatever its value
	HasAttribute string `json:"HasAttribute,omitempty"`

	// Compared to workspace update date (Golang duration with a leading comparator < or >)
	LastUpdated string `json:"LastUpdated,omitempty"`

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

	// Lookup by workspace Label
	Label string `json:"label,omitempty"`

	// Internal - Negate the query result
	Not bool `json:"not,omitempty"`

	// Restrict to a specific workspace type
	Scope *IdmWorkspaceScope `json:"scope,omitempty"`

	// Select workspace by slug
	Slug string `json:"slug,omitempty"`

	// Lookup by workspace Uuid
	UUID string `json:"uuid,omitempty"`
}

IdmWorkspaceSingleQuery idm workspace single query

swagger:model idmWorkspaceSingleQuery

func (*IdmWorkspaceSingleQuery) ContextValidate ¶

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

ContextValidate validate this idm workspace single query based on the context it is used

func (*IdmWorkspaceSingleQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IdmWorkspaceSingleQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IdmWorkspaceSingleQuery) Validate ¶

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

Validate validates this idm workspace single query

type InstallCheckResult ¶

type InstallCheckResult struct {

	// Json result
	JSONResult string `json:"JsonResult,omitempty"`

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

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

InstallCheckResult install check result

swagger:model installCheckResult

func (*InstallCheckResult) ContextValidate ¶

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

ContextValidate validates this install check result based on context it is used

func (*InstallCheckResult) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallCheckResult) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallCheckResult) Validate ¶

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

Validate validates this install check result

type InstallGetAgreementResponse ¶

type InstallGetAgreementResponse struct {

	// text
	Text string `json:"Text,omitempty"`
}

InstallGetAgreementResponse install get agreement response

swagger:model installGetAgreementResponse

func (*InstallGetAgreementResponse) ContextValidate ¶

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

ContextValidate validates this install get agreement response based on context it is used

func (*InstallGetAgreementResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallGetAgreementResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallGetAgreementResponse) Validate ¶

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

Validate validates this install get agreement response

type InstallGetDefaultsResponse ¶

type InstallGetDefaultsResponse struct {

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

InstallGetDefaultsResponse install get defaults response

swagger:model installGetDefaultsResponse

func (*InstallGetDefaultsResponse) ContextValidate ¶

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

ContextValidate validate this install get defaults response based on the context it is used

func (*InstallGetDefaultsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallGetDefaultsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallGetDefaultsResponse) Validate ¶

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

Validate validates this install get defaults response

type InstallInstallConfig ¶

type InstallInstallConfig struct {

	// check results
	CheckResults []*InstallCheckResult `json:"CheckResults"`

	// Additional Documents DSN data
	DocumentsDSN string `json:"DocumentsDSN,omitempty"`

	// Additional proxy config (optional)
	ProxyConfig *InstallProxyConfig `json:"ProxyConfig,omitempty"`

	// use documents d s n
	UseDocumentsDSN bool `json:"UseDocumentsDSN,omitempty"`

	// db connection type
	DbConnectionType string `json:"dbConnectionType,omitempty"`

	// db manual d s n
	DbManualDSN string `json:"dbManualDSN,omitempty"`

	// db socket file
	DbSocketFile string `json:"dbSocketFile,omitempty"`

	// db socket name
	DbSocketName string `json:"dbSocketName,omitempty"`

	// db socket password
	DbSocketPassword string `json:"dbSocketPassword,omitempty"`

	// db socket user
	DbSocketUser string `json:"dbSocketUser,omitempty"`

	// db TCP hostname
	DbTCPHostname string `json:"dbTCPHostname,omitempty"`

	// db TCP name
	DbTCPName string `json:"dbTCPName,omitempty"`

	// db TCP password
	DbTCPPassword string `json:"dbTCPPassword,omitempty"`

	// db TCP port
	DbTCPPort string `json:"dbTCPPort,omitempty"`

	// db TCP user
	DbTCPUser string `json:"dbTCPUser,omitempty"`

	// db use defaults
	DbUseDefaults bool `json:"dbUseDefaults,omitempty"`

	// ds folder
	DsFolder string `json:"dsFolder,omitempty"`

	// ds name
	DsName string `json:"dsName,omitempty"`

	// ds port
	DsPort string `json:"dsPort,omitempty"`

	// ds s3 Api key
	DsS3APIKey string `json:"dsS3ApiKey,omitempty"`

	// ds s3 Api secret
	DsS3APISecret string `json:"dsS3ApiSecret,omitempty"`

	// ds s3 bucket binaries
	DsS3BucketBinaries string `json:"dsS3BucketBinaries,omitempty"`

	// ds s3 bucket cells
	DsS3BucketCells string `json:"dsS3BucketCells,omitempty"`

	// ds s3 bucket default
	DsS3BucketDefault string `json:"dsS3BucketDefault,omitempty"`

	// ds s3 bucket personal
	DsS3BucketPersonal string `json:"dsS3BucketPersonal,omitempty"`

	// ds s3 bucket thumbs
	DsS3BucketThumbs string `json:"dsS3BucketThumbs,omitempty"`

	// ds s3 bucket versions
	DsS3BucketVersions string `json:"dsS3BucketVersions,omitempty"`

	// ds s3 custom
	DsS3Custom string `json:"dsS3Custom,omitempty"`

	// ds s3 custom region
	DsS3CustomRegion string `json:"dsS3CustomRegion,omitempty"`

	// ds type
	DsType string `json:"dsType,omitempty"`

	// frontend application title
	FrontendApplicationTitle string `json:"frontendApplicationTitle,omitempty"`

	// frontend default language
	FrontendDefaultLanguage string `json:"frontendDefaultLanguage,omitempty"`

	// frontend hosts
	FrontendHosts string `json:"frontendHosts,omitempty"`

	// frontend login
	FrontendLogin string `json:"frontendLogin,omitempty"`

	// frontend password
	FrontendPassword string `json:"frontendPassword,omitempty"`

	// frontend repeat password
	FrontendRepeatPassword string `json:"frontendRepeatPassword,omitempty"`

	// internal Url
	InternalURL string `json:"internalUrl,omitempty"`

	// license required
	LicenseRequired bool `json:"licenseRequired,omitempty"`

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

InstallInstallConfig install install config

swagger:model installInstallConfig

func (*InstallInstallConfig) ContextValidate ¶

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

ContextValidate validate this install install config based on the context it is used

func (*InstallInstallConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallInstallConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallInstallConfig) Validate ¶

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

Validate validates this install install config

type InstallInstallEventsResponse ¶

type InstallInstallEventsResponse struct {

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

InstallInstallEventsResponse install install events response

swagger:model installInstallEventsResponse

func (*InstallInstallEventsResponse) ContextValidate ¶

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

ContextValidate validates this install install events response based on context it is used

func (*InstallInstallEventsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallInstallEventsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallInstallEventsResponse) Validate ¶

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

Validate validates this install install events response

type InstallInstallRequest ¶

type InstallInstallRequest struct {

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

InstallInstallRequest install install request

swagger:model installInstallRequest

func (*InstallInstallRequest) ContextValidate ¶

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

ContextValidate validate this install install request based on the context it is used

func (*InstallInstallRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallInstallRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallInstallRequest) Validate ¶

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

Validate validates this install install request

type InstallInstallResponse ¶

type InstallInstallResponse struct {

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

InstallInstallResponse install install response

swagger:model installInstallResponse

func (*InstallInstallResponse) ContextValidate ¶

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

ContextValidate validates this install install response based on context it is used

func (*InstallInstallResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallInstallResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallInstallResponse) Validate ¶

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

Validate validates this install install response

type InstallPerformCheckRequest ¶

type InstallPerformCheckRequest struct {

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

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

InstallPerformCheckRequest install perform check request

swagger:model installPerformCheckRequest

func (*InstallPerformCheckRequest) ContextValidate ¶

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

ContextValidate validate this install perform check request based on the context it is used

func (*InstallPerformCheckRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallPerformCheckRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallPerformCheckRequest) Validate ¶

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

Validate validates this install perform check request

type InstallPerformCheckResponse ¶

type InstallPerformCheckResponse struct {

	// result
	Result *InstallCheckResult `json:"Result,omitempty"`
}

InstallPerformCheckResponse install perform check response

swagger:model installPerformCheckResponse

func (*InstallPerformCheckResponse) ContextValidate ¶

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

ContextValidate validate this install perform check response based on the context it is used

func (*InstallPerformCheckResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstallPerformCheckResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstallPerformCheckResponse) Validate ¶

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

Validate validates this install perform check response

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 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 ¶

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 ¶

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 ¶

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

MarshalBinary interface implementation

func (*JobsChatEventFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsChatEventFilter) Validate ¶

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

Validate validates this jobs chat event filter

type JobsCommand ¶

type JobsCommand string

JobsCommand jobs command

swagger:model jobsCommand

const (

	// JobsCommandNone captures enum value "None"
	JobsCommandNone JobsCommand = "None"

	// JobsCommandPause captures enum value "Pause"
	JobsCommandPause JobsCommand = "Pause"

	// JobsCommandResume captures enum value "Resume"
	JobsCommandResume JobsCommand = "Resume"

	// JobsCommandStop captures enum value "Stop"
	JobsCommandStop JobsCommand = "Stop"

	// JobsCommandDelete captures enum value "Delete"
	JobsCommandDelete JobsCommand = "Delete"

	// JobsCommandRunOnce captures enum value "RunOnce"
	JobsCommandRunOnce JobsCommand = "RunOnce"

	// JobsCommandInactive captures enum value "Inactive"
	JobsCommandInactive JobsCommand = "Inactive"

	// JobsCommandActive captures enum value "Active"
	JobsCommandActive JobsCommand = "Active"
)

func NewJobsCommand ¶

func NewJobsCommand(value JobsCommand) *JobsCommand

func (JobsCommand) ContextValidate ¶

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

ContextValidate validates this jobs command based on context it is used

func (JobsCommand) Pointer ¶

func (m JobsCommand) Pointer() *JobsCommand

Pointer returns a pointer to a freshly-allocated JobsCommand.

func (JobsCommand) Validate ¶

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

Validate validates this jobs command

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 ¶

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 JobsCtrlCommand ¶

type JobsCtrlCommand struct {

	// Type of command to send (None, Pause, Resume, Stop, Delete, RunOnce, Inactive, Active)
	Cmd *JobsCommand `json:"Cmd,omitempty"`

	// Id of the job
	JobID string `json:"JobId,omitempty"`

	// Owner of the job
	OwnerID string `json:"OwnerId,omitempty"`

	// Parameters used for RunOnce command
	RunParameters map[string]string `json:"RunParameters,omitempty"`

	// Id of the associated task
	TaskID string `json:"TaskId,omitempty"`
}

JobsCtrlCommand Command sent to control a job or a task

swagger:model jobsCtrlCommand

func (*JobsCtrlCommand) ContextValidate ¶

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

ContextValidate validate this jobs ctrl command based on the context it is used

func (*JobsCtrlCommand) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JobsCtrlCommand) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsCtrlCommand) Validate ¶

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

Validate validates this jobs ctrl command

type JobsCtrlCommandResponse ¶

type JobsCtrlCommandResponse struct {

	// msg
	Msg string `json:"Msg,omitempty"`
}

JobsCtrlCommandResponse Response to the CtrlCommand

swagger:model jobsCtrlCommandResponse

func (*JobsCtrlCommandResponse) ContextValidate ¶

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

ContextValidate validates this jobs ctrl command response based on context it is used

func (*JobsCtrlCommandResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JobsCtrlCommandResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsCtrlCommandResponse) Validate ¶

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

Validate validates this jobs ctrl command response

type JobsDataSelector ¶

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 ¶

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 ¶

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

MarshalBinary interface implementation

func (*JobsDataSelector) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsDataSelector) Validate ¶

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 ¶

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 JobsDeleteTasksRequest ¶

type JobsDeleteTasksRequest struct {

	// Id of the job
	JobID string `json:"JobId,omitempty"`

	// If deleting by status, optionally keep only a number of tasks
	PruneLimit int32 `json:"PruneLimit,omitempty"`

	// If no TaskID and/or no JobID are passed, delete tasks by status
	Status []*JobsTaskStatus `json:"Status"`

	// Ids of tasks to delete
	TaskID []string `json:"TaskID"`
}

JobsDeleteTasksRequest jobs delete tasks request

swagger:model jobsDeleteTasksRequest

func (*JobsDeleteTasksRequest) ContextValidate ¶

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

ContextValidate validate this jobs delete tasks request based on the context it is used

func (*JobsDeleteTasksRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JobsDeleteTasksRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsDeleteTasksRequest) Validate ¶

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

Validate validates this jobs delete tasks request

type JobsDeleteTasksResponse ¶

type JobsDeleteTasksResponse struct {

	// deleted
	Deleted []string `json:"Deleted"`
}

JobsDeleteTasksResponse jobs delete tasks response

swagger:model jobsDeleteTasksResponse

func (*JobsDeleteTasksResponse) ContextValidate ¶

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

ContextValidate validates this jobs delete tasks response based on context it is used

func (*JobsDeleteTasksResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JobsDeleteTasksResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsDeleteTasksResponse) Validate ¶

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

Validate validates this jobs delete tasks 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 ¶

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 ¶

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 ¶

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 ¶

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

MarshalBinary interface implementation

func (*JobsJobHook) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsJobHook) Validate ¶

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 JobsListJobsRequest ¶

type JobsListJobsRequest struct {

	// Filter with only event-based jobs
	EventsOnly bool `json:"EventsOnly,omitempty"`

	// Load jobs by their ID
	JobIDs []string `json:"JobIDs"`

	// Load tasks that correspond to the given TaskStatus
	LoadTasks *JobsTaskStatus `json:"LoadTasks,omitempty"`

	// Restrict to a specific owner (current user by default)
	Owner string `json:"Owner,omitempty"`

	// Lmit the number of results
	TasksLimit int32 `json:"TasksLimit,omitempty"`

	// Start listing at a given position
	TasksOffset int32 `json:"TasksOffset,omitempty"`

	// Filter with only timer-based jobs
	TimersOnly bool `json:"TimersOnly,omitempty"`
}

JobsListJobsRequest jobs list jobs request

swagger:model jobsListJobsRequest

func (*JobsListJobsRequest) ContextValidate ¶

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

ContextValidate validate this jobs list jobs request based on the context it is used

func (*JobsListJobsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JobsListJobsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsListJobsRequest) Validate ¶

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

Validate validates this jobs list jobs request

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 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 ¶

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 ¶

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 ¶

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

MarshalBinary interface implementation

func (*JobsSelectorRange) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JobsSelectorRange) Validate ¶

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 ¶

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 (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 ¶

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 ListSharedResourcesRequestListShareType ¶

type ListSharedResourcesRequestListShareType string

ListSharedResourcesRequestListShareType list shared resources request list share type

swagger:model ListSharedResourcesRequestListShareType

const (

	// ListSharedResourcesRequestListShareTypeANY captures enum value "ANY"
	ListSharedResourcesRequestListShareTypeANY ListSharedResourcesRequestListShareType = "ANY"

	// ListSharedResourcesRequestListShareTypeLINKS captures enum value "LINKS"
	ListSharedResourcesRequestListShareTypeLINKS ListSharedResourcesRequestListShareType = "LINKS"

	// ListSharedResourcesRequestListShareTypeCELLS captures enum value "CELLS"
	ListSharedResourcesRequestListShareTypeCELLS ListSharedResourcesRequestListShareType = "CELLS"
)

func (ListSharedResourcesRequestListShareType) ContextValidate ¶

ContextValidate validates this list shared resources request list share type based on context it is used

func (ListSharedResourcesRequestListShareType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ListSharedResourcesRequestListShareType.

func (ListSharedResourcesRequestListShareType) Validate ¶

Validate validates this list shared resources request list share type

type ListSharedResourcesResponseSharedResource ¶

type ListSharedResourcesResponseSharedResource struct {

	// cells
	Cells []*RestCell `json:"Cells"`

	// link
	Link *RestShareLink `json:"Link,omitempty"`

	// node
	Node *TreeNode `json:"Node,omitempty"`
}

ListSharedResourcesResponseSharedResource Container for ShareLink or Cell

swagger:model ListSharedResourcesResponseSharedResource

func (*ListSharedResourcesResponseSharedResource) ContextValidate ¶

ContextValidate validate this list shared resources response shared resource based on the context it is used

func (*ListSharedResourcesResponseSharedResource) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListSharedResourcesResponseSharedResource) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListSharedResourcesResponseSharedResource) Validate ¶

Validate validates this list shared resources response shared resource

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 MailerMail ¶

type MailerMail struct {

	// List of attachments
	Attachments []string `json:"Attachments"`

	// List of target users to put in CC
	Cc []*MailerUser `json:"Cc"`

	// HTML content used for the body
	ContentHTML string `json:"ContentHtml,omitempty"`

	// Markdown content used for the body
	ContentMarkdown string `json:"ContentMarkdown,omitempty"`

	// Plain-text content used for the body, if not set will be generated from the ContentHtml
	ContentPlain string `json:"ContentPlain,omitempty"`

	// Date of sending
	DateSent string `json:"DateSent,omitempty"`

	// User object used to compute the From header
	From *MailerUser `json:"From,omitempty"`

	// Number of retries after failed attempts (used internally)
	Retries int32 `json:"Retries,omitempty"`

	// User object used to compute the Sender header
	Sender *MailerUser `json:"Sender,omitempty"`

	// String used as subject for the email
	Subject string `json:"Subject,omitempty"`

	// Key/values to pass to the template
	TemplateData map[string]string `json:"TemplateData,omitempty"`

	// Mail Template Id refers to predefined templates
	TemplateID string `json:"TemplateId,omitempty"`

	// Not used, could be used to create conversations
	ThreadIndex string `json:"ThreadIndex,omitempty"`

	// Not used, could be used to create conversations
	ThreadUUID string `json:"ThreadUuid,omitempty"`

	// List of target users to send the mail to
	To []*MailerUser `json:"To"`

	// Errors stacked on failed attempts
	SendErrors []string `json:"sendErrors"`
}

MailerMail mailer mail

swagger:model mailerMail

func (*MailerMail) ContextValidate ¶

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

ContextValidate validate this mailer mail based on the context it is used

func (*MailerMail) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*MailerMail) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*MailerMail) Validate ¶

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

Validate validates this mailer mail

type MailerSendMailResponse ¶

type MailerSendMailResponse struct {

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

MailerSendMailResponse mailer send mail response

swagger:model mailerSendMailResponse

func (*MailerSendMailResponse) ContextValidate ¶

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

ContextValidate validates this mailer send mail response based on context it is used

func (*MailerSendMailResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*MailerSendMailResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*MailerSendMailResponse) Validate ¶

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

Validate validates this mailer send mail response

type MailerUser ¶

type MailerUser struct {

	// address
	Address string `json:"Address,omitempty"`

	// language
	Language string `json:"Language,omitempty"`

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

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

MailerUser mailer user

swagger:model mailerUser

func (*MailerUser) ContextValidate ¶

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

ContextValidate validates this mailer user based on context it is used

func (*MailerUser) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*MailerUser) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*MailerUser) Validate ¶

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

Validate validates this mailer user

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 ¶

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 ¶

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 PackagePackageStatus ¶

type PackagePackageStatus string

PackagePackageStatus package package status

swagger:model PackagePackageStatus

const (

	// PackagePackageStatusDraft captures enum value "Draft"
	PackagePackageStatusDraft PackagePackageStatus = "Draft"

	// PackagePackageStatusPending captures enum value "Pending"
	PackagePackageStatusPending PackagePackageStatus = "Pending"

	// PackagePackageStatusReleased captures enum value "Released"
	PackagePackageStatusReleased PackagePackageStatus = "Released"
)

func NewPackagePackageStatus ¶

func NewPackagePackageStatus(value PackagePackageStatus) *PackagePackageStatus

func (PackagePackageStatus) ContextValidate ¶

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

ContextValidate validates this package package status based on context it is used

func (PackagePackageStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated PackagePackageStatus.

func (PackagePackageStatus) Validate ¶

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

Validate validates this package package status

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"`
}

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) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate ¶

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

Validate validates this protobuf any

type RPCStatus ¶

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 ¶

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 ¶

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

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RPCStatus) Validate ¶

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

Validate validates this rpc status

type RegistryActionType ¶

type RegistryActionType string

RegistryActionType registry action type

swagger:model registryActionType

const (

	// RegistryActionTypeANY captures enum value "ANY"
	RegistryActionTypeANY RegistryActionType = "ANY"

	// RegistryActionTypeFULLDIFF captures enum value "FULL_DIFF"
	RegistryActionTypeFULLDIFF RegistryActionType = "FULL_DIFF"

	// RegistryActionTypeFULLLIST captures enum value "FULL_LIST"
	RegistryActionTypeFULLLIST RegistryActionType = "FULL_LIST"

	// RegistryActionTypeCREATE captures enum value "CREATE"
	RegistryActionTypeCREATE RegistryActionType = "CREATE"

	// RegistryActionTypeUPDATE captures enum value "UPDATE"
	RegistryActionTypeUPDATE RegistryActionType = "UPDATE"

	// RegistryActionTypeDELETE captures enum value "DELETE"
	RegistryActionTypeDELETE RegistryActionType = "DELETE"
)

func NewRegistryActionType ¶

func NewRegistryActionType(value RegistryActionType) *RegistryActionType

func (RegistryActionType) ContextValidate ¶

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

ContextValidate validates this registry action type based on context it is used

func (RegistryActionType) Pointer ¶

Pointer returns a pointer to a freshly-allocated RegistryActionType.

func (RegistryActionType) Validate ¶

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

Validate validates this registry action type

type RegistryDao ¶

type RegistryDao struct {

	// driver
	Driver string `json:"driver,omitempty"`

	// dsn
	Dsn string `json:"dsn,omitempty"`
}

RegistryDao registry dao

swagger:model registryDao

func (*RegistryDao) ContextValidate ¶

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

ContextValidate validates this registry dao based on context it is used

func (*RegistryDao) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryDao) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryDao) Validate ¶

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

Validate validates this registry dao

type RegistryEdge ¶

type RegistryEdge struct {

	// vertices
	Vertices []string `json:"vertices"`
}

RegistryEdge registry edge

swagger:model registryEdge

func (*RegistryEdge) ContextValidate ¶

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

ContextValidate validates this registry edge based on context it is used

func (*RegistryEdge) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryEdge) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryEdge) Validate ¶

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

Validate validates this registry edge

type RegistryGeneric ¶

type RegistryGeneric struct {

	// type
	Type *RegistryItemType `json:"type,omitempty"`
}

RegistryGeneric registry generic

swagger:model registryGeneric

func (*RegistryGeneric) ContextValidate ¶

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

ContextValidate validate this registry generic based on the context it is used

func (*RegistryGeneric) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryGeneric) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryGeneric) Validate ¶

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

Validate validates this registry generic

type RegistryItem ¶

type RegistryItem struct {

	// adjacents
	Adjacents []*RegistryItem `json:"adjacents"`

	// dao
	Dao *RegistryDao `json:"dao,omitempty"`

	// edge
	Edge *RegistryEdge `json:"edge,omitempty"`

	// generic
	Generic *RegistryGeneric `json:"generic,omitempty"`

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

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

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

	// node
	Node *RegistryNode `json:"node,omitempty"`

	// server
	Server *RegistryServer `json:"server,omitempty"`

	// service
	Service *RegistryService `json:"service,omitempty"`
}

RegistryItem registry item

swagger:model registryItem

func (*RegistryItem) ContextValidate ¶

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

ContextValidate validate this registry item based on the context it is used

func (*RegistryItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryItem) Validate ¶

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

Validate validates this registry item

type RegistryItemType ¶

type RegistryItemType string

RegistryItemType registry item type

swagger:model registryItemType

const (

	// RegistryItemTypeALL captures enum value "ALL"
	RegistryItemTypeALL RegistryItemType = "ALL"

	// RegistryItemTypeEDGE captures enum value "EDGE"
	RegistryItemTypeEDGE RegistryItemType = "EDGE"

	// RegistryItemTypeNODE captures enum value "NODE"
	RegistryItemTypeNODE RegistryItemType = "NODE"

	// RegistryItemTypeSERVICE captures enum value "SERVICE"
	RegistryItemTypeSERVICE RegistryItemType = "SERVICE"

	// RegistryItemTypeSERVER captures enum value "SERVER"
	RegistryItemTypeSERVER RegistryItemType = "SERVER"

	// RegistryItemTypeDAO captures enum value "DAO"
	RegistryItemTypeDAO RegistryItemType = "DAO"

	// RegistryItemTypeGENERIC captures enum value "GENERIC"
	RegistryItemTypeGENERIC RegistryItemType = "GENERIC"

	// RegistryItemTypeADDRESS captures enum value "ADDRESS"
	RegistryItemTypeADDRESS RegistryItemType = "ADDRESS"

	// RegistryItemTypeTAG captures enum value "TAG"
	RegistryItemTypeTAG RegistryItemType = "TAG"

	// RegistryItemTypePROCESS captures enum value "PROCESS"
	RegistryItemTypePROCESS RegistryItemType = "PROCESS"

	// RegistryItemTypeENDPOINT captures enum value "ENDPOINT"
	RegistryItemTypeENDPOINT RegistryItemType = "ENDPOINT"

	// RegistryItemTypeSTATS captures enum value "STATS"
	RegistryItemTypeSTATS RegistryItemType = "STATS"
)

func NewRegistryItemType ¶

func NewRegistryItemType(value RegistryItemType) *RegistryItemType

func (RegistryItemType) ContextValidate ¶

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

ContextValidate validates this registry item type based on context it is used

func (RegistryItemType) Pointer ¶

func (m RegistryItemType) Pointer() *RegistryItemType

Pointer returns a pointer to a freshly-allocated RegistryItemType.

func (RegistryItemType) Validate ¶

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

Validate validates this registry item type

type RegistryListRequest ¶

type RegistryListRequest struct {

	// adjacents options
	AdjacentsOptions *RegistryOptions `json:"adjacentsOptions,omitempty"`

	// options
	Options *RegistryOptions `json:"options,omitempty"`
}

RegistryListRequest registry list request

swagger:model registryListRequest

func (*RegistryListRequest) ContextValidate ¶

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

ContextValidate validate this registry list request based on the context it is used

func (*RegistryListRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryListRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryListRequest) Validate ¶

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

Validate validates this registry list request

type RegistryListResponse ¶

type RegistryListResponse struct {

	// items
	Items []*RegistryItem `json:"items"`
}

RegistryListResponse registry list response

swagger:model registryListResponse

func (*RegistryListResponse) ContextValidate ¶

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

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

func (*RegistryListResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryListResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryListResponse) Validate ¶

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

Validate validates this registry list response

type RegistryNode ¶

type RegistryNode struct {

	// advertise Ip
	AdvertiseIP string `json:"advertiseIp,omitempty"`

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// ips
	Ips []string `json:"ips"`

	// machine
	Machine string `json:"machine,omitempty"`
}

RegistryNode registry node

swagger:model registryNode

func (*RegistryNode) ContextValidate ¶

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

ContextValidate validates this registry node based on context it is used

func (*RegistryNode) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryNode) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryNode) Validate ¶

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

Validate validates this registry node

type RegistryOptions ¶

type RegistryOptions struct {

	// actions
	Actions []*RegistryActionType `json:"actions"`

	// ids
	Ids []string `json:"ids"`

	// meta name
	MetaName string `json:"metaName,omitempty"`

	// meta value
	MetaValue string `json:"metaValue,omitempty"`

	// names
	Names []string `json:"names"`

	// ttl
	TTL string `json:"ttl,omitempty"`

	// types
	Types []*RegistryItemType `json:"types"`
}

RegistryOptions Options are registry options

swagger:model registryOptions

func (*RegistryOptions) ContextValidate ¶

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

ContextValidate validate this registry options based on the context it is used

func (*RegistryOptions) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryOptions) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryOptions) Validate ¶

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

Validate validates this registry options

type RegistryServer ¶

type RegistryServer struct {

	// protocol
	Protocol string `json:"protocol,omitempty"`
}

RegistryServer Server represents the node the service is on

swagger:model registryServer

func (*RegistryServer) ContextValidate ¶

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

ContextValidate validates this registry server based on context it is used

func (*RegistryServer) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryServer) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryServer) Validate ¶

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

Validate validates this registry server

type RegistryService ¶

type RegistryService struct {

	// options
	Options *RegistryOptions `json:"options,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// version
	Version string `json:"version,omitempty"`
}

RegistryService Service represents a go-micro service

swagger:model registryService

func (*RegistryService) ContextValidate ¶

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

ContextValidate validate this registry service based on the context it is used

func (*RegistryService) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RegistryService) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RegistryService) Validate ¶

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

Validate validates this registry service

type ResourcePolicyQueryQueryType ¶

type ResourcePolicyQueryQueryType string

ResourcePolicyQueryQueryType resource policy query query type

swagger:model ResourcePolicyQueryQueryType

const (

	// ResourcePolicyQueryQueryTypeCONTEXT captures enum value "CONTEXT"
	ResourcePolicyQueryQueryTypeCONTEXT ResourcePolicyQueryQueryType = "CONTEXT"

	// ResourcePolicyQueryQueryTypeANY captures enum value "ANY"
	ResourcePolicyQueryQueryTypeANY ResourcePolicyQueryQueryType = "ANY"

	// ResourcePolicyQueryQueryTypeNONE captures enum value "NONE"
	ResourcePolicyQueryQueryTypeNONE ResourcePolicyQueryQueryType = "NONE"

	// ResourcePolicyQueryQueryTypeUSER captures enum value "USER"
	ResourcePolicyQueryQueryTypeUSER ResourcePolicyQueryQueryType = "USER"
)

func (ResourcePolicyQueryQueryType) ContextValidate ¶

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

ContextValidate validates this resource policy query query type based on context it is used

func (ResourcePolicyQueryQueryType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ResourcePolicyQueryQueryType.

func (ResourcePolicyQueryQueryType) Validate ¶

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

Validate validates this resource policy query query type

type RestACLCollection ¶

type RestACLCollection struct {

	// List of ACLs
	ACLs []*IdmACL `json:"ACLs"`

	// Total number of results
	Total int32 `json:"Total,omitempty"`
}

RestACLCollection Response for search request

swagger:model restACLCollection

func (*RestACLCollection) ContextValidate ¶

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

ContextValidate validate this rest ACL collection based on the context it is used

func (*RestACLCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestACLCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestACLCollection) Validate ¶

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

Validate validates this rest ACL collection

type RestActionDescription ¶

type RestActionDescription struct {

	// User-defined category to organize actions list
	Category string `json:"Category,omitempty"`

	// Long description and help text
	Description string `json:"Description,omitempty"`

	// JS module name to be used instead of loading standard form
	FormModule string `json:"FormModule,omitempty"`

	// JSON props used to init the FormModule (optional)
	FormModuleProps string `json:"FormModuleProps,omitempty"`

	// Whether this action has a form or not
	HasForm bool `json:"HasForm,omitempty"`

	// Mdi reference name for displaying icon
	Icon string `json:"Icon,omitempty"`

	// Additional description for expected inputs
	InputDescription string `json:"InputDescription,omitempty"`

	// If action is declared internal, it is hidden to avoid polluting the list.
	IsInternal bool `json:"IsInternal,omitempty"`

	// Human-readable label
	Label string `json:"Label,omitempty"`

	// Unique name of the action
	Name string `json:"Name,omitempty"`

	// Additional description describing the action output
	OutputDescription string `json:"OutputDescription,omitempty"`

	// Template for building a short summary of the action configuration
	SummaryTemplate string `json:"SummaryTemplate,omitempty"`

	// User-defined hexa or rgb color
	Tint string `json:"Tint,omitempty"`
}

RestActionDescription rest action description

swagger:model restActionDescription

func (*RestActionDescription) ContextValidate ¶

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

ContextValidate validates this rest action description based on context it is used

func (*RestActionDescription) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestActionDescription) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestActionDescription) Validate ¶

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

Validate validates this rest action description

type RestBackgroundJobResult ¶

type RestBackgroundJobResult struct {

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

	// node Uuid
	NodeUUID string `json:"NodeUuid,omitempty"`

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

RestBackgroundJobResult rest background job result

swagger:model restBackgroundJobResult

func (*RestBackgroundJobResult) ContextValidate ¶

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

ContextValidate validates this rest background job result based on context it is used

func (*RestBackgroundJobResult) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestBackgroundJobResult) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestBackgroundJobResult) Validate ¶

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

Validate validates this rest background job result

type RestBulkMetaResponse ¶

type RestBulkMetaResponse struct {

	// nodes
	Nodes []*TreeNode `json:"Nodes"`

	// pagination
	Pagination *RestPagination `json:"Pagination,omitempty"`
}

RestBulkMetaResponse rest bulk meta response

swagger:model restBulkMetaResponse

func (*RestBulkMetaResponse) ContextValidate ¶

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

ContextValidate validate this rest bulk meta response based on the context it is used

func (*RestBulkMetaResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestBulkMetaResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestBulkMetaResponse) Validate ¶

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

Validate validates this rest bulk meta response

type RestCell ¶

type RestCell struct {

	// Access control for this Cell
	ACLs map[string]RestCellACL `json:"ACLs,omitempty"`

	// Timestamp after which the share is disabled
	AccessEnd string `json:"AccessEnd,omitempty"`

	// Long description of the Cell (max 1000 chars)
	Description string `json:"Description,omitempty"`

	// Label of the Cell (max 500 chars)
	Label string `json:"Label,omitempty"`

	// Associated access policies
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Whether these policies are currently editable
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

	// Nodes attached as roots to this Cell
	RootNodes []*TreeNode `json:"RootNodes"`

	// Unique Id of the Cell
	UUID string `json:"Uuid,omitempty"`
}

RestCell Model for representing a Cell

swagger:model restCell

func (*RestCell) ContextValidate ¶

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

ContextValidate validate this rest cell based on the context it is used

func (*RestCell) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCell) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCell) Validate ¶

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

Validate validates this rest cell

type RestCellACL ¶

type RestCellACL struct {

	// List of Acl Actions and their effect
	Actions []*IdmACLAction `json:"Actions"`

	// Associated Group
	Group *IdmUser `json:"Group,omitempty"`

	// Flag for detecting if it's a user role or not
	IsUserRole bool `json:"IsUserRole,omitempty"`

	// Associated Role
	Role *IdmRole `json:"Role,omitempty"`

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

	// Associated User
	User *IdmUser `json:"User,omitempty"`
}

RestCellACL Group collected acls by subjects

swagger:model restCellAcl

func (*RestCellACL) ContextValidate ¶

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

ContextValidate validate this rest cell Acl based on the context it is used

func (*RestCellACL) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCellACL) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCellACL) Validate ¶

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

Validate validates this rest cell Acl

type RestConfiguration ¶

type RestConfiguration struct {

	// JSON-encoded data to store
	Data string `json:"Data,omitempty"`

	// Full slash-separated path to the config key
	FullPath string `json:"FullPath,omitempty"`
}

RestConfiguration Configuration message. Data is an Json representation of any value

swagger:model restConfiguration

func (*RestConfiguration) ContextValidate ¶

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

ContextValidate validates this rest configuration based on context it is used

func (*RestConfiguration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestConfiguration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestConfiguration) Validate ¶

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

Validate validates this rest configuration

type RestControlServiceRequest ¶

type RestControlServiceRequest struct {

	// Command to apply (START or STOP)
	Command *CtlServiceCommand `json:"Command,omitempty"`

	// Name of the node
	NodeName string `json:"NodeName,omitempty"`

	// Name of the service to stop
	ServiceName string `json:"ServiceName,omitempty"`
}

RestControlServiceRequest rest control service request

swagger:model restControlServiceRequest

func (*RestControlServiceRequest) ContextValidate ¶

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

ContextValidate validate this rest control service request based on the context it is used

func (*RestControlServiceRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestControlServiceRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestControlServiceRequest) Validate ¶

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

Validate validates this rest control service request

type RestCreateNodesRequest ¶

type RestCreateNodesRequest struct {

	// A list of nodes that must be created
	Nodes []*TreeNode `json:"Nodes"`

	// If nodes are created inside non-existing folders, whether the parents should be created automatically or not
	Recursive bool `json:"Recursive,omitempty"`

	// Use a template to create this node
	TemplateUUID string `json:"TemplateUUID,omitempty"`
}

RestCreateNodesRequest rest create nodes request

swagger:model restCreateNodesRequest

func (*RestCreateNodesRequest) ContextValidate ¶

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

ContextValidate validate this rest create nodes request based on the context it is used

func (*RestCreateNodesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCreateNodesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCreateNodesRequest) Validate ¶

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

Validate validates this rest create nodes request

type RestCreatePeerFolderResponse ¶

type RestCreatePeerFolderResponse struct {

	// node
	Node *TreeNode `json:"Node,omitempty"`

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

RestCreatePeerFolderResponse rest create peer folder response

swagger:model restCreatePeerFolderResponse

func (*RestCreatePeerFolderResponse) ContextValidate ¶

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

ContextValidate validate this rest create peer folder response based on the context it is used

func (*RestCreatePeerFolderResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCreatePeerFolderResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCreatePeerFolderResponse) Validate ¶

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

Validate validates this rest create peer folder response

type RestCreateSelectionRequest ¶

type RestCreateSelectionRequest struct {

	// Create a temporary selection out of this list of nodes
	Nodes []*TreeNode `json:"Nodes"`

	// Whether to save the selection or just get a temporary Uuid in return
	Persist bool `json:"Persist,omitempty"`

	// Associated target action for this selection
	TargetAction string `json:"TargetAction,omitempty"`
}

RestCreateSelectionRequest rest create selection request

swagger:model restCreateSelectionRequest

func (*RestCreateSelectionRequest) ContextValidate ¶

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

ContextValidate validate this rest create selection request based on the context it is used

func (*RestCreateSelectionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCreateSelectionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCreateSelectionRequest) Validate ¶

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

Validate validates this rest create selection request

type RestCreateSelectionResponse ¶

type RestCreateSelectionResponse struct {

	// nodes
	Nodes []*TreeNode `json:"Nodes"`

	// selection UUID
	SelectionUUID string `json:"SelectionUUID,omitempty"`
}

RestCreateSelectionResponse rest create selection response

swagger:model restCreateSelectionResponse

func (*RestCreateSelectionResponse) ContextValidate ¶

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

ContextValidate validate this rest create selection response based on the context it is used

func (*RestCreateSelectionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCreateSelectionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCreateSelectionResponse) Validate ¶

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

Validate validates this rest create selection response

type RestCreateStorageBucketResponse ¶

type RestCreateStorageBucketResponse struct {

	// bucket name
	BucketName string `json:"BucketName,omitempty"`

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

RestCreateStorageBucketResponse rest create storage bucket response

swagger:model restCreateStorageBucketResponse

func (*RestCreateStorageBucketResponse) ContextValidate ¶

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

ContextValidate validates this rest create storage bucket response based on context it is used

func (*RestCreateStorageBucketResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestCreateStorageBucketResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestCreateStorageBucketResponse) Validate ¶

Validate validates this rest create storage bucket response

type RestDataSourceCollection ¶

type RestDataSourceCollection struct {

	// data sources
	DataSources []*ObjectDataSource `json:"DataSources"`

	// total
	Total int32 `json:"Total,omitempty"`
}

RestDataSourceCollection Collection of datasources

swagger:model restDataSourceCollection

func (*RestDataSourceCollection) ContextValidate ¶

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

ContextValidate validate this rest data source collection based on the context it is used

func (*RestDataSourceCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDataSourceCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDataSourceCollection) Validate ¶

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

Validate validates this rest data source collection

type RestDeleteCellResponse ¶

type RestDeleteCellResponse struct {

	// Delete result
	Success bool `json:"Success,omitempty"`
}

RestDeleteCellResponse rest delete cell response

swagger:model restDeleteCellResponse

func (*RestDeleteCellResponse) ContextValidate ¶

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

ContextValidate validates this rest delete cell response based on context it is used

func (*RestDeleteCellResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDeleteCellResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDeleteCellResponse) Validate ¶

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

Validate validates this rest delete cell response

type RestDeleteDataSourceResponse ¶

type RestDeleteDataSourceResponse struct {

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

RestDeleteDataSourceResponse rest delete data source response

swagger:model restDeleteDataSourceResponse

func (*RestDeleteDataSourceResponse) ContextValidate ¶

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

ContextValidate validates this rest delete data source response based on context it is used

func (*RestDeleteDataSourceResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDeleteDataSourceResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDeleteDataSourceResponse) Validate ¶

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

Validate validates this rest delete data source response

type RestDeleteNodesRequest ¶

type RestDeleteNodesRequest struct {

	// List of nodes to delete
	Nodes []*TreeNode `json:"Nodes"`

	// Whether to delete all the children if node is a folder
	Recursive bool `json:"Recursive,omitempty"`

	// Force permanent deletion even if a recycle bin is defined
	RemovePermanently bool `json:"RemovePermanently,omitempty"`
}

RestDeleteNodesRequest rest delete nodes request

swagger:model restDeleteNodesRequest

func (*RestDeleteNodesRequest) ContextValidate ¶

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

ContextValidate validate this rest delete nodes request based on the context it is used

func (*RestDeleteNodesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDeleteNodesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDeleteNodesRequest) Validate ¶

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

Validate validates this rest delete nodes request

type RestDeleteNodesResponse ¶

type RestDeleteNodesResponse struct {

	// delete jobs
	DeleteJobs []*RestBackgroundJobResult `json:"DeleteJobs"`
}

RestDeleteNodesResponse rest delete nodes response

swagger:model restDeleteNodesResponse

func (*RestDeleteNodesResponse) ContextValidate ¶

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

ContextValidate validate this rest delete nodes response based on the context it is used

func (*RestDeleteNodesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDeleteNodesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDeleteNodesResponse) Validate ¶

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

Validate validates this rest delete nodes 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 RestDeleteShareLinkResponse ¶

type RestDeleteShareLinkResponse struct {

	// If delete sucess or failed
	Success bool `json:"Success,omitempty"`
}

RestDeleteShareLinkResponse Response for deleting a share link

swagger:model restDeleteShareLinkResponse

func (*RestDeleteShareLinkResponse) ContextValidate ¶

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

ContextValidate validates this rest delete share link response based on context it is used

func (*RestDeleteShareLinkResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDeleteShareLinkResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDeleteShareLinkResponse) Validate ¶

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

Validate validates this rest delete share link response

type RestDeleteUserMetaTagsResponse ¶

type RestDeleteUserMetaTagsResponse struct {

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

RestDeleteUserMetaTagsResponse rest delete user meta tags response

swagger:model restDeleteUserMetaTagsResponse

func (*RestDeleteUserMetaTagsResponse) ContextValidate ¶

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

ContextValidate validates this rest delete user meta tags response based on context it is used

func (*RestDeleteUserMetaTagsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDeleteUserMetaTagsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDeleteUserMetaTagsResponse) Validate ¶

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

Validate validates this rest delete user meta tags response

type RestDiscoveryResponse ¶

type RestDiscoveryResponse struct {

	// Revision of the current binary build, empty if user is not authenticated
	BuildRevision string `json:"BuildRevision,omitempty"`

	// Build stamp of the binary build, empty if user is not authenticated
	BuildStamp int32 `json:"BuildStamp,omitempty"`

	// List of endpoints and their corresponding URL access. Special case for grpc that just send back its port
	Endpoints map[string]string `json:"Endpoints,omitempty"`

	// Current Package Label, empty if user is not authenticated
	PackageLabel string `json:"PackageLabel,omitempty"`

	// Current Package Type, empty if user is not authenticated
	PackageType string `json:"PackageType,omitempty"`

	// Current Package Version, empty if user is not authenticated
	Version string `json:"Version,omitempty"`
}

RestDiscoveryResponse rest discovery response

swagger:model restDiscoveryResponse

func (*RestDiscoveryResponse) ContextValidate ¶

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

ContextValidate validates this rest discovery response based on context it is used

func (*RestDiscoveryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDiscoveryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDiscoveryResponse) Validate ¶

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

Validate validates this rest discovery response

type RestDocumentAccessTokenRequest ¶

type RestDocumentAccessTokenRequest struct {

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

	// path
	Path string `json:"Path,omitempty"`
}

RestDocumentAccessTokenRequest rest document access token request

swagger:model restDocumentAccessTokenRequest

func (*RestDocumentAccessTokenRequest) ContextValidate ¶

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

ContextValidate validates this rest document access token request based on context it is used

func (*RestDocumentAccessTokenRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDocumentAccessTokenRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDocumentAccessTokenRequest) Validate ¶

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

Validate validates this rest document access token request

type RestDocumentAccessTokenResponse ¶

type RestDocumentAccessTokenResponse struct {

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

RestDocumentAccessTokenResponse rest document access token response

swagger:model restDocumentAccessTokenResponse

func (*RestDocumentAccessTokenResponse) ContextValidate ¶

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

ContextValidate validates this rest document access token response based on context it is used

func (*RestDocumentAccessTokenResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestDocumentAccessTokenResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestDocumentAccessTokenResponse) Validate ¶

Validate validates this rest document access token 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 RestFrontBinaryResponse ¶

type RestFrontBinaryResponse struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"Data,omitempty"`
}

RestFrontBinaryResponse Not used, endpoint returns octet-stream

swagger:model restFrontBinaryResponse

func (*RestFrontBinaryResponse) ContextValidate ¶

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

ContextValidate validates this rest front binary response based on context it is used

func (*RestFrontBinaryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontBinaryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontBinaryResponse) Validate ¶

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

Validate validates this rest front binary response

type RestFrontBootConfResponse ¶

type RestFrontBootConfResponse struct {

	// Json data
	JSONData map[string]string `json:"JsonData,omitempty"`
}

RestFrontBootConfResponse rest front boot conf response

swagger:model restFrontBootConfResponse

func (*RestFrontBootConfResponse) ContextValidate ¶

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

ContextValidate validates this rest front boot conf response based on context it is used

func (*RestFrontBootConfResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontBootConfResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontBootConfResponse) Validate ¶

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

Validate validates this rest front boot conf response

type RestFrontEnrollAuthRequest ¶

type RestFrontEnrollAuthRequest struct {

	// enroll info
	EnrollInfo map[string]string `json:"EnrollInfo,omitempty"`

	// enroll type
	EnrollType string `json:"EnrollType,omitempty"`
}

RestFrontEnrollAuthRequest rest front enroll auth request

swagger:model restFrontEnrollAuthRequest

func (*RestFrontEnrollAuthRequest) ContextValidate ¶

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

ContextValidate validates this rest front enroll auth request based on context it is used

func (*RestFrontEnrollAuthRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontEnrollAuthRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontEnrollAuthRequest) Validate ¶

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

Validate validates this rest front enroll auth request

type RestFrontEnrollAuthResponse ¶

type RestFrontEnrollAuthResponse struct {

	// Any parameters can be returned
	Info map[string]string `json:"Info,omitempty"`
}

RestFrontEnrollAuthResponse rest front enroll auth response

swagger:model restFrontEnrollAuthResponse

func (*RestFrontEnrollAuthResponse) ContextValidate ¶

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

ContextValidate validates this rest front enroll auth response based on context it is used

func (*RestFrontEnrollAuthResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontEnrollAuthResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontEnrollAuthResponse) Validate ¶

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

Validate validates this rest front enroll auth response

type RestFrontMessagesResponse ¶

type RestFrontMessagesResponse struct {

	// messages
	Messages map[string]string `json:"Messages,omitempty"`
}

RestFrontMessagesResponse rest front messages response

swagger:model restFrontMessagesResponse

func (*RestFrontMessagesResponse) ContextValidate ¶

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

ContextValidate validates this rest front messages response based on context it is used

func (*RestFrontMessagesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontMessagesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontMessagesResponse) Validate ¶

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

Validate validates this rest front messages response

type RestFrontPluginsResponse ¶

type RestFrontPluginsResponse struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"Data,omitempty"`
}

RestFrontPluginsResponse rest front plugins response

swagger:model restFrontPluginsResponse

func (*RestFrontPluginsResponse) ContextValidate ¶

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

ContextValidate validates this rest front plugins response based on context it is used

func (*RestFrontPluginsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontPluginsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontPluginsResponse) Validate ¶

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

Validate validates this rest front plugins response

type RestFrontSessionRequest ¶

type RestFrontSessionRequest struct {

	// Data sent back by specific auth steps
	AuthInfo map[string]string `json:"AuthInfo,omitempty"`

	// Time reference for computing jwt expiry
	ClientTime int32 `json:"ClientTime,omitempty"`

	// Kill session now
	Logout bool `json:"Logout,omitempty"`
}

RestFrontSessionRequest rest front session request

swagger:model restFrontSessionRequest

func (*RestFrontSessionRequest) ContextValidate ¶

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

ContextValidate validates this rest front session request based on context it is used

func (*RestFrontSessionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontSessionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontSessionRequest) Validate ¶

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

Validate validates this rest front session request

type RestFrontSessionResponse ¶

type RestFrontSessionResponse struct {

	// error
	Error string `json:"Error,omitempty"`

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

	// Legacy information (now in token)
	JWT string `json:"JWT,omitempty"`

	// redirect to
	RedirectTo string `json:"RedirectTo,omitempty"`

	// token
	Token *AuthToken `json:"Token,omitempty"`

	// Trigger a specific Auth step
	Trigger string `json:"Trigger,omitempty"`

	// Additional data for the trigger
	TriggerInfo map[string]string `json:"TriggerInfo,omitempty"`
}

RestFrontSessionResponse rest front session response

swagger:model restFrontSessionResponse

func (*RestFrontSessionResponse) ContextValidate ¶

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

ContextValidate validate this rest front session response based on the context it is used

func (*RestFrontSessionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontSessionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontSessionResponse) Validate ¶

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

Validate validates this rest front session response

type RestFrontStateResponse ¶

type RestFrontStateResponse struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"Data,omitempty"`
}

RestFrontStateResponse rest front state response

swagger:model restFrontStateResponse

func (*RestFrontStateResponse) ContextValidate ¶

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

ContextValidate validates this rest front state response based on context it is used

func (*RestFrontStateResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestFrontStateResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestFrontStateResponse) Validate ¶

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

Validate validates this rest front state response

type RestGetBulkMetaRequest ¶

type RestGetBulkMetaRequest struct {

	// Whether to query all services for the metadata they can contribute to enrich the node
	AllMetaProviders bool `json:"AllMetaProviders,omitempty"`

	// Children Filtering
	Filters map[string]string `json:"Filters,omitempty"`

	// Limit number of results
	Limit int32 `json:"Limit,omitempty"`

	// List of node paths to query (use paths ending with /* to load the children)
	NodePaths []string `json:"NodePaths"`

	// Start listing at a given position
	Offset int32 `json:"Offset,omitempty"`

	// Sort descending (otherwise ascending)
	SortDirDesc bool `json:"SortDirDesc,omitempty"`

	// Remote Sort on specific field
	SortField string `json:"SortField,omitempty"`

	// Load Versions of the given node
	Versions bool `json:"Versions,omitempty"`
}

RestGetBulkMetaRequest rest get bulk meta request

swagger:model restGetBulkMetaRequest

func (*RestGetBulkMetaRequest) ContextValidate ¶

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

ContextValidate validates this rest get bulk meta request based on context it is used

func (*RestGetBulkMetaRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestGetBulkMetaRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestGetBulkMetaRequest) Validate ¶

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

Validate validates this rest get bulk meta request

type RestHeadNodeResponse ¶

type RestHeadNodeResponse struct {

	// node
	Node *TreeNode `json:"Node,omitempty"`
}

RestHeadNodeResponse rest head node response

swagger:model restHeadNodeResponse

func (*RestHeadNodeResponse) ContextValidate ¶

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

ContextValidate validate this rest head node response based on the context it is used

func (*RestHeadNodeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestHeadNodeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestHeadNodeResponse) Validate ¶

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

Validate validates this rest head node response

type RestListPeersAddressesResponse ¶

type RestListPeersAddressesResponse struct {

	// List of peer addresses
	PeerAddresses []string `json:"PeerAddresses"`
}

RestListPeersAddressesResponse rest list peers addresses response

swagger:model restListPeersAddressesResponse

func (*RestListPeersAddressesResponse) ContextValidate ¶

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

ContextValidate validates this rest list peers addresses response based on context it is used

func (*RestListPeersAddressesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListPeersAddressesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListPeersAddressesResponse) Validate ¶

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

Validate validates this rest list peers addresses response

type RestListProcessesRequest ¶

type RestListProcessesRequest struct {

	// Id of the peer node
	PeerID string `json:"PeerId,omitempty"`

	// Look for a service name
	ServiceName string `json:"ServiceName,omitempty"`
}

RestListProcessesRequest rest list processes request

swagger:model restListProcessesRequest

func (*RestListProcessesRequest) ContextValidate ¶

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

ContextValidate validates this rest list processes request based on context it is used

func (*RestListProcessesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListProcessesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListProcessesRequest) Validate ¶

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

Validate validates this rest list processes request

type RestListProcessesResponse ¶

type RestListProcessesResponse struct {

	// processes
	Processes []*RestProcess `json:"Processes"`
}

RestListProcessesResponse rest list processes response

swagger:model restListProcessesResponse

func (*RestListProcessesResponse) ContextValidate ¶

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

ContextValidate validate this rest list processes response based on the context it is used

func (*RestListProcessesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListProcessesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListProcessesResponse) Validate ¶

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

Validate validates this rest list processes response

type RestListSharedResourcesRequest ¶

type RestListSharedResourcesRequest struct {

	// Limit number of results
	Limit int32 `json:"Limit,omitempty"`

	// Start listing at a given offset
	Offset int32 `json:"Offset,omitempty"`

	// If true, will also check filter the output to shares actually owned by subject
	OwnedBySubject bool `json:"OwnedBySubject,omitempty"`

	// Filter output to a given type
	ShareType *ListSharedResourcesRequestListShareType `json:"ShareType,omitempty"`

	// Will restrict the list to the shares readable by a specific subject.
	// In user-context, current user is used by default. In admin-context, this can
	// be any resource policy subject
	Subject string `json:"Subject,omitempty"`
}

RestListSharedResourcesRequest rest list shared resources request

swagger:model restListSharedResourcesRequest

func (*RestListSharedResourcesRequest) ContextValidate ¶

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

ContextValidate validate this rest list shared resources request based on the context it is used

func (*RestListSharedResourcesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListSharedResourcesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListSharedResourcesRequest) Validate ¶

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

Validate validates this rest list shared resources request

type RestListSharedResourcesResponse ¶

type RestListSharedResourcesResponse struct {

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

	// Cursor informations
	Offset int32 `json:"Offset,omitempty"`

	// Actual results
	Resources []*ListSharedResourcesResponseSharedResource `json:"Resources"`

	// total
	Total int32 `json:"Total,omitempty"`
}

RestListSharedResourcesResponse rest list shared resources response

swagger:model restListSharedResourcesResponse

func (*RestListSharedResourcesResponse) ContextValidate ¶

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

ContextValidate validate this rest list shared resources response based on the context it is used

func (*RestListSharedResourcesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListSharedResourcesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListSharedResourcesResponse) Validate ¶

Validate validates this rest list shared resources response

type RestListSitesResponse ¶

type RestListSitesResponse struct {

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

RestListSitesResponse Response with declared sites

swagger:model restListSitesResponse

func (*RestListSitesResponse) ContextValidate ¶

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

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

func (*RestListSitesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListSitesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListSitesResponse) Validate ¶

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

Validate validates this rest list sites response

type RestListStorageBucketsRequest ¶

type RestListStorageBucketsRequest struct {

	// buckets regexp
	BucketsRegexp string `json:"BucketsRegexp,omitempty"`

	// data source
	DataSource *ObjectDataSource `json:"DataSource,omitempty"`
}

RestListStorageBucketsRequest rest list storage buckets request

swagger:model restListStorageBucketsRequest

func (*RestListStorageBucketsRequest) ContextValidate ¶

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

ContextValidate validate this rest list storage buckets request based on the context it is used

func (*RestListStorageBucketsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListStorageBucketsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListStorageBucketsRequest) Validate ¶

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

Validate validates this rest list storage buckets request

type RestListTemplatesResponse ¶

type RestListTemplatesResponse struct {

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

RestListTemplatesResponse rest list templates response

swagger:model restListTemplatesResponse

func (*RestListTemplatesResponse) ContextValidate ¶

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

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

func (*RestListTemplatesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListTemplatesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListTemplatesResponse) Validate ¶

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

Validate validates this rest list templates response

type RestListUserMetaTagsResponse ¶

type RestListUserMetaTagsResponse struct {

	// List of existing tags values
	Tags []string `json:"Tags"`
}

RestListUserMetaTagsResponse rest list user meta tags response

swagger:model restListUserMetaTagsResponse

func (*RestListUserMetaTagsResponse) ContextValidate ¶

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

ContextValidate validates this rest list user meta tags response based on context it is used

func (*RestListUserMetaTagsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestListUserMetaTagsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestListUserMetaTagsResponse) Validate ¶

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

Validate validates this rest list user meta tags response

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 RestMetadata ¶

type RestMetadata struct {

	// Json meta
	JSONMeta string `json:"JsonMeta,omitempty"`

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

RestMetadata rest metadata

swagger:model restMetadata

func (*RestMetadata) ContextValidate ¶

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

ContextValidate validates this rest metadata based on context it is used

func (*RestMetadata) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestMetadata) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestMetadata) Validate ¶

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

Validate validates this rest metadata

type RestNodesCollection ¶

type RestNodesCollection struct {

	// children
	Children []*TreeNode `json:"Children"`

	// parent
	Parent *TreeNode `json:"Parent,omitempty"`
}

RestNodesCollection rest nodes collection

swagger:model restNodesCollection

func (*RestNodesCollection) ContextValidate ¶

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

ContextValidate validate this rest nodes collection based on the context it is used

func (*RestNodesCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestNodesCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestNodesCollection) Validate ¶

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

Validate validates this rest nodes collection

type RestOpenAPIResponse ¶

type RestOpenAPIResponse struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"Data,omitempty"`
}

RestOpenAPIResponse rest open Api response

swagger:model restOpenApiResponse

func (*RestOpenAPIResponse) ContextValidate ¶

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

ContextValidate validates this rest open Api response based on context it is used

func (*RestOpenAPIResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestOpenAPIResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestOpenAPIResponse) Validate ¶

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

Validate validates this rest open Api response

type RestPagination ¶

type RestPagination struct {

	// Current Offset value
	CurrentOffset int32 `json:"CurrentOffset,omitempty"`

	// Current number of Page
	CurrentPage int32 `json:"CurrentPage,omitempty"`

	// Current Limit parameter, either passed by request or default value
	Limit int32 `json:"Limit,omitempty"`

	// Offset value for next page if there is one
	NextOffset int32 `json:"NextOffset,omitempty"`

	// Offset value for previous page, if there is one
	PrevOffset int32 `json:"PrevOffset,omitempty"`

	// Total number of records
	Total int32 `json:"Total,omitempty"`

	// Number of detected pages
	TotalPages int32 `json:"TotalPages,omitempty"`
}

RestPagination Generic container for responses sending pagination information

swagger:model restPagination

func (*RestPagination) ContextValidate ¶

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

ContextValidate validates this rest pagination based on context it is used

func (*RestPagination) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestPagination) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestPagination) Validate ¶

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

Validate validates this rest pagination

type RestProcess ¶

type RestProcess struct {

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

	// Port to access the metrics api
	MetricsPort int32 `json:"MetricsPort,omitempty"`

	// Parent Process ID
	ParentID string `json:"ParentID,omitempty"`

	// Address of peer node
	PeerAddress string `json:"PeerAddress,omitempty"`

	// Id of peer node
	PeerID string `json:"PeerId,omitempty"`

	// List of services running inside this process
	Services []string `json:"Services"`

	// Parameters used to start this process
	StartTag string `json:"StartTag,omitempty"`
}

RestProcess rest process

swagger:model restProcess

func (*RestProcess) ContextValidate ¶

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

ContextValidate validates this rest process based on context it is used

func (*RestProcess) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestProcess) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestProcess) Validate ¶

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

Validate validates this rest process

type RestPutCellRequest ¶

type RestPutCellRequest struct {

	// Whether to create a dedicated folder for this cell at creation
	CreateEmptyRoot bool `json:"CreateEmptyRoot,omitempty"`

	// Content of the Cell (Room is legacy name)
	Room *RestCell `json:"Room,omitempty"`
}

RestPutCellRequest Request for creating a Cell

swagger:model restPutCellRequest

func (*RestPutCellRequest) ContextValidate ¶

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

ContextValidate validate this rest put cell request based on the context it is used

func (*RestPutCellRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestPutCellRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestPutCellRequest) Validate ¶

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

Validate validates this rest put cell request

type RestPutShareLinkRequest ¶

type RestPutShareLinkRequest struct {

	// Set if switching from no password to password
	CreatePassword string `json:"CreatePassword,omitempty"`

	// Whether it has Password enabled
	PasswordEnabled bool `json:"PasswordEnabled,omitempty"`

	// Content of the link to create
	ShareLink *RestShareLink `json:"ShareLink,omitempty"`

	// Change the ShareLink Hash with a custom value
	UpdateCustomHash string `json:"UpdateCustomHash,omitempty"`

	// Set if updating an existing password
	UpdatePassword string `json:"UpdatePassword,omitempty"`
}

RestPutShareLinkRequest Request for create/update a link

swagger:model restPutShareLinkRequest

func (*RestPutShareLinkRequest) ContextValidate ¶

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

ContextValidate validate this rest put share link request based on the context it is used

func (*RestPutShareLinkRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestPutShareLinkRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestPutShareLinkRequest) Validate ¶

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

Validate validates this rest put share link request

type RestPutUserMetaTagResponse ¶

type RestPutUserMetaTagResponse struct {

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

RestPutUserMetaTagResponse rest put user meta tag response

swagger:model restPutUserMetaTagResponse

func (*RestPutUserMetaTagResponse) ContextValidate ¶

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

ContextValidate validates this rest put user meta tag response based on context it is used

func (*RestPutUserMetaTagResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestPutUserMetaTagResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestPutUserMetaTagResponse) Validate ¶

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

Validate validates this rest put user meta tag response

type RestRecommendRequest ¶

type RestRecommendRequest struct {

	// category
	Category string `json:"Category,omitempty"`

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

	// neighbor
	Neighbor string `json:"Neighbor,omitempty"`

	// segment
	Segment string `json:"Segment,omitempty"`
}

RestRecommendRequest rest recommend request

swagger:model restRecommendRequest

func (*RestRecommendRequest) ContextValidate ¶

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

ContextValidate validates this rest recommend request based on context it is used

func (*RestRecommendRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRecommendRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRecommendRequest) Validate ¶

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

Validate validates this rest recommend request

type RestRecommendResponse ¶

type RestRecommendResponse struct {

	// nodes
	Nodes []*TreeNode `json:"Nodes"`
}

RestRecommendResponse rest recommend response

swagger:model restRecommendResponse

func (*RestRecommendResponse) ContextValidate ¶

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

ContextValidate validate this rest recommend response based on the context it is used

func (*RestRecommendResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRecommendResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRecommendResponse) Validate ¶

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

Validate validates this rest recommend response

type RestRelationResponse ¶

type RestRelationResponse struct {

	// belongs to teams
	BelongsToTeams []*IdmRole `json:"BelongsToTeams"`

	// shared cells
	SharedCells []*IdmWorkspace `json:"SharedCells"`
}

RestRelationResponse rest relation response

swagger:model restRelationResponse

func (*RestRelationResponse) ContextValidate ¶

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

ContextValidate validate this rest relation response based on the context it is used

func (*RestRelationResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRelationResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRelationResponse) Validate ¶

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

Validate validates this rest relation response

type RestResetPasswordRequest ¶

type RestResetPasswordRequest struct {

	// New password to be stored for this user
	NewPassword string `json:"NewPassword,omitempty"`

	// Token generated by the previous step of the reset password workflow
	ResetPasswordToken string `json:"ResetPasswordToken,omitempty"`

	// User Login
	UserLogin string `json:"UserLogin,omitempty"`
}

RestResetPasswordRequest rest reset password request

swagger:model restResetPasswordRequest

func (*RestResetPasswordRequest) ContextValidate ¶

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

ContextValidate validates this rest reset password request based on context it is used

func (*RestResetPasswordRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestResetPasswordRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestResetPasswordRequest) Validate ¶

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

Validate validates this rest reset password request

type RestResetPasswordResponse ¶

type RestResetPasswordResponse struct {

	// message
	Message string `json:"Message,omitempty"`

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

RestResetPasswordResponse rest reset password response

swagger:model restResetPasswordResponse

func (*RestResetPasswordResponse) ContextValidate ¶

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

ContextValidate validates this rest reset password response based on context it is used

func (*RestResetPasswordResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestResetPasswordResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestResetPasswordResponse) Validate ¶

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

Validate validates this rest reset password response

type RestResetPasswordTokenResponse ¶

type RestResetPasswordTokenResponse struct {

	// message
	Message string `json:"Message,omitempty"`

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

RestResetPasswordTokenResponse rest reset password token response

swagger:model restResetPasswordTokenResponse

func (*RestResetPasswordTokenResponse) ContextValidate ¶

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

ContextValidate validates this rest reset password token response based on context it is used

func (*RestResetPasswordTokenResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestResetPasswordTokenResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestResetPasswordTokenResponse) Validate ¶

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

Validate validates this rest reset password token response

type RestResourcePolicyQuery ¶

type RestResourcePolicyQuery struct {

	// The type can be CONTEXT, ANY, NODE or USER. This restricts the may filter out the result set based on their policies
	Type *ResourcePolicyQueryQueryType `json:"Type,omitempty"`

	// Limit to one given user ID
	UserID string `json:"UserId,omitempty"`
}

RestResourcePolicyQuery Generic Query for limiting results based on resource permissions

swagger:model restResourcePolicyQuery

func (*RestResourcePolicyQuery) ContextValidate ¶

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

ContextValidate validate this rest resource policy query based on the context it is used

func (*RestResourcePolicyQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestResourcePolicyQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestResourcePolicyQuery) Validate ¶

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

Validate validates this rest resource policy query

type RestRestoreNodesRequest ¶

type RestRestoreNodesRequest struct {

	// Restore this node from the recycle bin to its original location
	Nodes []*TreeNode `json:"Nodes"`
}

RestRestoreNodesRequest rest restore nodes request

swagger:model restRestoreNodesRequest

func (*RestRestoreNodesRequest) ContextValidate ¶

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

ContextValidate validate this rest restore nodes request based on the context it is used

func (*RestRestoreNodesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRestoreNodesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRestoreNodesRequest) Validate ¶

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

Validate validates this rest restore nodes request

type RestRestoreNodesResponse ¶

type RestRestoreNodesResponse struct {

	// restore jobs
	RestoreJobs []*RestBackgroundJobResult `json:"RestoreJobs"`
}

RestRestoreNodesResponse rest restore nodes response

swagger:model restRestoreNodesResponse

func (*RestRestoreNodesResponse) ContextValidate ¶

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

ContextValidate validate this rest restore nodes response based on the context it is used

func (*RestRestoreNodesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRestoreNodesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRestoreNodesResponse) Validate ¶

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

Validate validates this rest restore nodes response

type RestRevokeRequest ¶

type RestRevokeRequest struct {

	// Pass a specific Token ID to be revoked. If empty, request will use current JWT
	TokenID string `json:"TokenId,omitempty"`
}

RestRevokeRequest Rest request for revocation. Token is not mandatory, if not set request will use current JWT token

swagger:model restRevokeRequest

func (*RestRevokeRequest) ContextValidate ¶

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

ContextValidate validates this rest revoke request based on context it is used

func (*RestRevokeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRevokeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRevokeRequest) Validate ¶

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

Validate validates this rest revoke request

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 RestRolesCollection ¶

type RestRolesCollection struct {

	// List of Roles
	Roles []*IdmRole `json:"Roles"`

	// Total in DB
	Total int32 `json:"Total,omitempty"`
}

RestRolesCollection Roles Collection

swagger:model restRolesCollection

func (*RestRolesCollection) ContextValidate ¶

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

ContextValidate validate this rest roles collection based on the context it is used

func (*RestRolesCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestRolesCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestRolesCollection) Validate ¶

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

Validate validates this rest roles collection

type RestSchedulerActionFormResponse ¶

type RestSchedulerActionFormResponse struct {

	// action name
	ActionName string `json:"ActionName,omitempty"`
}

RestSchedulerActionFormResponse rest scheduler action form response

swagger:model restSchedulerActionFormResponse

func (*RestSchedulerActionFormResponse) ContextValidate ¶

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

ContextValidate validates this rest scheduler action form response based on context it is used

func (*RestSchedulerActionFormResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSchedulerActionFormResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSchedulerActionFormResponse) Validate ¶

Validate validates this rest scheduler action form response

type RestSchedulerActionsResponse ¶

type RestSchedulerActionsResponse struct {

	// List of all registered actions
	Actions map[string]RestActionDescription `json:"Actions,omitempty"`
}

RestSchedulerActionsResponse rest scheduler actions response

swagger:model restSchedulerActionsResponse

func (*RestSchedulerActionsResponse) ContextValidate ¶

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

ContextValidate validate this rest scheduler actions response based on the context it is used

func (*RestSchedulerActionsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSchedulerActionsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSchedulerActionsResponse) Validate ¶

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

Validate validates this rest scheduler actions response

type RestSearchACLRequest ¶

type RestSearchACLRequest struct {

	// Return counts only, no actual results
	CountOnly bool `json:"CountOnly,omitempty"`

	// Group results
	GroupBy int32 `json:"GroupBy,omitempty"`

	// Limit the number of results
	Limit string `json:"Limit,omitempty"`

	// Start listing at a given position
	Offset string `json:"Offset,omitempty"`

	// Single queries will be combined using this operation AND or OR logic
	Operation *ServiceOperationType `json:"Operation,omitempty"`

	// Atomic queries that will be combined using the OperationType (AND or OR)
	Queries []*IdmACLSingleQuery `json:"Queries"`
}

RestSearchACLRequest Rest request for ACL's

swagger:model restSearchACLRequest

func (*RestSearchACLRequest) ContextValidate ¶

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

ContextValidate validate this rest search ACL request based on the context it is used

func (*RestSearchACLRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSearchACLRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSearchACLRequest) Validate ¶

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

Validate validates this rest search ACL request

type RestSearchResults ¶

type RestSearchResults struct {

	// facets
	Facets []*TreeSearchFacet `json:"Facets"`

	// results
	Results []*TreeNode `json:"Results"`

	// total
	Total int32 `json:"Total,omitempty"`
}

RestSearchResults rest search results

swagger:model restSearchResults

func (*RestSearchResults) ContextValidate ¶

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

ContextValidate validate this rest search results based on the context it is used

func (*RestSearchResults) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSearchResults) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSearchResults) Validate ¶

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

Validate validates this rest search results

type RestSearchRoleRequest ¶

type RestSearchRoleRequest struct {

	// Return counts only, no actual results
	CountOnly bool `json:"CountOnly,omitempty"`

	// Group results by
	GroupBy int32 `json:"GroupBy,omitempty"`

	// Limit number of results
	Limit string `json:"Limit,omitempty"`

	// Start listing at a given position
	Offset string `json:"Offset,omitempty"`

	// Combine Single Queries with AND or OR
	Operation *ServiceOperationType `json:"Operation,omitempty"`

	// List of atomic queries that will be combined using the Operation type (AND / OR)
	Queries []*IdmRoleSingleQuery `json:"Queries"`

	// Policies query for specifying the search context
	ResourcePolicyQuery *RestResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
}

RestSearchRoleRequest Roles Search

swagger:model restSearchRoleRequest

func (*RestSearchRoleRequest) ContextValidate ¶

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

ContextValidate validate this rest search role request based on the context it is used

func (*RestSearchRoleRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSearchRoleRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSearchRoleRequest) Validate ¶

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

Validate validates this rest search role request

type RestSearchUserRequest ¶

type RestSearchUserRequest struct {

	// Return counts only, no actual results
	CountOnly bool `json:"CountOnly,omitempty"`

	// Group by ...
	GroupBy int32 `json:"GroupBy,omitempty"`

	// Limit number of results
	Limit string `json:"Limit,omitempty"`

	// Start listing at a given position
	Offset string `json:"Offset,omitempty"`

	// Combine single queries with AND or OR logic
	Operation *ServiceOperationType `json:"Operation,omitempty"`

	// Atomic queries that will be combined using the Operation Type (AND or OR)
	Queries []*IdmUserSingleQuery `json:"Queries"`

	// Policies queries to filter the search context
	ResourcePolicyQuery *RestResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
}

RestSearchUserRequest Users Search

swagger:model restSearchUserRequest

func (*RestSearchUserRequest) ContextValidate ¶

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

ContextValidate validate this rest search user request based on the context it is used

func (*RestSearchUserRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSearchUserRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSearchUserRequest) Validate ¶

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

Validate validates this rest search user request

type RestSearchWorkspaceRequest ¶

type RestSearchWorkspaceRequest struct {

	// Return counts only, no actual results
	CountOnly bool `json:"CountOnly,omitempty"`

	// Group results
	GroupBy int32 `json:"GroupBy,omitempty"`

	// Limit the number of results
	Limit string `json:"Limit,omitempty"`

	// Start listing at a given position
	Offset string `json:"Offset,omitempty"`

	// Single queries will be combined using this operation AND or OR logic
	Operation *ServiceOperationType `json:"Operation,omitempty"`

	// Atomic queries that will be combined using the OperationType (AND or OR)
	Queries []*IdmWorkspaceSingleQuery `json:"Queries"`

	// Policies queries to filter the search context
	ResourcePolicyQuery *RestResourcePolicyQuery `json:"ResourcePolicyQuery,omitempty"`
}

RestSearchWorkspaceRequest Rest request for searching workspaces

swagger:model restSearchWorkspaceRequest

func (*RestSearchWorkspaceRequest) ContextValidate ¶

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

ContextValidate validate this rest search workspace request based on the context it is used

func (*RestSearchWorkspaceRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSearchWorkspaceRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSearchWorkspaceRequest) Validate ¶

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

Validate validates this rest search workspace request

type RestServiceCollection ¶

type RestServiceCollection struct {

	// services
	Services []*CtlService `json:"Services"`

	// total
	Total int32 `json:"Total,omitempty"`
}

RestServiceCollection rest service collection

swagger:model restServiceCollection

func (*RestServiceCollection) ContextValidate ¶

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

ContextValidate validate this rest service collection based on the context it is used

func (*RestServiceCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestServiceCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestServiceCollection) Validate ¶

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

Validate validates this rest service collection

type RestSettingsAccess ¶

type RestSettingsAccess struct {

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

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

	// policies
	Policies []*RestSettingsAccessRestPolicy `json:"Policies"`
}

RestSettingsAccess rest settings access

swagger:model restSettingsAccess

func (*RestSettingsAccess) ContextValidate ¶

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

ContextValidate validate this rest settings access based on the context it is used

func (*RestSettingsAccess) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSettingsAccess) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSettingsAccess) Validate ¶

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

Validate validates this rest settings access

type RestSettingsAccessRestPolicy ¶

type RestSettingsAccessRestPolicy struct {

	// action
	Action string `json:"Action,omitempty"`

	// resource
	Resource string `json:"Resource,omitempty"`
}

RestSettingsAccessRestPolicy rest settings access rest policy

swagger:model restSettingsAccessRestPolicy

func (*RestSettingsAccessRestPolicy) ContextValidate ¶

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

ContextValidate validates this rest settings access rest policy based on context it is used

func (*RestSettingsAccessRestPolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSettingsAccessRestPolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSettingsAccessRestPolicy) Validate ¶

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

Validate validates this rest settings access rest policy

type RestSettingsEntry ¶

type RestSettingsEntry struct {

	// a l i a s
	ALIAS string `json:"ALIAS,omitempty"`

	// accesses
	Accesses map[string]RestSettingsAccess `json:"Accesses,omitempty"`

	// d e s c r IP t i o n
	DESCRIPTION string `json:"DESCRIPTION,omitempty"`

	// feature
	Feature string `json:"Feature,omitempty"`

	// key
	Key string `json:"Key,omitempty"`

	// l a b e l
	LABEL string `json:"LABEL,omitempty"`

	// m a n a g e r
	MANAGER string `json:"MANAGER,omitempty"`

	// m e t a d a t a
	METADATA *RestSettingsEntryMeta `json:"METADATA,omitempty"`
}

RestSettingsEntry rest settings entry

swagger:model restSettingsEntry

func (*RestSettingsEntry) ContextValidate ¶

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

ContextValidate validate this rest settings entry based on the context it is used

func (*RestSettingsEntry) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSettingsEntry) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSettingsEntry) Validate ¶

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

Validate validates this rest settings entry

type RestSettingsEntryMeta ¶

type RestSettingsEntryMeta struct {

	// advanced
	Advanced bool `json:"advanced,omitempty"`

	// component
	Component string `json:"component,omitempty"`

	// icon class
	IconClass string `json:"icon_class,omitempty"`

	// indexed
	Indexed []string `json:"indexed"`

	// props
	Props string `json:"props,omitempty"`
}

RestSettingsEntryMeta rest settings entry meta

swagger:model restSettingsEntryMeta

func (*RestSettingsEntryMeta) ContextValidate ¶

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

ContextValidate validates this rest settings entry meta based on context it is used

func (*RestSettingsEntryMeta) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSettingsEntryMeta) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSettingsEntryMeta) Validate ¶

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

Validate validates this rest settings entry meta

type RestSettingsMenuResponse ¶

type RestSettingsMenuResponse struct {

	// sections
	Sections []*RestSettingsSection `json:"Sections"`

	// metadata
	Metadata *RestSettingsEntryMeta `json:"__metadata__,omitempty"`
}

RestSettingsMenuResponse rest settings menu response

swagger:model restSettingsMenuResponse

func (*RestSettingsMenuResponse) ContextValidate ¶

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

ContextValidate validate this rest settings menu response based on the context it is used

func (*RestSettingsMenuResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSettingsMenuResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSettingsMenuResponse) Validate ¶

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

Validate validates this rest settings menu response

type RestSettingsSection ¶

type RestSettingsSection struct {

	// c h i l d r e n
	CHILDREN []*RestSettingsEntry `json:"CHILDREN"`

	// d e s c r IP t i o n
	DESCRIPTION string `json:"DESCRIPTION,omitempty"`

	// key
	Key string `json:"Key,omitempty"`

	// l a b e l
	LABEL string `json:"LABEL,omitempty"`
}

RestSettingsSection rest settings section

swagger:model restSettingsSection

func (*RestSettingsSection) ContextValidate ¶

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

ContextValidate validate this rest settings section based on the context it is used

func (*RestSettingsSection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSettingsSection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSettingsSection) Validate ¶

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

Validate validates this rest settings section

type RestShareLink struct {

	// Timestamp after which the share is disabled
	AccessEnd string `json:"AccessEnd,omitempty"`

	// Timestamp of start date for enabling the share (not implemented yet)
	AccessStart string `json:"AccessStart,omitempty"`

	// Current number of downloads
	CurrentDownloads string `json:"CurrentDownloads,omitempty"`

	// Description of the Link (max 1000 chars)
	Description string `json:"Description,omitempty"`

	// Label of the Link (max 500 chars)
	Label string `json:"Label,omitempty"`

	// Unique Hash for accessing the link
	LinkHash string `json:"LinkHash,omitempty"`

	// Full URL for accessing the link
	LinkURL string `json:"LinkUrl,omitempty"`

	// Maximum number of downloads until expiration
	MaxDownloads string `json:"MaxDownloads,omitempty"`

	// Whether a password is required or not to access the link
	PasswordRequired bool `json:"PasswordRequired,omitempty"`

	// Specific permissions for public links
	Permissions []*RestShareLinkAccessType `json:"Permissions"`

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

	// Whether policies are currently editable or not
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

	// RestrictToTargetUsers enable users restriction
	RestrictToTargetUsers bool `json:"RestrictToTargetUsers,omitempty"`

	// Nodes in the tree that serve as root to this link
	RootNodes []*TreeNode `json:"RootNodes"`

	// TargetUsers can be used to restrict access
	TargetUsers map[string]RestShareLinkTargetUser `json:"TargetUsers,omitempty"`

	// Temporary user Login used to login automatically when accessing this link
	UserLogin string `json:"UserLogin,omitempty"`

	// Temporary user Uuid used to login automatically when accessing this link
	UserUUID string `json:"UserUuid,omitempty"`

	// Internal identifier of the link
	UUID string `json:"Uuid,omitempty"`

	// Display Template for loading the public link
	ViewTemplateName string `json:"ViewTemplateName,omitempty"`
}

RestShareLink Model for representing a public link

swagger:model restShareLink

func (*RestShareLink) ContextValidate ¶

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

ContextValidate validate this rest share link based on the context it is used

func (*RestShareLink) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestShareLink) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestShareLink) Validate ¶

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

Validate validates this rest share link

type RestShareLinkAccessType ¶

type RestShareLinkAccessType string

RestShareLinkAccessType Known values for link permissions

swagger:model restShareLinkAccessType

const (

	// RestShareLinkAccessTypeNoAccess captures enum value "NoAccess"
	RestShareLinkAccessTypeNoAccess RestShareLinkAccessType = "NoAccess"

	// RestShareLinkAccessTypePreview captures enum value "Preview"
	RestShareLinkAccessTypePreview RestShareLinkAccessType = "Preview"

	// RestShareLinkAccessTypeDownload captures enum value "Download"
	RestShareLinkAccessTypeDownload RestShareLinkAccessType = "Download"

	// RestShareLinkAccessTypeUpload captures enum value "Upload"
	RestShareLinkAccessTypeUpload RestShareLinkAccessType = "Upload"
)

func (RestShareLinkAccessType) ContextValidate ¶

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

ContextValidate validates this rest share link access type based on context it is used

func (RestShareLinkAccessType) Pointer ¶

Pointer returns a pointer to a freshly-allocated RestShareLinkAccessType.

func (RestShareLinkAccessType) Validate ¶

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

Validate validates this rest share link access type

type RestShareLinkTargetUser ¶

type RestShareLinkTargetUser struct {

	// display
	Display string `json:"Display,omitempty"`

	// download count
	DownloadCount int32 `json:"DownloadCount,omitempty"`
}

RestShareLinkTargetUser rest share link target user

swagger:model restShareLinkTargetUser

func (*RestShareLinkTargetUser) ContextValidate ¶

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

ContextValidate validates this rest share link target user based on context it is used

func (*RestShareLinkTargetUser) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestShareLinkTargetUser) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestShareLinkTargetUser) Validate ¶

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

Validate validates this rest share link target user

type RestSubscriptionsCollection ¶

type RestSubscriptionsCollection struct {

	// subscriptions
	Subscriptions []*ActivitySubscription `json:"subscriptions"`
}

RestSubscriptionsCollection rest subscriptions collection

swagger:model restSubscriptionsCollection

func (*RestSubscriptionsCollection) ContextValidate ¶

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

ContextValidate validate this rest subscriptions collection based on the context it is used

func (*RestSubscriptionsCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestSubscriptionsCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestSubscriptionsCollection) Validate ¶

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

Validate validates this rest subscriptions collection

type RestTemplate ¶

type RestTemplate struct {

	// Whether this template can be edited or not
	Editable bool `json:"Editable,omitempty"`

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

	// Template node, can be a file or a tree of folders
	Node *RestTemplateNode `json:"Node,omitempty"`

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

	// Unique identifier for this template
	UUID string `json:"UUID,omitempty"`
}

RestTemplate A template can be used to create files or tree from scratch

swagger:model restTemplate

func (*RestTemplate) ContextValidate ¶

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

ContextValidate validate this rest template based on the context it is used

func (*RestTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestTemplate) Validate ¶

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

Validate validates this rest template

type RestTemplateNode ¶

type RestTemplateNode struct {

	// One or more children
	Children map[string]TreeNode `json:"Children,omitempty"`

	// Whether it's a file or a folder
	Node *TreeNode `json:"Node,omitempty"`
}

RestTemplateNode A template node is representing a file or a folder

swagger:model restTemplateNode

func (*RestTemplateNode) ContextValidate ¶

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

ContextValidate validate this rest template node based on the context it is used

func (*RestTemplateNode) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestTemplateNode) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestTemplateNode) Validate ¶

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

Validate validates this rest template node

type RestUpdateSharePoliciesRequest ¶

type RestUpdateSharePoliciesRequest struct {

	// List of policies to update
	Policies []*ServiceResourcePolicy `json:"Policies"`

	// Cell or Link UUID
	UUID string `json:"Uuid,omitempty"`
}

RestUpdateSharePoliciesRequest rest update share policies request

swagger:model restUpdateSharePoliciesRequest

func (*RestUpdateSharePoliciesRequest) ContextValidate ¶

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

ContextValidate validate this rest update share policies request based on the context it is used

func (*RestUpdateSharePoliciesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUpdateSharePoliciesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUpdateSharePoliciesRequest) Validate ¶

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

Validate validates this rest update share policies request

type RestUpdateSharePoliciesResponse ¶

type RestUpdateSharePoliciesResponse struct {

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

	// policies context editable
	PoliciesContextEditable bool `json:"PoliciesContextEditable,omitempty"`

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

RestUpdateSharePoliciesResponse rest update share policies response

swagger:model restUpdateSharePoliciesResponse

func (*RestUpdateSharePoliciesResponse) ContextValidate ¶

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

ContextValidate validate this rest update share policies response based on the context it is used

func (*RestUpdateSharePoliciesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUpdateSharePoliciesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUpdateSharePoliciesResponse) Validate ¶

Validate validates this rest update share policies response

type RestUserBookmarksRequest ¶

type RestUserBookmarksRequest struct {

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

RestUserBookmarksRequest rest user bookmarks request

swagger:model restUserBookmarksRequest

func (*RestUserBookmarksRequest) ContextValidate ¶

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

ContextValidate validates this rest user bookmarks request based on context it is used

func (*RestUserBookmarksRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUserBookmarksRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUserBookmarksRequest) Validate ¶

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

Validate validates this rest user bookmarks request

type RestUserJobResponse ¶

type RestUserJobResponse struct {

	// job Uuid
	JobUUID string `json:"JobUuid,omitempty"`
}

RestUserJobResponse rest user job response

swagger:model restUserJobResponse

func (*RestUserJobResponse) ContextValidate ¶

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

ContextValidate validates this rest user job response based on context it is used

func (*RestUserJobResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUserJobResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUserJobResponse) Validate ¶

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

Validate validates this rest user job response

type RestUserJobsCollection ¶

type RestUserJobsCollection struct {

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

RestUserJobsCollection rest user jobs collection

swagger:model restUserJobsCollection

func (*RestUserJobsCollection) ContextValidate ¶

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

ContextValidate validate this rest user jobs collection based on the context it is used

func (*RestUserJobsCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUserJobsCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUserJobsCollection) Validate ¶

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

Validate validates this rest user jobs collection

type RestUserMetaCollection ¶

type RestUserMetaCollection struct {

	// metadatas
	Metadatas []*IdmUserMeta `json:"Metadatas"`
}

RestUserMetaCollection Collection of UserMeta

swagger:model restUserMetaCollection

func (*RestUserMetaCollection) ContextValidate ¶

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

ContextValidate validate this rest user meta collection based on the context it is used

func (*RestUserMetaCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUserMetaCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUserMetaCollection) Validate ¶

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

Validate validates this rest user meta collection

type RestUserMetaNamespaceCollection ¶

type RestUserMetaNamespaceCollection struct {

	// List of user meta Namespaces
	Namespaces []*IdmUserMetaNamespace `json:"Namespaces"`
}

RestUserMetaNamespaceCollection Collection of Meta Namespaces

swagger:model restUserMetaNamespaceCollection

func (*RestUserMetaNamespaceCollection) ContextValidate ¶

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

ContextValidate validate this rest user meta namespace collection based on the context it is used

func (*RestUserMetaNamespaceCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUserMetaNamespaceCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUserMetaNamespaceCollection) Validate ¶

Validate validates this rest user meta namespace collection

type RestUserStateResponse ¶

type RestUserStateResponse struct {

	// workspaces
	Workspaces []*IdmWorkspace `json:"Workspaces"`

	// workspaces accesses
	WorkspacesAccesses map[string]string `json:"WorkspacesAccesses,omitempty"`
}

RestUserStateResponse rest user state response

swagger:model restUserStateResponse

func (*RestUserStateResponse) ContextValidate ¶

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

ContextValidate validate this rest user state response based on the context it is used

func (*RestUserStateResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUserStateResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUserStateResponse) Validate ¶

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

Validate validates this rest user state response

type RestUsersCollection ¶

type RestUsersCollection struct {

	// List of Groups
	Groups []*IdmUser `json:"Groups"`

	// Total number of results
	Total int32 `json:"Total,omitempty"`

	// List of Users
	Users []*IdmUser `json:"Users"`
}

RestUsersCollection Users Collection

swagger:model restUsersCollection

func (*RestUsersCollection) ContextValidate ¶

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

ContextValidate validate this rest users collection based on the context it is used

func (*RestUsersCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestUsersCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestUsersCollection) Validate ¶

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

Validate validates this rest users collection

type RestVersioningPolicyCollection ¶

type RestVersioningPolicyCollection struct {

	// policies
	Policies []*TreeVersioningPolicy `json:"Policies"`
}

RestVersioningPolicyCollection rest versioning policy collection

swagger:model restVersioningPolicyCollection

func (*RestVersioningPolicyCollection) ContextValidate ¶

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

ContextValidate validate this rest versioning policy collection based on the context it is used

func (*RestVersioningPolicyCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestVersioningPolicyCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestVersioningPolicyCollection) Validate ¶

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

Validate validates this rest versioning policy collection

type RestWorkspaceCollection ¶

type RestWorkspaceCollection struct {

	// Total number of results
	Total int32 `json:"Total,omitempty"`

	// List of workspaces
	Workspaces []*IdmWorkspace `json:"Workspaces"`
}

RestWorkspaceCollection Rest response for workspace search

swagger:model restWorkspaceCollection

func (*RestWorkspaceCollection) ContextValidate ¶

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

ContextValidate validate this rest workspace collection based on the context it is used

func (*RestWorkspaceCollection) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RestWorkspaceCollection) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RestWorkspaceCollection) Validate ¶

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

Validate validates this rest workspace 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 ¶

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 ¶

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 ¶

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 TreeGeoPoint ¶

type TreeGeoPoint struct {

	// lat
	Lat float64 `json:"Lat,omitempty"`

	// lon
	Lon float64 `json:"Lon,omitempty"`
}

TreeGeoPoint tree geo point

swagger:model treeGeoPoint

func (*TreeGeoPoint) ContextValidate ¶

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

ContextValidate validates this tree geo point based on context it is used

func (*TreeGeoPoint) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeGeoPoint) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeGeoPoint) Validate ¶

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

Validate validates this tree geo point

type TreeGeoQuery ¶

type TreeGeoQuery struct {

	// bottom right
	BottomRight *TreeGeoPoint `json:"BottomRight,omitempty"`

	// Either use a center point and a distance
	Center *TreeGeoPoint `json:"Center,omitempty"`

	// Example formats supported:
	// "5in" "5inch" "7yd" "7yards" "9ft" "9feet" "11km" "11kilometers"
	// "3nm" "3nauticalmiles" "13mm" "13millimeters" "15cm" "15centimeters"
	// "17mi" "17miles" "19m" "19meters"
	// If the unit cannot be determined, the entire string is parsed and the
	// unit of meters is assumed.
	Distance string `json:"Distance,omitempty"`

	// Or use a bounding box with TopLeft and BottomRight points
	TopLeft *TreeGeoPoint `json:"TopLeft,omitempty"`
}

TreeGeoQuery tree geo query

swagger:model treeGeoQuery

func (*TreeGeoQuery) ContextValidate ¶

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

ContextValidate validate this tree geo query based on the context it is used

func (*TreeGeoQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeGeoQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeGeoQuery) Validate ¶

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

Validate validates this tree geo query

type TreeListNodesRequest ¶

type TreeListNodesRequest struct {

	// Send back a list of parent nodes, until the root, including the original node
	Ancestors bool `json:"Ancestors,omitempty"`

	// Filter by node type (LEAF / COLLECTION)
	FilterType *TreeNodeType `json:"FilterType,omitempty"`

	// Limit the number of results
	Limit string `json:"Limit,omitempty"`

	// Main node used as a parent
	Node *TreeNode `json:"Node,omitempty"`

	// Start listing at a given position
	Offset string `json:"Offset,omitempty"`

	// Send back all children of the node
	Recursive bool `json:"Recursive,omitempty"`

	// Sort descending (otherwise ascending)
	SortDirDesc bool `json:"SortDirDesc,omitempty"`

	// Remote Sort on specific field
	SortField string `json:"SortField,omitempty"`

	// Generic Details Flags
	StatFlags []int64 `json:"StatFlags"`

	// Sends the list of commits for a given node (Deprecated)
	WithCommits bool `json:"WithCommits,omitempty"`

	// Sends the list of versions for a given node
	WithVersions bool `json:"WithVersions,omitempty"`
}

TreeListNodesRequest tree list nodes request

swagger:model treeListNodesRequest

func (*TreeListNodesRequest) ContextValidate ¶

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

ContextValidate validate this tree list nodes request based on the context it is used

func (*TreeListNodesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeListNodesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeListNodesRequest) Validate ¶

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

Validate validates this tree list nodes request

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 *TreeNodeChangeEventEventType `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 TreeNodeChangeEventEventType ¶

type TreeNodeChangeEventEventType string

TreeNodeChangeEventEventType tree node change event event type

swagger:model treeNodeChangeEventEventType

const (

	// TreeNodeChangeEventEventTypeCREATE captures enum value "CREATE"
	TreeNodeChangeEventEventTypeCREATE TreeNodeChangeEventEventType = "CREATE"

	// TreeNodeChangeEventEventTypeREAD captures enum value "READ"
	TreeNodeChangeEventEventTypeREAD TreeNodeChangeEventEventType = "READ"

	// TreeNodeChangeEventEventTypeUPDATEPATH captures enum value "UPDATE_PATH"
	TreeNodeChangeEventEventTypeUPDATEPATH TreeNodeChangeEventEventType = "UPDATE_PATH"

	// TreeNodeChangeEventEventTypeUPDATECONTENT captures enum value "UPDATE_CONTENT"
	TreeNodeChangeEventEventTypeUPDATECONTENT TreeNodeChangeEventEventType = "UPDATE_CONTENT"

	// TreeNodeChangeEventEventTypeUPDATEMETA captures enum value "UPDATE_META"
	TreeNodeChangeEventEventTypeUPDATEMETA TreeNodeChangeEventEventType = "UPDATE_META"

	// TreeNodeChangeEventEventTypeUPDATEUSERMETA captures enum value "UPDATE_USER_META"
	TreeNodeChangeEventEventTypeUPDATEUSERMETA TreeNodeChangeEventEventType = "UPDATE_USER_META"

	// TreeNodeChangeEventEventTypeDELETE captures enum value "DELETE"
	TreeNodeChangeEventEventTypeDELETE TreeNodeChangeEventEventType = "DELETE"
)

func (TreeNodeChangeEventEventType) ContextValidate ¶

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

ContextValidate validates this tree node change event event type based on context it is used

func (TreeNodeChangeEventEventType) Pointer ¶

Pointer returns a pointer to a freshly-allocated TreeNodeChangeEventEventType.

func (TreeNodeChangeEventEventType) Validate ¶

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

Validate validates this tree node change event event type

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 ¶

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 TreeQuery ¶

type TreeQuery struct {

	// Search in textual content (if search engine has this feature enabled)
	Content string `json:"Content,omitempty"`

	// Compute MinDate/MaxDate with a Golang duration with a leading comparator (> or <)
	// Duration may contain "s" second, "m" minute, "d" day.
	// Example: ">10m" for files modified before 10minutes ago
	DurationDate string `json:"DurationDate,omitempty"`

	// Look for a specific ETag value, may only be useful to lookup for files with __temporary__ ETag
	ETag string `json:"ETag,omitempty"`

	// Search files by their extension, use pipe symbol | if you wish to allow many extensions.
	// Example png|pdf|jpg
	Extension string `json:"Extension,omitempty"`

	// Lookup by file basename
	FileName string `json:"FileName,omitempty"`

	// Search in either filename or content (if search engine has this feature enabled)
	FileNameOrContent string `json:"FileNameOrContent,omitempty"`

	// Bleve-like search query to search for a specific metadata value.
	// When querying nodes, this will redirect this query to the Search Engine. When filtering an input, this will load an in-memory bleve engine to evaluate the node.
	//
	// Bleve query string format is a space separated list of `[+-]key:value`, where node meta keys must be prepended with "Meta."
	// For Example, for tags: `+Meta.usermeta-tags:myvalue`
	FreeString string `json:"FreeString,omitempty"`

	// Search geographically
	GeoQuery *TreeGeoQuery `json:"GeoQuery,omitempty"`

	// Range for modification date - node was modified before this date
	MaxDate string `json:"MaxDate,omitempty"`

	// Range for file size - size is smaller than
	MaxSize string `json:"MaxSize,omitempty"`

	// Range for modification date - node was modified after this date
	MinDate string `json:"MinDate,omitempty"`

	// Range for file size - size bigger than
	MinSize string `json:"MinSize,omitempty"`

	// Negate this query
	Not bool `json:"Not,omitempty"`

	// Restrict recursive listing to a given level of the tree starting from root.
	// Special value "-1" should list only one level in the folder defined by PathPrefix
	PathDepth int32 `json:"PathDepth,omitempty"`

	// Recursive listing of nodes below a given path. Combine with the PathDepth parameter to limit request results
	PathPrefix []string `json:"PathPrefix"`

	// List of nodes paths, exactly matching
	Paths []string `json:"Paths"`

	// Limit to a given node type (file or folder)
	Type *TreeNodeType `json:"Type,omitempty"`

	// Preset list of specific node defined by their UUIDs
	UUIDs []string `json:"UUIDs"`
}

TreeQuery Search Queries

swagger:model treeQuery

func (*TreeQuery) ContextValidate ¶

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

ContextValidate validate this tree query based on the context it is used

func (*TreeQuery) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeQuery) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeQuery) Validate ¶

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

Validate validates this tree query

type TreeReadNodeRequest ¶

type TreeReadNodeRequest struct {

	// Input node
	Node *TreeNode `json:"Node,omitempty"`

	// Used internally for the router ReadNode request, stat the datasource instead of index
	ObjectStats bool `json:"ObjectStats,omitempty"`

	// Generic Details Flags
	StatFlags []int64 `json:"StatFlags"`

	// Gather commit information - This is Deprecated
	WithCommits bool `json:"WithCommits,omitempty"`

	// Get extended stats - For folders, computes ChildrenCount - Depreacted, use StatFlags instead
	WithExtendedStats bool `json:"WithExtendedStats,omitempty"`
}

TreeReadNodeRequest Request / Responses Messages

swagger:model treeReadNodeRequest

func (*TreeReadNodeRequest) ContextValidate ¶

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

ContextValidate validate this tree read node request based on the context it is used

func (*TreeReadNodeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeReadNodeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeReadNodeRequest) Validate ¶

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

Validate validates this tree read node request

type TreeReadNodeResponse ¶

type TreeReadNodeResponse struct {

	// node
	Node *TreeNode `json:"Node,omitempty"`

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

TreeReadNodeResponse tree read node response

swagger:model treeReadNodeResponse

func (*TreeReadNodeResponse) ContextValidate ¶

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

ContextValidate validate this tree read node response based on the context it is used

func (*TreeReadNodeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeReadNodeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeReadNodeResponse) Validate ¶

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

Validate validates this tree read node response

type TreeSearchFacet ¶

type TreeSearchFacet struct {

	// Segment results count
	Count int32 `json:"Count,omitempty"`

	// end
	End int32 `json:"End,omitempty"`

	// Facet field name
	FieldName string `json:"FieldName,omitempty"`

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

	// max
	Max string `json:"Max,omitempty"`

	// For NumericRange facets, min/max values
	Min string `json:"Min,omitempty"`

	// For DateRange facets, start/end values
	Start int32 `json:"Start,omitempty"`

	// For string facets, term value
	Term string `json:"Term,omitempty"`
}

TreeSearchFacet tree search facet

swagger:model treeSearchFacet

func (*TreeSearchFacet) ContextValidate ¶

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

ContextValidate validates this tree search facet based on context it is used

func (*TreeSearchFacet) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeSearchFacet) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeSearchFacet) Validate ¶

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

Validate validates this tree search facet

type TreeSearchRequest ¶

type TreeSearchRequest struct {

	// Load node details
	Details bool `json:"Details,omitempty"`

	// Start at given position
	From int32 `json:"From,omitempty"`

	// The query object
	Query *TreeQuery `json:"Query,omitempty"`

	// Limit the number of results
	Size int32 `json:"Size,omitempty"`

	// Sort direction (asc by default)
	SortDirDesc bool `json:"SortDirDesc,omitempty"`

	// Sort result using a specific field
	SortField string `json:"SortField,omitempty"`

	// Generic Details Flags
	StatFlags []int64 `json:"StatFlags"`
}

TreeSearchRequest tree search request

swagger:model treeSearchRequest

func (*TreeSearchRequest) ContextValidate ¶

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

ContextValidate validate this tree search request based on the context it is used

func (*TreeSearchRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*TreeSearchRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*TreeSearchRequest) Validate ¶

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

Validate validates this tree search request

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 ¶

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

type UpdateApplyUpdateResponse ¶

type UpdateApplyUpdateResponse struct {

	// message
	Message string `json:"Message,omitempty"`

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

UpdateApplyUpdateResponse update apply update response

swagger:model updateApplyUpdateResponse

func (*UpdateApplyUpdateResponse) ContextValidate ¶

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

ContextValidate validates this update apply update response based on context it is used

func (*UpdateApplyUpdateResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdateApplyUpdateResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdateApplyUpdateResponse) Validate ¶

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

Validate validates this update apply update response

type UpdatePackage ¶

type UpdatePackage struct {

	// GOARCH value used at build time
	BinaryArch string `json:"BinaryArch,omitempty"`

	// Checksum of the binary to verify its integrity
	BinaryChecksum string `json:"BinaryChecksum,omitempty"`

	// Hash type used for the signature
	BinaryHashType string `json:"BinaryHashType,omitempty"`

	// GOOS value used at build time
	BinaryOS string `json:"BinaryOS,omitempty"`

	// Signature of the binary
	BinarySignature string `json:"BinarySignature,omitempty"`

	// Size of the binary to download
	BinarySize string `json:"BinarySize,omitempty"`

	// Https URL where to download the binary
	BinaryURL string `json:"BinaryURL,omitempty"`

	// List or public URL of change logs
	ChangeLog string `json:"ChangeLog,omitempty"`

	// Long human-readable description (markdown)
	Description string `json:"Description,omitempty"`

	// Not used : if binary is a patch
	IsPatch bool `json:"IsPatch,omitempty"`

	// Short human-readable description
	Label string `json:"Label,omitempty"`

	// License of this package
	License string `json:"License,omitempty"`

	// Name of the application
	PackageName string `json:"PackageName,omitempty"`

	// Not used : if a patch, how to patch (bsdiff support)
	PatchAlgorithm string `json:"PatchAlgorithm,omitempty"`

	// Release date of the binary
	ReleaseDate int32 `json:"ReleaseDate,omitempty"`

	// Not used : at a point we may deliver services only updates
	ServiceName string `json:"ServiceName,omitempty"`

	// status
	Status *PackagePackageStatus `json:"Status,omitempty"`

	// Version of this new binary
	Version string `json:"Version,omitempty"`
}

UpdatePackage update package

swagger:model updatePackage

func (*UpdatePackage) ContextValidate ¶

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

ContextValidate validate this update package based on the context it is used

func (*UpdatePackage) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdatePackage) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdatePackage) Validate ¶

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

Validate validates this update package

type UpdateUpdateRequest ¶

type UpdateUpdateRequest struct {

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

	// Current version of the application
	CurrentVersion string `json:"CurrentVersion,omitempty"`

	// Current GOARCH
	GOARCH string `json:"GOARCH,omitempty"`

	// Current GOOS
	GOOS string `json:"GOOS,omitempty"`

	// For enterprise version, info about the current license
	LicenseInfo map[string]string `json:"LicenseInfo,omitempty"`

	// Name of the currently running application
	PackageName string `json:"PackageName,omitempty"`

	// Not Used : specific service to get updates for
	ServiceName string `json:"ServiceName,omitempty"`
}

UpdateUpdateRequest update update request

swagger:model updateUpdateRequest

func (*UpdateUpdateRequest) ContextValidate ¶

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

ContextValidate validates this update update request based on context it is used

func (*UpdateUpdateRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdateUpdateRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdateUpdateRequest) Validate ¶

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

Validate validates this update update request

type UpdateUpdateResponse ¶

type UpdateUpdateResponse struct {

	// List of available binaries
	AvailableBinaries []*UpdatePackage `json:"AvailableBinaries"`

	// channel
	Channel string `json:"Channel,omitempty"`
}

UpdateUpdateResponse update update response

swagger:model updateUpdateResponse

func (*UpdateUpdateResponse) ContextValidate ¶

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

ContextValidate validate this update update response based on the context it is used

func (*UpdateUpdateResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdateUpdateResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdateUpdateResponse) Validate ¶

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

Validate validates this update update response

type UpdateUserMetaNamespaceRequestUserMetaNsOp ¶

type UpdateUserMetaNamespaceRequestUserMetaNsOp string

UpdateUserMetaNamespaceRequestUserMetaNsOp update user meta namespace request user meta ns op

swagger:model UpdateUserMetaNamespaceRequestUserMetaNsOp

const (

	// UpdateUserMetaNamespaceRequestUserMetaNsOpPUT captures enum value "PUT"
	UpdateUserMetaNamespaceRequestUserMetaNsOpPUT UpdateUserMetaNamespaceRequestUserMetaNsOp = "PUT"

	// UpdateUserMetaNamespaceRequestUserMetaNsOpDELETE captures enum value "DELETE"
	UpdateUserMetaNamespaceRequestUserMetaNsOpDELETE UpdateUserMetaNamespaceRequestUserMetaNsOp = "DELETE"
)

func (UpdateUserMetaNamespaceRequestUserMetaNsOp) ContextValidate ¶

ContextValidate validates this update user meta namespace request user meta ns op based on context it is used

func (UpdateUserMetaNamespaceRequestUserMetaNsOp) Pointer ¶

Pointer returns a pointer to a freshly-allocated UpdateUserMetaNamespaceRequestUserMetaNsOp.

func (UpdateUserMetaNamespaceRequestUserMetaNsOp) Validate ¶

Validate validates this update user meta namespace request user meta ns op

type UpdateUserMetaRequestUserMetaOp ¶

type UpdateUserMetaRequestUserMetaOp string

UpdateUserMetaRequestUserMetaOp update user meta request user meta op

swagger:model UpdateUserMetaRequestUserMetaOp

const (

	// UpdateUserMetaRequestUserMetaOpPUT captures enum value "PUT"
	UpdateUserMetaRequestUserMetaOpPUT UpdateUserMetaRequestUserMetaOp = "PUT"

	// UpdateUserMetaRequestUserMetaOpDELETE captures enum value "DELETE"
	UpdateUserMetaRequestUserMetaOpDELETE UpdateUserMetaRequestUserMetaOp = "DELETE"
)

func (UpdateUserMetaRequestUserMetaOp) ContextValidate ¶

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

ContextValidate validates this update user meta request user meta op based on context it is used

func (UpdateUserMetaRequestUserMetaOp) Pointer ¶

Pointer returns a pointer to a freshly-allocated UpdateUserMetaRequestUserMetaOp.

func (UpdateUserMetaRequestUserMetaOp) Validate ¶

Validate validates this update user meta request user meta op

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL