Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AdminInfoResponseAdvancedMetricsStatusNotConfigured captures enum value "not configured"
	AdminInfoResponseAdvancedMetricsStatusNotConfigured string = "not configured"

	// AdminInfoResponseAdvancedMetricsStatusAvailable captures enum value "available"
	AdminInfoResponseAdvancedMetricsStatusAvailable string = "available"

	// AdminInfoResponseAdvancedMetricsStatusUnavailable captures enum value "unavailable"
	AdminInfoResponseAdvancedMetricsStatusUnavailable string = "unavailable"
)
View Source
const (

	// LoginDetailsLoginStrategyForm captures enum value "form"
	LoginDetailsLoginStrategyForm string = "form"

	// LoginDetailsLoginStrategyServiceDashAccount captures enum value "service-account"
	LoginDetailsLoginStrategyServiceDashAccount string = "service-account"

	// LoginDetailsLoginStrategyRedirectDashServiceDashAccount captures enum value "redirect-service-account"
	LoginDetailsLoginStrategyRedirectDashServiceDashAccount string = "redirect-service-account"
)
View Source
const (

	// BucketDetailsQuotaTypeHard captures enum value "hard"
	BucketDetailsQuotaTypeHard string = "hard"
)
View Source
const (

	// BucketQuotaTypeHard captures enum value "hard"
	BucketQuotaTypeHard string = "hard"
)
View Source
const (

	// SessionResponseStatusOk captures enum value "ok"
	SessionResponseStatusOk string = "ok"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {

	// detailed message
	DetailedMessage string `json:"detailedMessage,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

APIError Api error

swagger:model ApiError

func (*APIError) ContextValidate

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

ContextValidate validates this Api error based on context it is used

func (*APIError) MarshalBinary

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

MarshalBinary interface implementation

func (*APIError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIError) Validate

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

Validate validates this Api error

type AdminInfoResponse

type AdminInfoResponse struct {

	// advanced metrics status
	// Enum: ["not configured","available","unavailable"]
	AdvancedMetricsStatus string `json:"advancedMetricsStatus,omitempty"`

	// backend
	Backend *BackendProperties `json:"backend,omitempty"`

	// buckets
	Buckets int64 `json:"buckets,omitempty"`

	// objects
	Objects int64 `json:"objects,omitempty"`

	// servers
	Servers []*ServerProperties `json:"servers"`

	// usage
	Usage int64 `json:"usage,omitempty"`

	// widgets
	Widgets []*Widget `json:"widgets"`
}

AdminInfoResponse admin info response

swagger:model adminInfoResponse

func (*AdminInfoResponse) ContextValidate

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

ContextValidate validate this admin info response based on the context it is used

func (*AdminInfoResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AdminInfoResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AdminInfoResponse) Validate

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

Validate validates this admin info response

type BackendProperties

type BackendProperties struct {

	// backend type
	BackendType string `json:"backendType,omitempty"`

	// offline drives
	OfflineDrives int64 `json:"offlineDrives,omitempty"`

	// online drives
	OnlineDrives int64 `json:"onlineDrives,omitempty"`

	// rr s c parity
	RrSCParity int64 `json:"rrSCParity,omitempty"`

	// standard s c parity
	StandardSCParity int64 `json:"standardSCParity,omitempty"`
}

BackendProperties backend properties

swagger:model BackendProperties

func (*BackendProperties) ContextValidate

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

ContextValidate validates this backend properties based on context it is used

func (*BackendProperties) MarshalBinary

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

MarshalBinary interface implementation

func (*BackendProperties) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BackendProperties) Validate

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

Validate validates this backend properties

type Bucket

type Bucket struct {

	// access
	Access *BucketAccess `json:"access,omitempty"`

	// creation date
	CreationDate string `json:"creation_date,omitempty"`

	// definition
	Definition string `json:"definition,omitempty"`

	// details
	Details *BucketDetails `json:"details,omitempty"`

	// name
	// Required: true
	// Min Length: 3
	Name *string `json:"name"`

	// objects
	Objects int64 `json:"objects,omitempty"`

	// rw access
	RwAccess *BucketRwAccess `json:"rw_access,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`
}

Bucket bucket

swagger:model bucket

func (*Bucket) ContextValidate

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

ContextValidate validate this bucket based on the context it is used

func (*Bucket) MarshalBinary

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

MarshalBinary interface implementation

func (*Bucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Bucket) Validate

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

Validate validates this bucket

type BucketAccess

type BucketAccess string

BucketAccess bucket access

swagger:model bucketAccess

const (

	// BucketAccessPRIVATE captures enum value "PRIVATE"
	BucketAccessPRIVATE BucketAccess = "PRIVATE"

	// BucketAccessPUBLIC captures enum value "PUBLIC"
	BucketAccessPUBLIC BucketAccess = "PUBLIC"

	// BucketAccessCUSTOM captures enum value "CUSTOM"
	BucketAccessCUSTOM BucketAccess = "CUSTOM"
)

func NewBucketAccess

func NewBucketAccess(value BucketAccess) *BucketAccess

func (BucketAccess) ContextValidate

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

ContextValidate validates this bucket access based on context it is used

func (BucketAccess) Pointer

func (m BucketAccess) Pointer() *BucketAccess

Pointer returns a pointer to a freshly-allocated BucketAccess.

func (BucketAccess) Validate

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

Validate validates this bucket access

type BucketDetails

type BucketDetails struct {

	// locking
	Locking bool `json:"locking,omitempty"`

	// quota
	Quota *BucketDetailsQuota `json:"quota,omitempty"`

	// replication
	Replication bool `json:"replication,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`

	// versioning
	Versioning bool `json:"versioning,omitempty"`

	// versioning suspended
	VersioningSuspended bool `json:"versioningSuspended,omitempty"`
}

BucketDetails bucket details

swagger:model BucketDetails

func (*BucketDetails) ContextValidate

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

ContextValidate validate this bucket details based on the context it is used

func (*BucketDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketDetails) Validate

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

Validate validates this bucket details

type BucketDetailsQuota

type BucketDetailsQuota struct {

	// quota
	Quota int64 `json:"quota,omitempty"`

	// type
	// Enum: ["hard"]
	Type string `json:"type,omitempty"`
}

BucketDetailsQuota bucket details quota

swagger:model BucketDetailsQuota

func (*BucketDetailsQuota) ContextValidate

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

ContextValidate validates this bucket details quota based on context it is used

func (*BucketDetailsQuota) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketDetailsQuota) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketDetailsQuota) Validate

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

Validate validates this bucket details quota

type BucketObject

type BucketObject struct {

	// content type
	ContentType string `json:"content_type,omitempty"`

	// etag
	Etag string `json:"etag,omitempty"`

	// expiration
	Expiration string `json:"expiration,omitempty"`

	// expiration rule id
	ExpirationRuleID string `json:"expiration_rule_id,omitempty"`

	// is delete marker
	IsDeleteMarker bool `json:"is_delete_marker,omitempty"`

	// is latest
	IsLatest bool `json:"is_latest,omitempty"`

	// last modified
	LastModified string `json:"last_modified,omitempty"`

	// legal hold status
	LegalHoldStatus string `json:"legal_hold_status,omitempty"`

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

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

	// retention mode
	RetentionMode string `json:"retention_mode,omitempty"`

	// retention until date
	RetentionUntilDate string `json:"retention_until_date,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`

	// user metadata
	UserMetadata map[string]string `json:"user_metadata,omitempty"`

	// user tags
	UserTags map[string]string `json:"user_tags,omitempty"`

	// version id
	VersionID string `json:"version_id,omitempty"`
}

BucketObject bucket object

swagger:model bucketObject

func (*BucketObject) ContextValidate

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

ContextValidate validates this bucket object based on context it is used

func (*BucketObject) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketObject) Validate

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

Validate validates this bucket object

type BucketQuota

type BucketQuota struct {

	// quota
	Quota int64 `json:"quota,omitempty"`

	// type
	// Enum: ["hard"]
	Type string `json:"type,omitempty"`
}

BucketQuota bucket quota

swagger:model bucketQuota

func (*BucketQuota) ContextValidate

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

ContextValidate validates this bucket quota based on context it is used

func (*BucketQuota) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketQuota) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketQuota) Validate

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

Validate validates this bucket quota

type BucketRwAccess

type BucketRwAccess struct {

	// read
	Read bool `json:"read,omitempty"`

	// write
	Write bool `json:"write,omitempty"`
}

BucketRwAccess bucket rw access

swagger:model BucketRwAccess

func (*BucketRwAccess) ContextValidate

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

ContextValidate validates this bucket rw access based on context it is used

func (*BucketRwAccess) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketRwAccess) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketRwAccess) Validate

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

Validate validates this bucket rw access

type BucketVersioningResponse

type BucketVersioningResponse struct {

	// m f a delete
	MFADelete string `json:"MFADelete,omitempty"`

	// exclude folders
	ExcludeFolders bool `json:"excludeFolders,omitempty"`

	// excluded prefixes
	ExcludedPrefixes []*BucketVersioningResponseExcludedPrefixesItems0 `json:"excludedPrefixes"`

	// status
	Status string `json:"status,omitempty"`
}

BucketVersioningResponse bucket versioning response

swagger:model bucketVersioningResponse

func (*BucketVersioningResponse) ContextValidate

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

ContextValidate validate this bucket versioning response based on the context it is used

func (*BucketVersioningResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*BucketVersioningResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BucketVersioningResponse) Validate

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

Validate validates this bucket versioning response

type BucketVersioningResponseExcludedPrefixesItems0

type BucketVersioningResponseExcludedPrefixesItems0 struct {

	// prefix
	Prefix string `json:"prefix,omitempty"`
}

BucketVersioningResponseExcludedPrefixesItems0 bucket versioning response excluded prefixes items0

swagger:model BucketVersioningResponseExcludedPrefixesItems0

func (*BucketVersioningResponseExcludedPrefixesItems0) ContextValidate

ContextValidate validates this bucket versioning response excluded prefixes items0 based on context it is used

func (*BucketVersioningResponseExcludedPrefixesItems0) MarshalBinary

MarshalBinary interface implementation

func (*BucketVersioningResponseExcludedPrefixesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*BucketVersioningResponseExcludedPrefixesItems0) Validate

Validate validates this bucket versioning response excluded prefixes items0

type DeleteFile

type DeleteFile struct {

	// path
	Path string `json:"path,omitempty"`

	// recursive
	Recursive bool `json:"recursive,omitempty"`

	// version ID
	VersionID string `json:"versionID,omitempty"`
}

DeleteFile delete file

swagger:model deleteFile

func (*DeleteFile) ContextValidate

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

ContextValidate validates this delete file based on context it is used

func (*DeleteFile) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteFile) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteFile) Validate

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

Validate validates this delete file

type EnvironmentConstants

type EnvironmentConstants struct {

	// max concurrent downloads
	MaxConcurrentDownloads int64 `json:"maxConcurrentDownloads,omitempty"`

	// max concurrent uploads
	MaxConcurrentUploads int64 `json:"maxConcurrentUploads,omitempty"`
}

EnvironmentConstants environment constants

swagger:model environmentConstants

func (*EnvironmentConstants) ContextValidate

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

ContextValidate validates this environment constants based on context it is used

func (*EnvironmentConstants) MarshalBinary

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

MarshalBinary interface implementation

func (*EnvironmentConstants) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EnvironmentConstants) Validate

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

Validate validates this environment constants

type GetBucketRetentionConfig

type GetBucketRetentionConfig struct {

	// mode
	Mode ObjectRetentionMode `json:"mode,omitempty"`

	// unit
	Unit ObjectRetentionUnit `json:"unit,omitempty"`

	// validity
	Validity int32 `json:"validity,omitempty"`
}

GetBucketRetentionConfig get bucket retention config

swagger:model getBucketRetentionConfig

func (*GetBucketRetentionConfig) ContextValidate

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

ContextValidate validate this get bucket retention config based on the context it is used

func (*GetBucketRetentionConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBucketRetentionConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBucketRetentionConfig) Validate

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

Validate validates this get bucket retention config

type ListBucketsResponse

type ListBucketsResponse struct {

	// list of resulting buckets
	Buckets []*Bucket `json:"buckets"`

	// number of buckets accessible to the user
	Total int64 `json:"total,omitempty"`
}

ListBucketsResponse list buckets response

swagger:model listBucketsResponse

func (*ListBucketsResponse) ContextValidate

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

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

func (*ListBucketsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBucketsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBucketsResponse) Validate

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

Validate validates this list buckets response

type ListObjectsResponse

type ListObjectsResponse struct {

	// list of resulting objects
	Objects []*BucketObject `json:"objects"`

	// number of objects
	Total int64 `json:"total,omitempty"`
}

ListObjectsResponse list objects response

swagger:model listObjectsResponse

func (*ListObjectsResponse) ContextValidate

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

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

func (*ListObjectsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListObjectsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListObjectsResponse) Validate

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

Validate validates this list objects response

type LoginDetails

type LoginDetails struct {

	// animated login
	AnimatedLogin bool `json:"animatedLogin,omitempty"`

	// is k8 s
	IsK8S bool `json:"isK8S,omitempty"`

	// login strategy
	// Enum: ["form","service-account","redirect-service-account"]
	LoginStrategy string `json:"loginStrategy,omitempty"`

	// redirect rules
	RedirectRules []*RedirectRule `json:"redirectRules"`
}

LoginDetails login details

swagger:model loginDetails

func (*LoginDetails) ContextValidate

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

ContextValidate validate this login details based on the context it is used

func (*LoginDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginDetails) Validate

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

Validate validates this login details

type LoginRequest

type LoginRequest struct {

	// access key
	AccessKey string `json:"accessKey,omitempty"`

	// features
	Features *LoginRequestFeatures `json:"features,omitempty"`

	// secret key
	SecretKey string `json:"secretKey,omitempty"`

	// sts
	Sts string `json:"sts,omitempty"`
}

LoginRequest login request

swagger:model loginRequest

func (*LoginRequest) ContextValidate

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

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

func (*LoginRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginRequest) Validate

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

Validate validates this login request

type LoginRequestFeatures

type LoginRequestFeatures struct {

	// hide menu
	HideMenu bool `json:"hide_menu,omitempty"`
}

LoginRequestFeatures login request features

swagger:model LoginRequestFeatures

func (*LoginRequestFeatures) ContextValidate

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

ContextValidate validates this login request features based on context it is used

func (*LoginRequestFeatures) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginRequestFeatures) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginRequestFeatures) Validate

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

Validate validates this login request features

type LoginResponse

type LoginResponse struct {

	// ID p refresh token
	IDPRefreshToken string `json:"IDPRefreshToken,omitempty"`

	// session Id
	SessionID string `json:"sessionId,omitempty"`
}

LoginResponse login response

swagger:model loginResponse

func (*LoginResponse) ContextValidate

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

ContextValidate validates this login response based on context it is used

func (*LoginResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginResponse) Validate

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

Validate validates this login response

type LogoutRequest

type LogoutRequest struct {

	// state
	State string `json:"state,omitempty"`
}

LogoutRequest logout request

swagger:model logoutRequest

func (*LogoutRequest) ContextValidate

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

ContextValidate validates this logout request based on context it is used

func (*LogoutRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*LogoutRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogoutRequest) Validate

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

Validate validates this logout request

type MakeBucketRequest

type MakeBucketRequest struct {

	// name
	// Required: true
	Name *string `json:"name"`
}

MakeBucketRequest make bucket request

swagger:model makeBucketRequest

func (*MakeBucketRequest) ContextValidate

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

ContextValidate validates this make bucket request based on context it is used

func (*MakeBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*MakeBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MakeBucketRequest) Validate

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

Validate validates this make bucket request

type MakeBucketsResponse

type MakeBucketsResponse struct {

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

MakeBucketsResponse make buckets response

swagger:model makeBucketsResponse

func (*MakeBucketsResponse) ContextValidate

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

ContextValidate validates this make buckets response based on context it is used

func (*MakeBucketsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*MakeBucketsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MakeBucketsResponse) Validate

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

Validate validates this make buckets response

type MaxShareLinkExpResponse

type MaxShareLinkExpResponse struct {

	// exp
	// Required: true
	Exp *int64 `json:"exp"`
}

MaxShareLinkExpResponse max share link exp response

swagger:model maxShareLinkExpResponse

func (*MaxShareLinkExpResponse) ContextValidate

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

ContextValidate validates this max share link exp response based on context it is used

func (*MaxShareLinkExpResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*MaxShareLinkExpResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MaxShareLinkExpResponse) Validate

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

Validate validates this max share link exp response

type Metadata

type Metadata struct {

	// object metadata
	ObjectMetadata interface{} `json:"objectMetadata,omitempty"`
}

Metadata metadata

swagger:model metadata

func (*Metadata) ContextValidate

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

ContextValidate validates this metadata based on context it is used

func (*Metadata) MarshalBinary

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

MarshalBinary interface implementation

func (*Metadata) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Metadata) Validate

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

Validate validates this metadata

type ObjectRetentionMode

type ObjectRetentionMode string

ObjectRetentionMode object retention mode

swagger:model objectRetentionMode

const (

	// ObjectRetentionModeGovernance captures enum value "governance"
	ObjectRetentionModeGovernance ObjectRetentionMode = "governance"

	// ObjectRetentionModeCompliance captures enum value "compliance"
	ObjectRetentionModeCompliance ObjectRetentionMode = "compliance"
)

func NewObjectRetentionMode

func NewObjectRetentionMode(value ObjectRetentionMode) *ObjectRetentionMode

func (ObjectRetentionMode) ContextValidate

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

ContextValidate validates this object retention mode based on context it is used

func (ObjectRetentionMode) Pointer

Pointer returns a pointer to a freshly-allocated ObjectRetentionMode.

func (ObjectRetentionMode) Validate

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

Validate validates this object retention mode

type ObjectRetentionUnit

type ObjectRetentionUnit string

ObjectRetentionUnit object retention unit

swagger:model objectRetentionUnit

const (

	// ObjectRetentionUnitDays captures enum value "days"
	ObjectRetentionUnitDays ObjectRetentionUnit = "days"

	// ObjectRetentionUnitYears captures enum value "years"
	ObjectRetentionUnitYears ObjectRetentionUnit = "years"
)

func NewObjectRetentionUnit

func NewObjectRetentionUnit(value ObjectRetentionUnit) *ObjectRetentionUnit

func (ObjectRetentionUnit) ContextValidate

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

ContextValidate validates this object retention unit based on context it is used

func (ObjectRetentionUnit) Pointer

Pointer returns a pointer to a freshly-allocated ObjectRetentionUnit.

func (ObjectRetentionUnit) Validate

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

Validate validates this object retention unit

type PermissionResource

type PermissionResource struct {

	// condition operator
	ConditionOperator string `json:"conditionOperator,omitempty"`

	// prefixes
	Prefixes []string `json:"prefixes"`

	// resource
	Resource string `json:"resource,omitempty"`
}

PermissionResource permission resource

swagger:model permissionResource

func (*PermissionResource) ContextValidate

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

ContextValidate validates this permission resource based on context it is used

func (*PermissionResource) MarshalBinary

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

MarshalBinary interface implementation

func (*PermissionResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PermissionResource) Validate

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

Validate validates this permission resource

type Principal

type Principal struct {

	// s t s access key ID
	STSAccessKeyID string `json:"STSAccessKeyID,omitempty"`

	// s t s secret access key
	STSSecretAccessKey string `json:"STSSecretAccessKey,omitempty"`

	// s t s session token
	STSSessionToken string `json:"STSSessionToken,omitempty"`

	// account access key
	AccountAccessKey string `json:"accountAccessKey,omitempty"`

	// custom style ob
	CustomStyleOb string `json:"customStyleOb,omitempty"`

	// hm
	Hm bool `json:"hm,omitempty"`

	// ob
	Ob bool `json:"ob,omitempty"`
}

Principal principal

swagger:model principal

func (*Principal) ContextValidate

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

ContextValidate validates this principal based on context it is used

func (*Principal) MarshalBinary

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

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Principal) Validate

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

Validate validates this principal

type PutObjectTagsRequest

type PutObjectTagsRequest struct {

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

PutObjectTagsRequest put object tags request

swagger:model putObjectTagsRequest

func (*PutObjectTagsRequest) ContextValidate

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

ContextValidate validates this put object tags request based on context it is used

func (*PutObjectTagsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*PutObjectTagsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutObjectTagsRequest) Validate

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

Validate validates this put object tags request

type RedirectRule

type RedirectRule struct {

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// redirect
	Redirect string `json:"redirect,omitempty"`

	// service type
	ServiceType string `json:"serviceType,omitempty"`
}

RedirectRule redirect rule

swagger:model redirectRule

func (*RedirectRule) ContextValidate

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

ContextValidate validates this redirect rule based on context it is used

func (*RedirectRule) MarshalBinary

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

MarshalBinary interface implementation

func (*RedirectRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RedirectRule) Validate

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

Validate validates this redirect rule

type ResultTarget

type ResultTarget struct {

	// legend format
	LegendFormat string `json:"legendFormat,omitempty"`

	// result
	Result []*WidgetResult `json:"result"`

	// result type
	ResultType string `json:"resultType,omitempty"`
}

ResultTarget result target

swagger:model resultTarget

func (*ResultTarget) ContextValidate

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

ContextValidate validate this result target based on the context it is used

func (*ResultTarget) MarshalBinary

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

MarshalBinary interface implementation

func (*ResultTarget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResultTarget) Validate

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

Validate validates this result target

type RewindItem

type RewindItem struct {

	// action
	Action string `json:"action,omitempty"`

	// delete flag
	DeleteFlag bool `json:"delete_flag,omitempty"`

	// is latest
	IsLatest bool `json:"is_latest,omitempty"`

	// last modified
	LastModified string `json:"last_modified,omitempty"`

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

	// size
	Size int64 `json:"size,omitempty"`

	// version id
	VersionID string `json:"version_id,omitempty"`
}

RewindItem rewind item

swagger:model rewindItem

func (*RewindItem) ContextValidate

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

ContextValidate validates this rewind item based on context it is used

func (*RewindItem) MarshalBinary

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

MarshalBinary interface implementation

func (*RewindItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RewindItem) Validate

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

Validate validates this rewind item

type RewindResponse

type RewindResponse struct {

	// objects
	Objects []*RewindItem `json:"objects"`
}

RewindResponse rewind response

swagger:model rewindResponse

func (*RewindResponse) ContextValidate

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

ContextValidate validate this rewind response based on the context it is used

func (*RewindResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RewindResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RewindResponse) Validate

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

Validate validates this rewind response

type ServerDrives

type ServerDrives struct {

	// available space
	AvailableSpace int64 `json:"availableSpace,omitempty"`

	// drive path
	DrivePath string `json:"drivePath,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// healing
	Healing bool `json:"healing,omitempty"`

	// model
	Model string `json:"model,omitempty"`

	// root disk
	RootDisk bool `json:"rootDisk,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// total space
	TotalSpace int64 `json:"totalSpace,omitempty"`

	// used space
	UsedSpace int64 `json:"usedSpace,omitempty"`

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

ServerDrives server drives

swagger:model serverDrives

func (*ServerDrives) ContextValidate

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

ContextValidate validates this server drives based on context it is used

func (*ServerDrives) MarshalBinary

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

MarshalBinary interface implementation

func (*ServerDrives) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServerDrives) Validate

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

Validate validates this server drives

type ServerProperties

type ServerProperties struct {

	// commit ID
	CommitID string `json:"commitID,omitempty"`

	// drives
	Drives []*ServerDrives `json:"drives"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// network
	Network map[string]string `json:"network,omitempty"`

	// pool number
	PoolNumber int64 `json:"poolNumber,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// uptime
	Uptime int64 `json:"uptime,omitempty"`

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

ServerProperties server properties

swagger:model serverProperties

func (*ServerProperties) ContextValidate

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

ContextValidate validate this server properties based on the context it is used

func (*ServerProperties) MarshalBinary

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

MarshalBinary interface implementation

func (*ServerProperties) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServerProperties) Validate

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

Validate validates this server properties

type SessionResponse

type SessionResponse struct {

	// allow resources
	AllowResources []*PermissionResource `json:"allowResources"`

	// custom styles
	CustomStyles string `json:"customStyles,omitempty"`

	// distributed mode
	DistributedMode bool `json:"distributedMode,omitempty"`

	// env constants
	EnvConstants *EnvironmentConstants `json:"envConstants,omitempty"`

	// features
	Features []string `json:"features"`

	// operator
	Operator bool `json:"operator,omitempty"`

	// permissions
	Permissions map[string][]string `json:"permissions,omitempty"`

	// server end point
	ServerEndPoint string `json:"serverEndPoint,omitempty"`

	// status
	// Enum: ["ok"]
	Status string `json:"status,omitempty"`
}

SessionResponse session response

swagger:model sessionResponse

func (*SessionResponse) ContextValidate

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

ContextValidate validate this session response based on the context it is used

func (*SessionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SessionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SessionResponse) Validate

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

Validate validates this session response

type SetBucketVersioning

type SetBucketVersioning struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// exclude folders
	ExcludeFolders bool `json:"excludeFolders,omitempty"`

	// exclude prefixes
	ExcludePrefixes []string `json:"excludePrefixes"`
}

SetBucketVersioning set bucket versioning

swagger:model setBucketVersioning

func (*SetBucketVersioning) ContextValidate

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

ContextValidate validates this set bucket versioning based on context it is used

func (*SetBucketVersioning) MarshalBinary

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

MarshalBinary interface implementation

func (*SetBucketVersioning) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetBucketVersioning) Validate

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

Validate validates this set bucket versioning

type Widget

type Widget struct {

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

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

	// targets
	Targets []*ResultTarget `json:"targets"`

	// title
	Title string `json:"title,omitempty"`

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

Widget widget

swagger:model widget

func (*Widget) ContextValidate

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

ContextValidate validate this widget based on the context it is used

func (*Widget) MarshalBinary

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

MarshalBinary interface implementation

func (*Widget) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Widget) Validate

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

Validate validates this widget

type WidgetOptions

type WidgetOptions struct {

	// reduce options
	ReduceOptions *WidgetOptionsReduceOptions `json:"reduceOptions,omitempty"`
}

WidgetOptions widget options

swagger:model WidgetOptions

func (*WidgetOptions) ContextValidate

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

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

func (*WidgetOptions) MarshalBinary

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

MarshalBinary interface implementation

func (*WidgetOptions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WidgetOptions) Validate

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

Validate validates this widget options

type WidgetOptionsReduceOptions

type WidgetOptionsReduceOptions struct {

	// calcs
	Calcs []string `json:"calcs"`
}

WidgetOptionsReduceOptions widget options reduce options

swagger:model WidgetOptionsReduceOptions

func (*WidgetOptionsReduceOptions) ContextValidate

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

ContextValidate validates this widget options reduce options based on context it is used

func (*WidgetOptionsReduceOptions) MarshalBinary

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

MarshalBinary interface implementation

func (*WidgetOptionsReduceOptions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WidgetOptionsReduceOptions) Validate

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

Validate validates this widget options reduce options

type WidgetResult

type WidgetResult struct {

	// metric
	Metric map[string]string `json:"metric,omitempty"`

	// values
	Values []interface{} `json:"values"`
}

WidgetResult widget result

swagger:model widgetResult

func (*WidgetResult) ContextValidate

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

ContextValidate validates this widget result based on context it is used

func (*WidgetResult) MarshalBinary

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

MarshalBinary interface implementation

func (*WidgetResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WidgetResult) Validate

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

Validate validates this widget result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL