oapi

package
v0.0.0-...-6200fd8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type APIKey

type APIKey struct {
	APIKey string
}

func (*APIKey) GetAPIKey

func (s *APIKey) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*APIKey) SetAPIKey

func (s *APIKey) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

type APIKeyCreateDto

type APIKeyCreateDto struct {
	Name        OptString    `json:"name"`
	Permissions []Permission `json:"permissions"`
}

Ref: #/components/schemas/APIKeyCreateDto

func (*APIKeyCreateDto) Decode

func (s *APIKeyCreateDto) Decode(d *jx.Decoder) error

Decode decodes APIKeyCreateDto from json.

func (*APIKeyCreateDto) Encode

func (s *APIKeyCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*APIKeyCreateDto) GetName

func (s *APIKeyCreateDto) GetName() OptString

GetName returns the value of Name.

func (*APIKeyCreateDto) GetPermissions

func (s *APIKeyCreateDto) GetPermissions() []Permission

GetPermissions returns the value of Permissions.

func (*APIKeyCreateDto) MarshalJSON

func (s *APIKeyCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIKeyCreateDto) SetName

func (s *APIKeyCreateDto) SetName(val OptString)

SetName sets the value of Name.

func (*APIKeyCreateDto) SetPermissions

func (s *APIKeyCreateDto) SetPermissions(val []Permission)

SetPermissions sets the value of Permissions.

func (*APIKeyCreateDto) UnmarshalJSON

func (s *APIKeyCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*APIKeyCreateDto) Validate

func (s *APIKeyCreateDto) Validate() error

type APIKeyCreateResponseDto

type APIKeyCreateResponseDto struct {
	ApiKey APIKeyResponseDto `json:"apiKey"`
	Secret string            `json:"secret"`
}

Ref: #/components/schemas/APIKeyCreateResponseDto

func (*APIKeyCreateResponseDto) Decode

func (s *APIKeyCreateResponseDto) Decode(d *jx.Decoder) error

Decode decodes APIKeyCreateResponseDto from json.

func (*APIKeyCreateResponseDto) Encode

func (s *APIKeyCreateResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*APIKeyCreateResponseDto) GetApiKey

GetApiKey returns the value of ApiKey.

func (*APIKeyCreateResponseDto) GetSecret

func (s *APIKeyCreateResponseDto) GetSecret() string

GetSecret returns the value of Secret.

func (*APIKeyCreateResponseDto) MarshalJSON

func (s *APIKeyCreateResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIKeyCreateResponseDto) SetApiKey

func (s *APIKeyCreateResponseDto) SetApiKey(val APIKeyResponseDto)

SetApiKey sets the value of ApiKey.

func (*APIKeyCreateResponseDto) SetSecret

func (s *APIKeyCreateResponseDto) SetSecret(val string)

SetSecret sets the value of Secret.

func (*APIKeyCreateResponseDto) UnmarshalJSON

func (s *APIKeyCreateResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*APIKeyCreateResponseDto) Validate

func (s *APIKeyCreateResponseDto) Validate() error

type APIKeyResponseDto

type APIKeyResponseDto struct {
	CreatedAt   time.Time    `json:"createdAt"`
	ID          string       `json:"id"`
	Name        string       `json:"name"`
	Permissions []Permission `json:"permissions"`
	UpdatedAt   time.Time    `json:"updatedAt"`
}

Ref: #/components/schemas/APIKeyResponseDto

func (*APIKeyResponseDto) Decode

func (s *APIKeyResponseDto) Decode(d *jx.Decoder) error

Decode decodes APIKeyResponseDto from json.

func (*APIKeyResponseDto) Encode

func (s *APIKeyResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*APIKeyResponseDto) GetCreatedAt

func (s *APIKeyResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*APIKeyResponseDto) GetID

func (s *APIKeyResponseDto) GetID() string

GetID returns the value of ID.

func (*APIKeyResponseDto) GetName

func (s *APIKeyResponseDto) GetName() string

GetName returns the value of Name.

func (*APIKeyResponseDto) GetPermissions

func (s *APIKeyResponseDto) GetPermissions() []Permission

GetPermissions returns the value of Permissions.

func (*APIKeyResponseDto) GetUpdatedAt

func (s *APIKeyResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*APIKeyResponseDto) MarshalJSON

func (s *APIKeyResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIKeyResponseDto) SetCreatedAt

func (s *APIKeyResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*APIKeyResponseDto) SetID

func (s *APIKeyResponseDto) SetID(val string)

SetID sets the value of ID.

func (*APIKeyResponseDto) SetName

func (s *APIKeyResponseDto) SetName(val string)

SetName sets the value of Name.

func (*APIKeyResponseDto) SetPermissions

func (s *APIKeyResponseDto) SetPermissions(val []Permission)

SetPermissions sets the value of Permissions.

func (*APIKeyResponseDto) SetUpdatedAt

func (s *APIKeyResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*APIKeyResponseDto) UnmarshalJSON

func (s *APIKeyResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*APIKeyResponseDto) Validate

func (s *APIKeyResponseDto) Validate() error

type APIKeyUpdateDto

type APIKeyUpdateDto struct {
	Name string `json:"name"`
}

Ref: #/components/schemas/APIKeyUpdateDto

func (*APIKeyUpdateDto) Decode

func (s *APIKeyUpdateDto) Decode(d *jx.Decoder) error

Decode decodes APIKeyUpdateDto from json.

func (*APIKeyUpdateDto) Encode

func (s *APIKeyUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*APIKeyUpdateDto) GetName

func (s *APIKeyUpdateDto) GetName() string

GetName returns the value of Name.

func (*APIKeyUpdateDto) MarshalJSON

func (s *APIKeyUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*APIKeyUpdateDto) SetName

func (s *APIKeyUpdateDto) SetName(val string)

SetName sets the value of Name.

func (*APIKeyUpdateDto) UnmarshalJSON

func (s *APIKeyUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ActivityCreateDto

type ActivityCreateDto struct {
	AlbumId uuid.UUID    `json:"albumId"`
	AssetId OptUUID      `json:"assetId"`
	Comment OptString    `json:"comment"`
	Type    ReactionType `json:"type"`
}

Ref: #/components/schemas/ActivityCreateDto

func (*ActivityCreateDto) Decode

func (s *ActivityCreateDto) Decode(d *jx.Decoder) error

Decode decodes ActivityCreateDto from json.

func (*ActivityCreateDto) Encode

func (s *ActivityCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ActivityCreateDto) GetAlbumId

func (s *ActivityCreateDto) GetAlbumId() uuid.UUID

GetAlbumId returns the value of AlbumId.

func (*ActivityCreateDto) GetAssetId

func (s *ActivityCreateDto) GetAssetId() OptUUID

GetAssetId returns the value of AssetId.

func (*ActivityCreateDto) GetComment

func (s *ActivityCreateDto) GetComment() OptString

GetComment returns the value of Comment.

func (*ActivityCreateDto) GetType

func (s *ActivityCreateDto) GetType() ReactionType

GetType returns the value of Type.

func (*ActivityCreateDto) MarshalJSON

func (s *ActivityCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ActivityCreateDto) SetAlbumId

func (s *ActivityCreateDto) SetAlbumId(val uuid.UUID)

SetAlbumId sets the value of AlbumId.

func (*ActivityCreateDto) SetAssetId

func (s *ActivityCreateDto) SetAssetId(val OptUUID)

SetAssetId sets the value of AssetId.

func (*ActivityCreateDto) SetComment

func (s *ActivityCreateDto) SetComment(val OptString)

SetComment sets the value of Comment.

func (*ActivityCreateDto) SetType

func (s *ActivityCreateDto) SetType(val ReactionType)

SetType sets the value of Type.

func (*ActivityCreateDto) UnmarshalJSON

func (s *ActivityCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ActivityCreateDto) Validate

func (s *ActivityCreateDto) Validate() error

type ActivityResponseDto

type ActivityResponseDto struct {
	AssetId   NilString       `json:"assetId"`
	Comment   OptNilString    `json:"comment"`
	CreatedAt time.Time       `json:"createdAt"`
	ID        string          `json:"id"`
	Type      ReactionType    `json:"type"`
	User      UserResponseDto `json:"user"`
}

Ref: #/components/schemas/ActivityResponseDto

func (*ActivityResponseDto) Decode

func (s *ActivityResponseDto) Decode(d *jx.Decoder) error

Decode decodes ActivityResponseDto from json.

func (*ActivityResponseDto) Encode

func (s *ActivityResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ActivityResponseDto) GetAssetId

func (s *ActivityResponseDto) GetAssetId() NilString

GetAssetId returns the value of AssetId.

func (*ActivityResponseDto) GetComment

func (s *ActivityResponseDto) GetComment() OptNilString

GetComment returns the value of Comment.

func (*ActivityResponseDto) GetCreatedAt

func (s *ActivityResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*ActivityResponseDto) GetID

func (s *ActivityResponseDto) GetID() string

GetID returns the value of ID.

func (*ActivityResponseDto) GetType

func (s *ActivityResponseDto) GetType() ReactionType

GetType returns the value of Type.

func (*ActivityResponseDto) GetUser

func (s *ActivityResponseDto) GetUser() UserResponseDto

GetUser returns the value of User.

func (*ActivityResponseDto) MarshalJSON

func (s *ActivityResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ActivityResponseDto) SetAssetId

func (s *ActivityResponseDto) SetAssetId(val NilString)

SetAssetId sets the value of AssetId.

func (*ActivityResponseDto) SetComment

func (s *ActivityResponseDto) SetComment(val OptNilString)

SetComment sets the value of Comment.

func (*ActivityResponseDto) SetCreatedAt

func (s *ActivityResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*ActivityResponseDto) SetID

func (s *ActivityResponseDto) SetID(val string)

SetID sets the value of ID.

func (*ActivityResponseDto) SetType

func (s *ActivityResponseDto) SetType(val ReactionType)

SetType sets the value of Type.

func (*ActivityResponseDto) SetUser

func (s *ActivityResponseDto) SetUser(val UserResponseDto)

SetUser sets the value of User.

func (*ActivityResponseDto) UnmarshalJSON

func (s *ActivityResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ActivityResponseDto) Validate

func (s *ActivityResponseDto) Validate() error

type ActivityStatisticsResponseDto

type ActivityStatisticsResponseDto struct {
	Comments int `json:"comments"`
}

Ref: #/components/schemas/ActivityStatisticsResponseDto

func (*ActivityStatisticsResponseDto) Decode

Decode decodes ActivityStatisticsResponseDto from json.

func (*ActivityStatisticsResponseDto) Encode

Encode implements json.Marshaler.

func (*ActivityStatisticsResponseDto) GetComments

func (s *ActivityStatisticsResponseDto) GetComments() int

GetComments returns the value of Comments.

func (*ActivityStatisticsResponseDto) MarshalJSON

func (s *ActivityStatisticsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ActivityStatisticsResponseDto) SetComments

func (s *ActivityStatisticsResponseDto) SetComments(val int)

SetComments sets the value of Comments.

func (*ActivityStatisticsResponseDto) UnmarshalJSON

func (s *ActivityStatisticsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AddAssetsToAlbumParams

type AddAssetsToAlbumParams struct {
	ID  uuid.UUID
	Key OptString
}

AddAssetsToAlbumParams is parameters of addAssetsToAlbum operation.

type AddMemoryAssetsParams

type AddMemoryAssetsParams struct {
	ID uuid.UUID
}

AddMemoryAssetsParams is parameters of addMemoryAssets operation.

type AddSharedLinkAssetsParams

type AddSharedLinkAssetsParams struct {
	ID  uuid.UUID
	Key OptString
}

AddSharedLinkAssetsParams is parameters of addSharedLinkAssets operation.

type AddUsersDto

type AddUsersDto struct {
	AlbumUsers []AlbumUserAddDto `json:"albumUsers"`
}

Ref: #/components/schemas/AddUsersDto

func (*AddUsersDto) Decode

func (s *AddUsersDto) Decode(d *jx.Decoder) error

Decode decodes AddUsersDto from json.

func (*AddUsersDto) Encode

func (s *AddUsersDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AddUsersDto) GetAlbumUsers

func (s *AddUsersDto) GetAlbumUsers() []AlbumUserAddDto

GetAlbumUsers returns the value of AlbumUsers.

func (*AddUsersDto) MarshalJSON

func (s *AddUsersDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AddUsersDto) SetAlbumUsers

func (s *AddUsersDto) SetAlbumUsers(val []AlbumUserAddDto)

SetAlbumUsers sets the value of AlbumUsers.

func (*AddUsersDto) UnmarshalJSON

func (s *AddUsersDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AddUsersDto) Validate

func (s *AddUsersDto) Validate() error

type AddUsersToAlbumParams

type AddUsersToAlbumParams struct {
	ID uuid.UUID
}

AddUsersToAlbumParams is parameters of addUsersToAlbum operation.

type AdminOnboardingUpdateDto

type AdminOnboardingUpdateDto struct {
	IsOnboarded bool `json:"isOnboarded"`
}

Ref: #/components/schemas/AdminOnboardingUpdateDto

func (*AdminOnboardingUpdateDto) Decode

func (s *AdminOnboardingUpdateDto) Decode(d *jx.Decoder) error

Decode decodes AdminOnboardingUpdateDto from json.

func (*AdminOnboardingUpdateDto) Encode

func (s *AdminOnboardingUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AdminOnboardingUpdateDto) GetIsOnboarded

func (s *AdminOnboardingUpdateDto) GetIsOnboarded() bool

GetIsOnboarded returns the value of IsOnboarded.

func (*AdminOnboardingUpdateDto) MarshalJSON

func (s *AdminOnboardingUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AdminOnboardingUpdateDto) SetIsOnboarded

func (s *AdminOnboardingUpdateDto) SetIsOnboarded(val bool)

SetIsOnboarded sets the value of IsOnboarded.

func (*AdminOnboardingUpdateDto) UnmarshalJSON

func (s *AdminOnboardingUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AlbumResponseDto

type AlbumResponseDto struct {
	AlbumName                  string                 `json:"albumName"`
	AlbumThumbnailAssetId      NilString              `json:"albumThumbnailAssetId"`
	AlbumUsers                 []AlbumUserResponseDto `json:"albumUsers"`
	AssetCount                 int                    `json:"assetCount"`
	Assets                     []AssetResponseDto     `json:"assets"`
	CreatedAt                  time.Time              `json:"createdAt"`
	Description                string                 `json:"description"`
	EndDate                    OptDateTime            `json:"endDate"`
	HasSharedLink              bool                   `json:"hasSharedLink"`
	ID                         string                 `json:"id"`
	IsActivityEnabled          bool                   `json:"isActivityEnabled"`
	LastModifiedAssetTimestamp OptDateTime            `json:"lastModifiedAssetTimestamp"`
	Order                      OptAssetOrder          `json:"order"`
	Owner                      UserResponseDto        `json:"owner"`
	OwnerId                    string                 `json:"ownerId"`
	Shared                     bool                   `json:"shared"`
	StartDate                  OptDateTime            `json:"startDate"`
	UpdatedAt                  time.Time              `json:"updatedAt"`
}

Ref: #/components/schemas/AlbumResponseDto

func (*AlbumResponseDto) Decode

func (s *AlbumResponseDto) Decode(d *jx.Decoder) error

Decode decodes AlbumResponseDto from json.

func (*AlbumResponseDto) Encode

func (s *AlbumResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AlbumResponseDto) GetAlbumName

func (s *AlbumResponseDto) GetAlbumName() string

GetAlbumName returns the value of AlbumName.

func (*AlbumResponseDto) GetAlbumThumbnailAssetId

func (s *AlbumResponseDto) GetAlbumThumbnailAssetId() NilString

GetAlbumThumbnailAssetId returns the value of AlbumThumbnailAssetId.

func (*AlbumResponseDto) GetAlbumUsers

func (s *AlbumResponseDto) GetAlbumUsers() []AlbumUserResponseDto

GetAlbumUsers returns the value of AlbumUsers.

func (*AlbumResponseDto) GetAssetCount

func (s *AlbumResponseDto) GetAssetCount() int

GetAssetCount returns the value of AssetCount.

func (*AlbumResponseDto) GetAssets

func (s *AlbumResponseDto) GetAssets() []AssetResponseDto

GetAssets returns the value of Assets.

func (*AlbumResponseDto) GetCreatedAt

func (s *AlbumResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*AlbumResponseDto) GetDescription

func (s *AlbumResponseDto) GetDescription() string

GetDescription returns the value of Description.

func (*AlbumResponseDto) GetEndDate

func (s *AlbumResponseDto) GetEndDate() OptDateTime

GetEndDate returns the value of EndDate.

func (s *AlbumResponseDto) GetHasSharedLink() bool

GetHasSharedLink returns the value of HasSharedLink.

func (*AlbumResponseDto) GetID

func (s *AlbumResponseDto) GetID() string

GetID returns the value of ID.

func (*AlbumResponseDto) GetIsActivityEnabled

func (s *AlbumResponseDto) GetIsActivityEnabled() bool

GetIsActivityEnabled returns the value of IsActivityEnabled.

func (*AlbumResponseDto) GetLastModifiedAssetTimestamp

func (s *AlbumResponseDto) GetLastModifiedAssetTimestamp() OptDateTime

GetLastModifiedAssetTimestamp returns the value of LastModifiedAssetTimestamp.

func (*AlbumResponseDto) GetOrder

func (s *AlbumResponseDto) GetOrder() OptAssetOrder

GetOrder returns the value of Order.

func (*AlbumResponseDto) GetOwner

func (s *AlbumResponseDto) GetOwner() UserResponseDto

GetOwner returns the value of Owner.

func (*AlbumResponseDto) GetOwnerId

func (s *AlbumResponseDto) GetOwnerId() string

GetOwnerId returns the value of OwnerId.

func (*AlbumResponseDto) GetShared

func (s *AlbumResponseDto) GetShared() bool

GetShared returns the value of Shared.

func (*AlbumResponseDto) GetStartDate

func (s *AlbumResponseDto) GetStartDate() OptDateTime

GetStartDate returns the value of StartDate.

func (*AlbumResponseDto) GetUpdatedAt

func (s *AlbumResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*AlbumResponseDto) MarshalJSON

func (s *AlbumResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AlbumResponseDto) SetAlbumName

func (s *AlbumResponseDto) SetAlbumName(val string)

SetAlbumName sets the value of AlbumName.

func (*AlbumResponseDto) SetAlbumThumbnailAssetId

func (s *AlbumResponseDto) SetAlbumThumbnailAssetId(val NilString)

SetAlbumThumbnailAssetId sets the value of AlbumThumbnailAssetId.

func (*AlbumResponseDto) SetAlbumUsers

func (s *AlbumResponseDto) SetAlbumUsers(val []AlbumUserResponseDto)

SetAlbumUsers sets the value of AlbumUsers.

func (*AlbumResponseDto) SetAssetCount

func (s *AlbumResponseDto) SetAssetCount(val int)

SetAssetCount sets the value of AssetCount.

func (*AlbumResponseDto) SetAssets

func (s *AlbumResponseDto) SetAssets(val []AssetResponseDto)

SetAssets sets the value of Assets.

func (*AlbumResponseDto) SetCreatedAt

func (s *AlbumResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*AlbumResponseDto) SetDescription

func (s *AlbumResponseDto) SetDescription(val string)

SetDescription sets the value of Description.

func (*AlbumResponseDto) SetEndDate

func (s *AlbumResponseDto) SetEndDate(val OptDateTime)

SetEndDate sets the value of EndDate.

func (s *AlbumResponseDto) SetHasSharedLink(val bool)

SetHasSharedLink sets the value of HasSharedLink.

func (*AlbumResponseDto) SetID

func (s *AlbumResponseDto) SetID(val string)

SetID sets the value of ID.

func (*AlbumResponseDto) SetIsActivityEnabled

func (s *AlbumResponseDto) SetIsActivityEnabled(val bool)

SetIsActivityEnabled sets the value of IsActivityEnabled.

func (*AlbumResponseDto) SetLastModifiedAssetTimestamp

func (s *AlbumResponseDto) SetLastModifiedAssetTimestamp(val OptDateTime)

SetLastModifiedAssetTimestamp sets the value of LastModifiedAssetTimestamp.

func (*AlbumResponseDto) SetOrder

func (s *AlbumResponseDto) SetOrder(val OptAssetOrder)

SetOrder sets the value of Order.

func (*AlbumResponseDto) SetOwner

func (s *AlbumResponseDto) SetOwner(val UserResponseDto)

SetOwner sets the value of Owner.

func (*AlbumResponseDto) SetOwnerId

func (s *AlbumResponseDto) SetOwnerId(val string)

SetOwnerId sets the value of OwnerId.

func (*AlbumResponseDto) SetShared

func (s *AlbumResponseDto) SetShared(val bool)

SetShared sets the value of Shared.

func (*AlbumResponseDto) SetStartDate

func (s *AlbumResponseDto) SetStartDate(val OptDateTime)

SetStartDate sets the value of StartDate.

func (*AlbumResponseDto) SetUpdatedAt

func (s *AlbumResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*AlbumResponseDto) UnmarshalJSON

func (s *AlbumResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlbumResponseDto) Validate

func (s *AlbumResponseDto) Validate() error

type AlbumStatisticsResponseDto

type AlbumStatisticsResponseDto struct {
	NotShared int `json:"notShared"`
	Owned     int `json:"owned"`
	Shared    int `json:"shared"`
}

Ref: #/components/schemas/AlbumStatisticsResponseDto

func (*AlbumStatisticsResponseDto) Decode

Decode decodes AlbumStatisticsResponseDto from json.

func (*AlbumStatisticsResponseDto) Encode

func (s *AlbumStatisticsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AlbumStatisticsResponseDto) GetNotShared

func (s *AlbumStatisticsResponseDto) GetNotShared() int

GetNotShared returns the value of NotShared.

func (*AlbumStatisticsResponseDto) GetOwned

func (s *AlbumStatisticsResponseDto) GetOwned() int

GetOwned returns the value of Owned.

func (*AlbumStatisticsResponseDto) GetShared

func (s *AlbumStatisticsResponseDto) GetShared() int

GetShared returns the value of Shared.

func (*AlbumStatisticsResponseDto) MarshalJSON

func (s *AlbumStatisticsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AlbumStatisticsResponseDto) SetNotShared

func (s *AlbumStatisticsResponseDto) SetNotShared(val int)

SetNotShared sets the value of NotShared.

func (*AlbumStatisticsResponseDto) SetOwned

func (s *AlbumStatisticsResponseDto) SetOwned(val int)

SetOwned sets the value of Owned.

func (*AlbumStatisticsResponseDto) SetShared

func (s *AlbumStatisticsResponseDto) SetShared(val int)

SetShared sets the value of Shared.

func (*AlbumStatisticsResponseDto) UnmarshalJSON

func (s *AlbumStatisticsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AlbumUserAddDto

type AlbumUserAddDto struct {
	Role   OptAlbumUserRole `json:"role"`
	UserId uuid.UUID        `json:"userId"`
}

Ref: #/components/schemas/AlbumUserAddDto

func (*AlbumUserAddDto) Decode

func (s *AlbumUserAddDto) Decode(d *jx.Decoder) error

Decode decodes AlbumUserAddDto from json.

func (*AlbumUserAddDto) Encode

func (s *AlbumUserAddDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AlbumUserAddDto) GetRole

func (s *AlbumUserAddDto) GetRole() OptAlbumUserRole

GetRole returns the value of Role.

func (*AlbumUserAddDto) GetUserId

func (s *AlbumUserAddDto) GetUserId() uuid.UUID

GetUserId returns the value of UserId.

func (*AlbumUserAddDto) MarshalJSON

func (s *AlbumUserAddDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AlbumUserAddDto) SetRole

func (s *AlbumUserAddDto) SetRole(val OptAlbumUserRole)

SetRole sets the value of Role.

func (*AlbumUserAddDto) SetUserId

func (s *AlbumUserAddDto) SetUserId(val uuid.UUID)

SetUserId sets the value of UserId.

func (*AlbumUserAddDto) UnmarshalJSON

func (s *AlbumUserAddDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlbumUserAddDto) Validate

func (s *AlbumUserAddDto) Validate() error

type AlbumUserCreateDto

type AlbumUserCreateDto struct {
	Role   AlbumUserRole `json:"role"`
	UserId uuid.UUID     `json:"userId"`
}

Ref: #/components/schemas/AlbumUserCreateDto

func (*AlbumUserCreateDto) Decode

func (s *AlbumUserCreateDto) Decode(d *jx.Decoder) error

Decode decodes AlbumUserCreateDto from json.

func (*AlbumUserCreateDto) Encode

func (s *AlbumUserCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AlbumUserCreateDto) GetRole

func (s *AlbumUserCreateDto) GetRole() AlbumUserRole

GetRole returns the value of Role.

func (*AlbumUserCreateDto) GetUserId

func (s *AlbumUserCreateDto) GetUserId() uuid.UUID

GetUserId returns the value of UserId.

func (*AlbumUserCreateDto) MarshalJSON

func (s *AlbumUserCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AlbumUserCreateDto) SetRole

func (s *AlbumUserCreateDto) SetRole(val AlbumUserRole)

SetRole sets the value of Role.

func (*AlbumUserCreateDto) SetUserId

func (s *AlbumUserCreateDto) SetUserId(val uuid.UUID)

SetUserId sets the value of UserId.

func (*AlbumUserCreateDto) UnmarshalJSON

func (s *AlbumUserCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlbumUserCreateDto) Validate

func (s *AlbumUserCreateDto) Validate() error

type AlbumUserResponseDto

type AlbumUserResponseDto struct {
	Role AlbumUserRole   `json:"role"`
	User UserResponseDto `json:"user"`
}

Ref: #/components/schemas/AlbumUserResponseDto

func (*AlbumUserResponseDto) Decode

func (s *AlbumUserResponseDto) Decode(d *jx.Decoder) error

Decode decodes AlbumUserResponseDto from json.

func (*AlbumUserResponseDto) Encode

func (s *AlbumUserResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AlbumUserResponseDto) GetRole

func (s *AlbumUserResponseDto) GetRole() AlbumUserRole

GetRole returns the value of Role.

func (*AlbumUserResponseDto) GetUser

GetUser returns the value of User.

func (*AlbumUserResponseDto) MarshalJSON

func (s *AlbumUserResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AlbumUserResponseDto) SetRole

func (s *AlbumUserResponseDto) SetRole(val AlbumUserRole)

SetRole sets the value of Role.

func (*AlbumUserResponseDto) SetUser

func (s *AlbumUserResponseDto) SetUser(val UserResponseDto)

SetUser sets the value of User.

func (*AlbumUserResponseDto) UnmarshalJSON

func (s *AlbumUserResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlbumUserResponseDto) Validate

func (s *AlbumUserResponseDto) Validate() error

type AlbumUserRole

type AlbumUserRole string

Ref: #/components/schemas/AlbumUserRole

const (
	AlbumUserRoleEditor AlbumUserRole = "editor"
	AlbumUserRoleViewer AlbumUserRole = "viewer"
)

func (AlbumUserRole) AllValues

func (AlbumUserRole) AllValues() []AlbumUserRole

AllValues returns all AlbumUserRole values.

func (*AlbumUserRole) Decode

func (s *AlbumUserRole) Decode(d *jx.Decoder) error

Decode decodes AlbumUserRole from json.

func (AlbumUserRole) Encode

func (s AlbumUserRole) Encode(e *jx.Encoder)

Encode encodes AlbumUserRole as json.

func (AlbumUserRole) MarshalJSON

func (s AlbumUserRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AlbumUserRole) MarshalText

func (s AlbumUserRole) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AlbumUserRole) UnmarshalJSON

func (s *AlbumUserRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AlbumUserRole) UnmarshalText

func (s *AlbumUserRole) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AlbumUserRole) Validate

func (s AlbumUserRole) Validate() error

type AllJobStatusResponseDto

type AllJobStatusResponseDto struct {
	BackgroundTask           JobStatusDto `json:"backgroundTask"`
	BackupDatabase           JobStatusDto `json:"backupDatabase"`
	DuplicateDetection       JobStatusDto `json:"duplicateDetection"`
	FaceDetection            JobStatusDto `json:"faceDetection"`
	FacialRecognition        JobStatusDto `json:"facialRecognition"`
	Library                  JobStatusDto `json:"library"`
	MetadataExtraction       JobStatusDto `json:"metadataExtraction"`
	Migration                JobStatusDto `json:"migration"`
	Notifications            JobStatusDto `json:"notifications"`
	Search                   JobStatusDto `json:"search"`
	Sidecar                  JobStatusDto `json:"sidecar"`
	SmartSearch              JobStatusDto `json:"smartSearch"`
	StorageTemplateMigration JobStatusDto `json:"storageTemplateMigration"`
	ThumbnailGeneration      JobStatusDto `json:"thumbnailGeneration"`
	VideoConversion          JobStatusDto `json:"videoConversion"`
}

Ref: #/components/schemas/AllJobStatusResponseDto

func (*AllJobStatusResponseDto) Decode

func (s *AllJobStatusResponseDto) Decode(d *jx.Decoder) error

Decode decodes AllJobStatusResponseDto from json.

func (*AllJobStatusResponseDto) Encode

func (s *AllJobStatusResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AllJobStatusResponseDto) GetBackgroundTask

func (s *AllJobStatusResponseDto) GetBackgroundTask() JobStatusDto

GetBackgroundTask returns the value of BackgroundTask.

func (*AllJobStatusResponseDto) GetBackupDatabase

func (s *AllJobStatusResponseDto) GetBackupDatabase() JobStatusDto

GetBackupDatabase returns the value of BackupDatabase.

func (*AllJobStatusResponseDto) GetDuplicateDetection

func (s *AllJobStatusResponseDto) GetDuplicateDetection() JobStatusDto

GetDuplicateDetection returns the value of DuplicateDetection.

func (*AllJobStatusResponseDto) GetFaceDetection

func (s *AllJobStatusResponseDto) GetFaceDetection() JobStatusDto

GetFaceDetection returns the value of FaceDetection.

func (*AllJobStatusResponseDto) GetFacialRecognition

func (s *AllJobStatusResponseDto) GetFacialRecognition() JobStatusDto

GetFacialRecognition returns the value of FacialRecognition.

func (*AllJobStatusResponseDto) GetLibrary

func (s *AllJobStatusResponseDto) GetLibrary() JobStatusDto

GetLibrary returns the value of Library.

func (*AllJobStatusResponseDto) GetMetadataExtraction

func (s *AllJobStatusResponseDto) GetMetadataExtraction() JobStatusDto

GetMetadataExtraction returns the value of MetadataExtraction.

func (*AllJobStatusResponseDto) GetMigration

func (s *AllJobStatusResponseDto) GetMigration() JobStatusDto

GetMigration returns the value of Migration.

func (*AllJobStatusResponseDto) GetNotifications

func (s *AllJobStatusResponseDto) GetNotifications() JobStatusDto

GetNotifications returns the value of Notifications.

func (*AllJobStatusResponseDto) GetSearch

func (s *AllJobStatusResponseDto) GetSearch() JobStatusDto

GetSearch returns the value of Search.

func (*AllJobStatusResponseDto) GetSidecar

func (s *AllJobStatusResponseDto) GetSidecar() JobStatusDto

GetSidecar returns the value of Sidecar.

func (*AllJobStatusResponseDto) GetSmartSearch

func (s *AllJobStatusResponseDto) GetSmartSearch() JobStatusDto

GetSmartSearch returns the value of SmartSearch.

func (*AllJobStatusResponseDto) GetStorageTemplateMigration

func (s *AllJobStatusResponseDto) GetStorageTemplateMigration() JobStatusDto

GetStorageTemplateMigration returns the value of StorageTemplateMigration.

func (*AllJobStatusResponseDto) GetThumbnailGeneration

func (s *AllJobStatusResponseDto) GetThumbnailGeneration() JobStatusDto

GetThumbnailGeneration returns the value of ThumbnailGeneration.

func (*AllJobStatusResponseDto) GetVideoConversion

func (s *AllJobStatusResponseDto) GetVideoConversion() JobStatusDto

GetVideoConversion returns the value of VideoConversion.

func (*AllJobStatusResponseDto) MarshalJSON

func (s *AllJobStatusResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AllJobStatusResponseDto) SetBackgroundTask

func (s *AllJobStatusResponseDto) SetBackgroundTask(val JobStatusDto)

SetBackgroundTask sets the value of BackgroundTask.

func (*AllJobStatusResponseDto) SetBackupDatabase

func (s *AllJobStatusResponseDto) SetBackupDatabase(val JobStatusDto)

SetBackupDatabase sets the value of BackupDatabase.

func (*AllJobStatusResponseDto) SetDuplicateDetection

func (s *AllJobStatusResponseDto) SetDuplicateDetection(val JobStatusDto)

SetDuplicateDetection sets the value of DuplicateDetection.

func (*AllJobStatusResponseDto) SetFaceDetection

func (s *AllJobStatusResponseDto) SetFaceDetection(val JobStatusDto)

SetFaceDetection sets the value of FaceDetection.

func (*AllJobStatusResponseDto) SetFacialRecognition

func (s *AllJobStatusResponseDto) SetFacialRecognition(val JobStatusDto)

SetFacialRecognition sets the value of FacialRecognition.

func (*AllJobStatusResponseDto) SetLibrary

func (s *AllJobStatusResponseDto) SetLibrary(val JobStatusDto)

SetLibrary sets the value of Library.

func (*AllJobStatusResponseDto) SetMetadataExtraction

func (s *AllJobStatusResponseDto) SetMetadataExtraction(val JobStatusDto)

SetMetadataExtraction sets the value of MetadataExtraction.

func (*AllJobStatusResponseDto) SetMigration

func (s *AllJobStatusResponseDto) SetMigration(val JobStatusDto)

SetMigration sets the value of Migration.

func (*AllJobStatusResponseDto) SetNotifications

func (s *AllJobStatusResponseDto) SetNotifications(val JobStatusDto)

SetNotifications sets the value of Notifications.

func (*AllJobStatusResponseDto) SetSearch

func (s *AllJobStatusResponseDto) SetSearch(val JobStatusDto)

SetSearch sets the value of Search.

func (*AllJobStatusResponseDto) SetSidecar

func (s *AllJobStatusResponseDto) SetSidecar(val JobStatusDto)

SetSidecar sets the value of Sidecar.

func (*AllJobStatusResponseDto) SetSmartSearch

func (s *AllJobStatusResponseDto) SetSmartSearch(val JobStatusDto)

SetSmartSearch sets the value of SmartSearch.

func (*AllJobStatusResponseDto) SetStorageTemplateMigration

func (s *AllJobStatusResponseDto) SetStorageTemplateMigration(val JobStatusDto)

SetStorageTemplateMigration sets the value of StorageTemplateMigration.

func (*AllJobStatusResponseDto) SetThumbnailGeneration

func (s *AllJobStatusResponseDto) SetThumbnailGeneration(val JobStatusDto)

SetThumbnailGeneration sets the value of ThumbnailGeneration.

func (*AllJobStatusResponseDto) SetVideoConversion

func (s *AllJobStatusResponseDto) SetVideoConversion(val JobStatusDto)

SetVideoConversion sets the value of VideoConversion.

func (*AllJobStatusResponseDto) UnmarshalJSON

func (s *AllJobStatusResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AssetBulkDeleteDto

type AssetBulkDeleteDto struct {
	Force OptBool     `json:"force"`
	Ids   []uuid.UUID `json:"ids"`
}

Ref: #/components/schemas/AssetBulkDeleteDto

func (*AssetBulkDeleteDto) Decode

func (s *AssetBulkDeleteDto) Decode(d *jx.Decoder) error

Decode decodes AssetBulkDeleteDto from json.

func (*AssetBulkDeleteDto) Encode

func (s *AssetBulkDeleteDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetBulkDeleteDto) GetForce

func (s *AssetBulkDeleteDto) GetForce() OptBool

GetForce returns the value of Force.

func (*AssetBulkDeleteDto) GetIds

func (s *AssetBulkDeleteDto) GetIds() []uuid.UUID

GetIds returns the value of Ids.

func (*AssetBulkDeleteDto) MarshalJSON

func (s *AssetBulkDeleteDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetBulkDeleteDto) SetForce

func (s *AssetBulkDeleteDto) SetForce(val OptBool)

SetForce sets the value of Force.

func (*AssetBulkDeleteDto) SetIds

func (s *AssetBulkDeleteDto) SetIds(val []uuid.UUID)

SetIds sets the value of Ids.

func (*AssetBulkDeleteDto) UnmarshalJSON

func (s *AssetBulkDeleteDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkDeleteDto) Validate

func (s *AssetBulkDeleteDto) Validate() error

type AssetBulkUpdateDto

type AssetBulkUpdateDto struct {
	DateTimeOriginal OptString    `json:"dateTimeOriginal"`
	DuplicateId      OptNilString `json:"duplicateId"`
	Ids              []uuid.UUID  `json:"ids"`
	IsArchived       OptBool      `json:"isArchived"`
	IsFavorite       OptBool      `json:"isFavorite"`
	Latitude         OptFloat64   `json:"latitude"`
	Longitude        OptFloat64   `json:"longitude"`
	Rating           OptFloat64   `json:"rating"`
}

Ref: #/components/schemas/AssetBulkUpdateDto

func (*AssetBulkUpdateDto) Decode

func (s *AssetBulkUpdateDto) Decode(d *jx.Decoder) error

Decode decodes AssetBulkUpdateDto from json.

func (*AssetBulkUpdateDto) Encode

func (s *AssetBulkUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetBulkUpdateDto) GetDateTimeOriginal

func (s *AssetBulkUpdateDto) GetDateTimeOriginal() OptString

GetDateTimeOriginal returns the value of DateTimeOriginal.

func (*AssetBulkUpdateDto) GetDuplicateId

func (s *AssetBulkUpdateDto) GetDuplicateId() OptNilString

GetDuplicateId returns the value of DuplicateId.

func (*AssetBulkUpdateDto) GetIds

func (s *AssetBulkUpdateDto) GetIds() []uuid.UUID

GetIds returns the value of Ids.

func (*AssetBulkUpdateDto) GetIsArchived

func (s *AssetBulkUpdateDto) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*AssetBulkUpdateDto) GetIsFavorite

func (s *AssetBulkUpdateDto) GetIsFavorite() OptBool

GetIsFavorite returns the value of IsFavorite.

func (*AssetBulkUpdateDto) GetLatitude

func (s *AssetBulkUpdateDto) GetLatitude() OptFloat64

GetLatitude returns the value of Latitude.

func (*AssetBulkUpdateDto) GetLongitude

func (s *AssetBulkUpdateDto) GetLongitude() OptFloat64

GetLongitude returns the value of Longitude.

func (*AssetBulkUpdateDto) GetRating

func (s *AssetBulkUpdateDto) GetRating() OptFloat64

GetRating returns the value of Rating.

func (*AssetBulkUpdateDto) MarshalJSON

func (s *AssetBulkUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetBulkUpdateDto) SetDateTimeOriginal

func (s *AssetBulkUpdateDto) SetDateTimeOriginal(val OptString)

SetDateTimeOriginal sets the value of DateTimeOriginal.

func (*AssetBulkUpdateDto) SetDuplicateId

func (s *AssetBulkUpdateDto) SetDuplicateId(val OptNilString)

SetDuplicateId sets the value of DuplicateId.

func (*AssetBulkUpdateDto) SetIds

func (s *AssetBulkUpdateDto) SetIds(val []uuid.UUID)

SetIds sets the value of Ids.

func (*AssetBulkUpdateDto) SetIsArchived

func (s *AssetBulkUpdateDto) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*AssetBulkUpdateDto) SetIsFavorite

func (s *AssetBulkUpdateDto) SetIsFavorite(val OptBool)

SetIsFavorite sets the value of IsFavorite.

func (*AssetBulkUpdateDto) SetLatitude

func (s *AssetBulkUpdateDto) SetLatitude(val OptFloat64)

SetLatitude sets the value of Latitude.

func (*AssetBulkUpdateDto) SetLongitude

func (s *AssetBulkUpdateDto) SetLongitude(val OptFloat64)

SetLongitude sets the value of Longitude.

func (*AssetBulkUpdateDto) SetRating

func (s *AssetBulkUpdateDto) SetRating(val OptFloat64)

SetRating sets the value of Rating.

func (*AssetBulkUpdateDto) UnmarshalJSON

func (s *AssetBulkUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkUpdateDto) Validate

func (s *AssetBulkUpdateDto) Validate() error

type AssetBulkUploadCheckDto

type AssetBulkUploadCheckDto struct {
	Assets []AssetBulkUploadCheckItem `json:"assets"`
}

Ref: #/components/schemas/AssetBulkUploadCheckDto

func (*AssetBulkUploadCheckDto) Decode

func (s *AssetBulkUploadCheckDto) Decode(d *jx.Decoder) error

Decode decodes AssetBulkUploadCheckDto from json.

func (*AssetBulkUploadCheckDto) Encode

func (s *AssetBulkUploadCheckDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetBulkUploadCheckDto) GetAssets

GetAssets returns the value of Assets.

func (*AssetBulkUploadCheckDto) MarshalJSON

func (s *AssetBulkUploadCheckDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetBulkUploadCheckDto) SetAssets

SetAssets sets the value of Assets.

func (*AssetBulkUploadCheckDto) UnmarshalJSON

func (s *AssetBulkUploadCheckDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkUploadCheckDto) Validate

func (s *AssetBulkUploadCheckDto) Validate() error

type AssetBulkUploadCheckItem

type AssetBulkUploadCheckItem struct {
	// Base64 or hex encoded sha1 hash.
	Checksum string `json:"checksum"`
	ID       string `json:"id"`
}

Ref: #/components/schemas/AssetBulkUploadCheckItem

func (*AssetBulkUploadCheckItem) Decode

func (s *AssetBulkUploadCheckItem) Decode(d *jx.Decoder) error

Decode decodes AssetBulkUploadCheckItem from json.

func (*AssetBulkUploadCheckItem) Encode

func (s *AssetBulkUploadCheckItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetBulkUploadCheckItem) GetChecksum

func (s *AssetBulkUploadCheckItem) GetChecksum() string

GetChecksum returns the value of Checksum.

func (*AssetBulkUploadCheckItem) GetID

func (s *AssetBulkUploadCheckItem) GetID() string

GetID returns the value of ID.

func (*AssetBulkUploadCheckItem) MarshalJSON

func (s *AssetBulkUploadCheckItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetBulkUploadCheckItem) SetChecksum

func (s *AssetBulkUploadCheckItem) SetChecksum(val string)

SetChecksum sets the value of Checksum.

func (*AssetBulkUploadCheckItem) SetID

func (s *AssetBulkUploadCheckItem) SetID(val string)

SetID sets the value of ID.

func (*AssetBulkUploadCheckItem) UnmarshalJSON

func (s *AssetBulkUploadCheckItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AssetBulkUploadCheckResponseDto

type AssetBulkUploadCheckResponseDto struct {
	Results []AssetBulkUploadCheckResult `json:"results"`
}

Ref: #/components/schemas/AssetBulkUploadCheckResponseDto

func (*AssetBulkUploadCheckResponseDto) Decode

Decode decodes AssetBulkUploadCheckResponseDto from json.

func (*AssetBulkUploadCheckResponseDto) Encode

Encode implements json.Marshaler.

func (*AssetBulkUploadCheckResponseDto) GetResults

GetResults returns the value of Results.

func (*AssetBulkUploadCheckResponseDto) MarshalJSON

func (s *AssetBulkUploadCheckResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetBulkUploadCheckResponseDto) SetResults

SetResults sets the value of Results.

func (*AssetBulkUploadCheckResponseDto) UnmarshalJSON

func (s *AssetBulkUploadCheckResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkUploadCheckResponseDto) Validate

func (s *AssetBulkUploadCheckResponseDto) Validate() error

type AssetBulkUploadCheckResult

type AssetBulkUploadCheckResult struct {
	Action    AssetBulkUploadCheckResultAction    `json:"action"`
	AssetId   OptString                           `json:"assetId"`
	ID        string                              `json:"id"`
	IsTrashed OptBool                             `json:"isTrashed"`
	Reason    OptAssetBulkUploadCheckResultReason `json:"reason"`
}

Ref: #/components/schemas/AssetBulkUploadCheckResult

func (*AssetBulkUploadCheckResult) Decode

Decode decodes AssetBulkUploadCheckResult from json.

func (*AssetBulkUploadCheckResult) Encode

func (s *AssetBulkUploadCheckResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetBulkUploadCheckResult) GetAction

GetAction returns the value of Action.

func (*AssetBulkUploadCheckResult) GetAssetId

func (s *AssetBulkUploadCheckResult) GetAssetId() OptString

GetAssetId returns the value of AssetId.

func (*AssetBulkUploadCheckResult) GetID

GetID returns the value of ID.

func (*AssetBulkUploadCheckResult) GetIsTrashed

func (s *AssetBulkUploadCheckResult) GetIsTrashed() OptBool

GetIsTrashed returns the value of IsTrashed.

func (*AssetBulkUploadCheckResult) GetReason

GetReason returns the value of Reason.

func (*AssetBulkUploadCheckResult) MarshalJSON

func (s *AssetBulkUploadCheckResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetBulkUploadCheckResult) SetAction

SetAction sets the value of Action.

func (*AssetBulkUploadCheckResult) SetAssetId

func (s *AssetBulkUploadCheckResult) SetAssetId(val OptString)

SetAssetId sets the value of AssetId.

func (*AssetBulkUploadCheckResult) SetID

func (s *AssetBulkUploadCheckResult) SetID(val string)

SetID sets the value of ID.

func (*AssetBulkUploadCheckResult) SetIsTrashed

func (s *AssetBulkUploadCheckResult) SetIsTrashed(val OptBool)

SetIsTrashed sets the value of IsTrashed.

func (*AssetBulkUploadCheckResult) SetReason

SetReason sets the value of Reason.

func (*AssetBulkUploadCheckResult) UnmarshalJSON

func (s *AssetBulkUploadCheckResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkUploadCheckResult) Validate

func (s *AssetBulkUploadCheckResult) Validate() error

type AssetBulkUploadCheckResultAction

type AssetBulkUploadCheckResultAction string
const (
	AssetBulkUploadCheckResultActionAccept AssetBulkUploadCheckResultAction = "accept"
	AssetBulkUploadCheckResultActionReject AssetBulkUploadCheckResultAction = "reject"
)

func (AssetBulkUploadCheckResultAction) AllValues

AllValues returns all AssetBulkUploadCheckResultAction values.

func (*AssetBulkUploadCheckResultAction) Decode

Decode decodes AssetBulkUploadCheckResultAction from json.

func (AssetBulkUploadCheckResultAction) Encode

Encode encodes AssetBulkUploadCheckResultAction as json.

func (AssetBulkUploadCheckResultAction) MarshalJSON

func (s AssetBulkUploadCheckResultAction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetBulkUploadCheckResultAction) MarshalText

func (s AssetBulkUploadCheckResultAction) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetBulkUploadCheckResultAction) UnmarshalJSON

func (s *AssetBulkUploadCheckResultAction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkUploadCheckResultAction) UnmarshalText

func (s *AssetBulkUploadCheckResultAction) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetBulkUploadCheckResultAction) Validate

type AssetBulkUploadCheckResultReason

type AssetBulkUploadCheckResultReason string
const (
	AssetBulkUploadCheckResultReasonDuplicate         AssetBulkUploadCheckResultReason = "duplicate"
	AssetBulkUploadCheckResultReasonUnsupportedFormat AssetBulkUploadCheckResultReason = "unsupported-format"
)

func (AssetBulkUploadCheckResultReason) AllValues

AllValues returns all AssetBulkUploadCheckResultReason values.

func (*AssetBulkUploadCheckResultReason) Decode

Decode decodes AssetBulkUploadCheckResultReason from json.

func (AssetBulkUploadCheckResultReason) Encode

Encode encodes AssetBulkUploadCheckResultReason as json.

func (AssetBulkUploadCheckResultReason) MarshalJSON

func (s AssetBulkUploadCheckResultReason) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetBulkUploadCheckResultReason) MarshalText

func (s AssetBulkUploadCheckResultReason) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetBulkUploadCheckResultReason) UnmarshalJSON

func (s *AssetBulkUploadCheckResultReason) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetBulkUploadCheckResultReason) UnmarshalText

func (s *AssetBulkUploadCheckResultReason) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetBulkUploadCheckResultReason) Validate

type AssetDeltaSyncDto

type AssetDeltaSyncDto struct {
	UpdatedAfter time.Time   `json:"updatedAfter"`
	UserIds      []uuid.UUID `json:"userIds"`
}

Ref: #/components/schemas/AssetDeltaSyncDto

func (*AssetDeltaSyncDto) Decode

func (s *AssetDeltaSyncDto) Decode(d *jx.Decoder) error

Decode decodes AssetDeltaSyncDto from json.

func (*AssetDeltaSyncDto) Encode

func (s *AssetDeltaSyncDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetDeltaSyncDto) GetUpdatedAfter

func (s *AssetDeltaSyncDto) GetUpdatedAfter() time.Time

GetUpdatedAfter returns the value of UpdatedAfter.

func (*AssetDeltaSyncDto) GetUserIds

func (s *AssetDeltaSyncDto) GetUserIds() []uuid.UUID

GetUserIds returns the value of UserIds.

func (*AssetDeltaSyncDto) MarshalJSON

func (s *AssetDeltaSyncDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetDeltaSyncDto) SetUpdatedAfter

func (s *AssetDeltaSyncDto) SetUpdatedAfter(val time.Time)

SetUpdatedAfter sets the value of UpdatedAfter.

func (*AssetDeltaSyncDto) SetUserIds

func (s *AssetDeltaSyncDto) SetUserIds(val []uuid.UUID)

SetUserIds sets the value of UserIds.

func (*AssetDeltaSyncDto) UnmarshalJSON

func (s *AssetDeltaSyncDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetDeltaSyncDto) Validate

func (s *AssetDeltaSyncDto) Validate() error

type AssetDeltaSyncResponseDto

type AssetDeltaSyncResponseDto struct {
	Deleted       []string           `json:"deleted"`
	NeedsFullSync bool               `json:"needsFullSync"`
	Upserted      []AssetResponseDto `json:"upserted"`
}

Ref: #/components/schemas/AssetDeltaSyncResponseDto

func (*AssetDeltaSyncResponseDto) Decode

func (s *AssetDeltaSyncResponseDto) Decode(d *jx.Decoder) error

Decode decodes AssetDeltaSyncResponseDto from json.

func (*AssetDeltaSyncResponseDto) Encode

func (s *AssetDeltaSyncResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetDeltaSyncResponseDto) GetDeleted

func (s *AssetDeltaSyncResponseDto) GetDeleted() []string

GetDeleted returns the value of Deleted.

func (*AssetDeltaSyncResponseDto) GetNeedsFullSync

func (s *AssetDeltaSyncResponseDto) GetNeedsFullSync() bool

GetNeedsFullSync returns the value of NeedsFullSync.

func (*AssetDeltaSyncResponseDto) GetUpserted

func (s *AssetDeltaSyncResponseDto) GetUpserted() []AssetResponseDto

GetUpserted returns the value of Upserted.

func (*AssetDeltaSyncResponseDto) MarshalJSON

func (s *AssetDeltaSyncResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetDeltaSyncResponseDto) SetDeleted

func (s *AssetDeltaSyncResponseDto) SetDeleted(val []string)

SetDeleted sets the value of Deleted.

func (*AssetDeltaSyncResponseDto) SetNeedsFullSync

func (s *AssetDeltaSyncResponseDto) SetNeedsFullSync(val bool)

SetNeedsFullSync sets the value of NeedsFullSync.

func (*AssetDeltaSyncResponseDto) SetUpserted

func (s *AssetDeltaSyncResponseDto) SetUpserted(val []AssetResponseDto)

SetUpserted sets the value of Upserted.

func (*AssetDeltaSyncResponseDto) UnmarshalJSON

func (s *AssetDeltaSyncResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetDeltaSyncResponseDto) Validate

func (s *AssetDeltaSyncResponseDto) Validate() error

type AssetFaceResponseDto

type AssetFaceResponseDto struct {
	BoundingBoxX1 int                           `json:"boundingBoxX1"`
	BoundingBoxX2 int                           `json:"boundingBoxX2"`
	BoundingBoxY1 int                           `json:"boundingBoxY1"`
	BoundingBoxY2 int                           `json:"boundingBoxY2"`
	ID            uuid.UUID                     `json:"id"`
	ImageHeight   int                           `json:"imageHeight"`
	ImageWidth    int                           `json:"imageWidth"`
	Person        NilAssetFaceResponseDtoPerson `json:"person"`
	SourceType    OptSourceType                 `json:"sourceType"`
}

Ref: #/components/schemas/AssetFaceResponseDto

func (*AssetFaceResponseDto) Decode

func (s *AssetFaceResponseDto) Decode(d *jx.Decoder) error

Decode decodes AssetFaceResponseDto from json.

func (*AssetFaceResponseDto) Encode

func (s *AssetFaceResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetFaceResponseDto) GetBoundingBoxX1

func (s *AssetFaceResponseDto) GetBoundingBoxX1() int

GetBoundingBoxX1 returns the value of BoundingBoxX1.

func (*AssetFaceResponseDto) GetBoundingBoxX2

func (s *AssetFaceResponseDto) GetBoundingBoxX2() int

GetBoundingBoxX2 returns the value of BoundingBoxX2.

func (*AssetFaceResponseDto) GetBoundingBoxY1

func (s *AssetFaceResponseDto) GetBoundingBoxY1() int

GetBoundingBoxY1 returns the value of BoundingBoxY1.

func (*AssetFaceResponseDto) GetBoundingBoxY2

func (s *AssetFaceResponseDto) GetBoundingBoxY2() int

GetBoundingBoxY2 returns the value of BoundingBoxY2.

func (*AssetFaceResponseDto) GetID

func (s *AssetFaceResponseDto) GetID() uuid.UUID

GetID returns the value of ID.

func (*AssetFaceResponseDto) GetImageHeight

func (s *AssetFaceResponseDto) GetImageHeight() int

GetImageHeight returns the value of ImageHeight.

func (*AssetFaceResponseDto) GetImageWidth

func (s *AssetFaceResponseDto) GetImageWidth() int

GetImageWidth returns the value of ImageWidth.

func (*AssetFaceResponseDto) GetPerson

GetPerson returns the value of Person.

func (*AssetFaceResponseDto) GetSourceType

func (s *AssetFaceResponseDto) GetSourceType() OptSourceType

GetSourceType returns the value of SourceType.

func (*AssetFaceResponseDto) MarshalJSON

func (s *AssetFaceResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetFaceResponseDto) SetBoundingBoxX1

func (s *AssetFaceResponseDto) SetBoundingBoxX1(val int)

SetBoundingBoxX1 sets the value of BoundingBoxX1.

func (*AssetFaceResponseDto) SetBoundingBoxX2

func (s *AssetFaceResponseDto) SetBoundingBoxX2(val int)

SetBoundingBoxX2 sets the value of BoundingBoxX2.

func (*AssetFaceResponseDto) SetBoundingBoxY1

func (s *AssetFaceResponseDto) SetBoundingBoxY1(val int)

SetBoundingBoxY1 sets the value of BoundingBoxY1.

func (*AssetFaceResponseDto) SetBoundingBoxY2

func (s *AssetFaceResponseDto) SetBoundingBoxY2(val int)

SetBoundingBoxY2 sets the value of BoundingBoxY2.

func (*AssetFaceResponseDto) SetID

func (s *AssetFaceResponseDto) SetID(val uuid.UUID)

SetID sets the value of ID.

func (*AssetFaceResponseDto) SetImageHeight

func (s *AssetFaceResponseDto) SetImageHeight(val int)

SetImageHeight sets the value of ImageHeight.

func (*AssetFaceResponseDto) SetImageWidth

func (s *AssetFaceResponseDto) SetImageWidth(val int)

SetImageWidth sets the value of ImageWidth.

func (*AssetFaceResponseDto) SetPerson

SetPerson sets the value of Person.

func (*AssetFaceResponseDto) SetSourceType

func (s *AssetFaceResponseDto) SetSourceType(val OptSourceType)

SetSourceType sets the value of SourceType.

func (*AssetFaceResponseDto) UnmarshalJSON

func (s *AssetFaceResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetFaceResponseDto) Validate

func (s *AssetFaceResponseDto) Validate() error

type AssetFaceResponseDtoPerson

type AssetFaceResponseDtoPerson struct {
	BirthDate     NilDate `json:"birthDate"`
	ID            string  `json:"id"`
	IsHidden      bool    `json:"isHidden"`
	Name          string  `json:"name"`
	ThumbnailPath string  `json:"thumbnailPath"`
	// This property was added in v1.107.0.
	UpdatedAt OptDateTime `json:"updatedAt"`
}

func (*AssetFaceResponseDtoPerson) Decode

Decode decodes AssetFaceResponseDtoPerson from json.

func (*AssetFaceResponseDtoPerson) Encode

func (s *AssetFaceResponseDtoPerson) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetFaceResponseDtoPerson) GetBirthDate

func (s *AssetFaceResponseDtoPerson) GetBirthDate() NilDate

GetBirthDate returns the value of BirthDate.

func (*AssetFaceResponseDtoPerson) GetID

GetID returns the value of ID.

func (*AssetFaceResponseDtoPerson) GetIsHidden

func (s *AssetFaceResponseDtoPerson) GetIsHidden() bool

GetIsHidden returns the value of IsHidden.

func (*AssetFaceResponseDtoPerson) GetName

func (s *AssetFaceResponseDtoPerson) GetName() string

GetName returns the value of Name.

func (*AssetFaceResponseDtoPerson) GetThumbnailPath

func (s *AssetFaceResponseDtoPerson) GetThumbnailPath() string

GetThumbnailPath returns the value of ThumbnailPath.

func (*AssetFaceResponseDtoPerson) GetUpdatedAt

func (s *AssetFaceResponseDtoPerson) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*AssetFaceResponseDtoPerson) MarshalJSON

func (s *AssetFaceResponseDtoPerson) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetFaceResponseDtoPerson) SetBirthDate

func (s *AssetFaceResponseDtoPerson) SetBirthDate(val NilDate)

SetBirthDate sets the value of BirthDate.

func (*AssetFaceResponseDtoPerson) SetID

func (s *AssetFaceResponseDtoPerson) SetID(val string)

SetID sets the value of ID.

func (*AssetFaceResponseDtoPerson) SetIsHidden

func (s *AssetFaceResponseDtoPerson) SetIsHidden(val bool)

SetIsHidden sets the value of IsHidden.

func (*AssetFaceResponseDtoPerson) SetName

func (s *AssetFaceResponseDtoPerson) SetName(val string)

SetName sets the value of Name.

func (*AssetFaceResponseDtoPerson) SetThumbnailPath

func (s *AssetFaceResponseDtoPerson) SetThumbnailPath(val string)

SetThumbnailPath sets the value of ThumbnailPath.

func (*AssetFaceResponseDtoPerson) SetUpdatedAt

func (s *AssetFaceResponseDtoPerson) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*AssetFaceResponseDtoPerson) UnmarshalJSON

func (s *AssetFaceResponseDtoPerson) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AssetFaceUpdateDto

type AssetFaceUpdateDto struct {
	Data []AssetFaceUpdateItem `json:"data"`
}

Ref: #/components/schemas/AssetFaceUpdateDto

func (*AssetFaceUpdateDto) Decode

func (s *AssetFaceUpdateDto) Decode(d *jx.Decoder) error

Decode decodes AssetFaceUpdateDto from json.

func (*AssetFaceUpdateDto) Encode

func (s *AssetFaceUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetFaceUpdateDto) GetData

func (s *AssetFaceUpdateDto) GetData() []AssetFaceUpdateItem

GetData returns the value of Data.

func (*AssetFaceUpdateDto) MarshalJSON

func (s *AssetFaceUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetFaceUpdateDto) SetData

func (s *AssetFaceUpdateDto) SetData(val []AssetFaceUpdateItem)

SetData sets the value of Data.

func (*AssetFaceUpdateDto) UnmarshalJSON

func (s *AssetFaceUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetFaceUpdateDto) Validate

func (s *AssetFaceUpdateDto) Validate() error

type AssetFaceUpdateItem

type AssetFaceUpdateItem struct {
	AssetId  uuid.UUID `json:"assetId"`
	PersonId uuid.UUID `json:"personId"`
}

Ref: #/components/schemas/AssetFaceUpdateItem

func (*AssetFaceUpdateItem) Decode

func (s *AssetFaceUpdateItem) Decode(d *jx.Decoder) error

Decode decodes AssetFaceUpdateItem from json.

func (*AssetFaceUpdateItem) Encode

func (s *AssetFaceUpdateItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetFaceUpdateItem) GetAssetId

func (s *AssetFaceUpdateItem) GetAssetId() uuid.UUID

GetAssetId returns the value of AssetId.

func (*AssetFaceUpdateItem) GetPersonId

func (s *AssetFaceUpdateItem) GetPersonId() uuid.UUID

GetPersonId returns the value of PersonId.

func (*AssetFaceUpdateItem) MarshalJSON

func (s *AssetFaceUpdateItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetFaceUpdateItem) SetAssetId

func (s *AssetFaceUpdateItem) SetAssetId(val uuid.UUID)

SetAssetId sets the value of AssetId.

func (*AssetFaceUpdateItem) SetPersonId

func (s *AssetFaceUpdateItem) SetPersonId(val uuid.UUID)

SetPersonId sets the value of PersonId.

func (*AssetFaceUpdateItem) UnmarshalJSON

func (s *AssetFaceUpdateItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AssetFaceWithoutPersonResponseDto

type AssetFaceWithoutPersonResponseDto struct {
	BoundingBoxX1 int           `json:"boundingBoxX1"`
	BoundingBoxX2 int           `json:"boundingBoxX2"`
	BoundingBoxY1 int           `json:"boundingBoxY1"`
	BoundingBoxY2 int           `json:"boundingBoxY2"`
	ID            uuid.UUID     `json:"id"`
	ImageHeight   int           `json:"imageHeight"`
	ImageWidth    int           `json:"imageWidth"`
	SourceType    OptSourceType `json:"sourceType"`
}

Ref: #/components/schemas/AssetFaceWithoutPersonResponseDto

func (*AssetFaceWithoutPersonResponseDto) Decode

Decode decodes AssetFaceWithoutPersonResponseDto from json.

func (*AssetFaceWithoutPersonResponseDto) Encode

Encode implements json.Marshaler.

func (*AssetFaceWithoutPersonResponseDto) GetBoundingBoxX1

func (s *AssetFaceWithoutPersonResponseDto) GetBoundingBoxX1() int

GetBoundingBoxX1 returns the value of BoundingBoxX1.

func (*AssetFaceWithoutPersonResponseDto) GetBoundingBoxX2

func (s *AssetFaceWithoutPersonResponseDto) GetBoundingBoxX2() int

GetBoundingBoxX2 returns the value of BoundingBoxX2.

func (*AssetFaceWithoutPersonResponseDto) GetBoundingBoxY1

func (s *AssetFaceWithoutPersonResponseDto) GetBoundingBoxY1() int

GetBoundingBoxY1 returns the value of BoundingBoxY1.

func (*AssetFaceWithoutPersonResponseDto) GetBoundingBoxY2

func (s *AssetFaceWithoutPersonResponseDto) GetBoundingBoxY2() int

GetBoundingBoxY2 returns the value of BoundingBoxY2.

func (*AssetFaceWithoutPersonResponseDto) GetID

GetID returns the value of ID.

func (*AssetFaceWithoutPersonResponseDto) GetImageHeight

func (s *AssetFaceWithoutPersonResponseDto) GetImageHeight() int

GetImageHeight returns the value of ImageHeight.

func (*AssetFaceWithoutPersonResponseDto) GetImageWidth

func (s *AssetFaceWithoutPersonResponseDto) GetImageWidth() int

GetImageWidth returns the value of ImageWidth.

func (*AssetFaceWithoutPersonResponseDto) GetSourceType

GetSourceType returns the value of SourceType.

func (*AssetFaceWithoutPersonResponseDto) MarshalJSON

func (s *AssetFaceWithoutPersonResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetFaceWithoutPersonResponseDto) SetBoundingBoxX1

func (s *AssetFaceWithoutPersonResponseDto) SetBoundingBoxX1(val int)

SetBoundingBoxX1 sets the value of BoundingBoxX1.

func (*AssetFaceWithoutPersonResponseDto) SetBoundingBoxX2

func (s *AssetFaceWithoutPersonResponseDto) SetBoundingBoxX2(val int)

SetBoundingBoxX2 sets the value of BoundingBoxX2.

func (*AssetFaceWithoutPersonResponseDto) SetBoundingBoxY1

func (s *AssetFaceWithoutPersonResponseDto) SetBoundingBoxY1(val int)

SetBoundingBoxY1 sets the value of BoundingBoxY1.

func (*AssetFaceWithoutPersonResponseDto) SetBoundingBoxY2

func (s *AssetFaceWithoutPersonResponseDto) SetBoundingBoxY2(val int)

SetBoundingBoxY2 sets the value of BoundingBoxY2.

func (*AssetFaceWithoutPersonResponseDto) SetID

SetID sets the value of ID.

func (*AssetFaceWithoutPersonResponseDto) SetImageHeight

func (s *AssetFaceWithoutPersonResponseDto) SetImageHeight(val int)

SetImageHeight sets the value of ImageHeight.

func (*AssetFaceWithoutPersonResponseDto) SetImageWidth

func (s *AssetFaceWithoutPersonResponseDto) SetImageWidth(val int)

SetImageWidth sets the value of ImageWidth.

func (*AssetFaceWithoutPersonResponseDto) SetSourceType

func (s *AssetFaceWithoutPersonResponseDto) SetSourceType(val OptSourceType)

SetSourceType sets the value of SourceType.

func (*AssetFaceWithoutPersonResponseDto) UnmarshalJSON

func (s *AssetFaceWithoutPersonResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetFaceWithoutPersonResponseDto) Validate

type AssetFullSyncDto

type AssetFullSyncDto struct {
	LastId       OptUUID   `json:"lastId"`
	Limit        int       `json:"limit"`
	UpdatedUntil time.Time `json:"updatedUntil"`
	UserId       OptUUID   `json:"userId"`
}

Ref: #/components/schemas/AssetFullSyncDto

func (*AssetFullSyncDto) Decode

func (s *AssetFullSyncDto) Decode(d *jx.Decoder) error

Decode decodes AssetFullSyncDto from json.

func (*AssetFullSyncDto) Encode

func (s *AssetFullSyncDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetFullSyncDto) GetLastId

func (s *AssetFullSyncDto) GetLastId() OptUUID

GetLastId returns the value of LastId.

func (*AssetFullSyncDto) GetLimit

func (s *AssetFullSyncDto) GetLimit() int

GetLimit returns the value of Limit.

func (*AssetFullSyncDto) GetUpdatedUntil

func (s *AssetFullSyncDto) GetUpdatedUntil() time.Time

GetUpdatedUntil returns the value of UpdatedUntil.

func (*AssetFullSyncDto) GetUserId

func (s *AssetFullSyncDto) GetUserId() OptUUID

GetUserId returns the value of UserId.

func (*AssetFullSyncDto) MarshalJSON

func (s *AssetFullSyncDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetFullSyncDto) SetLastId

func (s *AssetFullSyncDto) SetLastId(val OptUUID)

SetLastId sets the value of LastId.

func (*AssetFullSyncDto) SetLimit

func (s *AssetFullSyncDto) SetLimit(val int)

SetLimit sets the value of Limit.

func (*AssetFullSyncDto) SetUpdatedUntil

func (s *AssetFullSyncDto) SetUpdatedUntil(val time.Time)

SetUpdatedUntil sets the value of UpdatedUntil.

func (*AssetFullSyncDto) SetUserId

func (s *AssetFullSyncDto) SetUserId(val OptUUID)

SetUserId sets the value of UserId.

func (*AssetFullSyncDto) UnmarshalJSON

func (s *AssetFullSyncDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetFullSyncDto) Validate

func (s *AssetFullSyncDto) Validate() error

type AssetIdsDto

type AssetIdsDto struct {
	AssetIds []uuid.UUID `json:"assetIds"`
}

Ref: #/components/schemas/AssetIdsDto

func (*AssetIdsDto) Decode

func (s *AssetIdsDto) Decode(d *jx.Decoder) error

Decode decodes AssetIdsDto from json.

func (*AssetIdsDto) Encode

func (s *AssetIdsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetIdsDto) GetAssetIds

func (s *AssetIdsDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*AssetIdsDto) MarshalJSON

func (s *AssetIdsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetIdsDto) SetAssetIds

func (s *AssetIdsDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*AssetIdsDto) UnmarshalJSON

func (s *AssetIdsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetIdsDto) Validate

func (s *AssetIdsDto) Validate() error

type AssetIdsResponseDto

type AssetIdsResponseDto struct {
	AssetId string                      `json:"assetId"`
	Error   OptAssetIdsResponseDtoError `json:"error"`
	Success bool                        `json:"success"`
}

Ref: #/components/schemas/AssetIdsResponseDto

func (*AssetIdsResponseDto) Decode

func (s *AssetIdsResponseDto) Decode(d *jx.Decoder) error

Decode decodes AssetIdsResponseDto from json.

func (*AssetIdsResponseDto) Encode

func (s *AssetIdsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetIdsResponseDto) GetAssetId

func (s *AssetIdsResponseDto) GetAssetId() string

GetAssetId returns the value of AssetId.

func (*AssetIdsResponseDto) GetError

GetError returns the value of Error.

func (*AssetIdsResponseDto) GetSuccess

func (s *AssetIdsResponseDto) GetSuccess() bool

GetSuccess returns the value of Success.

func (*AssetIdsResponseDto) MarshalJSON

func (s *AssetIdsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetIdsResponseDto) SetAssetId

func (s *AssetIdsResponseDto) SetAssetId(val string)

SetAssetId sets the value of AssetId.

func (*AssetIdsResponseDto) SetError

SetError sets the value of Error.

func (*AssetIdsResponseDto) SetSuccess

func (s *AssetIdsResponseDto) SetSuccess(val bool)

SetSuccess sets the value of Success.

func (*AssetIdsResponseDto) UnmarshalJSON

func (s *AssetIdsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetIdsResponseDto) Validate

func (s *AssetIdsResponseDto) Validate() error

type AssetIdsResponseDtoError

type AssetIdsResponseDtoError string
const (
	AssetIdsResponseDtoErrorDuplicate    AssetIdsResponseDtoError = "duplicate"
	AssetIdsResponseDtoErrorNoPermission AssetIdsResponseDtoError = "no_permission"
	AssetIdsResponseDtoErrorNotFound     AssetIdsResponseDtoError = "not_found"
)

func (AssetIdsResponseDtoError) AllValues

AllValues returns all AssetIdsResponseDtoError values.

func (*AssetIdsResponseDtoError) Decode

func (s *AssetIdsResponseDtoError) Decode(d *jx.Decoder) error

Decode decodes AssetIdsResponseDtoError from json.

func (AssetIdsResponseDtoError) Encode

func (s AssetIdsResponseDtoError) Encode(e *jx.Encoder)

Encode encodes AssetIdsResponseDtoError as json.

func (AssetIdsResponseDtoError) MarshalJSON

func (s AssetIdsResponseDtoError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetIdsResponseDtoError) MarshalText

func (s AssetIdsResponseDtoError) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetIdsResponseDtoError) UnmarshalJSON

func (s *AssetIdsResponseDtoError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetIdsResponseDtoError) UnmarshalText

func (s *AssetIdsResponseDtoError) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetIdsResponseDtoError) Validate

func (s AssetIdsResponseDtoError) Validate() error

type AssetJobName

type AssetJobName string

Ref: #/components/schemas/AssetJobName

const (
	AssetJobNameRefreshFaces        AssetJobName = "refresh-faces"
	AssetJobNameRefreshMetadata     AssetJobName = "refresh-metadata"
	AssetJobNameRegenerateThumbnail AssetJobName = "regenerate-thumbnail"
	AssetJobNameTranscodeVideo      AssetJobName = "transcode-video"
)

func (AssetJobName) AllValues

func (AssetJobName) AllValues() []AssetJobName

AllValues returns all AssetJobName values.

func (*AssetJobName) Decode

func (s *AssetJobName) Decode(d *jx.Decoder) error

Decode decodes AssetJobName from json.

func (AssetJobName) Encode

func (s AssetJobName) Encode(e *jx.Encoder)

Encode encodes AssetJobName as json.

func (AssetJobName) MarshalJSON

func (s AssetJobName) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetJobName) MarshalText

func (s AssetJobName) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetJobName) UnmarshalJSON

func (s *AssetJobName) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetJobName) UnmarshalText

func (s *AssetJobName) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetJobName) Validate

func (s AssetJobName) Validate() error

type AssetJobsDto

type AssetJobsDto struct {
	AssetIds []uuid.UUID  `json:"assetIds"`
	Name     AssetJobName `json:"name"`
}

Ref: #/components/schemas/AssetJobsDto

func (*AssetJobsDto) Decode

func (s *AssetJobsDto) Decode(d *jx.Decoder) error

Decode decodes AssetJobsDto from json.

func (*AssetJobsDto) Encode

func (s *AssetJobsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetJobsDto) GetAssetIds

func (s *AssetJobsDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*AssetJobsDto) GetName

func (s *AssetJobsDto) GetName() AssetJobName

GetName returns the value of Name.

func (*AssetJobsDto) MarshalJSON

func (s *AssetJobsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetJobsDto) SetAssetIds

func (s *AssetJobsDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*AssetJobsDto) SetName

func (s *AssetJobsDto) SetName(val AssetJobName)

SetName sets the value of Name.

func (*AssetJobsDto) UnmarshalJSON

func (s *AssetJobsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetJobsDto) Validate

func (s *AssetJobsDto) Validate() error

type AssetMediaCreateDtoMultipart

type AssetMediaCreateDtoMultipart struct {
	AssetData        ht.MultipartFile `json:"assetData"`
	DeviceAssetId    string           `json:"deviceAssetId"`
	DeviceId         string           `json:"deviceId"`
	Duration         OptString        `json:"duration"`
	FileCreatedAt    time.Time        `json:"fileCreatedAt"`
	FileModifiedAt   time.Time        `json:"fileModifiedAt"`
	IsArchived       OptBool          `json:"isArchived"`
	IsFavorite       OptBool          `json:"isFavorite"`
	IsVisible        OptBool          `json:"isVisible"`
	LivePhotoVideoId OptUUID          `json:"livePhotoVideoId"`
	SidecarData      OptMultipartFile `json:"sidecarData"`
}

Ref: #/components/schemas/AssetMediaCreateDto

func (*AssetMediaCreateDtoMultipart) GetAssetData

func (s *AssetMediaCreateDtoMultipart) GetAssetData() ht.MultipartFile

GetAssetData returns the value of AssetData.

func (*AssetMediaCreateDtoMultipart) GetDeviceAssetId

func (s *AssetMediaCreateDtoMultipart) GetDeviceAssetId() string

GetDeviceAssetId returns the value of DeviceAssetId.

func (*AssetMediaCreateDtoMultipart) GetDeviceId

func (s *AssetMediaCreateDtoMultipart) GetDeviceId() string

GetDeviceId returns the value of DeviceId.

func (*AssetMediaCreateDtoMultipart) GetDuration

func (s *AssetMediaCreateDtoMultipart) GetDuration() OptString

GetDuration returns the value of Duration.

func (*AssetMediaCreateDtoMultipart) GetFileCreatedAt

func (s *AssetMediaCreateDtoMultipart) GetFileCreatedAt() time.Time

GetFileCreatedAt returns the value of FileCreatedAt.

func (*AssetMediaCreateDtoMultipart) GetFileModifiedAt

func (s *AssetMediaCreateDtoMultipart) GetFileModifiedAt() time.Time

GetFileModifiedAt returns the value of FileModifiedAt.

func (*AssetMediaCreateDtoMultipart) GetIsArchived

func (s *AssetMediaCreateDtoMultipart) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*AssetMediaCreateDtoMultipart) GetIsFavorite

func (s *AssetMediaCreateDtoMultipart) GetIsFavorite() OptBool

GetIsFavorite returns the value of IsFavorite.

func (*AssetMediaCreateDtoMultipart) GetIsVisible

func (s *AssetMediaCreateDtoMultipart) GetIsVisible() OptBool

GetIsVisible returns the value of IsVisible.

func (*AssetMediaCreateDtoMultipart) GetLivePhotoVideoId

func (s *AssetMediaCreateDtoMultipart) GetLivePhotoVideoId() OptUUID

GetLivePhotoVideoId returns the value of LivePhotoVideoId.

func (*AssetMediaCreateDtoMultipart) GetSidecarData

func (s *AssetMediaCreateDtoMultipart) GetSidecarData() OptMultipartFile

GetSidecarData returns the value of SidecarData.

func (*AssetMediaCreateDtoMultipart) SetAssetData

func (s *AssetMediaCreateDtoMultipart) SetAssetData(val ht.MultipartFile)

SetAssetData sets the value of AssetData.

func (*AssetMediaCreateDtoMultipart) SetDeviceAssetId

func (s *AssetMediaCreateDtoMultipart) SetDeviceAssetId(val string)

SetDeviceAssetId sets the value of DeviceAssetId.

func (*AssetMediaCreateDtoMultipart) SetDeviceId

func (s *AssetMediaCreateDtoMultipart) SetDeviceId(val string)

SetDeviceId sets the value of DeviceId.

func (*AssetMediaCreateDtoMultipart) SetDuration

func (s *AssetMediaCreateDtoMultipart) SetDuration(val OptString)

SetDuration sets the value of Duration.

func (*AssetMediaCreateDtoMultipart) SetFileCreatedAt

func (s *AssetMediaCreateDtoMultipart) SetFileCreatedAt(val time.Time)

SetFileCreatedAt sets the value of FileCreatedAt.

func (*AssetMediaCreateDtoMultipart) SetFileModifiedAt

func (s *AssetMediaCreateDtoMultipart) SetFileModifiedAt(val time.Time)

SetFileModifiedAt sets the value of FileModifiedAt.

func (*AssetMediaCreateDtoMultipart) SetIsArchived

func (s *AssetMediaCreateDtoMultipart) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*AssetMediaCreateDtoMultipart) SetIsFavorite

func (s *AssetMediaCreateDtoMultipart) SetIsFavorite(val OptBool)

SetIsFavorite sets the value of IsFavorite.

func (*AssetMediaCreateDtoMultipart) SetIsVisible

func (s *AssetMediaCreateDtoMultipart) SetIsVisible(val OptBool)

SetIsVisible sets the value of IsVisible.

func (*AssetMediaCreateDtoMultipart) SetLivePhotoVideoId

func (s *AssetMediaCreateDtoMultipart) SetLivePhotoVideoId(val OptUUID)

SetLivePhotoVideoId sets the value of LivePhotoVideoId.

func (*AssetMediaCreateDtoMultipart) SetSidecarData

func (s *AssetMediaCreateDtoMultipart) SetSidecarData(val OptMultipartFile)

SetSidecarData sets the value of SidecarData.

type AssetMediaReplaceDtoMultipart

type AssetMediaReplaceDtoMultipart struct {
	AssetData      ht.MultipartFile `json:"assetData"`
	DeviceAssetId  string           `json:"deviceAssetId"`
	DeviceId       string           `json:"deviceId"`
	Duration       OptString        `json:"duration"`
	FileCreatedAt  time.Time        `json:"fileCreatedAt"`
	FileModifiedAt time.Time        `json:"fileModifiedAt"`
}

Ref: #/components/schemas/AssetMediaReplaceDto

func (*AssetMediaReplaceDtoMultipart) GetAssetData

GetAssetData returns the value of AssetData.

func (*AssetMediaReplaceDtoMultipart) GetDeviceAssetId

func (s *AssetMediaReplaceDtoMultipart) GetDeviceAssetId() string

GetDeviceAssetId returns the value of DeviceAssetId.

func (*AssetMediaReplaceDtoMultipart) GetDeviceId

func (s *AssetMediaReplaceDtoMultipart) GetDeviceId() string

GetDeviceId returns the value of DeviceId.

func (*AssetMediaReplaceDtoMultipart) GetDuration

func (s *AssetMediaReplaceDtoMultipart) GetDuration() OptString

GetDuration returns the value of Duration.

func (*AssetMediaReplaceDtoMultipart) GetFileCreatedAt

func (s *AssetMediaReplaceDtoMultipart) GetFileCreatedAt() time.Time

GetFileCreatedAt returns the value of FileCreatedAt.

func (*AssetMediaReplaceDtoMultipart) GetFileModifiedAt

func (s *AssetMediaReplaceDtoMultipart) GetFileModifiedAt() time.Time

GetFileModifiedAt returns the value of FileModifiedAt.

func (*AssetMediaReplaceDtoMultipart) SetAssetData

func (s *AssetMediaReplaceDtoMultipart) SetAssetData(val ht.MultipartFile)

SetAssetData sets the value of AssetData.

func (*AssetMediaReplaceDtoMultipart) SetDeviceAssetId

func (s *AssetMediaReplaceDtoMultipart) SetDeviceAssetId(val string)

SetDeviceAssetId sets the value of DeviceAssetId.

func (*AssetMediaReplaceDtoMultipart) SetDeviceId

func (s *AssetMediaReplaceDtoMultipart) SetDeviceId(val string)

SetDeviceId sets the value of DeviceId.

func (*AssetMediaReplaceDtoMultipart) SetDuration

func (s *AssetMediaReplaceDtoMultipart) SetDuration(val OptString)

SetDuration sets the value of Duration.

func (*AssetMediaReplaceDtoMultipart) SetFileCreatedAt

func (s *AssetMediaReplaceDtoMultipart) SetFileCreatedAt(val time.Time)

SetFileCreatedAt sets the value of FileCreatedAt.

func (*AssetMediaReplaceDtoMultipart) SetFileModifiedAt

func (s *AssetMediaReplaceDtoMultipart) SetFileModifiedAt(val time.Time)

SetFileModifiedAt sets the value of FileModifiedAt.

type AssetMediaResponseDto

type AssetMediaResponseDto struct {
	ID     string           `json:"id"`
	Status AssetMediaStatus `json:"status"`
}

Ref: #/components/schemas/AssetMediaResponseDto

func (*AssetMediaResponseDto) Decode

func (s *AssetMediaResponseDto) Decode(d *jx.Decoder) error

Decode decodes AssetMediaResponseDto from json.

func (*AssetMediaResponseDto) Encode

func (s *AssetMediaResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetMediaResponseDto) GetID

func (s *AssetMediaResponseDto) GetID() string

GetID returns the value of ID.

func (*AssetMediaResponseDto) GetStatus

func (s *AssetMediaResponseDto) GetStatus() AssetMediaStatus

GetStatus returns the value of Status.

func (*AssetMediaResponseDto) MarshalJSON

func (s *AssetMediaResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetMediaResponseDto) SetID

func (s *AssetMediaResponseDto) SetID(val string)

SetID sets the value of ID.

func (*AssetMediaResponseDto) SetStatus

func (s *AssetMediaResponseDto) SetStatus(val AssetMediaStatus)

SetStatus sets the value of Status.

func (*AssetMediaResponseDto) UnmarshalJSON

func (s *AssetMediaResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetMediaResponseDto) Validate

func (s *AssetMediaResponseDto) Validate() error

type AssetMediaResponseDtoStatusCode

type AssetMediaResponseDtoStatusCode struct {
	StatusCode int
	Response   AssetMediaResponseDto
}

AssetMediaResponseDtoStatusCode wraps AssetMediaResponseDto with StatusCode.

func (*AssetMediaResponseDtoStatusCode) GetResponse

GetResponse returns the value of Response.

func (*AssetMediaResponseDtoStatusCode) GetStatusCode

func (s *AssetMediaResponseDtoStatusCode) GetStatusCode() int

GetStatusCode returns the value of StatusCode.

func (*AssetMediaResponseDtoStatusCode) SetResponse

SetResponse sets the value of Response.

func (*AssetMediaResponseDtoStatusCode) SetStatusCode

func (s *AssetMediaResponseDtoStatusCode) SetStatusCode(val int)

SetStatusCode sets the value of StatusCode.

func (*AssetMediaResponseDtoStatusCode) Validate

func (s *AssetMediaResponseDtoStatusCode) Validate() error

type AssetMediaSize

type AssetMediaSize string

Ref: #/components/schemas/AssetMediaSize

const (
	AssetMediaSizePreview   AssetMediaSize = "preview"
	AssetMediaSizeThumbnail AssetMediaSize = "thumbnail"
)

func (AssetMediaSize) AllValues

func (AssetMediaSize) AllValues() []AssetMediaSize

AllValues returns all AssetMediaSize values.

func (AssetMediaSize) MarshalText

func (s AssetMediaSize) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetMediaSize) UnmarshalText

func (s *AssetMediaSize) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetMediaSize) Validate

func (s AssetMediaSize) Validate() error

type AssetMediaStatus

type AssetMediaStatus string

Ref: #/components/schemas/AssetMediaStatus

const (
	AssetMediaStatusCreated   AssetMediaStatus = "created"
	AssetMediaStatusReplaced  AssetMediaStatus = "replaced"
	AssetMediaStatusDuplicate AssetMediaStatus = "duplicate"
)

func (AssetMediaStatus) AllValues

func (AssetMediaStatus) AllValues() []AssetMediaStatus

AllValues returns all AssetMediaStatus values.

func (*AssetMediaStatus) Decode

func (s *AssetMediaStatus) Decode(d *jx.Decoder) error

Decode decodes AssetMediaStatus from json.

func (AssetMediaStatus) Encode

func (s AssetMediaStatus) Encode(e *jx.Encoder)

Encode encodes AssetMediaStatus as json.

func (AssetMediaStatus) MarshalJSON

func (s AssetMediaStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetMediaStatus) MarshalText

func (s AssetMediaStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetMediaStatus) UnmarshalJSON

func (s *AssetMediaStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetMediaStatus) UnmarshalText

func (s *AssetMediaStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetMediaStatus) Validate

func (s AssetMediaStatus) Validate() error

type AssetOrder

type AssetOrder string

Ref: #/components/schemas/AssetOrder

const (
	AssetOrderAsc  AssetOrder = "asc"
	AssetOrderDesc AssetOrder = "desc"
)

func (AssetOrder) AllValues

func (AssetOrder) AllValues() []AssetOrder

AllValues returns all AssetOrder values.

func (*AssetOrder) Decode

func (s *AssetOrder) Decode(d *jx.Decoder) error

Decode decodes AssetOrder from json.

func (AssetOrder) Encode

func (s AssetOrder) Encode(e *jx.Encoder)

Encode encodes AssetOrder as json.

func (AssetOrder) MarshalJSON

func (s AssetOrder) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetOrder) MarshalText

func (s AssetOrder) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetOrder) UnmarshalJSON

func (s *AssetOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetOrder) UnmarshalText

func (s *AssetOrder) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetOrder) Validate

func (s AssetOrder) Validate() error

type AssetResponseDto

type AssetResponseDto struct {
	// Base64 encoded sha1 hash.
	Checksum       string             `json:"checksum"`
	DeviceAssetId  string             `json:"deviceAssetId"`
	DeviceId       string             `json:"deviceId"`
	DuplicateId    OptNilString       `json:"duplicateId"`
	Duration       string             `json:"duration"`
	ExifInfo       OptExifResponseDto `json:"exifInfo"`
	FileCreatedAt  time.Time          `json:"fileCreatedAt"`
	FileModifiedAt time.Time          `json:"fileModifiedAt"`
	HasMetadata    bool               `json:"hasMetadata"`
	ID             string             `json:"id"`
	IsArchived     bool               `json:"isArchived"`
	IsFavorite     bool               `json:"isFavorite"`
	IsOffline      bool               `json:"isOffline"`
	IsTrashed      bool               `json:"isTrashed"`
	// This property was deprecated in v1.106.0.
	//
	// Deprecated: schema marks this property as deprecated.
	LibraryId        OptNilString                 `json:"libraryId"`
	LivePhotoVideoId OptNilString                 `json:"livePhotoVideoId"`
	LocalDateTime    time.Time                    `json:"localDateTime"`
	OriginalFileName string                       `json:"originalFileName"`
	OriginalMimeType OptString                    `json:"originalMimeType"`
	OriginalPath     string                       `json:"originalPath"`
	Owner            OptUserResponseDto           `json:"owner"`
	OwnerId          string                       `json:"ownerId"`
	People           []PersonWithFacesResponseDto `json:"people"`
	// This property was deprecated in v1.113.0.
	//
	// Deprecated: schema marks this property as deprecated.
	Resized         OptBool                             `json:"resized"`
	SmartInfo       OptSmartInfoResponseDto             `json:"smartInfo"`
	Stack           OptNilAssetResponseDtoStack         `json:"stack"`
	Tags            []TagResponseDto                    `json:"tags"`
	Thumbhash       NilString                           `json:"thumbhash"`
	Type            AssetTypeEnum                       `json:"type"`
	UnassignedFaces []AssetFaceWithoutPersonResponseDto `json:"unassignedFaces"`
	UpdatedAt       time.Time                           `json:"updatedAt"`
}

Ref: #/components/schemas/AssetResponseDto

func (*AssetResponseDto) Decode

func (s *AssetResponseDto) Decode(d *jx.Decoder) error

Decode decodes AssetResponseDto from json.

func (*AssetResponseDto) Encode

func (s *AssetResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetResponseDto) GetChecksum

func (s *AssetResponseDto) GetChecksum() string

GetChecksum returns the value of Checksum.

func (*AssetResponseDto) GetDeviceAssetId

func (s *AssetResponseDto) GetDeviceAssetId() string

GetDeviceAssetId returns the value of DeviceAssetId.

func (*AssetResponseDto) GetDeviceId

func (s *AssetResponseDto) GetDeviceId() string

GetDeviceId returns the value of DeviceId.

func (*AssetResponseDto) GetDuplicateId

func (s *AssetResponseDto) GetDuplicateId() OptNilString

GetDuplicateId returns the value of DuplicateId.

func (*AssetResponseDto) GetDuration

func (s *AssetResponseDto) GetDuration() string

GetDuration returns the value of Duration.

func (*AssetResponseDto) GetExifInfo

func (s *AssetResponseDto) GetExifInfo() OptExifResponseDto

GetExifInfo returns the value of ExifInfo.

func (*AssetResponseDto) GetFileCreatedAt

func (s *AssetResponseDto) GetFileCreatedAt() time.Time

GetFileCreatedAt returns the value of FileCreatedAt.

func (*AssetResponseDto) GetFileModifiedAt

func (s *AssetResponseDto) GetFileModifiedAt() time.Time

GetFileModifiedAt returns the value of FileModifiedAt.

func (*AssetResponseDto) GetHasMetadata

func (s *AssetResponseDto) GetHasMetadata() bool

GetHasMetadata returns the value of HasMetadata.

func (*AssetResponseDto) GetID

func (s *AssetResponseDto) GetID() string

GetID returns the value of ID.

func (*AssetResponseDto) GetIsArchived

func (s *AssetResponseDto) GetIsArchived() bool

GetIsArchived returns the value of IsArchived.

func (*AssetResponseDto) GetIsFavorite

func (s *AssetResponseDto) GetIsFavorite() bool

GetIsFavorite returns the value of IsFavorite.

func (*AssetResponseDto) GetIsOffline

func (s *AssetResponseDto) GetIsOffline() bool

GetIsOffline returns the value of IsOffline.

func (*AssetResponseDto) GetIsTrashed

func (s *AssetResponseDto) GetIsTrashed() bool

GetIsTrashed returns the value of IsTrashed.

func (*AssetResponseDto) GetLibraryId

func (s *AssetResponseDto) GetLibraryId() OptNilString

GetLibraryId returns the value of LibraryId.

func (*AssetResponseDto) GetLivePhotoVideoId

func (s *AssetResponseDto) GetLivePhotoVideoId() OptNilString

GetLivePhotoVideoId returns the value of LivePhotoVideoId.

func (*AssetResponseDto) GetLocalDateTime

func (s *AssetResponseDto) GetLocalDateTime() time.Time

GetLocalDateTime returns the value of LocalDateTime.

func (*AssetResponseDto) GetOriginalFileName

func (s *AssetResponseDto) GetOriginalFileName() string

GetOriginalFileName returns the value of OriginalFileName.

func (*AssetResponseDto) GetOriginalMimeType

func (s *AssetResponseDto) GetOriginalMimeType() OptString

GetOriginalMimeType returns the value of OriginalMimeType.

func (*AssetResponseDto) GetOriginalPath

func (s *AssetResponseDto) GetOriginalPath() string

GetOriginalPath returns the value of OriginalPath.

func (*AssetResponseDto) GetOwner

func (s *AssetResponseDto) GetOwner() OptUserResponseDto

GetOwner returns the value of Owner.

func (*AssetResponseDto) GetOwnerId

func (s *AssetResponseDto) GetOwnerId() string

GetOwnerId returns the value of OwnerId.

func (*AssetResponseDto) GetPeople

GetPeople returns the value of People.

func (*AssetResponseDto) GetResized

func (s *AssetResponseDto) GetResized() OptBool

GetResized returns the value of Resized.

func (*AssetResponseDto) GetSmartInfo

func (s *AssetResponseDto) GetSmartInfo() OptSmartInfoResponseDto

GetSmartInfo returns the value of SmartInfo.

func (*AssetResponseDto) GetStack

GetStack returns the value of Stack.

func (*AssetResponseDto) GetTags

func (s *AssetResponseDto) GetTags() []TagResponseDto

GetTags returns the value of Tags.

func (*AssetResponseDto) GetThumbhash

func (s *AssetResponseDto) GetThumbhash() NilString

GetThumbhash returns the value of Thumbhash.

func (*AssetResponseDto) GetType

func (s *AssetResponseDto) GetType() AssetTypeEnum

GetType returns the value of Type.

func (*AssetResponseDto) GetUnassignedFaces

func (s *AssetResponseDto) GetUnassignedFaces() []AssetFaceWithoutPersonResponseDto

GetUnassignedFaces returns the value of UnassignedFaces.

func (*AssetResponseDto) GetUpdatedAt

func (s *AssetResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*AssetResponseDto) MarshalJSON

func (s *AssetResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetResponseDto) SetChecksum

func (s *AssetResponseDto) SetChecksum(val string)

SetChecksum sets the value of Checksum.

func (*AssetResponseDto) SetDeviceAssetId

func (s *AssetResponseDto) SetDeviceAssetId(val string)

SetDeviceAssetId sets the value of DeviceAssetId.

func (*AssetResponseDto) SetDeviceId

func (s *AssetResponseDto) SetDeviceId(val string)

SetDeviceId sets the value of DeviceId.

func (*AssetResponseDto) SetDuplicateId

func (s *AssetResponseDto) SetDuplicateId(val OptNilString)

SetDuplicateId sets the value of DuplicateId.

func (*AssetResponseDto) SetDuration

func (s *AssetResponseDto) SetDuration(val string)

SetDuration sets the value of Duration.

func (*AssetResponseDto) SetExifInfo

func (s *AssetResponseDto) SetExifInfo(val OptExifResponseDto)

SetExifInfo sets the value of ExifInfo.

func (*AssetResponseDto) SetFileCreatedAt

func (s *AssetResponseDto) SetFileCreatedAt(val time.Time)

SetFileCreatedAt sets the value of FileCreatedAt.

func (*AssetResponseDto) SetFileModifiedAt

func (s *AssetResponseDto) SetFileModifiedAt(val time.Time)

SetFileModifiedAt sets the value of FileModifiedAt.

func (*AssetResponseDto) SetHasMetadata

func (s *AssetResponseDto) SetHasMetadata(val bool)

SetHasMetadata sets the value of HasMetadata.

func (*AssetResponseDto) SetID

func (s *AssetResponseDto) SetID(val string)

SetID sets the value of ID.

func (*AssetResponseDto) SetIsArchived

func (s *AssetResponseDto) SetIsArchived(val bool)

SetIsArchived sets the value of IsArchived.

func (*AssetResponseDto) SetIsFavorite

func (s *AssetResponseDto) SetIsFavorite(val bool)

SetIsFavorite sets the value of IsFavorite.

func (*AssetResponseDto) SetIsOffline

func (s *AssetResponseDto) SetIsOffline(val bool)

SetIsOffline sets the value of IsOffline.

func (*AssetResponseDto) SetIsTrashed

func (s *AssetResponseDto) SetIsTrashed(val bool)

SetIsTrashed sets the value of IsTrashed.

func (*AssetResponseDto) SetLibraryId

func (s *AssetResponseDto) SetLibraryId(val OptNilString)

SetLibraryId sets the value of LibraryId.

func (*AssetResponseDto) SetLivePhotoVideoId

func (s *AssetResponseDto) SetLivePhotoVideoId(val OptNilString)

SetLivePhotoVideoId sets the value of LivePhotoVideoId.

func (*AssetResponseDto) SetLocalDateTime

func (s *AssetResponseDto) SetLocalDateTime(val time.Time)

SetLocalDateTime sets the value of LocalDateTime.

func (*AssetResponseDto) SetOriginalFileName

func (s *AssetResponseDto) SetOriginalFileName(val string)

SetOriginalFileName sets the value of OriginalFileName.

func (*AssetResponseDto) SetOriginalMimeType

func (s *AssetResponseDto) SetOriginalMimeType(val OptString)

SetOriginalMimeType sets the value of OriginalMimeType.

func (*AssetResponseDto) SetOriginalPath

func (s *AssetResponseDto) SetOriginalPath(val string)

SetOriginalPath sets the value of OriginalPath.

func (*AssetResponseDto) SetOwner

func (s *AssetResponseDto) SetOwner(val OptUserResponseDto)

SetOwner sets the value of Owner.

func (*AssetResponseDto) SetOwnerId

func (s *AssetResponseDto) SetOwnerId(val string)

SetOwnerId sets the value of OwnerId.

func (*AssetResponseDto) SetPeople

func (s *AssetResponseDto) SetPeople(val []PersonWithFacesResponseDto)

SetPeople sets the value of People.

func (*AssetResponseDto) SetResized

func (s *AssetResponseDto) SetResized(val OptBool)

SetResized sets the value of Resized.

func (*AssetResponseDto) SetSmartInfo

func (s *AssetResponseDto) SetSmartInfo(val OptSmartInfoResponseDto)

SetSmartInfo sets the value of SmartInfo.

func (*AssetResponseDto) SetStack

SetStack sets the value of Stack.

func (*AssetResponseDto) SetTags

func (s *AssetResponseDto) SetTags(val []TagResponseDto)

SetTags sets the value of Tags.

func (*AssetResponseDto) SetThumbhash

func (s *AssetResponseDto) SetThumbhash(val NilString)

SetThumbhash sets the value of Thumbhash.

func (*AssetResponseDto) SetType

func (s *AssetResponseDto) SetType(val AssetTypeEnum)

SetType sets the value of Type.

func (*AssetResponseDto) SetUnassignedFaces

func (s *AssetResponseDto) SetUnassignedFaces(val []AssetFaceWithoutPersonResponseDto)

SetUnassignedFaces sets the value of UnassignedFaces.

func (*AssetResponseDto) SetUpdatedAt

func (s *AssetResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*AssetResponseDto) UnmarshalJSON

func (s *AssetResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetResponseDto) Validate

func (s *AssetResponseDto) Validate() error

type AssetResponseDtoStack

type AssetResponseDtoStack struct {
	AssetCount     int    `json:"assetCount"`
	ID             string `json:"id"`
	PrimaryAssetId string `json:"primaryAssetId"`
}

func (*AssetResponseDtoStack) Decode

func (s *AssetResponseDtoStack) Decode(d *jx.Decoder) error

Decode decodes AssetResponseDtoStack from json.

func (*AssetResponseDtoStack) Encode

func (s *AssetResponseDtoStack) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetResponseDtoStack) GetAssetCount

func (s *AssetResponseDtoStack) GetAssetCount() int

GetAssetCount returns the value of AssetCount.

func (*AssetResponseDtoStack) GetID

func (s *AssetResponseDtoStack) GetID() string

GetID returns the value of ID.

func (*AssetResponseDtoStack) GetPrimaryAssetId

func (s *AssetResponseDtoStack) GetPrimaryAssetId() string

GetPrimaryAssetId returns the value of PrimaryAssetId.

func (*AssetResponseDtoStack) MarshalJSON

func (s *AssetResponseDtoStack) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetResponseDtoStack) SetAssetCount

func (s *AssetResponseDtoStack) SetAssetCount(val int)

SetAssetCount sets the value of AssetCount.

func (*AssetResponseDtoStack) SetID

func (s *AssetResponseDtoStack) SetID(val string)

SetID sets the value of ID.

func (*AssetResponseDtoStack) SetPrimaryAssetId

func (s *AssetResponseDtoStack) SetPrimaryAssetId(val string)

SetPrimaryAssetId sets the value of PrimaryAssetId.

func (*AssetResponseDtoStack) UnmarshalJSON

func (s *AssetResponseDtoStack) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AssetStatsResponseDto

type AssetStatsResponseDto struct {
	Images int `json:"images"`
	Total  int `json:"total"`
	Videos int `json:"videos"`
}

Ref: #/components/schemas/AssetStatsResponseDto

func (*AssetStatsResponseDto) Decode

func (s *AssetStatsResponseDto) Decode(d *jx.Decoder) error

Decode decodes AssetStatsResponseDto from json.

func (*AssetStatsResponseDto) Encode

func (s *AssetStatsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AssetStatsResponseDto) GetImages

func (s *AssetStatsResponseDto) GetImages() int

GetImages returns the value of Images.

func (*AssetStatsResponseDto) GetTotal

func (s *AssetStatsResponseDto) GetTotal() int

GetTotal returns the value of Total.

func (*AssetStatsResponseDto) GetVideos

func (s *AssetStatsResponseDto) GetVideos() int

GetVideos returns the value of Videos.

func (*AssetStatsResponseDto) MarshalJSON

func (s *AssetStatsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AssetStatsResponseDto) SetImages

func (s *AssetStatsResponseDto) SetImages(val int)

SetImages sets the value of Images.

func (*AssetStatsResponseDto) SetTotal

func (s *AssetStatsResponseDto) SetTotal(val int)

SetTotal sets the value of Total.

func (*AssetStatsResponseDto) SetVideos

func (s *AssetStatsResponseDto) SetVideos(val int)

SetVideos sets the value of Videos.

func (*AssetStatsResponseDto) UnmarshalJSON

func (s *AssetStatsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AssetTypeEnum

type AssetTypeEnum string

Ref: #/components/schemas/AssetTypeEnum

const (
	AssetTypeEnumIMAGE AssetTypeEnum = "IMAGE"
	AssetTypeEnumVIDEO AssetTypeEnum = "VIDEO"
	AssetTypeEnumAUDIO AssetTypeEnum = "AUDIO"
	AssetTypeEnumOTHER AssetTypeEnum = "OTHER"
)

func (AssetTypeEnum) AllValues

func (AssetTypeEnum) AllValues() []AssetTypeEnum

AllValues returns all AssetTypeEnum values.

func (*AssetTypeEnum) Decode

func (s *AssetTypeEnum) Decode(d *jx.Decoder) error

Decode decodes AssetTypeEnum from json.

func (AssetTypeEnum) Encode

func (s AssetTypeEnum) Encode(e *jx.Encoder)

Encode encodes AssetTypeEnum as json.

func (AssetTypeEnum) MarshalJSON

func (s AssetTypeEnum) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AssetTypeEnum) MarshalText

func (s AssetTypeEnum) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AssetTypeEnum) UnmarshalJSON

func (s *AssetTypeEnum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AssetTypeEnum) UnmarshalText

func (s *AssetTypeEnum) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AssetTypeEnum) Validate

func (s AssetTypeEnum) Validate() error

type AudioCodec

type AudioCodec string

Ref: #/components/schemas/AudioCodec

const (
	AudioCodecMp3      AudioCodec = "mp3"
	AudioCodecAac      AudioCodec = "aac"
	AudioCodecLibopus  AudioCodec = "libopus"
	AudioCodecPcmS16le AudioCodec = "pcm_s16le"
)

func (AudioCodec) AllValues

func (AudioCodec) AllValues() []AudioCodec

AllValues returns all AudioCodec values.

func (*AudioCodec) Decode

func (s *AudioCodec) Decode(d *jx.Decoder) error

Decode decodes AudioCodec from json.

func (AudioCodec) Encode

func (s AudioCodec) Encode(e *jx.Encoder)

Encode encodes AudioCodec as json.

func (AudioCodec) MarshalJSON

func (s AudioCodec) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AudioCodec) MarshalText

func (s AudioCodec) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AudioCodec) UnmarshalJSON

func (s *AudioCodec) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AudioCodec) UnmarshalText

func (s *AudioCodec) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AudioCodec) Validate

func (s AudioCodec) Validate() error

type AuditDeletesResponseDto

type AuditDeletesResponseDto struct {
	Ids           []string `json:"ids"`
	NeedsFullSync bool     `json:"needsFullSync"`
}

Ref: #/components/schemas/AuditDeletesResponseDto

func (*AuditDeletesResponseDto) Decode

func (s *AuditDeletesResponseDto) Decode(d *jx.Decoder) error

Decode decodes AuditDeletesResponseDto from json.

func (*AuditDeletesResponseDto) Encode

func (s *AuditDeletesResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AuditDeletesResponseDto) GetIds

func (s *AuditDeletesResponseDto) GetIds() []string

GetIds returns the value of Ids.

func (*AuditDeletesResponseDto) GetNeedsFullSync

func (s *AuditDeletesResponseDto) GetNeedsFullSync() bool

GetNeedsFullSync returns the value of NeedsFullSync.

func (*AuditDeletesResponseDto) MarshalJSON

func (s *AuditDeletesResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AuditDeletesResponseDto) SetIds

func (s *AuditDeletesResponseDto) SetIds(val []string)

SetIds sets the value of Ids.

func (*AuditDeletesResponseDto) SetNeedsFullSync

func (s *AuditDeletesResponseDto) SetNeedsFullSync(val bool)

SetNeedsFullSync sets the value of NeedsFullSync.

func (*AuditDeletesResponseDto) UnmarshalJSON

func (s *AuditDeletesResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AuditDeletesResponseDto) Validate

func (s *AuditDeletesResponseDto) Validate() error

type AvatarResponse

type AvatarResponse struct {
	Color UserAvatarColor `json:"color"`
}

Ref: #/components/schemas/AvatarResponse

func (*AvatarResponse) Decode

func (s *AvatarResponse) Decode(d *jx.Decoder) error

Decode decodes AvatarResponse from json.

func (*AvatarResponse) Encode

func (s *AvatarResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AvatarResponse) GetColor

func (s *AvatarResponse) GetColor() UserAvatarColor

GetColor returns the value of Color.

func (*AvatarResponse) MarshalJSON

func (s *AvatarResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AvatarResponse) SetColor

func (s *AvatarResponse) SetColor(val UserAvatarColor)

SetColor sets the value of Color.

func (*AvatarResponse) UnmarshalJSON

func (s *AvatarResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AvatarResponse) Validate

func (s *AvatarResponse) Validate() error

type AvatarUpdate

type AvatarUpdate struct {
	Color OptUserAvatarColor `json:"color"`
}

Ref: #/components/schemas/AvatarUpdate

func (*AvatarUpdate) Decode

func (s *AvatarUpdate) Decode(d *jx.Decoder) error

Decode decodes AvatarUpdate from json.

func (*AvatarUpdate) Encode

func (s *AvatarUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AvatarUpdate) GetColor

func (s *AvatarUpdate) GetColor() OptUserAvatarColor

GetColor returns the value of Color.

func (*AvatarUpdate) MarshalJSON

func (s *AvatarUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AvatarUpdate) SetColor

func (s *AvatarUpdate) SetColor(val OptUserAvatarColor)

SetColor sets the value of Color.

func (*AvatarUpdate) UnmarshalJSON

func (s *AvatarUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AvatarUpdate) Validate

func (s *AvatarUpdate) Validate() error

type Bearer

type Bearer struct {
	Token string
}

func (*Bearer) GetToken

func (s *Bearer) GetToken() string

GetToken returns the value of Token.

func (*Bearer) SetToken

func (s *Bearer) SetToken(val string)

SetToken sets the value of Token.

type BulkIdResponseDto

type BulkIdResponseDto struct {
	Error   OptBulkIdResponseDtoError `json:"error"`
	ID      string                    `json:"id"`
	Success bool                      `json:"success"`
}

Ref: #/components/schemas/BulkIdResponseDto

func (*BulkIdResponseDto) Decode

func (s *BulkIdResponseDto) Decode(d *jx.Decoder) error

Decode decodes BulkIdResponseDto from json.

func (*BulkIdResponseDto) Encode

func (s *BulkIdResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BulkIdResponseDto) GetError

GetError returns the value of Error.

func (*BulkIdResponseDto) GetID

func (s *BulkIdResponseDto) GetID() string

GetID returns the value of ID.

func (*BulkIdResponseDto) GetSuccess

func (s *BulkIdResponseDto) GetSuccess() bool

GetSuccess returns the value of Success.

func (*BulkIdResponseDto) MarshalJSON

func (s *BulkIdResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BulkIdResponseDto) SetError

SetError sets the value of Error.

func (*BulkIdResponseDto) SetID

func (s *BulkIdResponseDto) SetID(val string)

SetID sets the value of ID.

func (*BulkIdResponseDto) SetSuccess

func (s *BulkIdResponseDto) SetSuccess(val bool)

SetSuccess sets the value of Success.

func (*BulkIdResponseDto) UnmarshalJSON

func (s *BulkIdResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkIdResponseDto) Validate

func (s *BulkIdResponseDto) Validate() error

type BulkIdResponseDtoError

type BulkIdResponseDtoError string
const (
	BulkIdResponseDtoErrorDuplicate    BulkIdResponseDtoError = "duplicate"
	BulkIdResponseDtoErrorNoPermission BulkIdResponseDtoError = "no_permission"
	BulkIdResponseDtoErrorNotFound     BulkIdResponseDtoError = "not_found"
	BulkIdResponseDtoErrorUnknown      BulkIdResponseDtoError = "unknown"
)

func (BulkIdResponseDtoError) AllValues

AllValues returns all BulkIdResponseDtoError values.

func (*BulkIdResponseDtoError) Decode

func (s *BulkIdResponseDtoError) Decode(d *jx.Decoder) error

Decode decodes BulkIdResponseDtoError from json.

func (BulkIdResponseDtoError) Encode

func (s BulkIdResponseDtoError) Encode(e *jx.Encoder)

Encode encodes BulkIdResponseDtoError as json.

func (BulkIdResponseDtoError) MarshalJSON

func (s BulkIdResponseDtoError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (BulkIdResponseDtoError) MarshalText

func (s BulkIdResponseDtoError) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*BulkIdResponseDtoError) UnmarshalJSON

func (s *BulkIdResponseDtoError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkIdResponseDtoError) UnmarshalText

func (s *BulkIdResponseDtoError) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (BulkIdResponseDtoError) Validate

func (s BulkIdResponseDtoError) Validate() error

type BulkIdsDto

type BulkIdsDto struct {
	Ids []uuid.UUID `json:"ids"`
}

Ref: #/components/schemas/BulkIdsDto

func (*BulkIdsDto) Decode

func (s *BulkIdsDto) Decode(d *jx.Decoder) error

Decode decodes BulkIdsDto from json.

func (*BulkIdsDto) Encode

func (s *BulkIdsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BulkIdsDto) GetIds

func (s *BulkIdsDto) GetIds() []uuid.UUID

GetIds returns the value of Ids.

func (*BulkIdsDto) MarshalJSON

func (s *BulkIdsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BulkIdsDto) SetIds

func (s *BulkIdsDto) SetIds(val []uuid.UUID)

SetIds sets the value of Ids.

func (*BulkIdsDto) UnmarshalJSON

func (s *BulkIdsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BulkIdsDto) Validate

func (s *BulkIdsDto) Validate() error

type CLIPConfig

type CLIPConfig struct {
	Enabled   bool   `json:"enabled"`
	ModelName string `json:"modelName"`
}

Ref: #/components/schemas/CLIPConfig

func (*CLIPConfig) Decode

func (s *CLIPConfig) Decode(d *jx.Decoder) error

Decode decodes CLIPConfig from json.

func (*CLIPConfig) Encode

func (s *CLIPConfig) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CLIPConfig) GetEnabled

func (s *CLIPConfig) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*CLIPConfig) GetModelName

func (s *CLIPConfig) GetModelName() string

GetModelName returns the value of ModelName.

func (*CLIPConfig) MarshalJSON

func (s *CLIPConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CLIPConfig) SetEnabled

func (s *CLIPConfig) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*CLIPConfig) SetModelName

func (s *CLIPConfig) SetModelName(val string)

SetModelName sets the value of ModelName.

func (*CLIPConfig) UnmarshalJSON

func (s *CLIPConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CQMode

type CQMode string

Ref: #/components/schemas/CQMode

const (
	CQModeAuto CQMode = "auto"
	CQModeCqp  CQMode = "cqp"
	CQModeIcq  CQMode = "icq"
)

func (CQMode) AllValues

func (CQMode) AllValues() []CQMode

AllValues returns all CQMode values.

func (*CQMode) Decode

func (s *CQMode) Decode(d *jx.Decoder) error

Decode decodes CQMode from json.

func (CQMode) Encode

func (s CQMode) Encode(e *jx.Encoder)

Encode encodes CQMode as json.

func (CQMode) MarshalJSON

func (s CQMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CQMode) MarshalText

func (s CQMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CQMode) UnmarshalJSON

func (s *CQMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CQMode) UnmarshalText

func (s *CQMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CQMode) Validate

func (s CQMode) Validate() error

type ChangePasswordDto

type ChangePasswordDto struct {
	NewPassword string `json:"newPassword"`
	Password    string `json:"password"`
}

Ref: #/components/schemas/ChangePasswordDto

func (*ChangePasswordDto) Decode

func (s *ChangePasswordDto) Decode(d *jx.Decoder) error

Decode decodes ChangePasswordDto from json.

func (*ChangePasswordDto) Encode

func (s *ChangePasswordDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ChangePasswordDto) GetNewPassword

func (s *ChangePasswordDto) GetNewPassword() string

GetNewPassword returns the value of NewPassword.

func (*ChangePasswordDto) GetPassword

func (s *ChangePasswordDto) GetPassword() string

GetPassword returns the value of Password.

func (*ChangePasswordDto) MarshalJSON

func (s *ChangePasswordDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ChangePasswordDto) SetNewPassword

func (s *ChangePasswordDto) SetNewPassword(val string)

SetNewPassword sets the value of NewPassword.

func (*ChangePasswordDto) SetPassword

func (s *ChangePasswordDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*ChangePasswordDto) UnmarshalJSON

func (s *ChangePasswordDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChangePasswordDto) Validate

func (s *ChangePasswordDto) Validate() error

type CheckExistingAssetsDto

type CheckExistingAssetsDto struct {
	DeviceAssetIds []string `json:"deviceAssetIds"`
	DeviceId       string   `json:"deviceId"`
}

Ref: #/components/schemas/CheckExistingAssetsDto

func (*CheckExistingAssetsDto) Decode

func (s *CheckExistingAssetsDto) Decode(d *jx.Decoder) error

Decode decodes CheckExistingAssetsDto from json.

func (*CheckExistingAssetsDto) Encode

func (s *CheckExistingAssetsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CheckExistingAssetsDto) GetDeviceAssetIds

func (s *CheckExistingAssetsDto) GetDeviceAssetIds() []string

GetDeviceAssetIds returns the value of DeviceAssetIds.

func (*CheckExistingAssetsDto) GetDeviceId

func (s *CheckExistingAssetsDto) GetDeviceId() string

GetDeviceId returns the value of DeviceId.

func (*CheckExistingAssetsDto) MarshalJSON

func (s *CheckExistingAssetsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CheckExistingAssetsDto) SetDeviceAssetIds

func (s *CheckExistingAssetsDto) SetDeviceAssetIds(val []string)

SetDeviceAssetIds sets the value of DeviceAssetIds.

func (*CheckExistingAssetsDto) SetDeviceId

func (s *CheckExistingAssetsDto) SetDeviceId(val string)

SetDeviceId sets the value of DeviceId.

func (*CheckExistingAssetsDto) UnmarshalJSON

func (s *CheckExistingAssetsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CheckExistingAssetsDto) Validate

func (s *CheckExistingAssetsDto) Validate() error

type CheckExistingAssetsResponseDto

type CheckExistingAssetsResponseDto struct {
	ExistingIds []string `json:"existingIds"`
}

Ref: #/components/schemas/CheckExistingAssetsResponseDto

func (*CheckExistingAssetsResponseDto) Decode

Decode decodes CheckExistingAssetsResponseDto from json.

func (*CheckExistingAssetsResponseDto) Encode

Encode implements json.Marshaler.

func (*CheckExistingAssetsResponseDto) GetExistingIds

func (s *CheckExistingAssetsResponseDto) GetExistingIds() []string

GetExistingIds returns the value of ExistingIds.

func (*CheckExistingAssetsResponseDto) MarshalJSON

func (s *CheckExistingAssetsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CheckExistingAssetsResponseDto) SetExistingIds

func (s *CheckExistingAssetsResponseDto) SetExistingIds(val []string)

SetExistingIds sets the value of ExistingIds.

func (*CheckExistingAssetsResponseDto) UnmarshalJSON

func (s *CheckExistingAssetsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CheckExistingAssetsResponseDto) Validate

func (s *CheckExistingAssetsResponseDto) Validate() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) AddAssetsToAlbum

func (c *Client) AddAssetsToAlbum(ctx context.Context, request *BulkIdsDto, params AddAssetsToAlbumParams) ([]BulkIdResponseDto, error)

AddAssetsToAlbum invokes addAssetsToAlbum operation.

PUT /albums/{id}/assets

func (*Client) AddMemoryAssets

func (c *Client) AddMemoryAssets(ctx context.Context, request *BulkIdsDto, params AddMemoryAssetsParams) ([]BulkIdResponseDto, error)

AddMemoryAssets invokes addMemoryAssets operation.

PUT /memories/{id}/assets

func (*Client) AddSharedLinkAssets

func (c *Client) AddSharedLinkAssets(ctx context.Context, request *AssetIdsDto, params AddSharedLinkAssetsParams) ([]AssetIdsResponseDto, error)

AddSharedLinkAssets invokes addSharedLinkAssets operation.

PUT /shared-links/{id}/assets

func (*Client) AddUsersToAlbum

func (c *Client) AddUsersToAlbum(ctx context.Context, request *AddUsersDto, params AddUsersToAlbumParams) (*AlbumResponseDto, error)

AddUsersToAlbum invokes addUsersToAlbum operation.

PUT /albums/{id}/users

func (*Client) BulkTagAssets

func (c *Client) BulkTagAssets(ctx context.Context, request *TagBulkAssetsDto) (*TagBulkAssetsResponseDto, error)

BulkTagAssets invokes bulkTagAssets operation.

PUT /tags/assets

func (*Client) ChangePassword

func (c *Client) ChangePassword(ctx context.Context, request *ChangePasswordDto) (*UserAdminResponseDto, error)

ChangePassword invokes changePassword operation.

POST /auth/change-password

func (*Client) CheckBulkUpload

CheckBulkUpload invokes checkBulkUpload operation.

Checks if assets exist by checksums.

POST /assets/bulk-upload-check

func (*Client) CheckExistingAssets

func (c *Client) CheckExistingAssets(ctx context.Context, request *CheckExistingAssetsDto) (*CheckExistingAssetsResponseDto, error)

CheckExistingAssets invokes checkExistingAssets operation.

Checks if multiple assets exist on the server and returns all existing - used by background backup.

POST /assets/exist

func (*Client) CreateActivity

func (c *Client) CreateActivity(ctx context.Context, request *ActivityCreateDto) (*ActivityResponseDto, error)

CreateActivity invokes createActivity operation.

POST /activities

func (*Client) CreateAlbum

func (c *Client) CreateAlbum(ctx context.Context, request *CreateAlbumDto) (*AlbumResponseDto, error)

CreateAlbum invokes createAlbum operation.

POST /albums

func (*Client) CreateApiKey

func (c *Client) CreateApiKey(ctx context.Context, request *APIKeyCreateDto) (*APIKeyCreateResponseDto, error)

CreateApiKey invokes createApiKey operation.

POST /api-keys

func (*Client) CreateJob

func (c *Client) CreateJob(ctx context.Context, request *JobCreateDto) error

CreateJob invokes createJob operation.

POST /jobs

func (*Client) CreateLibrary

func (c *Client) CreateLibrary(ctx context.Context, request *CreateLibraryDto) (*LibraryResponseDto, error)

CreateLibrary invokes createLibrary operation.

POST /libraries

func (*Client) CreateMemory

func (c *Client) CreateMemory(ctx context.Context, request *MemoryCreateDto) (*MemoryResponseDto, error)

CreateMemory invokes createMemory operation.

POST /memories

func (*Client) CreatePartner

func (c *Client) CreatePartner(ctx context.Context, params CreatePartnerParams) (*PartnerResponseDto, error)

CreatePartner invokes createPartner operation.

POST /partners/{id}

func (*Client) CreatePerson

func (c *Client) CreatePerson(ctx context.Context, request *PersonCreateDto) (*PersonResponseDto, error)

CreatePerson invokes createPerson operation.

POST /people

func (*Client) CreateProfileImage

CreateProfileImage invokes createProfileImage operation.

POST /users/profile-image

func (c *Client) CreateSharedLink(ctx context.Context, request *SharedLinkCreateDto) (*SharedLinkResponseDto, error)

CreateSharedLink invokes createSharedLink operation.

POST /shared-links

func (*Client) CreateStack

func (c *Client) CreateStack(ctx context.Context, request *StackCreateDto) (*StackResponseDto, error)

CreateStack invokes createStack operation.

POST /stacks

func (*Client) CreateTag

func (c *Client) CreateTag(ctx context.Context, request *TagCreateDto) (*TagResponseDto, error)

CreateTag invokes createTag operation.

POST /tags

func (*Client) CreateUserAdmin

func (c *Client) CreateUserAdmin(ctx context.Context, request *UserAdminCreateDto) (*UserAdminResponseDto, error)

CreateUserAdmin invokes createUserAdmin operation.

POST /admin/users

func (*Client) DeleteActivity

func (c *Client) DeleteActivity(ctx context.Context, params DeleteActivityParams) error

DeleteActivity invokes deleteActivity operation.

DELETE /activities/{id}

func (*Client) DeleteAlbum

func (c *Client) DeleteAlbum(ctx context.Context, params DeleteAlbumParams) error

DeleteAlbum invokes deleteAlbum operation.

DELETE /albums/{id}

func (*Client) DeleteAllSessions

func (c *Client) DeleteAllSessions(ctx context.Context) error

DeleteAllSessions invokes deleteAllSessions operation.

DELETE /sessions

func (*Client) DeleteApiKey

func (c *Client) DeleteApiKey(ctx context.Context, params DeleteApiKeyParams) error

DeleteApiKey invokes deleteApiKey operation.

DELETE /api-keys/{id}

func (*Client) DeleteAssets

func (c *Client) DeleteAssets(ctx context.Context, request *AssetBulkDeleteDto) error

DeleteAssets invokes deleteAssets operation.

DELETE /assets

func (*Client) DeleteLibrary

func (c *Client) DeleteLibrary(ctx context.Context, params DeleteLibraryParams) error

DeleteLibrary invokes deleteLibrary operation.

DELETE /libraries/{id}

func (*Client) DeleteMemory

func (c *Client) DeleteMemory(ctx context.Context, params DeleteMemoryParams) error

DeleteMemory invokes deleteMemory operation.

DELETE /memories/{id}

func (*Client) DeleteProfileImage

func (c *Client) DeleteProfileImage(ctx context.Context) error

DeleteProfileImage invokes deleteProfileImage operation.

DELETE /users/profile-image

func (*Client) DeleteServerLicense

func (c *Client) DeleteServerLicense(ctx context.Context) error

DeleteServerLicense invokes deleteServerLicense operation.

DELETE /server/license

func (*Client) DeleteSession

func (c *Client) DeleteSession(ctx context.Context, params DeleteSessionParams) error

DeleteSession invokes deleteSession operation.

DELETE /sessions/{id}

func (*Client) DeleteStack

func (c *Client) DeleteStack(ctx context.Context, params DeleteStackParams) error

DeleteStack invokes deleteStack operation.

DELETE /stacks/{id}

func (*Client) DeleteStacks

func (c *Client) DeleteStacks(ctx context.Context, request *BulkIdsDto) error

DeleteStacks invokes deleteStacks operation.

DELETE /stacks

func (*Client) DeleteTag

func (c *Client) DeleteTag(ctx context.Context, params DeleteTagParams) error

DeleteTag invokes deleteTag operation.

DELETE /tags/{id}

func (*Client) DeleteUserAdmin

func (c *Client) DeleteUserAdmin(ctx context.Context, request *UserAdminDeleteDto, params DeleteUserAdminParams) (*UserAdminResponseDto, error)

DeleteUserAdmin invokes deleteUserAdmin operation.

DELETE /admin/users/{id}

func (*Client) DeleteUserLicense

func (c *Client) DeleteUserLicense(ctx context.Context) error

DeleteUserLicense invokes deleteUserLicense operation.

DELETE /users/me/license

func (*Client) DownloadArchive

func (c *Client) DownloadArchive(ctx context.Context, request *AssetIdsDto, params DownloadArchiveParams) (DownloadArchiveOK, error)

DownloadArchive invokes downloadArchive operation.

POST /download/archive

func (*Client) DownloadAsset

func (c *Client) DownloadAsset(ctx context.Context, params DownloadAssetParams) (*DownloadAssetOKHeaders, error)

DownloadAsset invokes downloadAsset operation.

GET /assets/{id}/original

func (*Client) EmptyTrash

func (c *Client) EmptyTrash(ctx context.Context) (*TrashResponseDto, error)

EmptyTrash invokes emptyTrash operation.

POST /trash/empty

func (*Client) FinishOAuth

func (c *Client) FinishOAuth(ctx context.Context, request *OAuthCallbackDto) (*LoginResponseDto, error)

FinishOAuth invokes finishOAuth operation.

POST /oauth/callback

func (*Client) FixAuditFiles

func (c *Client) FixAuditFiles(ctx context.Context, request *FileReportFixDto) error

FixAuditFiles invokes fixAuditFiles operation.

POST /reports/fix

func (*Client) GetAboutInfo

func (c *Client) GetAboutInfo(ctx context.Context) (*ServerAboutResponseDto, error)

GetAboutInfo invokes getAboutInfo operation.

GET /server/about

func (*Client) GetActivities

func (c *Client) GetActivities(ctx context.Context, params GetActivitiesParams) ([]ActivityResponseDto, error)

GetActivities invokes getActivities operation.

GET /activities

func (*Client) GetActivityStatistics

func (c *Client) GetActivityStatistics(ctx context.Context, params GetActivityStatisticsParams) (*ActivityStatisticsResponseDto, error)

GetActivityStatistics invokes getActivityStatistics operation.

GET /activities/statistics

func (*Client) GetAdminOnboarding

func (c *Client) GetAdminOnboarding(ctx context.Context) (*AdminOnboardingUpdateDto, error)

GetAdminOnboarding invokes getAdminOnboarding operation.

GET /system-metadata/admin-onboarding

func (*Client) GetAlbumInfo

func (c *Client) GetAlbumInfo(ctx context.Context, params GetAlbumInfoParams) (*AlbumResponseDto, error)

GetAlbumInfo invokes getAlbumInfo operation.

GET /albums/{id}

func (*Client) GetAlbumStatistics

func (c *Client) GetAlbumStatistics(ctx context.Context) (*AlbumStatisticsResponseDto, error)

GetAlbumStatistics invokes getAlbumStatistics operation.

GET /albums/statistics

func (*Client) GetAllAlbums

func (c *Client) GetAllAlbums(ctx context.Context, params GetAllAlbumsParams) ([]AlbumResponseDto, error)

GetAllAlbums invokes getAllAlbums operation.

GET /albums

func (*Client) GetAllJobsStatus

func (c *Client) GetAllJobsStatus(ctx context.Context) (*AllJobStatusResponseDto, error)

GetAllJobsStatus invokes getAllJobsStatus operation.

GET /jobs

func (*Client) GetAllLibraries

func (c *Client) GetAllLibraries(ctx context.Context) ([]LibraryResponseDto, error)

GetAllLibraries invokes getAllLibraries operation.

GET /libraries

func (*Client) GetAllPeople

func (c *Client) GetAllPeople(ctx context.Context, params GetAllPeopleParams) (*PeopleResponseDto, error)

GetAllPeople invokes getAllPeople operation.

GET /people

func (c *Client) GetAllSharedLinks(ctx context.Context) ([]SharedLinkResponseDto, error)

GetAllSharedLinks invokes getAllSharedLinks operation.

GET /shared-links

func (*Client) GetAllTags

func (c *Client) GetAllTags(ctx context.Context) ([]TagResponseDto, error)

GetAllTags invokes getAllTags operation.

GET /tags

func (*Client) GetAllUserAssetsByDeviceId

func (c *Client) GetAllUserAssetsByDeviceId(ctx context.Context, params GetAllUserAssetsByDeviceIdParams) ([]string, error)

GetAllUserAssetsByDeviceId invokes getAllUserAssetsByDeviceId operation.

Get all asset of a device that are in the database, ID only.

GET /assets/device/{deviceId}

func (*Client) GetApiKey

func (c *Client) GetApiKey(ctx context.Context, params GetApiKeyParams) (*APIKeyResponseDto, error)

GetApiKey invokes getApiKey operation.

GET /api-keys/{id}

func (*Client) GetApiKeys

func (c *Client) GetApiKeys(ctx context.Context) ([]APIKeyResponseDto, error)

GetApiKeys invokes getApiKeys operation.

GET /api-keys

func (*Client) GetAssetDuplicates

func (c *Client) GetAssetDuplicates(ctx context.Context) ([]DuplicateResponseDto, error)

GetAssetDuplicates invokes getAssetDuplicates operation.

GET /duplicates

func (*Client) GetAssetInfo

func (c *Client) GetAssetInfo(ctx context.Context, params GetAssetInfoParams) (*AssetResponseDto, error)

GetAssetInfo invokes getAssetInfo operation.

GET /assets/{id}

func (*Client) GetAssetStatistics

func (c *Client) GetAssetStatistics(ctx context.Context, params GetAssetStatisticsParams) (*AssetStatsResponseDto, error)

GetAssetStatistics invokes getAssetStatistics operation.

GET /assets/statistics

func (*Client) GetAssetsByCity

func (c *Client) GetAssetsByCity(ctx context.Context) ([]AssetResponseDto, error)

GetAssetsByCity invokes getAssetsByCity operation.

GET /search/cities

func (*Client) GetAssetsByOriginalPath

func (c *Client) GetAssetsByOriginalPath(ctx context.Context, params GetAssetsByOriginalPathParams) ([]AssetResponseDto, error)

GetAssetsByOriginalPath invokes getAssetsByOriginalPath operation.

GET /view/folder

func (*Client) GetAuditDeletes

func (c *Client) GetAuditDeletes(ctx context.Context, params GetAuditDeletesParams) (*AuditDeletesResponseDto, error)

GetAuditDeletes invokes getAuditDeletes operation.

GET /audit/deletes

func (*Client) GetAuditFiles

func (c *Client) GetAuditFiles(ctx context.Context) (*FileReportDto, error)

GetAuditFiles invokes getAuditFiles operation.

GET /reports

func (*Client) GetConfig

func (c *Client) GetConfig(ctx context.Context) (*SystemConfigDto, error)

GetConfig invokes getConfig operation.

GET /system-config

func (*Client) GetConfigDefaults

func (c *Client) GetConfigDefaults(ctx context.Context) (*SystemConfigDto, error)

GetConfigDefaults invokes getConfigDefaults operation.

GET /system-config/defaults

func (*Client) GetDeltaSync

func (c *Client) GetDeltaSync(ctx context.Context, request *AssetDeltaSyncDto) (*AssetDeltaSyncResponseDto, error)

GetDeltaSync invokes getDeltaSync operation.

POST /sync/delta-sync

func (*Client) GetDownloadInfo

func (c *Client) GetDownloadInfo(ctx context.Context, request *DownloadInfoDto, params GetDownloadInfoParams) (*DownloadResponseDto, error)

GetDownloadInfo invokes getDownloadInfo operation.

POST /download/info

func (*Client) GetExploreData

func (c *Client) GetExploreData(ctx context.Context) ([]SearchExploreResponseDto, error)

GetExploreData invokes getExploreData operation.

GET /search/explore

func (*Client) GetFaces

func (c *Client) GetFaces(ctx context.Context, params GetFacesParams) ([]AssetFaceResponseDto, error)

GetFaces invokes getFaces operation.

GET /faces

func (*Client) GetFileChecksums

func (c *Client) GetFileChecksums(ctx context.Context, request *FileChecksumDto) ([]FileChecksumResponseDto, error)

GetFileChecksums invokes getFileChecksums operation.

POST /reports/checksum

func (*Client) GetFullSyncForUser

func (c *Client) GetFullSyncForUser(ctx context.Context, request *AssetFullSyncDto) ([]AssetResponseDto, error)

GetFullSyncForUser invokes getFullSyncForUser operation.

POST /sync/full-sync

func (*Client) GetLibrary

func (c *Client) GetLibrary(ctx context.Context, params GetLibraryParams) (*LibraryResponseDto, error)

GetLibrary invokes getLibrary operation.

GET /libraries/{id}

func (*Client) GetLibraryStatistics

func (c *Client) GetLibraryStatistics(ctx context.Context, params GetLibraryStatisticsParams) (*LibraryStatsResponseDto, error)

GetLibraryStatistics invokes getLibraryStatistics operation.

GET /libraries/{id}/statistics

func (*Client) GetMapMarkers

func (c *Client) GetMapMarkers(ctx context.Context, params GetMapMarkersParams) ([]MapMarkerResponseDto, error)

GetMapMarkers invokes getMapMarkers operation.

GET /map/markers

func (*Client) GetMemory

func (c *Client) GetMemory(ctx context.Context, params GetMemoryParams) (*MemoryResponseDto, error)

GetMemory invokes getMemory operation.

GET /memories/{id}

func (*Client) GetMemoryLane

func (c *Client) GetMemoryLane(ctx context.Context, params GetMemoryLaneParams) ([]MemoryLaneResponseDto, error)

GetMemoryLane invokes getMemoryLane operation.

GET /assets/memory-lane

func (*Client) GetMyPreferences

func (c *Client) GetMyPreferences(ctx context.Context) (*UserPreferencesResponseDto, error)

GetMyPreferences invokes getMyPreferences operation.

GET /users/me/preferences

func (c *Client) GetMySharedLink(ctx context.Context, params GetMySharedLinkParams) (*SharedLinkResponseDto, error)

GetMySharedLink invokes getMySharedLink operation.

GET /shared-links/me

func (*Client) GetMyUser

func (c *Client) GetMyUser(ctx context.Context) (*UserAdminResponseDto, error)

GetMyUser invokes getMyUser operation.

GET /users/me

func (*Client) GetPartners

func (c *Client) GetPartners(ctx context.Context, params GetPartnersParams) ([]PartnerResponseDto, error)

GetPartners invokes getPartners operation.

GET /partners

func (*Client) GetPerson

func (c *Client) GetPerson(ctx context.Context, params GetPersonParams) (*PersonResponseDto, error)

GetPerson invokes getPerson operation.

GET /people/{id}

func (*Client) GetPersonStatistics

func (c *Client) GetPersonStatistics(ctx context.Context, params GetPersonStatisticsParams) (*PersonStatisticsResponseDto, error)

GetPersonStatistics invokes getPersonStatistics operation.

GET /people/{id}/statistics

func (*Client) GetPersonThumbnail

func (c *Client) GetPersonThumbnail(ctx context.Context, params GetPersonThumbnailParams) (GetPersonThumbnailOK, error)

GetPersonThumbnail invokes getPersonThumbnail operation.

GET /people/{id}/thumbnail

func (*Client) GetProfileImage

func (c *Client) GetProfileImage(ctx context.Context, params GetProfileImageParams) (GetProfileImageOK, error)

GetProfileImage invokes getProfileImage operation.

GET /users/{id}/profile-image

func (*Client) GetRandom deprecated

func (c *Client) GetRandom(ctx context.Context, params GetRandomParams) ([]AssetResponseDto, error)

GetRandom invokes getRandom operation.

This property was deprecated in v1.116.0.

Deprecated: schema marks this operation as deprecated.

GET /assets/random

func (*Client) GetReverseGeocodingState

func (c *Client) GetReverseGeocodingState(ctx context.Context) (*ReverseGeocodingStateResponseDto, error)

GetReverseGeocodingState invokes getReverseGeocodingState operation.

GET /system-metadata/reverse-geocoding-state

func (*Client) GetSearchSuggestions

func (c *Client) GetSearchSuggestions(ctx context.Context, params GetSearchSuggestionsParams) ([]string, error)

GetSearchSuggestions invokes getSearchSuggestions operation.

GET /search/suggestions

func (*Client) GetServerConfig

func (c *Client) GetServerConfig(ctx context.Context) (*ServerConfigDto, error)

GetServerConfig invokes getServerConfig operation.

GET /server/config

func (*Client) GetServerFeatures

func (c *Client) GetServerFeatures(ctx context.Context) (*ServerFeaturesDto, error)

GetServerFeatures invokes getServerFeatures operation.

GET /server/features

func (*Client) GetServerLicense

func (c *Client) GetServerLicense(ctx context.Context) (GetServerLicenseRes, error)

GetServerLicense invokes getServerLicense operation.

GET /server/license

func (*Client) GetServerStatistics

func (c *Client) GetServerStatistics(ctx context.Context) (*ServerStatsResponseDto, error)

GetServerStatistics invokes getServerStatistics operation.

GET /server/statistics

func (*Client) GetServerVersion

func (c *Client) GetServerVersion(ctx context.Context) (*ServerVersionResponseDto, error)

GetServerVersion invokes getServerVersion operation.

GET /server/version

func (*Client) GetSessions

func (c *Client) GetSessions(ctx context.Context) ([]SessionResponseDto, error)

GetSessions invokes getSessions operation.

GET /sessions

func (*Client) GetSharedLinkById

func (c *Client) GetSharedLinkById(ctx context.Context, params GetSharedLinkByIdParams) (*SharedLinkResponseDto, error)

GetSharedLinkById invokes getSharedLinkById operation.

GET /shared-links/{id}

func (*Client) GetStack

func (c *Client) GetStack(ctx context.Context, params GetStackParams) (*StackResponseDto, error)

GetStack invokes getStack operation.

GET /stacks/{id}

func (*Client) GetStorage

func (c *Client) GetStorage(ctx context.Context) (*ServerStorageResponseDto, error)

GetStorage invokes getStorage operation.

GET /server/storage

func (*Client) GetStorageTemplateOptions

func (c *Client) GetStorageTemplateOptions(ctx context.Context) (*SystemConfigTemplateStorageOptionDto, error)

GetStorageTemplateOptions invokes getStorageTemplateOptions operation.

GET /system-config/storage-template-options

func (*Client) GetSupportedMediaTypes

func (c *Client) GetSupportedMediaTypes(ctx context.Context) (*ServerMediaTypesResponseDto, error)

GetSupportedMediaTypes invokes getSupportedMediaTypes operation.

GET /server/media-types

func (*Client) GetTagById

func (c *Client) GetTagById(ctx context.Context, params GetTagByIdParams) (*TagResponseDto, error)

GetTagById invokes getTagById operation.

GET /tags/{id}

func (*Client) GetTheme

func (c *Client) GetTheme(ctx context.Context) (*ServerThemeDto, error)

GetTheme invokes getTheme operation.

GET /server/theme

func (*Client) GetTimeBucket

func (c *Client) GetTimeBucket(ctx context.Context, params GetTimeBucketParams) ([]AssetResponseDto, error)

GetTimeBucket invokes getTimeBucket operation.

GET /timeline/bucket

func (*Client) GetTimeBuckets

func (c *Client) GetTimeBuckets(ctx context.Context, params GetTimeBucketsParams) ([]TimeBucketResponseDto, error)

GetTimeBuckets invokes getTimeBuckets operation.

GET /timeline/buckets

func (*Client) GetUniqueOriginalPaths

func (c *Client) GetUniqueOriginalPaths(ctx context.Context) ([]string, error)

GetUniqueOriginalPaths invokes getUniqueOriginalPaths operation.

GET /view/folder/unique-paths

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, params GetUserParams) (*UserResponseDto, error)

GetUser invokes getUser operation.

GET /users/{id}

func (*Client) GetUserAdmin

func (c *Client) GetUserAdmin(ctx context.Context, params GetUserAdminParams) (*UserAdminResponseDto, error)

GetUserAdmin invokes getUserAdmin operation.

GET /admin/users/{id}

func (*Client) GetUserLicense

func (c *Client) GetUserLicense(ctx context.Context) (*LicenseResponseDto, error)

GetUserLicense invokes getUserLicense operation.

GET /users/me/license

func (*Client) GetUserPreferencesAdmin

func (c *Client) GetUserPreferencesAdmin(ctx context.Context, params GetUserPreferencesAdminParams) (*UserPreferencesResponseDto, error)

GetUserPreferencesAdmin invokes getUserPreferencesAdmin operation.

GET /admin/users/{id}/preferences

func (*Client) GetVersionHistory

func (c *Client) GetVersionHistory(ctx context.Context) ([]ServerVersionHistoryResponseDto, error)

GetVersionHistory invokes getVersionHistory operation.

GET /server/version-history

func (*Client) LinkOAuthAccount

func (c *Client) LinkOAuthAccount(ctx context.Context, request *OAuthCallbackDto) (*UserAdminResponseDto, error)

LinkOAuthAccount invokes linkOAuthAccount operation.

POST /oauth/link

func (*Client) Login

func (c *Client) Login(ctx context.Context, request *LoginCredentialDto) (*LoginResponseDto, error)

Login invokes login operation.

POST /auth/login

func (*Client) Logout

func (c *Client) Logout(ctx context.Context) (*LogoutResponseDto, error)

Logout invokes logout operation.

POST /auth/logout

func (*Client) MergePerson

func (c *Client) MergePerson(ctx context.Context, request *MergePersonDto, params MergePersonParams) ([]BulkIdResponseDto, error)

MergePerson invokes mergePerson operation.

POST /people/{id}/merge

func (*Client) PingServer

func (c *Client) PingServer(ctx context.Context) (*ServerPingResponse, error)

PingServer invokes pingServer operation.

GET /server/ping

func (*Client) PlayAssetVideo

func (c *Client) PlayAssetVideo(ctx context.Context, params PlayAssetVideoParams) (PlayAssetVideoOK, error)

PlayAssetVideo invokes playAssetVideo operation.

GET /assets/{id}/video/playback

func (*Client) ReassignFaces

func (c *Client) ReassignFaces(ctx context.Context, request *AssetFaceUpdateDto, params ReassignFacesParams) ([]PersonResponseDto, error)

ReassignFaces invokes reassignFaces operation.

PUT /people/{id}/reassign

func (*Client) ReassignFacesById

func (c *Client) ReassignFacesById(ctx context.Context, request *FaceDto, params ReassignFacesByIdParams) (*PersonResponseDto, error)

ReassignFacesById invokes reassignFacesById operation.

PUT /faces/{id}

func (*Client) RedirectOAuthToMobile

func (c *Client) RedirectOAuthToMobile(ctx context.Context) error

RedirectOAuthToMobile invokes redirectOAuthToMobile operation.

GET /oauth/mobile-redirect

func (*Client) RemoveAssetFromAlbum

func (c *Client) RemoveAssetFromAlbum(ctx context.Context, request *BulkIdsDto, params RemoveAssetFromAlbumParams) ([]BulkIdResponseDto, error)

RemoveAssetFromAlbum invokes removeAssetFromAlbum operation.

DELETE /albums/{id}/assets

func (*Client) RemoveMemoryAssets

func (c *Client) RemoveMemoryAssets(ctx context.Context, request *BulkIdsDto, params RemoveMemoryAssetsParams) ([]BulkIdResponseDto, error)

RemoveMemoryAssets invokes removeMemoryAssets operation.

DELETE /memories/{id}/assets

func (*Client) RemovePartner

func (c *Client) RemovePartner(ctx context.Context, params RemovePartnerParams) error

RemovePartner invokes removePartner operation.

DELETE /partners/{id}

func (c *Client) RemoveSharedLink(ctx context.Context, params RemoveSharedLinkParams) error

RemoveSharedLink invokes removeSharedLink operation.

DELETE /shared-links/{id}

func (*Client) RemoveSharedLinkAssets

func (c *Client) RemoveSharedLinkAssets(ctx context.Context, request *AssetIdsDto, params RemoveSharedLinkAssetsParams) ([]AssetIdsResponseDto, error)

RemoveSharedLinkAssets invokes removeSharedLinkAssets operation.

DELETE /shared-links/{id}/assets

func (*Client) RemoveUserFromAlbum

func (c *Client) RemoveUserFromAlbum(ctx context.Context, params RemoveUserFromAlbumParams) error

RemoveUserFromAlbum invokes removeUserFromAlbum operation.

DELETE /albums/{id}/user/{userId}

func (*Client) ReplaceAsset

ReplaceAsset invokes replaceAsset operation.

Replace the asset with new file, without changing its id.

PUT /assets/{id}/original

func (*Client) RestoreAssets

func (c *Client) RestoreAssets(ctx context.Context, request *BulkIdsDto) (*TrashResponseDto, error)

RestoreAssets invokes restoreAssets operation.

POST /trash/restore/assets

func (*Client) RestoreTrash

func (c *Client) RestoreTrash(ctx context.Context) (*TrashResponseDto, error)

RestoreTrash invokes restoreTrash operation.

POST /trash/restore

func (*Client) RestoreUserAdmin

func (c *Client) RestoreUserAdmin(ctx context.Context, params RestoreUserAdminParams) (*UserAdminResponseDto, error)

RestoreUserAdmin invokes restoreUserAdmin operation.

POST /admin/users/{id}/restore

func (*Client) ReverseGeocode

func (c *Client) ReverseGeocode(ctx context.Context, params ReverseGeocodeParams) ([]MapReverseGeocodeResponseDto, error)

ReverseGeocode invokes reverseGeocode operation.

GET /map/reverse-geocode

func (*Client) RunAssetJobs

func (c *Client) RunAssetJobs(ctx context.Context, request *AssetJobsDto) error

RunAssetJobs invokes runAssetJobs operation.

POST /assets/jobs

func (*Client) ScanLibrary

func (c *Client) ScanLibrary(ctx context.Context, params ScanLibraryParams) error

ScanLibrary invokes scanLibrary operation.

POST /libraries/{id}/scan

func (*Client) SearchMemories

func (c *Client) SearchMemories(ctx context.Context) ([]MemoryResponseDto, error)

SearchMemories invokes searchMemories operation.

GET /memories

func (*Client) SearchMetadata

func (c *Client) SearchMetadata(ctx context.Context, request *MetadataSearchDto) (*SearchResponseDto, error)

SearchMetadata invokes searchMetadata operation.

POST /search/metadata

func (*Client) SearchPerson

func (c *Client) SearchPerson(ctx context.Context, params SearchPersonParams) ([]PersonResponseDto, error)

SearchPerson invokes searchPerson operation.

GET /search/person

func (*Client) SearchPlaces

func (c *Client) SearchPlaces(ctx context.Context, params SearchPlacesParams) ([]PlacesResponseDto, error)

SearchPlaces invokes searchPlaces operation.

GET /search/places

func (*Client) SearchRandom

func (c *Client) SearchRandom(ctx context.Context, request *RandomSearchDto) ([]AssetResponseDto, error)

SearchRandom invokes searchRandom operation.

POST /search/random

func (*Client) SearchSmart

func (c *Client) SearchSmart(ctx context.Context, request *SmartSearchDto) (*SearchResponseDto, error)

SearchSmart invokes searchSmart operation.

POST /search/smart

func (*Client) SearchStacks

func (c *Client) SearchStacks(ctx context.Context, params SearchStacksParams) ([]StackResponseDto, error)

SearchStacks invokes searchStacks operation.

GET /stacks

func (*Client) SearchUsers

func (c *Client) SearchUsers(ctx context.Context) ([]UserResponseDto, error)

SearchUsers invokes searchUsers operation.

GET /users

func (*Client) SearchUsersAdmin

func (c *Client) SearchUsersAdmin(ctx context.Context, params SearchUsersAdminParams) ([]UserAdminResponseDto, error)

SearchUsersAdmin invokes searchUsersAdmin operation.

GET /admin/users

func (*Client) SendJobCommand

func (c *Client) SendJobCommand(ctx context.Context, request *JobCommandDto, params SendJobCommandParams) (*JobStatusDto, error)

SendJobCommand invokes sendJobCommand operation.

PUT /jobs/{id}

func (*Client) SendTestEmail

func (c *Client) SendTestEmail(ctx context.Context, request *SystemConfigSmtpDto) (*TestEmailResponseDto, error)

SendTestEmail invokes sendTestEmail operation.

POST /notifications/test-email

func (*Client) SetServerLicense

func (c *Client) SetServerLicense(ctx context.Context, request *LicenseKeyDto) (*LicenseResponseDto, error)

SetServerLicense invokes setServerLicense operation.

PUT /server/license

func (*Client) SetUserLicense

func (c *Client) SetUserLicense(ctx context.Context, request *LicenseKeyDto) (*LicenseResponseDto, error)

SetUserLicense invokes setUserLicense operation.

PUT /users/me/license

func (*Client) SignUpAdmin

func (c *Client) SignUpAdmin(ctx context.Context, request *SignUpDto) (*UserAdminResponseDto, error)

SignUpAdmin invokes signUpAdmin operation.

POST /auth/admin-sign-up

func (*Client) StartOAuth

func (c *Client) StartOAuth(ctx context.Context, request *OAuthConfigDto) (*OAuthAuthorizeResponseDto, error)

StartOAuth invokes startOAuth operation.

POST /oauth/authorize

func (*Client) TagAssets

func (c *Client) TagAssets(ctx context.Context, request *BulkIdsDto, params TagAssetsParams) ([]BulkIdResponseDto, error)

TagAssets invokes tagAssets operation.

PUT /tags/{id}/assets

func (*Client) UnlinkOAuthAccount

func (c *Client) UnlinkOAuthAccount(ctx context.Context) (*UserAdminResponseDto, error)

UnlinkOAuthAccount invokes unlinkOAuthAccount operation.

POST /oauth/unlink

func (*Client) UntagAssets

func (c *Client) UntagAssets(ctx context.Context, request *BulkIdsDto, params UntagAssetsParams) ([]BulkIdResponseDto, error)

UntagAssets invokes untagAssets operation.

DELETE /tags/{id}/assets

func (*Client) UpdateAdminOnboarding

func (c *Client) UpdateAdminOnboarding(ctx context.Context, request *AdminOnboardingUpdateDto) error

UpdateAdminOnboarding invokes updateAdminOnboarding operation.

POST /system-metadata/admin-onboarding

func (*Client) UpdateAlbumInfo

func (c *Client) UpdateAlbumInfo(ctx context.Context, request *UpdateAlbumDto, params UpdateAlbumInfoParams) (*AlbumResponseDto, error)

UpdateAlbumInfo invokes updateAlbumInfo operation.

PATCH /albums/{id}

func (*Client) UpdateAlbumUser

func (c *Client) UpdateAlbumUser(ctx context.Context, request *UpdateAlbumUserDto, params UpdateAlbumUserParams) error

UpdateAlbumUser invokes updateAlbumUser operation.

PUT /albums/{id}/user/{userId}

func (*Client) UpdateApiKey

func (c *Client) UpdateApiKey(ctx context.Context, request *APIKeyUpdateDto, params UpdateApiKeyParams) (*APIKeyResponseDto, error)

UpdateApiKey invokes updateApiKey operation.

PUT /api-keys/{id}

func (*Client) UpdateAsset

func (c *Client) UpdateAsset(ctx context.Context, request *UpdateAssetDto, params UpdateAssetParams) (*AssetResponseDto, error)

UpdateAsset invokes updateAsset operation.

PUT /assets/{id}

func (*Client) UpdateAssets

func (c *Client) UpdateAssets(ctx context.Context, request *AssetBulkUpdateDto) error

UpdateAssets invokes updateAssets operation.

PUT /assets

func (*Client) UpdateConfig

func (c *Client) UpdateConfig(ctx context.Context, request *SystemConfigDto) (*SystemConfigDto, error)

UpdateConfig invokes updateConfig operation.

PUT /system-config

func (*Client) UpdateLibrary

func (c *Client) UpdateLibrary(ctx context.Context, request *UpdateLibraryDto, params UpdateLibraryParams) (*LibraryResponseDto, error)

UpdateLibrary invokes updateLibrary operation.

PUT /libraries/{id}

func (*Client) UpdateMemory

func (c *Client) UpdateMemory(ctx context.Context, request *MemoryUpdateDto, params UpdateMemoryParams) (*MemoryResponseDto, error)

UpdateMemory invokes updateMemory operation.

PUT /memories/{id}

func (*Client) UpdateMyPreferences

func (c *Client) UpdateMyPreferences(ctx context.Context, request *UserPreferencesUpdateDto) (*UserPreferencesResponseDto, error)

UpdateMyPreferences invokes updateMyPreferences operation.

PUT /users/me/preferences

func (*Client) UpdateMyUser

func (c *Client) UpdateMyUser(ctx context.Context, request *UserUpdateMeDto) (*UserAdminResponseDto, error)

UpdateMyUser invokes updateMyUser operation.

PUT /users/me

func (*Client) UpdatePartner

func (c *Client) UpdatePartner(ctx context.Context, request *UpdatePartnerDto, params UpdatePartnerParams) (*PartnerResponseDto, error)

UpdatePartner invokes updatePartner operation.

PUT /partners/{id}

func (*Client) UpdatePeople

func (c *Client) UpdatePeople(ctx context.Context, request *PeopleUpdateDto) ([]BulkIdResponseDto, error)

UpdatePeople invokes updatePeople operation.

PUT /people

func (*Client) UpdatePerson

func (c *Client) UpdatePerson(ctx context.Context, request *PersonUpdateDto, params UpdatePersonParams) (*PersonResponseDto, error)

UpdatePerson invokes updatePerson operation.

PUT /people/{id}

func (c *Client) UpdateSharedLink(ctx context.Context, request *SharedLinkEditDto, params UpdateSharedLinkParams) (*SharedLinkResponseDto, error)

UpdateSharedLink invokes updateSharedLink operation.

PATCH /shared-links/{id}

func (*Client) UpdateStack

func (c *Client) UpdateStack(ctx context.Context, request *StackUpdateDto, params UpdateStackParams) (*StackResponseDto, error)

UpdateStack invokes updateStack operation.

PUT /stacks/{id}

func (*Client) UpdateTag

func (c *Client) UpdateTag(ctx context.Context, request *TagUpdateDto, params UpdateTagParams) (*TagResponseDto, error)

UpdateTag invokes updateTag operation.

PUT /tags/{id}

func (*Client) UpdateUserAdmin

func (c *Client) UpdateUserAdmin(ctx context.Context, request *UserAdminUpdateDto, params UpdateUserAdminParams) (*UserAdminResponseDto, error)

UpdateUserAdmin invokes updateUserAdmin operation.

PUT /admin/users/{id}

func (*Client) UpdateUserPreferencesAdmin

func (c *Client) UpdateUserPreferencesAdmin(ctx context.Context, request *UserPreferencesUpdateDto, params UpdateUserPreferencesAdminParams) (*UserPreferencesResponseDto, error)

UpdateUserPreferencesAdmin invokes updateUserPreferencesAdmin operation.

PUT /admin/users/{id}/preferences

func (*Client) UploadAsset

UploadAsset invokes uploadAsset operation.

POST /assets

func (*Client) UpsertTags

func (c *Client) UpsertTags(ctx context.Context, request *TagUpsertDto) ([]TagResponseDto, error)

UpsertTags invokes upsertTags operation.

PUT /tags

func (*Client) Validate

Validate invokes validate operation.

POST /libraries/{id}/validate

func (*Client) ValidateAccessToken

func (c *Client) ValidateAccessToken(ctx context.Context) (*ValidateAccessTokenResponseDto, error)

ValidateAccessToken invokes validateAccessToken operation.

POST /auth/validateToken

func (*Client) ViewAsset

func (c *Client) ViewAsset(ctx context.Context, params ViewAssetParams) (ViewAssetOK, error)

ViewAsset invokes viewAsset operation.

GET /assets/{id}/thumbnail

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type Colorspace

type Colorspace string

Ref: #/components/schemas/Colorspace

const (
	ColorspaceSrgb Colorspace = "srgb"
	ColorspaceP3   Colorspace = "p3"
)

func (Colorspace) AllValues

func (Colorspace) AllValues() []Colorspace

AllValues returns all Colorspace values.

func (*Colorspace) Decode

func (s *Colorspace) Decode(d *jx.Decoder) error

Decode decodes Colorspace from json.

func (Colorspace) Encode

func (s Colorspace) Encode(e *jx.Encoder)

Encode encodes Colorspace as json.

func (Colorspace) MarshalJSON

func (s Colorspace) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (Colorspace) MarshalText

func (s Colorspace) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*Colorspace) UnmarshalJSON

func (s *Colorspace) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Colorspace) UnmarshalText

func (s *Colorspace) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (Colorspace) Validate

func (s Colorspace) Validate() error
type Cookie struct {
	APIKey string
}

func (*Cookie) GetAPIKey

func (s *Cookie) GetAPIKey() string

GetAPIKey returns the value of APIKey.

func (*Cookie) SetAPIKey

func (s *Cookie) SetAPIKey(val string)

SetAPIKey sets the value of APIKey.

type CreateAlbumDto

type CreateAlbumDto struct {
	AlbumName   string               `json:"albumName"`
	AlbumUsers  []AlbumUserCreateDto `json:"albumUsers"`
	AssetIds    []uuid.UUID          `json:"assetIds"`
	Description OptString            `json:"description"`
}

Ref: #/components/schemas/CreateAlbumDto

func (*CreateAlbumDto) Decode

func (s *CreateAlbumDto) Decode(d *jx.Decoder) error

Decode decodes CreateAlbumDto from json.

func (*CreateAlbumDto) Encode

func (s *CreateAlbumDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CreateAlbumDto) GetAlbumName

func (s *CreateAlbumDto) GetAlbumName() string

GetAlbumName returns the value of AlbumName.

func (*CreateAlbumDto) GetAlbumUsers

func (s *CreateAlbumDto) GetAlbumUsers() []AlbumUserCreateDto

GetAlbumUsers returns the value of AlbumUsers.

func (*CreateAlbumDto) GetAssetIds

func (s *CreateAlbumDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*CreateAlbumDto) GetDescription

func (s *CreateAlbumDto) GetDescription() OptString

GetDescription returns the value of Description.

func (*CreateAlbumDto) MarshalJSON

func (s *CreateAlbumDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateAlbumDto) SetAlbumName

func (s *CreateAlbumDto) SetAlbumName(val string)

SetAlbumName sets the value of AlbumName.

func (*CreateAlbumDto) SetAlbumUsers

func (s *CreateAlbumDto) SetAlbumUsers(val []AlbumUserCreateDto)

SetAlbumUsers sets the value of AlbumUsers.

func (*CreateAlbumDto) SetAssetIds

func (s *CreateAlbumDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*CreateAlbumDto) SetDescription

func (s *CreateAlbumDto) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*CreateAlbumDto) UnmarshalJSON

func (s *CreateAlbumDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateAlbumDto) Validate

func (s *CreateAlbumDto) Validate() error

type CreateJobCreated

type CreateJobCreated struct{}

CreateJobCreated is response for CreateJob operation.

type CreateLibraryDto

type CreateLibraryDto struct {
	ExclusionPatterns []string  `json:"exclusionPatterns"`
	ImportPaths       []string  `json:"importPaths"`
	Name              OptString `json:"name"`
	OwnerId           uuid.UUID `json:"ownerId"`
}

Ref: #/components/schemas/CreateLibraryDto

func (*CreateLibraryDto) Decode

func (s *CreateLibraryDto) Decode(d *jx.Decoder) error

Decode decodes CreateLibraryDto from json.

func (*CreateLibraryDto) Encode

func (s *CreateLibraryDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CreateLibraryDto) GetExclusionPatterns

func (s *CreateLibraryDto) GetExclusionPatterns() []string

GetExclusionPatterns returns the value of ExclusionPatterns.

func (*CreateLibraryDto) GetImportPaths

func (s *CreateLibraryDto) GetImportPaths() []string

GetImportPaths returns the value of ImportPaths.

func (*CreateLibraryDto) GetName

func (s *CreateLibraryDto) GetName() OptString

GetName returns the value of Name.

func (*CreateLibraryDto) GetOwnerId

func (s *CreateLibraryDto) GetOwnerId() uuid.UUID

GetOwnerId returns the value of OwnerId.

func (*CreateLibraryDto) MarshalJSON

func (s *CreateLibraryDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateLibraryDto) SetExclusionPatterns

func (s *CreateLibraryDto) SetExclusionPatterns(val []string)

SetExclusionPatterns sets the value of ExclusionPatterns.

func (*CreateLibraryDto) SetImportPaths

func (s *CreateLibraryDto) SetImportPaths(val []string)

SetImportPaths sets the value of ImportPaths.

func (*CreateLibraryDto) SetName

func (s *CreateLibraryDto) SetName(val OptString)

SetName sets the value of Name.

func (*CreateLibraryDto) SetOwnerId

func (s *CreateLibraryDto) SetOwnerId(val uuid.UUID)

SetOwnerId sets the value of OwnerId.

func (*CreateLibraryDto) UnmarshalJSON

func (s *CreateLibraryDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreatePartnerParams

type CreatePartnerParams struct {
	ID uuid.UUID
}

CreatePartnerParams is parameters of createPartner operation.

type CreateProfileImageDtoMultipart

type CreateProfileImageDtoMultipart struct {
	File ht.MultipartFile `json:"file"`
}

Ref: #/components/schemas/CreateProfileImageDto

func (*CreateProfileImageDtoMultipart) GetFile

GetFile returns the value of File.

func (*CreateProfileImageDtoMultipart) SetFile

SetFile sets the value of File.

type CreateProfileImageResponseDto

type CreateProfileImageResponseDto struct {
	ProfileChangedAt time.Time `json:"profileChangedAt"`
	ProfileImagePath string    `json:"profileImagePath"`
	UserId           string    `json:"userId"`
}

Ref: #/components/schemas/CreateProfileImageResponseDto

func (*CreateProfileImageResponseDto) Decode

Decode decodes CreateProfileImageResponseDto from json.

func (*CreateProfileImageResponseDto) Encode

Encode implements json.Marshaler.

func (*CreateProfileImageResponseDto) GetProfileChangedAt

func (s *CreateProfileImageResponseDto) GetProfileChangedAt() time.Time

GetProfileChangedAt returns the value of ProfileChangedAt.

func (*CreateProfileImageResponseDto) GetProfileImagePath

func (s *CreateProfileImageResponseDto) GetProfileImagePath() string

GetProfileImagePath returns the value of ProfileImagePath.

func (*CreateProfileImageResponseDto) GetUserId

func (s *CreateProfileImageResponseDto) GetUserId() string

GetUserId returns the value of UserId.

func (*CreateProfileImageResponseDto) MarshalJSON

func (s *CreateProfileImageResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateProfileImageResponseDto) SetProfileChangedAt

func (s *CreateProfileImageResponseDto) SetProfileChangedAt(val time.Time)

SetProfileChangedAt sets the value of ProfileChangedAt.

func (*CreateProfileImageResponseDto) SetProfileImagePath

func (s *CreateProfileImageResponseDto) SetProfileImagePath(val string)

SetProfileImagePath sets the value of ProfileImagePath.

func (*CreateProfileImageResponseDto) SetUserId

func (s *CreateProfileImageResponseDto) SetUserId(val string)

SetUserId sets the value of UserId.

func (*CreateProfileImageResponseDto) UnmarshalJSON

func (s *CreateProfileImageResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DatabaseBackupConfig

type DatabaseBackupConfig struct {
	CronExpression string  `json:"cronExpression"`
	Enabled        bool    `json:"enabled"`
	KeepLastAmount float64 `json:"keepLastAmount"`
}

Ref: #/components/schemas/DatabaseBackupConfig

func (*DatabaseBackupConfig) Decode

func (s *DatabaseBackupConfig) Decode(d *jx.Decoder) error

Decode decodes DatabaseBackupConfig from json.

func (*DatabaseBackupConfig) Encode

func (s *DatabaseBackupConfig) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DatabaseBackupConfig) GetCronExpression

func (s *DatabaseBackupConfig) GetCronExpression() string

GetCronExpression returns the value of CronExpression.

func (*DatabaseBackupConfig) GetEnabled

func (s *DatabaseBackupConfig) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*DatabaseBackupConfig) GetKeepLastAmount

func (s *DatabaseBackupConfig) GetKeepLastAmount() float64

GetKeepLastAmount returns the value of KeepLastAmount.

func (*DatabaseBackupConfig) MarshalJSON

func (s *DatabaseBackupConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DatabaseBackupConfig) SetCronExpression

func (s *DatabaseBackupConfig) SetCronExpression(val string)

SetCronExpression sets the value of CronExpression.

func (*DatabaseBackupConfig) SetEnabled

func (s *DatabaseBackupConfig) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*DatabaseBackupConfig) SetKeepLastAmount

func (s *DatabaseBackupConfig) SetKeepLastAmount(val float64)

SetKeepLastAmount sets the value of KeepLastAmount.

func (*DatabaseBackupConfig) UnmarshalJSON

func (s *DatabaseBackupConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DatabaseBackupConfig) Validate

func (s *DatabaseBackupConfig) Validate() error

type DeleteActivityNoContent

type DeleteActivityNoContent struct{}

DeleteActivityNoContent is response for DeleteActivity operation.

type DeleteActivityParams

type DeleteActivityParams struct {
	ID uuid.UUID
}

DeleteActivityParams is parameters of deleteActivity operation.

type DeleteAlbumOK

type DeleteAlbumOK struct{}

DeleteAlbumOK is response for DeleteAlbum operation.

type DeleteAlbumParams

type DeleteAlbumParams struct {
	ID uuid.UUID
}

DeleteAlbumParams is parameters of deleteAlbum operation.

type DeleteAllSessionsNoContent

type DeleteAllSessionsNoContent struct{}

DeleteAllSessionsNoContent is response for DeleteAllSessions operation.

type DeleteApiKeyNoContent

type DeleteApiKeyNoContent struct{}

DeleteApiKeyNoContent is response for DeleteApiKey operation.

type DeleteApiKeyParams

type DeleteApiKeyParams struct {
	ID uuid.UUID
}

DeleteApiKeyParams is parameters of deleteApiKey operation.

type DeleteAssetsNoContent

type DeleteAssetsNoContent struct{}

DeleteAssetsNoContent is response for DeleteAssets operation.

type DeleteLibraryNoContent

type DeleteLibraryNoContent struct{}

DeleteLibraryNoContent is response for DeleteLibrary operation.

type DeleteLibraryParams

type DeleteLibraryParams struct {
	ID uuid.UUID
}

DeleteLibraryParams is parameters of deleteLibrary operation.

type DeleteMemoryNoContent

type DeleteMemoryNoContent struct{}

DeleteMemoryNoContent is response for DeleteMemory operation.

type DeleteMemoryParams

type DeleteMemoryParams struct {
	ID uuid.UUID
}

DeleteMemoryParams is parameters of deleteMemory operation.

type DeleteProfileImageNoContent

type DeleteProfileImageNoContent struct{}

DeleteProfileImageNoContent is response for DeleteProfileImage operation.

type DeleteServerLicenseOK

type DeleteServerLicenseOK struct{}

DeleteServerLicenseOK is response for DeleteServerLicense operation.

type DeleteSessionNoContent

type DeleteSessionNoContent struct{}

DeleteSessionNoContent is response for DeleteSession operation.

type DeleteSessionParams

type DeleteSessionParams struct {
	ID uuid.UUID
}

DeleteSessionParams is parameters of deleteSession operation.

type DeleteStackNoContent

type DeleteStackNoContent struct{}

DeleteStackNoContent is response for DeleteStack operation.

type DeleteStackParams

type DeleteStackParams struct {
	ID uuid.UUID
}

DeleteStackParams is parameters of deleteStack operation.

type DeleteStacksNoContent

type DeleteStacksNoContent struct{}

DeleteStacksNoContent is response for DeleteStacks operation.

type DeleteTagNoContent

type DeleteTagNoContent struct{}

DeleteTagNoContent is response for DeleteTag operation.

type DeleteTagParams

type DeleteTagParams struct {
	ID uuid.UUID
}

DeleteTagParams is parameters of deleteTag operation.

type DeleteUserAdminParams

type DeleteUserAdminParams struct {
	ID uuid.UUID
}

DeleteUserAdminParams is parameters of deleteUserAdmin operation.

type DeleteUserLicenseOK

type DeleteUserLicenseOK struct{}

DeleteUserLicenseOK is response for DeleteUserLicense operation.

type DownloadArchiveInfo

type DownloadArchiveInfo struct {
	AssetIds []string `json:"assetIds"`
	Size     int      `json:"size"`
}

Ref: #/components/schemas/DownloadArchiveInfo

func (*DownloadArchiveInfo) Decode

func (s *DownloadArchiveInfo) Decode(d *jx.Decoder) error

Decode decodes DownloadArchiveInfo from json.

func (*DownloadArchiveInfo) Encode

func (s *DownloadArchiveInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DownloadArchiveInfo) GetAssetIds

func (s *DownloadArchiveInfo) GetAssetIds() []string

GetAssetIds returns the value of AssetIds.

func (*DownloadArchiveInfo) GetSize

func (s *DownloadArchiveInfo) GetSize() int

GetSize returns the value of Size.

func (*DownloadArchiveInfo) MarshalJSON

func (s *DownloadArchiveInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DownloadArchiveInfo) SetAssetIds

func (s *DownloadArchiveInfo) SetAssetIds(val []string)

SetAssetIds sets the value of AssetIds.

func (*DownloadArchiveInfo) SetSize

func (s *DownloadArchiveInfo) SetSize(val int)

SetSize sets the value of Size.

func (*DownloadArchiveInfo) UnmarshalJSON

func (s *DownloadArchiveInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DownloadArchiveInfo) Validate

func (s *DownloadArchiveInfo) Validate() error

type DownloadArchiveOK

type DownloadArchiveOK struct {
	Data io.Reader
}

func (DownloadArchiveOK) Read

func (s DownloadArchiveOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type DownloadArchiveParams

type DownloadArchiveParams struct {
	Key OptString
}

DownloadArchiveParams is parameters of downloadArchive operation.

type DownloadAssetOK

type DownloadAssetOK struct {
	Data io.Reader
}

func (DownloadAssetOK) Read

func (s DownloadAssetOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type DownloadAssetOKHeaders

type DownloadAssetOKHeaders struct {
	ContentType string
	Response    DownloadAssetOK
}

DownloadAssetOKHeaders wraps DownloadAssetOK with response headers.

func (*DownloadAssetOKHeaders) GetContentType

func (s *DownloadAssetOKHeaders) GetContentType() string

GetContentType returns the value of ContentType.

func (*DownloadAssetOKHeaders) GetResponse

func (s *DownloadAssetOKHeaders) GetResponse() DownloadAssetOK

GetResponse returns the value of Response.

func (*DownloadAssetOKHeaders) SetContentType

func (s *DownloadAssetOKHeaders) SetContentType(val string)

SetContentType sets the value of ContentType.

func (*DownloadAssetOKHeaders) SetResponse

func (s *DownloadAssetOKHeaders) SetResponse(val DownloadAssetOK)

SetResponse sets the value of Response.

type DownloadAssetParams

type DownloadAssetParams struct {
	ID  uuid.UUID
	Key OptString
}

DownloadAssetParams is parameters of downloadAsset operation.

type DownloadInfoDto

type DownloadInfoDto struct {
	AlbumId     OptUUID     `json:"albumId"`
	ArchiveSize OptInt      `json:"archiveSize"`
	AssetIds    []uuid.UUID `json:"assetIds"`
	UserId      OptUUID     `json:"userId"`
}

Ref: #/components/schemas/DownloadInfoDto

func (*DownloadInfoDto) Decode

func (s *DownloadInfoDto) Decode(d *jx.Decoder) error

Decode decodes DownloadInfoDto from json.

func (*DownloadInfoDto) Encode

func (s *DownloadInfoDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DownloadInfoDto) GetAlbumId

func (s *DownloadInfoDto) GetAlbumId() OptUUID

GetAlbumId returns the value of AlbumId.

func (*DownloadInfoDto) GetArchiveSize

func (s *DownloadInfoDto) GetArchiveSize() OptInt

GetArchiveSize returns the value of ArchiveSize.

func (*DownloadInfoDto) GetAssetIds

func (s *DownloadInfoDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*DownloadInfoDto) GetUserId

func (s *DownloadInfoDto) GetUserId() OptUUID

GetUserId returns the value of UserId.

func (*DownloadInfoDto) MarshalJSON

func (s *DownloadInfoDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DownloadInfoDto) SetAlbumId

func (s *DownloadInfoDto) SetAlbumId(val OptUUID)

SetAlbumId sets the value of AlbumId.

func (*DownloadInfoDto) SetArchiveSize

func (s *DownloadInfoDto) SetArchiveSize(val OptInt)

SetArchiveSize sets the value of ArchiveSize.

func (*DownloadInfoDto) SetAssetIds

func (s *DownloadInfoDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*DownloadInfoDto) SetUserId

func (s *DownloadInfoDto) SetUserId(val OptUUID)

SetUserId sets the value of UserId.

func (*DownloadInfoDto) UnmarshalJSON

func (s *DownloadInfoDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DownloadInfoDto) Validate

func (s *DownloadInfoDto) Validate() error

type DownloadResponse

type DownloadResponse struct {
	ArchiveSize           int  `json:"archiveSize"`
	IncludeEmbeddedVideos bool `json:"includeEmbeddedVideos"`
}

Ref: #/components/schemas/DownloadResponse

func (*DownloadResponse) Decode

func (s *DownloadResponse) Decode(d *jx.Decoder) error

Decode decodes DownloadResponse from json.

func (*DownloadResponse) Encode

func (s *DownloadResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DownloadResponse) GetArchiveSize

func (s *DownloadResponse) GetArchiveSize() int

GetArchiveSize returns the value of ArchiveSize.

func (*DownloadResponse) GetIncludeEmbeddedVideos

func (s *DownloadResponse) GetIncludeEmbeddedVideos() bool

GetIncludeEmbeddedVideos returns the value of IncludeEmbeddedVideos.

func (*DownloadResponse) MarshalJSON

func (s *DownloadResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DownloadResponse) SetArchiveSize

func (s *DownloadResponse) SetArchiveSize(val int)

SetArchiveSize sets the value of ArchiveSize.

func (*DownloadResponse) SetIncludeEmbeddedVideos

func (s *DownloadResponse) SetIncludeEmbeddedVideos(val bool)

SetIncludeEmbeddedVideos sets the value of IncludeEmbeddedVideos.

func (*DownloadResponse) UnmarshalJSON

func (s *DownloadResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DownloadResponseDto

type DownloadResponseDto struct {
	Archives  []DownloadArchiveInfo `json:"archives"`
	TotalSize int                   `json:"totalSize"`
}

Ref: #/components/schemas/DownloadResponseDto

func (*DownloadResponseDto) Decode

func (s *DownloadResponseDto) Decode(d *jx.Decoder) error

Decode decodes DownloadResponseDto from json.

func (*DownloadResponseDto) Encode

func (s *DownloadResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DownloadResponseDto) GetArchives

func (s *DownloadResponseDto) GetArchives() []DownloadArchiveInfo

GetArchives returns the value of Archives.

func (*DownloadResponseDto) GetTotalSize

func (s *DownloadResponseDto) GetTotalSize() int

GetTotalSize returns the value of TotalSize.

func (*DownloadResponseDto) MarshalJSON

func (s *DownloadResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DownloadResponseDto) SetArchives

func (s *DownloadResponseDto) SetArchives(val []DownloadArchiveInfo)

SetArchives sets the value of Archives.

func (*DownloadResponseDto) SetTotalSize

func (s *DownloadResponseDto) SetTotalSize(val int)

SetTotalSize sets the value of TotalSize.

func (*DownloadResponseDto) UnmarshalJSON

func (s *DownloadResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DownloadResponseDto) Validate

func (s *DownloadResponseDto) Validate() error

type DownloadUpdate

type DownloadUpdate struct {
	ArchiveSize           OptInt  `json:"archiveSize"`
	IncludeEmbeddedVideos OptBool `json:"includeEmbeddedVideos"`
}

Ref: #/components/schemas/DownloadUpdate

func (*DownloadUpdate) Decode

func (s *DownloadUpdate) Decode(d *jx.Decoder) error

Decode decodes DownloadUpdate from json.

func (*DownloadUpdate) Encode

func (s *DownloadUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DownloadUpdate) GetArchiveSize

func (s *DownloadUpdate) GetArchiveSize() OptInt

GetArchiveSize returns the value of ArchiveSize.

func (*DownloadUpdate) GetIncludeEmbeddedVideos

func (s *DownloadUpdate) GetIncludeEmbeddedVideos() OptBool

GetIncludeEmbeddedVideos returns the value of IncludeEmbeddedVideos.

func (*DownloadUpdate) MarshalJSON

func (s *DownloadUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DownloadUpdate) SetArchiveSize

func (s *DownloadUpdate) SetArchiveSize(val OptInt)

SetArchiveSize sets the value of ArchiveSize.

func (*DownloadUpdate) SetIncludeEmbeddedVideos

func (s *DownloadUpdate) SetIncludeEmbeddedVideos(val OptBool)

SetIncludeEmbeddedVideos sets the value of IncludeEmbeddedVideos.

func (*DownloadUpdate) UnmarshalJSON

func (s *DownloadUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DownloadUpdate) Validate

func (s *DownloadUpdate) Validate() error

type DuplicateDetectionConfig

type DuplicateDetectionConfig struct {
	Enabled     bool    `json:"enabled"`
	MaxDistance float64 `json:"maxDistance"`
}

Ref: #/components/schemas/DuplicateDetectionConfig

func (*DuplicateDetectionConfig) Decode

func (s *DuplicateDetectionConfig) Decode(d *jx.Decoder) error

Decode decodes DuplicateDetectionConfig from json.

func (*DuplicateDetectionConfig) Encode

func (s *DuplicateDetectionConfig) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DuplicateDetectionConfig) GetEnabled

func (s *DuplicateDetectionConfig) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*DuplicateDetectionConfig) GetMaxDistance

func (s *DuplicateDetectionConfig) GetMaxDistance() float64

GetMaxDistance returns the value of MaxDistance.

func (*DuplicateDetectionConfig) MarshalJSON

func (s *DuplicateDetectionConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DuplicateDetectionConfig) SetEnabled

func (s *DuplicateDetectionConfig) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*DuplicateDetectionConfig) SetMaxDistance

func (s *DuplicateDetectionConfig) SetMaxDistance(val float64)

SetMaxDistance sets the value of MaxDistance.

func (*DuplicateDetectionConfig) UnmarshalJSON

func (s *DuplicateDetectionConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DuplicateDetectionConfig) Validate

func (s *DuplicateDetectionConfig) Validate() error

type DuplicateResponseDto

type DuplicateResponseDto struct {
	Assets      []AssetResponseDto `json:"assets"`
	DuplicateId string             `json:"duplicateId"`
}

Ref: #/components/schemas/DuplicateResponseDto

func (*DuplicateResponseDto) Decode

func (s *DuplicateResponseDto) Decode(d *jx.Decoder) error

Decode decodes DuplicateResponseDto from json.

func (*DuplicateResponseDto) Encode

func (s *DuplicateResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DuplicateResponseDto) GetAssets

func (s *DuplicateResponseDto) GetAssets() []AssetResponseDto

GetAssets returns the value of Assets.

func (*DuplicateResponseDto) GetDuplicateId

func (s *DuplicateResponseDto) GetDuplicateId() string

GetDuplicateId returns the value of DuplicateId.

func (*DuplicateResponseDto) MarshalJSON

func (s *DuplicateResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DuplicateResponseDto) SetAssets

func (s *DuplicateResponseDto) SetAssets(val []AssetResponseDto)

SetAssets sets the value of Assets.

func (*DuplicateResponseDto) SetDuplicateId

func (s *DuplicateResponseDto) SetDuplicateId(val string)

SetDuplicateId sets the value of DuplicateId.

func (*DuplicateResponseDto) UnmarshalJSON

func (s *DuplicateResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*DuplicateResponseDto) Validate

func (s *DuplicateResponseDto) Validate() error

type EmailNotificationsResponse

type EmailNotificationsResponse struct {
	AlbumInvite bool `json:"albumInvite"`
	AlbumUpdate bool `json:"albumUpdate"`
	Enabled     bool `json:"enabled"`
}

Ref: #/components/schemas/EmailNotificationsResponse

func (*EmailNotificationsResponse) Decode

Decode decodes EmailNotificationsResponse from json.

func (*EmailNotificationsResponse) Encode

func (s *EmailNotificationsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EmailNotificationsResponse) GetAlbumInvite

func (s *EmailNotificationsResponse) GetAlbumInvite() bool

GetAlbumInvite returns the value of AlbumInvite.

func (*EmailNotificationsResponse) GetAlbumUpdate

func (s *EmailNotificationsResponse) GetAlbumUpdate() bool

GetAlbumUpdate returns the value of AlbumUpdate.

func (*EmailNotificationsResponse) GetEnabled

func (s *EmailNotificationsResponse) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*EmailNotificationsResponse) MarshalJSON

func (s *EmailNotificationsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EmailNotificationsResponse) SetAlbumInvite

func (s *EmailNotificationsResponse) SetAlbumInvite(val bool)

SetAlbumInvite sets the value of AlbumInvite.

func (*EmailNotificationsResponse) SetAlbumUpdate

func (s *EmailNotificationsResponse) SetAlbumUpdate(val bool)

SetAlbumUpdate sets the value of AlbumUpdate.

func (*EmailNotificationsResponse) SetEnabled

func (s *EmailNotificationsResponse) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*EmailNotificationsResponse) UnmarshalJSON

func (s *EmailNotificationsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EmailNotificationsUpdate

type EmailNotificationsUpdate struct {
	AlbumInvite OptBool `json:"albumInvite"`
	AlbumUpdate OptBool `json:"albumUpdate"`
	Enabled     OptBool `json:"enabled"`
}

Ref: #/components/schemas/EmailNotificationsUpdate

func (*EmailNotificationsUpdate) Decode

func (s *EmailNotificationsUpdate) Decode(d *jx.Decoder) error

Decode decodes EmailNotificationsUpdate from json.

func (*EmailNotificationsUpdate) Encode

func (s *EmailNotificationsUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EmailNotificationsUpdate) GetAlbumInvite

func (s *EmailNotificationsUpdate) GetAlbumInvite() OptBool

GetAlbumInvite returns the value of AlbumInvite.

func (*EmailNotificationsUpdate) GetAlbumUpdate

func (s *EmailNotificationsUpdate) GetAlbumUpdate() OptBool

GetAlbumUpdate returns the value of AlbumUpdate.

func (*EmailNotificationsUpdate) GetEnabled

func (s *EmailNotificationsUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*EmailNotificationsUpdate) MarshalJSON

func (s *EmailNotificationsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EmailNotificationsUpdate) SetAlbumInvite

func (s *EmailNotificationsUpdate) SetAlbumInvite(val OptBool)

SetAlbumInvite sets the value of AlbumInvite.

func (*EmailNotificationsUpdate) SetAlbumUpdate

func (s *EmailNotificationsUpdate) SetAlbumUpdate(val OptBool)

SetAlbumUpdate sets the value of AlbumUpdate.

func (*EmailNotificationsUpdate) SetEnabled

func (s *EmailNotificationsUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*EmailNotificationsUpdate) UnmarshalJSON

func (s *EmailNotificationsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EntityType

type EntityType string

Ref: #/components/schemas/EntityType

const (
	EntityTypeASSET EntityType = "ASSET"
	EntityTypeALBUM EntityType = "ALBUM"
)

func (EntityType) AllValues

func (EntityType) AllValues() []EntityType

AllValues returns all EntityType values.

func (EntityType) MarshalText

func (s EntityType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*EntityType) UnmarshalText

func (s *EntityType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (EntityType) Validate

func (s EntityType) Validate() error

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type ExifResponseDto

type ExifResponseDto struct {
	City             OptNilString   `json:"city"`
	Country          OptNilString   `json:"country"`
	DateTimeOriginal OptNilDateTime `json:"dateTimeOriginal"`
	Description      OptNilString   `json:"description"`
	ExifImageHeight  OptNilFloat64  `json:"exifImageHeight"`
	ExifImageWidth   OptNilFloat64  `json:"exifImageWidth"`
	ExposureTime     OptNilString   `json:"exposureTime"`
	FNumber          OptNilFloat64  `json:"fNumber"`
	FileSizeInByte   OptNilInt64    `json:"fileSizeInByte"`
	FocalLength      OptNilFloat64  `json:"focalLength"`
	Iso              OptNilFloat64  `json:"iso"`
	Latitude         OptNilFloat64  `json:"latitude"`
	LensModel        OptNilString   `json:"lensModel"`
	Longitude        OptNilFloat64  `json:"longitude"`
	Make             OptNilString   `json:"make"`
	Model            OptNilString   `json:"model"`
	ModifyDate       OptNilDateTime `json:"modifyDate"`
	Orientation      OptNilString   `json:"orientation"`
	ProjectionType   OptNilString   `json:"projectionType"`
	Rating           OptNilFloat64  `json:"rating"`
	State            OptNilString   `json:"state"`
	TimeZone         OptNilString   `json:"timeZone"`
}

Ref: #/components/schemas/ExifResponseDto

func (*ExifResponseDto) Decode

func (s *ExifResponseDto) Decode(d *jx.Decoder) error

Decode decodes ExifResponseDto from json.

func (*ExifResponseDto) Encode

func (s *ExifResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ExifResponseDto) GetCity

func (s *ExifResponseDto) GetCity() OptNilString

GetCity returns the value of City.

func (*ExifResponseDto) GetCountry

func (s *ExifResponseDto) GetCountry() OptNilString

GetCountry returns the value of Country.

func (*ExifResponseDto) GetDateTimeOriginal

func (s *ExifResponseDto) GetDateTimeOriginal() OptNilDateTime

GetDateTimeOriginal returns the value of DateTimeOriginal.

func (*ExifResponseDto) GetDescription

func (s *ExifResponseDto) GetDescription() OptNilString

GetDescription returns the value of Description.

func (*ExifResponseDto) GetExifImageHeight

func (s *ExifResponseDto) GetExifImageHeight() OptNilFloat64

GetExifImageHeight returns the value of ExifImageHeight.

func (*ExifResponseDto) GetExifImageWidth

func (s *ExifResponseDto) GetExifImageWidth() OptNilFloat64

GetExifImageWidth returns the value of ExifImageWidth.

func (*ExifResponseDto) GetExposureTime

func (s *ExifResponseDto) GetExposureTime() OptNilString

GetExposureTime returns the value of ExposureTime.

func (*ExifResponseDto) GetFNumber

func (s *ExifResponseDto) GetFNumber() OptNilFloat64

GetFNumber returns the value of FNumber.

func (*ExifResponseDto) GetFileSizeInByte

func (s *ExifResponseDto) GetFileSizeInByte() OptNilInt64

GetFileSizeInByte returns the value of FileSizeInByte.

func (*ExifResponseDto) GetFocalLength

func (s *ExifResponseDto) GetFocalLength() OptNilFloat64

GetFocalLength returns the value of FocalLength.

func (*ExifResponseDto) GetIso

func (s *ExifResponseDto) GetIso() OptNilFloat64

GetIso returns the value of Iso.

func (*ExifResponseDto) GetLatitude

func (s *ExifResponseDto) GetLatitude() OptNilFloat64

GetLatitude returns the value of Latitude.

func (*ExifResponseDto) GetLensModel

func (s *ExifResponseDto) GetLensModel() OptNilString

GetLensModel returns the value of LensModel.

func (*ExifResponseDto) GetLongitude

func (s *ExifResponseDto) GetLongitude() OptNilFloat64

GetLongitude returns the value of Longitude.

func (*ExifResponseDto) GetMake

func (s *ExifResponseDto) GetMake() OptNilString

GetMake returns the value of Make.

func (*ExifResponseDto) GetModel

func (s *ExifResponseDto) GetModel() OptNilString

GetModel returns the value of Model.

func (*ExifResponseDto) GetModifyDate

func (s *ExifResponseDto) GetModifyDate() OptNilDateTime

GetModifyDate returns the value of ModifyDate.

func (*ExifResponseDto) GetOrientation

func (s *ExifResponseDto) GetOrientation() OptNilString

GetOrientation returns the value of Orientation.

func (*ExifResponseDto) GetProjectionType

func (s *ExifResponseDto) GetProjectionType() OptNilString

GetProjectionType returns the value of ProjectionType.

func (*ExifResponseDto) GetRating

func (s *ExifResponseDto) GetRating() OptNilFloat64

GetRating returns the value of Rating.

func (*ExifResponseDto) GetState

func (s *ExifResponseDto) GetState() OptNilString

GetState returns the value of State.

func (*ExifResponseDto) GetTimeZone

func (s *ExifResponseDto) GetTimeZone() OptNilString

GetTimeZone returns the value of TimeZone.

func (*ExifResponseDto) MarshalJSON

func (s *ExifResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExifResponseDto) SetCity

func (s *ExifResponseDto) SetCity(val OptNilString)

SetCity sets the value of City.

func (*ExifResponseDto) SetCountry

func (s *ExifResponseDto) SetCountry(val OptNilString)

SetCountry sets the value of Country.

func (*ExifResponseDto) SetDateTimeOriginal

func (s *ExifResponseDto) SetDateTimeOriginal(val OptNilDateTime)

SetDateTimeOriginal sets the value of DateTimeOriginal.

func (*ExifResponseDto) SetDescription

func (s *ExifResponseDto) SetDescription(val OptNilString)

SetDescription sets the value of Description.

func (*ExifResponseDto) SetExifImageHeight

func (s *ExifResponseDto) SetExifImageHeight(val OptNilFloat64)

SetExifImageHeight sets the value of ExifImageHeight.

func (*ExifResponseDto) SetExifImageWidth

func (s *ExifResponseDto) SetExifImageWidth(val OptNilFloat64)

SetExifImageWidth sets the value of ExifImageWidth.

func (*ExifResponseDto) SetExposureTime

func (s *ExifResponseDto) SetExposureTime(val OptNilString)

SetExposureTime sets the value of ExposureTime.

func (*ExifResponseDto) SetFNumber

func (s *ExifResponseDto) SetFNumber(val OptNilFloat64)

SetFNumber sets the value of FNumber.

func (*ExifResponseDto) SetFileSizeInByte

func (s *ExifResponseDto) SetFileSizeInByte(val OptNilInt64)

SetFileSizeInByte sets the value of FileSizeInByte.

func (*ExifResponseDto) SetFocalLength

func (s *ExifResponseDto) SetFocalLength(val OptNilFloat64)

SetFocalLength sets the value of FocalLength.

func (*ExifResponseDto) SetIso

func (s *ExifResponseDto) SetIso(val OptNilFloat64)

SetIso sets the value of Iso.

func (*ExifResponseDto) SetLatitude

func (s *ExifResponseDto) SetLatitude(val OptNilFloat64)

SetLatitude sets the value of Latitude.

func (*ExifResponseDto) SetLensModel

func (s *ExifResponseDto) SetLensModel(val OptNilString)

SetLensModel sets the value of LensModel.

func (*ExifResponseDto) SetLongitude

func (s *ExifResponseDto) SetLongitude(val OptNilFloat64)

SetLongitude sets the value of Longitude.

func (*ExifResponseDto) SetMake

func (s *ExifResponseDto) SetMake(val OptNilString)

SetMake sets the value of Make.

func (*ExifResponseDto) SetModel

func (s *ExifResponseDto) SetModel(val OptNilString)

SetModel sets the value of Model.

func (*ExifResponseDto) SetModifyDate

func (s *ExifResponseDto) SetModifyDate(val OptNilDateTime)

SetModifyDate sets the value of ModifyDate.

func (*ExifResponseDto) SetOrientation

func (s *ExifResponseDto) SetOrientation(val OptNilString)

SetOrientation sets the value of Orientation.

func (*ExifResponseDto) SetProjectionType

func (s *ExifResponseDto) SetProjectionType(val OptNilString)

SetProjectionType sets the value of ProjectionType.

func (*ExifResponseDto) SetRating

func (s *ExifResponseDto) SetRating(val OptNilFloat64)

SetRating sets the value of Rating.

func (*ExifResponseDto) SetState

func (s *ExifResponseDto) SetState(val OptNilString)

SetState sets the value of State.

func (*ExifResponseDto) SetTimeZone

func (s *ExifResponseDto) SetTimeZone(val OptNilString)

SetTimeZone sets the value of TimeZone.

func (*ExifResponseDto) UnmarshalJSON

func (s *ExifResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExifResponseDto) Validate

func (s *ExifResponseDto) Validate() error

type FaceDto

type FaceDto struct {
	ID uuid.UUID `json:"id"`
}

Ref: #/components/schemas/FaceDto

func (*FaceDto) Decode

func (s *FaceDto) Decode(d *jx.Decoder) error

Decode decodes FaceDto from json.

func (*FaceDto) Encode

func (s *FaceDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FaceDto) GetID

func (s *FaceDto) GetID() uuid.UUID

GetID returns the value of ID.

func (*FaceDto) MarshalJSON

func (s *FaceDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FaceDto) SetID

func (s *FaceDto) SetID(val uuid.UUID)

SetID sets the value of ID.

func (*FaceDto) UnmarshalJSON

func (s *FaceDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FacialRecognitionConfig

type FacialRecognitionConfig struct {
	Enabled     bool    `json:"enabled"`
	MaxDistance float64 `json:"maxDistance"`
	MinFaces    int     `json:"minFaces"`
	MinScore    float64 `json:"minScore"`
	ModelName   string  `json:"modelName"`
}

Ref: #/components/schemas/FacialRecognitionConfig

func (*FacialRecognitionConfig) Decode

func (s *FacialRecognitionConfig) Decode(d *jx.Decoder) error

Decode decodes FacialRecognitionConfig from json.

func (*FacialRecognitionConfig) Encode

func (s *FacialRecognitionConfig) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FacialRecognitionConfig) GetEnabled

func (s *FacialRecognitionConfig) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*FacialRecognitionConfig) GetMaxDistance

func (s *FacialRecognitionConfig) GetMaxDistance() float64

GetMaxDistance returns the value of MaxDistance.

func (*FacialRecognitionConfig) GetMinFaces

func (s *FacialRecognitionConfig) GetMinFaces() int

GetMinFaces returns the value of MinFaces.

func (*FacialRecognitionConfig) GetMinScore

func (s *FacialRecognitionConfig) GetMinScore() float64

GetMinScore returns the value of MinScore.

func (*FacialRecognitionConfig) GetModelName

func (s *FacialRecognitionConfig) GetModelName() string

GetModelName returns the value of ModelName.

func (*FacialRecognitionConfig) MarshalJSON

func (s *FacialRecognitionConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FacialRecognitionConfig) SetEnabled

func (s *FacialRecognitionConfig) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*FacialRecognitionConfig) SetMaxDistance

func (s *FacialRecognitionConfig) SetMaxDistance(val float64)

SetMaxDistance sets the value of MaxDistance.

func (*FacialRecognitionConfig) SetMinFaces

func (s *FacialRecognitionConfig) SetMinFaces(val int)

SetMinFaces sets the value of MinFaces.

func (*FacialRecognitionConfig) SetMinScore

func (s *FacialRecognitionConfig) SetMinScore(val float64)

SetMinScore sets the value of MinScore.

func (*FacialRecognitionConfig) SetModelName

func (s *FacialRecognitionConfig) SetModelName(val string)

SetModelName sets the value of ModelName.

func (*FacialRecognitionConfig) UnmarshalJSON

func (s *FacialRecognitionConfig) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FacialRecognitionConfig) Validate

func (s *FacialRecognitionConfig) Validate() error

type FileChecksumDto

type FileChecksumDto struct {
	Filenames []string `json:"filenames"`
}

Ref: #/components/schemas/FileChecksumDto

func (*FileChecksumDto) Decode

func (s *FileChecksumDto) Decode(d *jx.Decoder) error

Decode decodes FileChecksumDto from json.

func (*FileChecksumDto) Encode

func (s *FileChecksumDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileChecksumDto) GetFilenames

func (s *FileChecksumDto) GetFilenames() []string

GetFilenames returns the value of Filenames.

func (*FileChecksumDto) MarshalJSON

func (s *FileChecksumDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileChecksumDto) SetFilenames

func (s *FileChecksumDto) SetFilenames(val []string)

SetFilenames sets the value of Filenames.

func (*FileChecksumDto) UnmarshalJSON

func (s *FileChecksumDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileChecksumDto) Validate

func (s *FileChecksumDto) Validate() error

type FileChecksumResponseDto

type FileChecksumResponseDto struct {
	Checksum string `json:"checksum"`
	Filename string `json:"filename"`
}

Ref: #/components/schemas/FileChecksumResponseDto

func (*FileChecksumResponseDto) Decode

func (s *FileChecksumResponseDto) Decode(d *jx.Decoder) error

Decode decodes FileChecksumResponseDto from json.

func (*FileChecksumResponseDto) Encode

func (s *FileChecksumResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileChecksumResponseDto) GetChecksum

func (s *FileChecksumResponseDto) GetChecksum() string

GetChecksum returns the value of Checksum.

func (*FileChecksumResponseDto) GetFilename

func (s *FileChecksumResponseDto) GetFilename() string

GetFilename returns the value of Filename.

func (*FileChecksumResponseDto) MarshalJSON

func (s *FileChecksumResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileChecksumResponseDto) SetChecksum

func (s *FileChecksumResponseDto) SetChecksum(val string)

SetChecksum sets the value of Checksum.

func (*FileChecksumResponseDto) SetFilename

func (s *FileChecksumResponseDto) SetFilename(val string)

SetFilename sets the value of Filename.

func (*FileChecksumResponseDto) UnmarshalJSON

func (s *FileChecksumResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FileReportDto

type FileReportDto struct {
	Extras  []string            `json:"extras"`
	Orphans []FileReportItemDto `json:"orphans"`
}

Ref: #/components/schemas/FileReportDto

func (*FileReportDto) Decode

func (s *FileReportDto) Decode(d *jx.Decoder) error

Decode decodes FileReportDto from json.

func (*FileReportDto) Encode

func (s *FileReportDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileReportDto) GetExtras

func (s *FileReportDto) GetExtras() []string

GetExtras returns the value of Extras.

func (*FileReportDto) GetOrphans

func (s *FileReportDto) GetOrphans() []FileReportItemDto

GetOrphans returns the value of Orphans.

func (*FileReportDto) MarshalJSON

func (s *FileReportDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileReportDto) SetExtras

func (s *FileReportDto) SetExtras(val []string)

SetExtras sets the value of Extras.

func (*FileReportDto) SetOrphans

func (s *FileReportDto) SetOrphans(val []FileReportItemDto)

SetOrphans sets the value of Orphans.

func (*FileReportDto) UnmarshalJSON

func (s *FileReportDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileReportDto) Validate

func (s *FileReportDto) Validate() error

type FileReportFixDto

type FileReportFixDto struct {
	Items []FileReportItemDto `json:"items"`
}

Ref: #/components/schemas/FileReportFixDto

func (*FileReportFixDto) Decode

func (s *FileReportFixDto) Decode(d *jx.Decoder) error

Decode decodes FileReportFixDto from json.

func (*FileReportFixDto) Encode

func (s *FileReportFixDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileReportFixDto) GetItems

func (s *FileReportFixDto) GetItems() []FileReportItemDto

GetItems returns the value of Items.

func (*FileReportFixDto) MarshalJSON

func (s *FileReportFixDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileReportFixDto) SetItems

func (s *FileReportFixDto) SetItems(val []FileReportItemDto)

SetItems sets the value of Items.

func (*FileReportFixDto) UnmarshalJSON

func (s *FileReportFixDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileReportFixDto) Validate

func (s *FileReportFixDto) Validate() error

type FileReportItemDto

type FileReportItemDto struct {
	Checksum   OptString      `json:"checksum"`
	EntityId   uuid.UUID      `json:"entityId"`
	EntityType PathEntityType `json:"entityType"`
	PathType   PathType       `json:"pathType"`
	PathValue  string         `json:"pathValue"`
}

Ref: #/components/schemas/FileReportItemDto

func (*FileReportItemDto) Decode

func (s *FileReportItemDto) Decode(d *jx.Decoder) error

Decode decodes FileReportItemDto from json.

func (*FileReportItemDto) Encode

func (s *FileReportItemDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileReportItemDto) GetChecksum

func (s *FileReportItemDto) GetChecksum() OptString

GetChecksum returns the value of Checksum.

func (*FileReportItemDto) GetEntityId

func (s *FileReportItemDto) GetEntityId() uuid.UUID

GetEntityId returns the value of EntityId.

func (*FileReportItemDto) GetEntityType

func (s *FileReportItemDto) GetEntityType() PathEntityType

GetEntityType returns the value of EntityType.

func (*FileReportItemDto) GetPathType

func (s *FileReportItemDto) GetPathType() PathType

GetPathType returns the value of PathType.

func (*FileReportItemDto) GetPathValue

func (s *FileReportItemDto) GetPathValue() string

GetPathValue returns the value of PathValue.

func (*FileReportItemDto) MarshalJSON

func (s *FileReportItemDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileReportItemDto) SetChecksum

func (s *FileReportItemDto) SetChecksum(val OptString)

SetChecksum sets the value of Checksum.

func (*FileReportItemDto) SetEntityId

func (s *FileReportItemDto) SetEntityId(val uuid.UUID)

SetEntityId sets the value of EntityId.

func (*FileReportItemDto) SetEntityType

func (s *FileReportItemDto) SetEntityType(val PathEntityType)

SetEntityType sets the value of EntityType.

func (*FileReportItemDto) SetPathType

func (s *FileReportItemDto) SetPathType(val PathType)

SetPathType sets the value of PathType.

func (*FileReportItemDto) SetPathValue

func (s *FileReportItemDto) SetPathValue(val string)

SetPathValue sets the value of PathValue.

func (*FileReportItemDto) UnmarshalJSON

func (s *FileReportItemDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileReportItemDto) Validate

func (s *FileReportItemDto) Validate() error

type FixAuditFilesCreated

type FixAuditFilesCreated struct{}

FixAuditFilesCreated is response for FixAuditFiles operation.

type FoldersResponse

type FoldersResponse struct {
	Enabled    bool `json:"enabled"`
	SidebarWeb bool `json:"sidebarWeb"`
}

Ref: #/components/schemas/FoldersResponse

func (*FoldersResponse) Decode

func (s *FoldersResponse) Decode(d *jx.Decoder) error

Decode decodes FoldersResponse from json.

func (*FoldersResponse) Encode

func (s *FoldersResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FoldersResponse) GetEnabled

func (s *FoldersResponse) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*FoldersResponse) GetSidebarWeb

func (s *FoldersResponse) GetSidebarWeb() bool

GetSidebarWeb returns the value of SidebarWeb.

func (*FoldersResponse) MarshalJSON

func (s *FoldersResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FoldersResponse) SetEnabled

func (s *FoldersResponse) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*FoldersResponse) SetSidebarWeb

func (s *FoldersResponse) SetSidebarWeb(val bool)

SetSidebarWeb sets the value of SidebarWeb.

func (*FoldersResponse) UnmarshalJSON

func (s *FoldersResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FoldersUpdate

type FoldersUpdate struct {
	Enabled    OptBool `json:"enabled"`
	SidebarWeb OptBool `json:"sidebarWeb"`
}

Ref: #/components/schemas/FoldersUpdate

func (*FoldersUpdate) Decode

func (s *FoldersUpdate) Decode(d *jx.Decoder) error

Decode decodes FoldersUpdate from json.

func (*FoldersUpdate) Encode

func (s *FoldersUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FoldersUpdate) GetEnabled

func (s *FoldersUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*FoldersUpdate) GetSidebarWeb

func (s *FoldersUpdate) GetSidebarWeb() OptBool

GetSidebarWeb returns the value of SidebarWeb.

func (*FoldersUpdate) MarshalJSON

func (s *FoldersUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FoldersUpdate) SetEnabled

func (s *FoldersUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*FoldersUpdate) SetSidebarWeb

func (s *FoldersUpdate) SetSidebarWeb(val OptBool)

SetSidebarWeb sets the value of SidebarWeb.

func (*FoldersUpdate) UnmarshalJSON

func (s *FoldersUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetActivitiesParams

type GetActivitiesParams struct {
	AlbumId uuid.UUID
	AssetId OptUUID
	Level   OptReactionLevel
	Type    OptReactionType
	UserId  OptUUID
}

GetActivitiesParams is parameters of getActivities operation.

type GetActivityStatisticsParams

type GetActivityStatisticsParams struct {
	AlbumId uuid.UUID
	AssetId OptUUID
}

GetActivityStatisticsParams is parameters of getActivityStatistics operation.

type GetAlbumInfoParams

type GetAlbumInfoParams struct {
	ID            uuid.UUID
	Key           OptString
	WithoutAssets OptBool
}

GetAlbumInfoParams is parameters of getAlbumInfo operation.

type GetAllAlbumsParams

type GetAllAlbumsParams struct {
	// Only returns albums that contain the asset
	// Ignores the shared parameter
	// undefined: get all albums.
	AssetId OptUUID
	Shared  OptBool
}

GetAllAlbumsParams is parameters of getAllAlbums operation.

type GetAllPeopleParams

type GetAllPeopleParams struct {
	// Page number for pagination.
	Page OptFloat64
	// Number of items per page.
	Size       OptFloat64
	WithHidden OptBool
}

GetAllPeopleParams is parameters of getAllPeople operation.

type GetAllUserAssetsByDeviceIdParams

type GetAllUserAssetsByDeviceIdParams struct {
	DeviceId string
}

GetAllUserAssetsByDeviceIdParams is parameters of getAllUserAssetsByDeviceId operation.

type GetApiKeyParams

type GetApiKeyParams struct {
	ID uuid.UUID
}

GetApiKeyParams is parameters of getApiKey operation.

type GetAssetInfoParams

type GetAssetInfoParams struct {
	ID  uuid.UUID
	Key OptString
}

GetAssetInfoParams is parameters of getAssetInfo operation.

type GetAssetStatisticsParams

type GetAssetStatisticsParams struct {
	IsArchived OptBool
	IsFavorite OptBool
	IsTrashed  OptBool
}

GetAssetStatisticsParams is parameters of getAssetStatistics operation.

type GetAssetsByOriginalPathParams

type GetAssetsByOriginalPathParams struct {
	Path string
}

GetAssetsByOriginalPathParams is parameters of getAssetsByOriginalPath operation.

type GetAuditDeletesParams

type GetAuditDeletesParams struct {
	After      time.Time
	EntityType EntityType
	UserId     OptUUID
}

GetAuditDeletesParams is parameters of getAuditDeletes operation.

type GetDownloadInfoParams

type GetDownloadInfoParams struct {
	Key OptString
}

GetDownloadInfoParams is parameters of getDownloadInfo operation.

type GetFacesParams

type GetFacesParams struct {
	ID uuid.UUID
}

GetFacesParams is parameters of getFaces operation.

type GetLibraryParams

type GetLibraryParams struct {
	ID uuid.UUID
}

GetLibraryParams is parameters of getLibrary operation.

type GetLibraryStatisticsParams

type GetLibraryStatisticsParams struct {
	ID uuid.UUID
}

GetLibraryStatisticsParams is parameters of getLibraryStatistics operation.

type GetMapMarkersParams

type GetMapMarkersParams struct {
	FileCreatedAfter  OptDateTime
	FileCreatedBefore OptDateTime
	IsArchived        OptBool
	IsFavorite        OptBool
	WithPartners      OptBool
	WithSharedAlbums  OptBool
}

GetMapMarkersParams is parameters of getMapMarkers operation.

type GetMemoryLaneParams

type GetMemoryLaneParams struct {
	Day   int
	Month int
}

GetMemoryLaneParams is parameters of getMemoryLane operation.

type GetMemoryParams

type GetMemoryParams struct {
	ID uuid.UUID
}

GetMemoryParams is parameters of getMemory operation.

type GetMySharedLinkParams

type GetMySharedLinkParams struct {
	Key      OptString
	Password OptString
	Token    OptString
}

GetMySharedLinkParams is parameters of getMySharedLink operation.

type GetPartnersParams

type GetPartnersParams struct {
	Direction PartnerDirection
}

GetPartnersParams is parameters of getPartners operation.

type GetPersonParams

type GetPersonParams struct {
	ID uuid.UUID
}

GetPersonParams is parameters of getPerson operation.

type GetPersonStatisticsParams

type GetPersonStatisticsParams struct {
	ID uuid.UUID
}

GetPersonStatisticsParams is parameters of getPersonStatistics operation.

type GetPersonThumbnailOK

type GetPersonThumbnailOK struct {
	Data io.Reader
}

func (GetPersonThumbnailOK) Read

func (s GetPersonThumbnailOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetPersonThumbnailParams

type GetPersonThumbnailParams struct {
	ID uuid.UUID
}

GetPersonThumbnailParams is parameters of getPersonThumbnail operation.

type GetProfileImageOK

type GetProfileImageOK struct {
	Data io.Reader
}

func (GetProfileImageOK) Read

func (s GetProfileImageOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type GetProfileImageParams

type GetProfileImageParams struct {
	ID uuid.UUID
}

GetProfileImageParams is parameters of getProfileImage operation.

type GetRandomParams

type GetRandomParams struct {
	Count OptFloat64
}

GetRandomParams is parameters of getRandom operation.

type GetSearchSuggestionsParams

type GetSearchSuggestionsParams struct {
	Country OptString
	// This property was added in v111.0.0.
	IncludeNull OptBool
	Make        OptString
	Model       OptString
	State       OptString
	Type        SearchSuggestionType
}

GetSearchSuggestionsParams is parameters of getSearchSuggestions operation.

type GetServerLicenseNotFound

type GetServerLicenseNotFound struct{}

GetServerLicenseNotFound is response for GetServerLicense operation.

type GetServerLicenseRes

type GetServerLicenseRes interface {
	// contains filtered or unexported methods
}

type GetSharedLinkByIdParams

type GetSharedLinkByIdParams struct {
	ID uuid.UUID
}

GetSharedLinkByIdParams is parameters of getSharedLinkById operation.

type GetStackParams

type GetStackParams struct {
	ID uuid.UUID
}

GetStackParams is parameters of getStack operation.

type GetTagByIdParams

type GetTagByIdParams struct {
	ID uuid.UUID
}

GetTagByIdParams is parameters of getTagById operation.

type GetTimeBucketParams

type GetTimeBucketParams struct {
	AlbumId      OptUUID
	IsArchived   OptBool
	IsFavorite   OptBool
	IsTrashed    OptBool
	Key          OptString
	Order        OptAssetOrder
	PersonId     OptUUID
	Size         TimeBucketSize
	TagId        OptUUID
	TimeBucket   string
	UserId       OptUUID
	WithPartners OptBool
	WithStacked  OptBool
}

GetTimeBucketParams is parameters of getTimeBucket operation.

type GetTimeBucketsParams

type GetTimeBucketsParams struct {
	AlbumId      OptUUID
	IsArchived   OptBool
	IsFavorite   OptBool
	IsTrashed    OptBool
	Key          OptString
	Order        OptAssetOrder
	PersonId     OptUUID
	Size         TimeBucketSize
	TagId        OptUUID
	UserId       OptUUID
	WithPartners OptBool
	WithStacked  OptBool
}

GetTimeBucketsParams is parameters of getTimeBuckets operation.

type GetUserAdminParams

type GetUserAdminParams struct {
	ID uuid.UUID
}

GetUserAdminParams is parameters of getUserAdmin operation.

type GetUserParams

type GetUserParams struct {
	ID uuid.UUID
}

GetUserParams is parameters of getUser operation.

type GetUserPreferencesAdminParams

type GetUserPreferencesAdminParams struct {
	ID uuid.UUID
}

GetUserPreferencesAdminParams is parameters of getUserPreferencesAdmin operation.

type Handler

type Handler interface {
	// AddAssetsToAlbum implements addAssetsToAlbum operation.
	//
	// PUT /albums/{id}/assets
	AddAssetsToAlbum(ctx context.Context, req *BulkIdsDto, params AddAssetsToAlbumParams) ([]BulkIdResponseDto, error)
	// AddMemoryAssets implements addMemoryAssets operation.
	//
	// PUT /memories/{id}/assets
	AddMemoryAssets(ctx context.Context, req *BulkIdsDto, params AddMemoryAssetsParams) ([]BulkIdResponseDto, error)
	// AddSharedLinkAssets implements addSharedLinkAssets operation.
	//
	// PUT /shared-links/{id}/assets
	AddSharedLinkAssets(ctx context.Context, req *AssetIdsDto, params AddSharedLinkAssetsParams) ([]AssetIdsResponseDto, error)
	// AddUsersToAlbum implements addUsersToAlbum operation.
	//
	// PUT /albums/{id}/users
	AddUsersToAlbum(ctx context.Context, req *AddUsersDto, params AddUsersToAlbumParams) (*AlbumResponseDto, error)
	// BulkTagAssets implements bulkTagAssets operation.
	//
	// PUT /tags/assets
	BulkTagAssets(ctx context.Context, req *TagBulkAssetsDto) (*TagBulkAssetsResponseDto, error)
	// ChangePassword implements changePassword operation.
	//
	// POST /auth/change-password
	ChangePassword(ctx context.Context, req *ChangePasswordDto) (*UserAdminResponseDto, error)
	// CheckBulkUpload implements checkBulkUpload operation.
	//
	// Checks if assets exist by checksums.
	//
	// POST /assets/bulk-upload-check
	CheckBulkUpload(ctx context.Context, req *AssetBulkUploadCheckDto) (*AssetBulkUploadCheckResponseDto, error)
	// CheckExistingAssets implements checkExistingAssets operation.
	//
	// Checks if multiple assets exist on the server and returns all existing - used by background backup.
	//
	// POST /assets/exist
	CheckExistingAssets(ctx context.Context, req *CheckExistingAssetsDto) (*CheckExistingAssetsResponseDto, error)
	// CreateActivity implements createActivity operation.
	//
	// POST /activities
	CreateActivity(ctx context.Context, req *ActivityCreateDto) (*ActivityResponseDto, error)
	// CreateAlbum implements createAlbum operation.
	//
	// POST /albums
	CreateAlbum(ctx context.Context, req *CreateAlbumDto) (*AlbumResponseDto, error)
	// CreateApiKey implements createApiKey operation.
	//
	// POST /api-keys
	CreateApiKey(ctx context.Context, req *APIKeyCreateDto) (*APIKeyCreateResponseDto, error)
	// CreateJob implements createJob operation.
	//
	// POST /jobs
	CreateJob(ctx context.Context, req *JobCreateDto) error
	// CreateLibrary implements createLibrary operation.
	//
	// POST /libraries
	CreateLibrary(ctx context.Context, req *CreateLibraryDto) (*LibraryResponseDto, error)
	// CreateMemory implements createMemory operation.
	//
	// POST /memories
	CreateMemory(ctx context.Context, req *MemoryCreateDto) (*MemoryResponseDto, error)
	// CreatePartner implements createPartner operation.
	//
	// POST /partners/{id}
	CreatePartner(ctx context.Context, params CreatePartnerParams) (*PartnerResponseDto, error)
	// CreatePerson implements createPerson operation.
	//
	// POST /people
	CreatePerson(ctx context.Context, req *PersonCreateDto) (*PersonResponseDto, error)
	// CreateProfileImage implements createProfileImage operation.
	//
	// POST /users/profile-image
	CreateProfileImage(ctx context.Context, req *CreateProfileImageDtoMultipart) (*CreateProfileImageResponseDto, error)
	// CreateSharedLink implements createSharedLink operation.
	//
	// POST /shared-links
	CreateSharedLink(ctx context.Context, req *SharedLinkCreateDto) (*SharedLinkResponseDto, error)
	// CreateStack implements createStack operation.
	//
	// POST /stacks
	CreateStack(ctx context.Context, req *StackCreateDto) (*StackResponseDto, error)
	// CreateTag implements createTag operation.
	//
	// POST /tags
	CreateTag(ctx context.Context, req *TagCreateDto) (*TagResponseDto, error)
	// CreateUserAdmin implements createUserAdmin operation.
	//
	// POST /admin/users
	CreateUserAdmin(ctx context.Context, req *UserAdminCreateDto) (*UserAdminResponseDto, error)
	// DeleteActivity implements deleteActivity operation.
	//
	// DELETE /activities/{id}
	DeleteActivity(ctx context.Context, params DeleteActivityParams) error
	// DeleteAlbum implements deleteAlbum operation.
	//
	// DELETE /albums/{id}
	DeleteAlbum(ctx context.Context, params DeleteAlbumParams) error
	// DeleteAllSessions implements deleteAllSessions operation.
	//
	// DELETE /sessions
	DeleteAllSessions(ctx context.Context) error
	// DeleteApiKey implements deleteApiKey operation.
	//
	// DELETE /api-keys/{id}
	DeleteApiKey(ctx context.Context, params DeleteApiKeyParams) error
	// DeleteAssets implements deleteAssets operation.
	//
	// DELETE /assets
	DeleteAssets(ctx context.Context, req *AssetBulkDeleteDto) error
	// DeleteLibrary implements deleteLibrary operation.
	//
	// DELETE /libraries/{id}
	DeleteLibrary(ctx context.Context, params DeleteLibraryParams) error
	// DeleteMemory implements deleteMemory operation.
	//
	// DELETE /memories/{id}
	DeleteMemory(ctx context.Context, params DeleteMemoryParams) error
	// DeleteProfileImage implements deleteProfileImage operation.
	//
	// DELETE /users/profile-image
	DeleteProfileImage(ctx context.Context) error
	// DeleteServerLicense implements deleteServerLicense operation.
	//
	// DELETE /server/license
	DeleteServerLicense(ctx context.Context) error
	// DeleteSession implements deleteSession operation.
	//
	// DELETE /sessions/{id}
	DeleteSession(ctx context.Context, params DeleteSessionParams) error
	// DeleteStack implements deleteStack operation.
	//
	// DELETE /stacks/{id}
	DeleteStack(ctx context.Context, params DeleteStackParams) error
	// DeleteStacks implements deleteStacks operation.
	//
	// DELETE /stacks
	DeleteStacks(ctx context.Context, req *BulkIdsDto) error
	// DeleteTag implements deleteTag operation.
	//
	// DELETE /tags/{id}
	DeleteTag(ctx context.Context, params DeleteTagParams) error
	// DeleteUserAdmin implements deleteUserAdmin operation.
	//
	// DELETE /admin/users/{id}
	DeleteUserAdmin(ctx context.Context, req *UserAdminDeleteDto, params DeleteUserAdminParams) (*UserAdminResponseDto, error)
	// DeleteUserLicense implements deleteUserLicense operation.
	//
	// DELETE /users/me/license
	DeleteUserLicense(ctx context.Context) error
	// DownloadArchive implements downloadArchive operation.
	//
	// POST /download/archive
	DownloadArchive(ctx context.Context, req *AssetIdsDto, params DownloadArchiveParams) (DownloadArchiveOK, error)
	// DownloadAsset implements downloadAsset operation.
	//
	// GET /assets/{id}/original
	DownloadAsset(ctx context.Context, params DownloadAssetParams) (*DownloadAssetOKHeaders, error)
	// EmptyTrash implements emptyTrash operation.
	//
	// POST /trash/empty
	EmptyTrash(ctx context.Context) (*TrashResponseDto, error)
	// FinishOAuth implements finishOAuth operation.
	//
	// POST /oauth/callback
	FinishOAuth(ctx context.Context, req *OAuthCallbackDto) (*LoginResponseDto, error)
	// FixAuditFiles implements fixAuditFiles operation.
	//
	// POST /reports/fix
	FixAuditFiles(ctx context.Context, req *FileReportFixDto) error
	// GetAboutInfo implements getAboutInfo operation.
	//
	// GET /server/about
	GetAboutInfo(ctx context.Context) (*ServerAboutResponseDto, error)
	// GetActivities implements getActivities operation.
	//
	// GET /activities
	GetActivities(ctx context.Context, params GetActivitiesParams) ([]ActivityResponseDto, error)
	// GetActivityStatistics implements getActivityStatistics operation.
	//
	// GET /activities/statistics
	GetActivityStatistics(ctx context.Context, params GetActivityStatisticsParams) (*ActivityStatisticsResponseDto, error)
	// GetAdminOnboarding implements getAdminOnboarding operation.
	//
	// GET /system-metadata/admin-onboarding
	GetAdminOnboarding(ctx context.Context) (*AdminOnboardingUpdateDto, error)
	// GetAlbumInfo implements getAlbumInfo operation.
	//
	// GET /albums/{id}
	GetAlbumInfo(ctx context.Context, params GetAlbumInfoParams) (*AlbumResponseDto, error)
	// GetAlbumStatistics implements getAlbumStatistics operation.
	//
	// GET /albums/statistics
	GetAlbumStatistics(ctx context.Context) (*AlbumStatisticsResponseDto, error)
	// GetAllAlbums implements getAllAlbums operation.
	//
	// GET /albums
	GetAllAlbums(ctx context.Context, params GetAllAlbumsParams) ([]AlbumResponseDto, error)
	// GetAllJobsStatus implements getAllJobsStatus operation.
	//
	// GET /jobs
	GetAllJobsStatus(ctx context.Context) (*AllJobStatusResponseDto, error)
	// GetAllLibraries implements getAllLibraries operation.
	//
	// GET /libraries
	GetAllLibraries(ctx context.Context) ([]LibraryResponseDto, error)
	// GetAllPeople implements getAllPeople operation.
	//
	// GET /people
	GetAllPeople(ctx context.Context, params GetAllPeopleParams) (*PeopleResponseDto, error)
	// GetAllSharedLinks implements getAllSharedLinks operation.
	//
	// GET /shared-links
	GetAllSharedLinks(ctx context.Context) ([]SharedLinkResponseDto, error)
	// GetAllTags implements getAllTags operation.
	//
	// GET /tags
	GetAllTags(ctx context.Context) ([]TagResponseDto, error)
	// GetAllUserAssetsByDeviceId implements getAllUserAssetsByDeviceId operation.
	//
	// Get all asset of a device that are in the database, ID only.
	//
	// GET /assets/device/{deviceId}
	GetAllUserAssetsByDeviceId(ctx context.Context, params GetAllUserAssetsByDeviceIdParams) ([]string, error)
	// GetApiKey implements getApiKey operation.
	//
	// GET /api-keys/{id}
	GetApiKey(ctx context.Context, params GetApiKeyParams) (*APIKeyResponseDto, error)
	// GetApiKeys implements getApiKeys operation.
	//
	// GET /api-keys
	GetApiKeys(ctx context.Context) ([]APIKeyResponseDto, error)
	// GetAssetDuplicates implements getAssetDuplicates operation.
	//
	// GET /duplicates
	GetAssetDuplicates(ctx context.Context) ([]DuplicateResponseDto, error)
	// GetAssetInfo implements getAssetInfo operation.
	//
	// GET /assets/{id}
	GetAssetInfo(ctx context.Context, params GetAssetInfoParams) (*AssetResponseDto, error)
	// GetAssetStatistics implements getAssetStatistics operation.
	//
	// GET /assets/statistics
	GetAssetStatistics(ctx context.Context, params GetAssetStatisticsParams) (*AssetStatsResponseDto, error)
	// GetAssetsByCity implements getAssetsByCity operation.
	//
	// GET /search/cities
	GetAssetsByCity(ctx context.Context) ([]AssetResponseDto, error)
	// GetAssetsByOriginalPath implements getAssetsByOriginalPath operation.
	//
	// GET /view/folder
	GetAssetsByOriginalPath(ctx context.Context, params GetAssetsByOriginalPathParams) ([]AssetResponseDto, error)
	// GetAuditDeletes implements getAuditDeletes operation.
	//
	// GET /audit/deletes
	GetAuditDeletes(ctx context.Context, params GetAuditDeletesParams) (*AuditDeletesResponseDto, error)
	// GetAuditFiles implements getAuditFiles operation.
	//
	// GET /reports
	GetAuditFiles(ctx context.Context) (*FileReportDto, error)
	// GetConfig implements getConfig operation.
	//
	// GET /system-config
	GetConfig(ctx context.Context) (*SystemConfigDto, error)
	// GetConfigDefaults implements getConfigDefaults operation.
	//
	// GET /system-config/defaults
	GetConfigDefaults(ctx context.Context) (*SystemConfigDto, error)
	// GetDeltaSync implements getDeltaSync operation.
	//
	// POST /sync/delta-sync
	GetDeltaSync(ctx context.Context, req *AssetDeltaSyncDto) (*AssetDeltaSyncResponseDto, error)
	// GetDownloadInfo implements getDownloadInfo operation.
	//
	// POST /download/info
	GetDownloadInfo(ctx context.Context, req *DownloadInfoDto, params GetDownloadInfoParams) (*DownloadResponseDto, error)
	// GetExploreData implements getExploreData operation.
	//
	// GET /search/explore
	GetExploreData(ctx context.Context) ([]SearchExploreResponseDto, error)
	// GetFaces implements getFaces operation.
	//
	// GET /faces
	GetFaces(ctx context.Context, params GetFacesParams) ([]AssetFaceResponseDto, error)
	// GetFileChecksums implements getFileChecksums operation.
	//
	// POST /reports/checksum
	GetFileChecksums(ctx context.Context, req *FileChecksumDto) ([]FileChecksumResponseDto, error)
	// GetFullSyncForUser implements getFullSyncForUser operation.
	//
	// POST /sync/full-sync
	GetFullSyncForUser(ctx context.Context, req *AssetFullSyncDto) ([]AssetResponseDto, error)
	// GetLibrary implements getLibrary operation.
	//
	// GET /libraries/{id}
	GetLibrary(ctx context.Context, params GetLibraryParams) (*LibraryResponseDto, error)
	// GetLibraryStatistics implements getLibraryStatistics operation.
	//
	// GET /libraries/{id}/statistics
	GetLibraryStatistics(ctx context.Context, params GetLibraryStatisticsParams) (*LibraryStatsResponseDto, error)
	// GetMapMarkers implements getMapMarkers operation.
	//
	// GET /map/markers
	GetMapMarkers(ctx context.Context, params GetMapMarkersParams) ([]MapMarkerResponseDto, error)
	// GetMemory implements getMemory operation.
	//
	// GET /memories/{id}
	GetMemory(ctx context.Context, params GetMemoryParams) (*MemoryResponseDto, error)
	// GetMemoryLane implements getMemoryLane operation.
	//
	// GET /assets/memory-lane
	GetMemoryLane(ctx context.Context, params GetMemoryLaneParams) ([]MemoryLaneResponseDto, error)
	// GetMyPreferences implements getMyPreferences operation.
	//
	// GET /users/me/preferences
	GetMyPreferences(ctx context.Context) (*UserPreferencesResponseDto, error)
	// GetMySharedLink implements getMySharedLink operation.
	//
	// GET /shared-links/me
	GetMySharedLink(ctx context.Context, params GetMySharedLinkParams) (*SharedLinkResponseDto, error)
	// GetMyUser implements getMyUser operation.
	//
	// GET /users/me
	GetMyUser(ctx context.Context) (*UserAdminResponseDto, error)
	// GetPartners implements getPartners operation.
	//
	// GET /partners
	GetPartners(ctx context.Context, params GetPartnersParams) ([]PartnerResponseDto, error)
	// GetPerson implements getPerson operation.
	//
	// GET /people/{id}
	GetPerson(ctx context.Context, params GetPersonParams) (*PersonResponseDto, error)
	// GetPersonStatistics implements getPersonStatistics operation.
	//
	// GET /people/{id}/statistics
	GetPersonStatistics(ctx context.Context, params GetPersonStatisticsParams) (*PersonStatisticsResponseDto, error)
	// GetPersonThumbnail implements getPersonThumbnail operation.
	//
	// GET /people/{id}/thumbnail
	GetPersonThumbnail(ctx context.Context, params GetPersonThumbnailParams) (GetPersonThumbnailOK, error)
	// GetProfileImage implements getProfileImage operation.
	//
	// GET /users/{id}/profile-image
	GetProfileImage(ctx context.Context, params GetProfileImageParams) (GetProfileImageOK, error)
	// GetRandom implements getRandom operation.
	//
	// This property was deprecated in v1.116.0.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// GET /assets/random
	GetRandom(ctx context.Context, params GetRandomParams) ([]AssetResponseDto, error)
	// GetReverseGeocodingState implements getReverseGeocodingState operation.
	//
	// GET /system-metadata/reverse-geocoding-state
	GetReverseGeocodingState(ctx context.Context) (*ReverseGeocodingStateResponseDto, error)
	// GetSearchSuggestions implements getSearchSuggestions operation.
	//
	// GET /search/suggestions
	GetSearchSuggestions(ctx context.Context, params GetSearchSuggestionsParams) ([]string, error)
	// GetServerConfig implements getServerConfig operation.
	//
	// GET /server/config
	GetServerConfig(ctx context.Context) (*ServerConfigDto, error)
	// GetServerFeatures implements getServerFeatures operation.
	//
	// GET /server/features
	GetServerFeatures(ctx context.Context) (*ServerFeaturesDto, error)
	// GetServerLicense implements getServerLicense operation.
	//
	// GET /server/license
	GetServerLicense(ctx context.Context) (GetServerLicenseRes, error)
	// GetServerStatistics implements getServerStatistics operation.
	//
	// GET /server/statistics
	GetServerStatistics(ctx context.Context) (*ServerStatsResponseDto, error)
	// GetServerVersion implements getServerVersion operation.
	//
	// GET /server/version
	GetServerVersion(ctx context.Context) (*ServerVersionResponseDto, error)
	// GetSessions implements getSessions operation.
	//
	// GET /sessions
	GetSessions(ctx context.Context) ([]SessionResponseDto, error)
	// GetSharedLinkById implements getSharedLinkById operation.
	//
	// GET /shared-links/{id}
	GetSharedLinkById(ctx context.Context, params GetSharedLinkByIdParams) (*SharedLinkResponseDto, error)
	// GetStack implements getStack operation.
	//
	// GET /stacks/{id}
	GetStack(ctx context.Context, params GetStackParams) (*StackResponseDto, error)
	// GetStorage implements getStorage operation.
	//
	// GET /server/storage
	GetStorage(ctx context.Context) (*ServerStorageResponseDto, error)
	// GetStorageTemplateOptions implements getStorageTemplateOptions operation.
	//
	// GET /system-config/storage-template-options
	GetStorageTemplateOptions(ctx context.Context) (*SystemConfigTemplateStorageOptionDto, error)
	// GetSupportedMediaTypes implements getSupportedMediaTypes operation.
	//
	// GET /server/media-types
	GetSupportedMediaTypes(ctx context.Context) (*ServerMediaTypesResponseDto, error)
	// GetTagById implements getTagById operation.
	//
	// GET /tags/{id}
	GetTagById(ctx context.Context, params GetTagByIdParams) (*TagResponseDto, error)
	// GetTheme implements getTheme operation.
	//
	// GET /server/theme
	GetTheme(ctx context.Context) (*ServerThemeDto, error)
	// GetTimeBucket implements getTimeBucket operation.
	//
	// GET /timeline/bucket
	GetTimeBucket(ctx context.Context, params GetTimeBucketParams) ([]AssetResponseDto, error)
	// GetTimeBuckets implements getTimeBuckets operation.
	//
	// GET /timeline/buckets
	GetTimeBuckets(ctx context.Context, params GetTimeBucketsParams) ([]TimeBucketResponseDto, error)
	// GetUniqueOriginalPaths implements getUniqueOriginalPaths operation.
	//
	// GET /view/folder/unique-paths
	GetUniqueOriginalPaths(ctx context.Context) ([]string, error)
	// GetUser implements getUser operation.
	//
	// GET /users/{id}
	GetUser(ctx context.Context, params GetUserParams) (*UserResponseDto, error)
	// GetUserAdmin implements getUserAdmin operation.
	//
	// GET /admin/users/{id}
	GetUserAdmin(ctx context.Context, params GetUserAdminParams) (*UserAdminResponseDto, error)
	// GetUserLicense implements getUserLicense operation.
	//
	// GET /users/me/license
	GetUserLicense(ctx context.Context) (*LicenseResponseDto, error)
	// GetUserPreferencesAdmin implements getUserPreferencesAdmin operation.
	//
	// GET /admin/users/{id}/preferences
	GetUserPreferencesAdmin(ctx context.Context, params GetUserPreferencesAdminParams) (*UserPreferencesResponseDto, error)
	// GetVersionHistory implements getVersionHistory operation.
	//
	// GET /server/version-history
	GetVersionHistory(ctx context.Context) ([]ServerVersionHistoryResponseDto, error)
	// LinkOAuthAccount implements linkOAuthAccount operation.
	//
	// POST /oauth/link
	LinkOAuthAccount(ctx context.Context, req *OAuthCallbackDto) (*UserAdminResponseDto, error)
	// Login implements login operation.
	//
	// POST /auth/login
	Login(ctx context.Context, req *LoginCredentialDto) (*LoginResponseDto, error)
	// Logout implements logout operation.
	//
	// POST /auth/logout
	Logout(ctx context.Context) (*LogoutResponseDto, error)
	// MergePerson implements mergePerson operation.
	//
	// POST /people/{id}/merge
	MergePerson(ctx context.Context, req *MergePersonDto, params MergePersonParams) ([]BulkIdResponseDto, error)
	// PingServer implements pingServer operation.
	//
	// GET /server/ping
	PingServer(ctx context.Context) (*ServerPingResponse, error)
	// PlayAssetVideo implements playAssetVideo operation.
	//
	// GET /assets/{id}/video/playback
	PlayAssetVideo(ctx context.Context, params PlayAssetVideoParams) (PlayAssetVideoOK, error)
	// ReassignFaces implements reassignFaces operation.
	//
	// PUT /people/{id}/reassign
	ReassignFaces(ctx context.Context, req *AssetFaceUpdateDto, params ReassignFacesParams) ([]PersonResponseDto, error)
	// ReassignFacesById implements reassignFacesById operation.
	//
	// PUT /faces/{id}
	ReassignFacesById(ctx context.Context, req *FaceDto, params ReassignFacesByIdParams) (*PersonResponseDto, error)
	// RedirectOAuthToMobile implements redirectOAuthToMobile operation.
	//
	// GET /oauth/mobile-redirect
	RedirectOAuthToMobile(ctx context.Context) error
	// RemoveAssetFromAlbum implements removeAssetFromAlbum operation.
	//
	// DELETE /albums/{id}/assets
	RemoveAssetFromAlbum(ctx context.Context, req *BulkIdsDto, params RemoveAssetFromAlbumParams) ([]BulkIdResponseDto, error)
	// RemoveMemoryAssets implements removeMemoryAssets operation.
	//
	// DELETE /memories/{id}/assets
	RemoveMemoryAssets(ctx context.Context, req *BulkIdsDto, params RemoveMemoryAssetsParams) ([]BulkIdResponseDto, error)
	// RemovePartner implements removePartner operation.
	//
	// DELETE /partners/{id}
	RemovePartner(ctx context.Context, params RemovePartnerParams) error
	// RemoveSharedLink implements removeSharedLink operation.
	//
	// DELETE /shared-links/{id}
	RemoveSharedLink(ctx context.Context, params RemoveSharedLinkParams) error
	// RemoveSharedLinkAssets implements removeSharedLinkAssets operation.
	//
	// DELETE /shared-links/{id}/assets
	RemoveSharedLinkAssets(ctx context.Context, req *AssetIdsDto, params RemoveSharedLinkAssetsParams) ([]AssetIdsResponseDto, error)
	// RemoveUserFromAlbum implements removeUserFromAlbum operation.
	//
	// DELETE /albums/{id}/user/{userId}
	RemoveUserFromAlbum(ctx context.Context, params RemoveUserFromAlbumParams) error
	// ReplaceAsset implements replaceAsset operation.
	//
	// Replace the asset with new file, without changing its id.
	//
	// PUT /assets/{id}/original
	ReplaceAsset(ctx context.Context, req *AssetMediaReplaceDtoMultipart, params ReplaceAssetParams) (*AssetMediaResponseDto, error)
	// RestoreAssets implements restoreAssets operation.
	//
	// POST /trash/restore/assets
	RestoreAssets(ctx context.Context, req *BulkIdsDto) (*TrashResponseDto, error)
	// RestoreTrash implements restoreTrash operation.
	//
	// POST /trash/restore
	RestoreTrash(ctx context.Context) (*TrashResponseDto, error)
	// RestoreUserAdmin implements restoreUserAdmin operation.
	//
	// POST /admin/users/{id}/restore
	RestoreUserAdmin(ctx context.Context, params RestoreUserAdminParams) (*UserAdminResponseDto, error)
	// ReverseGeocode implements reverseGeocode operation.
	//
	// GET /map/reverse-geocode
	ReverseGeocode(ctx context.Context, params ReverseGeocodeParams) ([]MapReverseGeocodeResponseDto, error)
	// RunAssetJobs implements runAssetJobs operation.
	//
	// POST /assets/jobs
	RunAssetJobs(ctx context.Context, req *AssetJobsDto) error
	// ScanLibrary implements scanLibrary operation.
	//
	// POST /libraries/{id}/scan
	ScanLibrary(ctx context.Context, params ScanLibraryParams) error
	// SearchMemories implements searchMemories operation.
	//
	// GET /memories
	SearchMemories(ctx context.Context) ([]MemoryResponseDto, error)
	// SearchMetadata implements searchMetadata operation.
	//
	// POST /search/metadata
	SearchMetadata(ctx context.Context, req *MetadataSearchDto) (*SearchResponseDto, error)
	// SearchPerson implements searchPerson operation.
	//
	// GET /search/person
	SearchPerson(ctx context.Context, params SearchPersonParams) ([]PersonResponseDto, error)
	// SearchPlaces implements searchPlaces operation.
	//
	// GET /search/places
	SearchPlaces(ctx context.Context, params SearchPlacesParams) ([]PlacesResponseDto, error)
	// SearchRandom implements searchRandom operation.
	//
	// POST /search/random
	SearchRandom(ctx context.Context, req *RandomSearchDto) ([]AssetResponseDto, error)
	// SearchSmart implements searchSmart operation.
	//
	// POST /search/smart
	SearchSmart(ctx context.Context, req *SmartSearchDto) (*SearchResponseDto, error)
	// SearchStacks implements searchStacks operation.
	//
	// GET /stacks
	SearchStacks(ctx context.Context, params SearchStacksParams) ([]StackResponseDto, error)
	// SearchUsers implements searchUsers operation.
	//
	// GET /users
	SearchUsers(ctx context.Context) ([]UserResponseDto, error)
	// SearchUsersAdmin implements searchUsersAdmin operation.
	//
	// GET /admin/users
	SearchUsersAdmin(ctx context.Context, params SearchUsersAdminParams) ([]UserAdminResponseDto, error)
	// SendJobCommand implements sendJobCommand operation.
	//
	// PUT /jobs/{id}
	SendJobCommand(ctx context.Context, req *JobCommandDto, params SendJobCommandParams) (*JobStatusDto, error)
	// SendTestEmail implements sendTestEmail operation.
	//
	// POST /notifications/test-email
	SendTestEmail(ctx context.Context, req *SystemConfigSmtpDto) (*TestEmailResponseDto, error)
	// SetServerLicense implements setServerLicense operation.
	//
	// PUT /server/license
	SetServerLicense(ctx context.Context, req *LicenseKeyDto) (*LicenseResponseDto, error)
	// SetUserLicense implements setUserLicense operation.
	//
	// PUT /users/me/license
	SetUserLicense(ctx context.Context, req *LicenseKeyDto) (*LicenseResponseDto, error)
	// SignUpAdmin implements signUpAdmin operation.
	//
	// POST /auth/admin-sign-up
	SignUpAdmin(ctx context.Context, req *SignUpDto) (*UserAdminResponseDto, error)
	// StartOAuth implements startOAuth operation.
	//
	// POST /oauth/authorize
	StartOAuth(ctx context.Context, req *OAuthConfigDto) (*OAuthAuthorizeResponseDto, error)
	// TagAssets implements tagAssets operation.
	//
	// PUT /tags/{id}/assets
	TagAssets(ctx context.Context, req *BulkIdsDto, params TagAssetsParams) ([]BulkIdResponseDto, error)
	// UnlinkOAuthAccount implements unlinkOAuthAccount operation.
	//
	// POST /oauth/unlink
	UnlinkOAuthAccount(ctx context.Context) (*UserAdminResponseDto, error)
	// UntagAssets implements untagAssets operation.
	//
	// DELETE /tags/{id}/assets
	UntagAssets(ctx context.Context, req *BulkIdsDto, params UntagAssetsParams) ([]BulkIdResponseDto, error)
	// UpdateAdminOnboarding implements updateAdminOnboarding operation.
	//
	// POST /system-metadata/admin-onboarding
	UpdateAdminOnboarding(ctx context.Context, req *AdminOnboardingUpdateDto) error
	// UpdateAlbumInfo implements updateAlbumInfo operation.
	//
	// PATCH /albums/{id}
	UpdateAlbumInfo(ctx context.Context, req *UpdateAlbumDto, params UpdateAlbumInfoParams) (*AlbumResponseDto, error)
	// UpdateAlbumUser implements updateAlbumUser operation.
	//
	// PUT /albums/{id}/user/{userId}
	UpdateAlbumUser(ctx context.Context, req *UpdateAlbumUserDto, params UpdateAlbumUserParams) error
	// UpdateApiKey implements updateApiKey operation.
	//
	// PUT /api-keys/{id}
	UpdateApiKey(ctx context.Context, req *APIKeyUpdateDto, params UpdateApiKeyParams) (*APIKeyResponseDto, error)
	// UpdateAsset implements updateAsset operation.
	//
	// PUT /assets/{id}
	UpdateAsset(ctx context.Context, req *UpdateAssetDto, params UpdateAssetParams) (*AssetResponseDto, error)
	// UpdateAssets implements updateAssets operation.
	//
	// PUT /assets
	UpdateAssets(ctx context.Context, req *AssetBulkUpdateDto) error
	// UpdateConfig implements updateConfig operation.
	//
	// PUT /system-config
	UpdateConfig(ctx context.Context, req *SystemConfigDto) (*SystemConfigDto, error)
	// UpdateLibrary implements updateLibrary operation.
	//
	// PUT /libraries/{id}
	UpdateLibrary(ctx context.Context, req *UpdateLibraryDto, params UpdateLibraryParams) (*LibraryResponseDto, error)
	// UpdateMemory implements updateMemory operation.
	//
	// PUT /memories/{id}
	UpdateMemory(ctx context.Context, req *MemoryUpdateDto, params UpdateMemoryParams) (*MemoryResponseDto, error)
	// UpdateMyPreferences implements updateMyPreferences operation.
	//
	// PUT /users/me/preferences
	UpdateMyPreferences(ctx context.Context, req *UserPreferencesUpdateDto) (*UserPreferencesResponseDto, error)
	// UpdateMyUser implements updateMyUser operation.
	//
	// PUT /users/me
	UpdateMyUser(ctx context.Context, req *UserUpdateMeDto) (*UserAdminResponseDto, error)
	// UpdatePartner implements updatePartner operation.
	//
	// PUT /partners/{id}
	UpdatePartner(ctx context.Context, req *UpdatePartnerDto, params UpdatePartnerParams) (*PartnerResponseDto, error)
	// UpdatePeople implements updatePeople operation.
	//
	// PUT /people
	UpdatePeople(ctx context.Context, req *PeopleUpdateDto) ([]BulkIdResponseDto, error)
	// UpdatePerson implements updatePerson operation.
	//
	// PUT /people/{id}
	UpdatePerson(ctx context.Context, req *PersonUpdateDto, params UpdatePersonParams) (*PersonResponseDto, error)
	// UpdateSharedLink implements updateSharedLink operation.
	//
	// PATCH /shared-links/{id}
	UpdateSharedLink(ctx context.Context, req *SharedLinkEditDto, params UpdateSharedLinkParams) (*SharedLinkResponseDto, error)
	// UpdateStack implements updateStack operation.
	//
	// PUT /stacks/{id}
	UpdateStack(ctx context.Context, req *StackUpdateDto, params UpdateStackParams) (*StackResponseDto, error)
	// UpdateTag implements updateTag operation.
	//
	// PUT /tags/{id}
	UpdateTag(ctx context.Context, req *TagUpdateDto, params UpdateTagParams) (*TagResponseDto, error)
	// UpdateUserAdmin implements updateUserAdmin operation.
	//
	// PUT /admin/users/{id}
	UpdateUserAdmin(ctx context.Context, req *UserAdminUpdateDto, params UpdateUserAdminParams) (*UserAdminResponseDto, error)
	// UpdateUserPreferencesAdmin implements updateUserPreferencesAdmin operation.
	//
	// PUT /admin/users/{id}/preferences
	UpdateUserPreferencesAdmin(ctx context.Context, req *UserPreferencesUpdateDto, params UpdateUserPreferencesAdminParams) (*UserPreferencesResponseDto, error)
	// UploadAsset implements uploadAsset operation.
	//
	// POST /assets
	UploadAsset(ctx context.Context, req *AssetMediaCreateDtoMultipart, params UploadAssetParams) (*AssetMediaResponseDtoStatusCode, error)
	// UpsertTags implements upsertTags operation.
	//
	// PUT /tags
	UpsertTags(ctx context.Context, req *TagUpsertDto) ([]TagResponseDto, error)
	// Validate implements validate operation.
	//
	// POST /libraries/{id}/validate
	Validate(ctx context.Context, req *ValidateLibraryDto, params ValidateParams) (*ValidateLibraryResponseDto, error)
	// ValidateAccessToken implements validateAccessToken operation.
	//
	// POST /auth/validateToken
	ValidateAccessToken(ctx context.Context) (*ValidateAccessTokenResponseDto, error)
	// ViewAsset implements viewAsset operation.
	//
	// GET /assets/{id}/thumbnail
	ViewAsset(ctx context.Context, params ViewAssetParams) (ViewAssetOK, error)
}

Handler handles operations described by OpenAPI v3 specification.

type ImageFormat

type ImageFormat string

Ref: #/components/schemas/ImageFormat

const (
	ImageFormatJpeg ImageFormat = "jpeg"
	ImageFormatWEBP ImageFormat = "webp"
)

func (ImageFormat) AllValues

func (ImageFormat) AllValues() []ImageFormat

AllValues returns all ImageFormat values.

func (*ImageFormat) Decode

func (s *ImageFormat) Decode(d *jx.Decoder) error

Decode decodes ImageFormat from json.

func (ImageFormat) Encode

func (s ImageFormat) Encode(e *jx.Encoder)

Encode encodes ImageFormat as json.

func (ImageFormat) MarshalJSON

func (s ImageFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ImageFormat) MarshalText

func (s ImageFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ImageFormat) UnmarshalJSON

func (s *ImageFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ImageFormat) UnmarshalText

func (s *ImageFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ImageFormat) Validate

func (s ImageFormat) Validate() error

type Invoker

type Invoker interface {
	// AddAssetsToAlbum invokes addAssetsToAlbum operation.
	//
	// PUT /albums/{id}/assets
	AddAssetsToAlbum(ctx context.Context, request *BulkIdsDto, params AddAssetsToAlbumParams) ([]BulkIdResponseDto, error)
	// AddMemoryAssets invokes addMemoryAssets operation.
	//
	// PUT /memories/{id}/assets
	AddMemoryAssets(ctx context.Context, request *BulkIdsDto, params AddMemoryAssetsParams) ([]BulkIdResponseDto, error)
	// AddSharedLinkAssets invokes addSharedLinkAssets operation.
	//
	// PUT /shared-links/{id}/assets
	AddSharedLinkAssets(ctx context.Context, request *AssetIdsDto, params AddSharedLinkAssetsParams) ([]AssetIdsResponseDto, error)
	// AddUsersToAlbum invokes addUsersToAlbum operation.
	//
	// PUT /albums/{id}/users
	AddUsersToAlbum(ctx context.Context, request *AddUsersDto, params AddUsersToAlbumParams) (*AlbumResponseDto, error)
	// BulkTagAssets invokes bulkTagAssets operation.
	//
	// PUT /tags/assets
	BulkTagAssets(ctx context.Context, request *TagBulkAssetsDto) (*TagBulkAssetsResponseDto, error)
	// ChangePassword invokes changePassword operation.
	//
	// POST /auth/change-password
	ChangePassword(ctx context.Context, request *ChangePasswordDto) (*UserAdminResponseDto, error)
	// CheckBulkUpload invokes checkBulkUpload operation.
	//
	// Checks if assets exist by checksums.
	//
	// POST /assets/bulk-upload-check
	CheckBulkUpload(ctx context.Context, request *AssetBulkUploadCheckDto) (*AssetBulkUploadCheckResponseDto, error)
	// CheckExistingAssets invokes checkExistingAssets operation.
	//
	// Checks if multiple assets exist on the server and returns all existing - used by background backup.
	//
	// POST /assets/exist
	CheckExistingAssets(ctx context.Context, request *CheckExistingAssetsDto) (*CheckExistingAssetsResponseDto, error)
	// CreateActivity invokes createActivity operation.
	//
	// POST /activities
	CreateActivity(ctx context.Context, request *ActivityCreateDto) (*ActivityResponseDto, error)
	// CreateAlbum invokes createAlbum operation.
	//
	// POST /albums
	CreateAlbum(ctx context.Context, request *CreateAlbumDto) (*AlbumResponseDto, error)
	// CreateApiKey invokes createApiKey operation.
	//
	// POST /api-keys
	CreateApiKey(ctx context.Context, request *APIKeyCreateDto) (*APIKeyCreateResponseDto, error)
	// CreateJob invokes createJob operation.
	//
	// POST /jobs
	CreateJob(ctx context.Context, request *JobCreateDto) error
	// CreateLibrary invokes createLibrary operation.
	//
	// POST /libraries
	CreateLibrary(ctx context.Context, request *CreateLibraryDto) (*LibraryResponseDto, error)
	// CreateMemory invokes createMemory operation.
	//
	// POST /memories
	CreateMemory(ctx context.Context, request *MemoryCreateDto) (*MemoryResponseDto, error)
	// CreatePartner invokes createPartner operation.
	//
	// POST /partners/{id}
	CreatePartner(ctx context.Context, params CreatePartnerParams) (*PartnerResponseDto, error)
	// CreatePerson invokes createPerson operation.
	//
	// POST /people
	CreatePerson(ctx context.Context, request *PersonCreateDto) (*PersonResponseDto, error)
	// CreateProfileImage invokes createProfileImage operation.
	//
	// POST /users/profile-image
	CreateProfileImage(ctx context.Context, request *CreateProfileImageDtoMultipart) (*CreateProfileImageResponseDto, error)
	// CreateSharedLink invokes createSharedLink operation.
	//
	// POST /shared-links
	CreateSharedLink(ctx context.Context, request *SharedLinkCreateDto) (*SharedLinkResponseDto, error)
	// CreateStack invokes createStack operation.
	//
	// POST /stacks
	CreateStack(ctx context.Context, request *StackCreateDto) (*StackResponseDto, error)
	// CreateTag invokes createTag operation.
	//
	// POST /tags
	CreateTag(ctx context.Context, request *TagCreateDto) (*TagResponseDto, error)
	// CreateUserAdmin invokes createUserAdmin operation.
	//
	// POST /admin/users
	CreateUserAdmin(ctx context.Context, request *UserAdminCreateDto) (*UserAdminResponseDto, error)
	// DeleteActivity invokes deleteActivity operation.
	//
	// DELETE /activities/{id}
	DeleteActivity(ctx context.Context, params DeleteActivityParams) error
	// DeleteAlbum invokes deleteAlbum operation.
	//
	// DELETE /albums/{id}
	DeleteAlbum(ctx context.Context, params DeleteAlbumParams) error
	// DeleteAllSessions invokes deleteAllSessions operation.
	//
	// DELETE /sessions
	DeleteAllSessions(ctx context.Context) error
	// DeleteApiKey invokes deleteApiKey operation.
	//
	// DELETE /api-keys/{id}
	DeleteApiKey(ctx context.Context, params DeleteApiKeyParams) error
	// DeleteAssets invokes deleteAssets operation.
	//
	// DELETE /assets
	DeleteAssets(ctx context.Context, request *AssetBulkDeleteDto) error
	// DeleteLibrary invokes deleteLibrary operation.
	//
	// DELETE /libraries/{id}
	DeleteLibrary(ctx context.Context, params DeleteLibraryParams) error
	// DeleteMemory invokes deleteMemory operation.
	//
	// DELETE /memories/{id}
	DeleteMemory(ctx context.Context, params DeleteMemoryParams) error
	// DeleteProfileImage invokes deleteProfileImage operation.
	//
	// DELETE /users/profile-image
	DeleteProfileImage(ctx context.Context) error
	// DeleteServerLicense invokes deleteServerLicense operation.
	//
	// DELETE /server/license
	DeleteServerLicense(ctx context.Context) error
	// DeleteSession invokes deleteSession operation.
	//
	// DELETE /sessions/{id}
	DeleteSession(ctx context.Context, params DeleteSessionParams) error
	// DeleteStack invokes deleteStack operation.
	//
	// DELETE /stacks/{id}
	DeleteStack(ctx context.Context, params DeleteStackParams) error
	// DeleteStacks invokes deleteStacks operation.
	//
	// DELETE /stacks
	DeleteStacks(ctx context.Context, request *BulkIdsDto) error
	// DeleteTag invokes deleteTag operation.
	//
	// DELETE /tags/{id}
	DeleteTag(ctx context.Context, params DeleteTagParams) error
	// DeleteUserAdmin invokes deleteUserAdmin operation.
	//
	// DELETE /admin/users/{id}
	DeleteUserAdmin(ctx context.Context, request *UserAdminDeleteDto, params DeleteUserAdminParams) (*UserAdminResponseDto, error)
	// DeleteUserLicense invokes deleteUserLicense operation.
	//
	// DELETE /users/me/license
	DeleteUserLicense(ctx context.Context) error
	// DownloadArchive invokes downloadArchive operation.
	//
	// POST /download/archive
	DownloadArchive(ctx context.Context, request *AssetIdsDto, params DownloadArchiveParams) (DownloadArchiveOK, error)
	// DownloadAsset invokes downloadAsset operation.
	//
	// GET /assets/{id}/original
	DownloadAsset(ctx context.Context, params DownloadAssetParams) (*DownloadAssetOKHeaders, error)
	// EmptyTrash invokes emptyTrash operation.
	//
	// POST /trash/empty
	EmptyTrash(ctx context.Context) (*TrashResponseDto, error)
	// FinishOAuth invokes finishOAuth operation.
	//
	// POST /oauth/callback
	FinishOAuth(ctx context.Context, request *OAuthCallbackDto) (*LoginResponseDto, error)
	// FixAuditFiles invokes fixAuditFiles operation.
	//
	// POST /reports/fix
	FixAuditFiles(ctx context.Context, request *FileReportFixDto) error
	// GetAboutInfo invokes getAboutInfo operation.
	//
	// GET /server/about
	GetAboutInfo(ctx context.Context) (*ServerAboutResponseDto, error)
	// GetActivities invokes getActivities operation.
	//
	// GET /activities
	GetActivities(ctx context.Context, params GetActivitiesParams) ([]ActivityResponseDto, error)
	// GetActivityStatistics invokes getActivityStatistics operation.
	//
	// GET /activities/statistics
	GetActivityStatistics(ctx context.Context, params GetActivityStatisticsParams) (*ActivityStatisticsResponseDto, error)
	// GetAdminOnboarding invokes getAdminOnboarding operation.
	//
	// GET /system-metadata/admin-onboarding
	GetAdminOnboarding(ctx context.Context) (*AdminOnboardingUpdateDto, error)
	// GetAlbumInfo invokes getAlbumInfo operation.
	//
	// GET /albums/{id}
	GetAlbumInfo(ctx context.Context, params GetAlbumInfoParams) (*AlbumResponseDto, error)
	// GetAlbumStatistics invokes getAlbumStatistics operation.
	//
	// GET /albums/statistics
	GetAlbumStatistics(ctx context.Context) (*AlbumStatisticsResponseDto, error)
	// GetAllAlbums invokes getAllAlbums operation.
	//
	// GET /albums
	GetAllAlbums(ctx context.Context, params GetAllAlbumsParams) ([]AlbumResponseDto, error)
	// GetAllJobsStatus invokes getAllJobsStatus operation.
	//
	// GET /jobs
	GetAllJobsStatus(ctx context.Context) (*AllJobStatusResponseDto, error)
	// GetAllLibraries invokes getAllLibraries operation.
	//
	// GET /libraries
	GetAllLibraries(ctx context.Context) ([]LibraryResponseDto, error)
	// GetAllPeople invokes getAllPeople operation.
	//
	// GET /people
	GetAllPeople(ctx context.Context, params GetAllPeopleParams) (*PeopleResponseDto, error)
	// GetAllSharedLinks invokes getAllSharedLinks operation.
	//
	// GET /shared-links
	GetAllSharedLinks(ctx context.Context) ([]SharedLinkResponseDto, error)
	// GetAllTags invokes getAllTags operation.
	//
	// GET /tags
	GetAllTags(ctx context.Context) ([]TagResponseDto, error)
	// GetAllUserAssetsByDeviceId invokes getAllUserAssetsByDeviceId operation.
	//
	// Get all asset of a device that are in the database, ID only.
	//
	// GET /assets/device/{deviceId}
	GetAllUserAssetsByDeviceId(ctx context.Context, params GetAllUserAssetsByDeviceIdParams) ([]string, error)
	// GetApiKey invokes getApiKey operation.
	//
	// GET /api-keys/{id}
	GetApiKey(ctx context.Context, params GetApiKeyParams) (*APIKeyResponseDto, error)
	// GetApiKeys invokes getApiKeys operation.
	//
	// GET /api-keys
	GetApiKeys(ctx context.Context) ([]APIKeyResponseDto, error)
	// GetAssetDuplicates invokes getAssetDuplicates operation.
	//
	// GET /duplicates
	GetAssetDuplicates(ctx context.Context) ([]DuplicateResponseDto, error)
	// GetAssetInfo invokes getAssetInfo operation.
	//
	// GET /assets/{id}
	GetAssetInfo(ctx context.Context, params GetAssetInfoParams) (*AssetResponseDto, error)
	// GetAssetStatistics invokes getAssetStatistics operation.
	//
	// GET /assets/statistics
	GetAssetStatistics(ctx context.Context, params GetAssetStatisticsParams) (*AssetStatsResponseDto, error)
	// GetAssetsByCity invokes getAssetsByCity operation.
	//
	// GET /search/cities
	GetAssetsByCity(ctx context.Context) ([]AssetResponseDto, error)
	// GetAssetsByOriginalPath invokes getAssetsByOriginalPath operation.
	//
	// GET /view/folder
	GetAssetsByOriginalPath(ctx context.Context, params GetAssetsByOriginalPathParams) ([]AssetResponseDto, error)
	// GetAuditDeletes invokes getAuditDeletes operation.
	//
	// GET /audit/deletes
	GetAuditDeletes(ctx context.Context, params GetAuditDeletesParams) (*AuditDeletesResponseDto, error)
	// GetAuditFiles invokes getAuditFiles operation.
	//
	// GET /reports
	GetAuditFiles(ctx context.Context) (*FileReportDto, error)
	// GetConfig invokes getConfig operation.
	//
	// GET /system-config
	GetConfig(ctx context.Context) (*SystemConfigDto, error)
	// GetConfigDefaults invokes getConfigDefaults operation.
	//
	// GET /system-config/defaults
	GetConfigDefaults(ctx context.Context) (*SystemConfigDto, error)
	// GetDeltaSync invokes getDeltaSync operation.
	//
	// POST /sync/delta-sync
	GetDeltaSync(ctx context.Context, request *AssetDeltaSyncDto) (*AssetDeltaSyncResponseDto, error)
	// GetDownloadInfo invokes getDownloadInfo operation.
	//
	// POST /download/info
	GetDownloadInfo(ctx context.Context, request *DownloadInfoDto, params GetDownloadInfoParams) (*DownloadResponseDto, error)
	// GetExploreData invokes getExploreData operation.
	//
	// GET /search/explore
	GetExploreData(ctx context.Context) ([]SearchExploreResponseDto, error)
	// GetFaces invokes getFaces operation.
	//
	// GET /faces
	GetFaces(ctx context.Context, params GetFacesParams) ([]AssetFaceResponseDto, error)
	// GetFileChecksums invokes getFileChecksums operation.
	//
	// POST /reports/checksum
	GetFileChecksums(ctx context.Context, request *FileChecksumDto) ([]FileChecksumResponseDto, error)
	// GetFullSyncForUser invokes getFullSyncForUser operation.
	//
	// POST /sync/full-sync
	GetFullSyncForUser(ctx context.Context, request *AssetFullSyncDto) ([]AssetResponseDto, error)
	// GetLibrary invokes getLibrary operation.
	//
	// GET /libraries/{id}
	GetLibrary(ctx context.Context, params GetLibraryParams) (*LibraryResponseDto, error)
	// GetLibraryStatistics invokes getLibraryStatistics operation.
	//
	// GET /libraries/{id}/statistics
	GetLibraryStatistics(ctx context.Context, params GetLibraryStatisticsParams) (*LibraryStatsResponseDto, error)
	// GetMapMarkers invokes getMapMarkers operation.
	//
	// GET /map/markers
	GetMapMarkers(ctx context.Context, params GetMapMarkersParams) ([]MapMarkerResponseDto, error)
	// GetMemory invokes getMemory operation.
	//
	// GET /memories/{id}
	GetMemory(ctx context.Context, params GetMemoryParams) (*MemoryResponseDto, error)
	// GetMemoryLane invokes getMemoryLane operation.
	//
	// GET /assets/memory-lane
	GetMemoryLane(ctx context.Context, params GetMemoryLaneParams) ([]MemoryLaneResponseDto, error)
	// GetMyPreferences invokes getMyPreferences operation.
	//
	// GET /users/me/preferences
	GetMyPreferences(ctx context.Context) (*UserPreferencesResponseDto, error)
	// GetMySharedLink invokes getMySharedLink operation.
	//
	// GET /shared-links/me
	GetMySharedLink(ctx context.Context, params GetMySharedLinkParams) (*SharedLinkResponseDto, error)
	// GetMyUser invokes getMyUser operation.
	//
	// GET /users/me
	GetMyUser(ctx context.Context) (*UserAdminResponseDto, error)
	// GetPartners invokes getPartners operation.
	//
	// GET /partners
	GetPartners(ctx context.Context, params GetPartnersParams) ([]PartnerResponseDto, error)
	// GetPerson invokes getPerson operation.
	//
	// GET /people/{id}
	GetPerson(ctx context.Context, params GetPersonParams) (*PersonResponseDto, error)
	// GetPersonStatistics invokes getPersonStatistics operation.
	//
	// GET /people/{id}/statistics
	GetPersonStatistics(ctx context.Context, params GetPersonStatisticsParams) (*PersonStatisticsResponseDto, error)
	// GetPersonThumbnail invokes getPersonThumbnail operation.
	//
	// GET /people/{id}/thumbnail
	GetPersonThumbnail(ctx context.Context, params GetPersonThumbnailParams) (GetPersonThumbnailOK, error)
	// GetProfileImage invokes getProfileImage operation.
	//
	// GET /users/{id}/profile-image
	GetProfileImage(ctx context.Context, params GetProfileImageParams) (GetProfileImageOK, error)
	// GetRandom invokes getRandom operation.
	//
	// This property was deprecated in v1.116.0.
	//
	// Deprecated: schema marks this operation as deprecated.
	//
	// GET /assets/random
	GetRandom(ctx context.Context, params GetRandomParams) ([]AssetResponseDto, error)
	// GetReverseGeocodingState invokes getReverseGeocodingState operation.
	//
	// GET /system-metadata/reverse-geocoding-state
	GetReverseGeocodingState(ctx context.Context) (*ReverseGeocodingStateResponseDto, error)
	// GetSearchSuggestions invokes getSearchSuggestions operation.
	//
	// GET /search/suggestions
	GetSearchSuggestions(ctx context.Context, params GetSearchSuggestionsParams) ([]string, error)
	// GetServerConfig invokes getServerConfig operation.
	//
	// GET /server/config
	GetServerConfig(ctx context.Context) (*ServerConfigDto, error)
	// GetServerFeatures invokes getServerFeatures operation.
	//
	// GET /server/features
	GetServerFeatures(ctx context.Context) (*ServerFeaturesDto, error)
	// GetServerLicense invokes getServerLicense operation.
	//
	// GET /server/license
	GetServerLicense(ctx context.Context) (GetServerLicenseRes, error)
	// GetServerStatistics invokes getServerStatistics operation.
	//
	// GET /server/statistics
	GetServerStatistics(ctx context.Context) (*ServerStatsResponseDto, error)
	// GetServerVersion invokes getServerVersion operation.
	//
	// GET /server/version
	GetServerVersion(ctx context.Context) (*ServerVersionResponseDto, error)
	// GetSessions invokes getSessions operation.
	//
	// GET /sessions
	GetSessions(ctx context.Context) ([]SessionResponseDto, error)
	// GetSharedLinkById invokes getSharedLinkById operation.
	//
	// GET /shared-links/{id}
	GetSharedLinkById(ctx context.Context, params GetSharedLinkByIdParams) (*SharedLinkResponseDto, error)
	// GetStack invokes getStack operation.
	//
	// GET /stacks/{id}
	GetStack(ctx context.Context, params GetStackParams) (*StackResponseDto, error)
	// GetStorage invokes getStorage operation.
	//
	// GET /server/storage
	GetStorage(ctx context.Context) (*ServerStorageResponseDto, error)
	// GetStorageTemplateOptions invokes getStorageTemplateOptions operation.
	//
	// GET /system-config/storage-template-options
	GetStorageTemplateOptions(ctx context.Context) (*SystemConfigTemplateStorageOptionDto, error)
	// GetSupportedMediaTypes invokes getSupportedMediaTypes operation.
	//
	// GET /server/media-types
	GetSupportedMediaTypes(ctx context.Context) (*ServerMediaTypesResponseDto, error)
	// GetTagById invokes getTagById operation.
	//
	// GET /tags/{id}
	GetTagById(ctx context.Context, params GetTagByIdParams) (*TagResponseDto, error)
	// GetTheme invokes getTheme operation.
	//
	// GET /server/theme
	GetTheme(ctx context.Context) (*ServerThemeDto, error)
	// GetTimeBucket invokes getTimeBucket operation.
	//
	// GET /timeline/bucket
	GetTimeBucket(ctx context.Context, params GetTimeBucketParams) ([]AssetResponseDto, error)
	// GetTimeBuckets invokes getTimeBuckets operation.
	//
	// GET /timeline/buckets
	GetTimeBuckets(ctx context.Context, params GetTimeBucketsParams) ([]TimeBucketResponseDto, error)
	// GetUniqueOriginalPaths invokes getUniqueOriginalPaths operation.
	//
	// GET /view/folder/unique-paths
	GetUniqueOriginalPaths(ctx context.Context) ([]string, error)
	// GetUser invokes getUser operation.
	//
	// GET /users/{id}
	GetUser(ctx context.Context, params GetUserParams) (*UserResponseDto, error)
	// GetUserAdmin invokes getUserAdmin operation.
	//
	// GET /admin/users/{id}
	GetUserAdmin(ctx context.Context, params GetUserAdminParams) (*UserAdminResponseDto, error)
	// GetUserLicense invokes getUserLicense operation.
	//
	// GET /users/me/license
	GetUserLicense(ctx context.Context) (*LicenseResponseDto, error)
	// GetUserPreferencesAdmin invokes getUserPreferencesAdmin operation.
	//
	// GET /admin/users/{id}/preferences
	GetUserPreferencesAdmin(ctx context.Context, params GetUserPreferencesAdminParams) (*UserPreferencesResponseDto, error)
	// GetVersionHistory invokes getVersionHistory operation.
	//
	// GET /server/version-history
	GetVersionHistory(ctx context.Context) ([]ServerVersionHistoryResponseDto, error)
	// LinkOAuthAccount invokes linkOAuthAccount operation.
	//
	// POST /oauth/link
	LinkOAuthAccount(ctx context.Context, request *OAuthCallbackDto) (*UserAdminResponseDto, error)
	// Login invokes login operation.
	//
	// POST /auth/login
	Login(ctx context.Context, request *LoginCredentialDto) (*LoginResponseDto, error)
	// Logout invokes logout operation.
	//
	// POST /auth/logout
	Logout(ctx context.Context) (*LogoutResponseDto, error)
	// MergePerson invokes mergePerson operation.
	//
	// POST /people/{id}/merge
	MergePerson(ctx context.Context, request *MergePersonDto, params MergePersonParams) ([]BulkIdResponseDto, error)
	// PingServer invokes pingServer operation.
	//
	// GET /server/ping
	PingServer(ctx context.Context) (*ServerPingResponse, error)
	// PlayAssetVideo invokes playAssetVideo operation.
	//
	// GET /assets/{id}/video/playback
	PlayAssetVideo(ctx context.Context, params PlayAssetVideoParams) (PlayAssetVideoOK, error)
	// ReassignFaces invokes reassignFaces operation.
	//
	// PUT /people/{id}/reassign
	ReassignFaces(ctx context.Context, request *AssetFaceUpdateDto, params ReassignFacesParams) ([]PersonResponseDto, error)
	// ReassignFacesById invokes reassignFacesById operation.
	//
	// PUT /faces/{id}
	ReassignFacesById(ctx context.Context, request *FaceDto, params ReassignFacesByIdParams) (*PersonResponseDto, error)
	// RedirectOAuthToMobile invokes redirectOAuthToMobile operation.
	//
	// GET /oauth/mobile-redirect
	RedirectOAuthToMobile(ctx context.Context) error
	// RemoveAssetFromAlbum invokes removeAssetFromAlbum operation.
	//
	// DELETE /albums/{id}/assets
	RemoveAssetFromAlbum(ctx context.Context, request *BulkIdsDto, params RemoveAssetFromAlbumParams) ([]BulkIdResponseDto, error)
	// RemoveMemoryAssets invokes removeMemoryAssets operation.
	//
	// DELETE /memories/{id}/assets
	RemoveMemoryAssets(ctx context.Context, request *BulkIdsDto, params RemoveMemoryAssetsParams) ([]BulkIdResponseDto, error)
	// RemovePartner invokes removePartner operation.
	//
	// DELETE /partners/{id}
	RemovePartner(ctx context.Context, params RemovePartnerParams) error
	// RemoveSharedLink invokes removeSharedLink operation.
	//
	// DELETE /shared-links/{id}
	RemoveSharedLink(ctx context.Context, params RemoveSharedLinkParams) error
	// RemoveSharedLinkAssets invokes removeSharedLinkAssets operation.
	//
	// DELETE /shared-links/{id}/assets
	RemoveSharedLinkAssets(ctx context.Context, request *AssetIdsDto, params RemoveSharedLinkAssetsParams) ([]AssetIdsResponseDto, error)
	// RemoveUserFromAlbum invokes removeUserFromAlbum operation.
	//
	// DELETE /albums/{id}/user/{userId}
	RemoveUserFromAlbum(ctx context.Context, params RemoveUserFromAlbumParams) error
	// ReplaceAsset invokes replaceAsset operation.
	//
	// Replace the asset with new file, without changing its id.
	//
	// PUT /assets/{id}/original
	ReplaceAsset(ctx context.Context, request *AssetMediaReplaceDtoMultipart, params ReplaceAssetParams) (*AssetMediaResponseDto, error)
	// RestoreAssets invokes restoreAssets operation.
	//
	// POST /trash/restore/assets
	RestoreAssets(ctx context.Context, request *BulkIdsDto) (*TrashResponseDto, error)
	// RestoreTrash invokes restoreTrash operation.
	//
	// POST /trash/restore
	RestoreTrash(ctx context.Context) (*TrashResponseDto, error)
	// RestoreUserAdmin invokes restoreUserAdmin operation.
	//
	// POST /admin/users/{id}/restore
	RestoreUserAdmin(ctx context.Context, params RestoreUserAdminParams) (*UserAdminResponseDto, error)
	// ReverseGeocode invokes reverseGeocode operation.
	//
	// GET /map/reverse-geocode
	ReverseGeocode(ctx context.Context, params ReverseGeocodeParams) ([]MapReverseGeocodeResponseDto, error)
	// RunAssetJobs invokes runAssetJobs operation.
	//
	// POST /assets/jobs
	RunAssetJobs(ctx context.Context, request *AssetJobsDto) error
	// ScanLibrary invokes scanLibrary operation.
	//
	// POST /libraries/{id}/scan
	ScanLibrary(ctx context.Context, params ScanLibraryParams) error
	// SearchMemories invokes searchMemories operation.
	//
	// GET /memories
	SearchMemories(ctx context.Context) ([]MemoryResponseDto, error)
	// SearchMetadata invokes searchMetadata operation.
	//
	// POST /search/metadata
	SearchMetadata(ctx context.Context, request *MetadataSearchDto) (*SearchResponseDto, error)
	// SearchPerson invokes searchPerson operation.
	//
	// GET /search/person
	SearchPerson(ctx context.Context, params SearchPersonParams) ([]PersonResponseDto, error)
	// SearchPlaces invokes searchPlaces operation.
	//
	// GET /search/places
	SearchPlaces(ctx context.Context, params SearchPlacesParams) ([]PlacesResponseDto, error)
	// SearchRandom invokes searchRandom operation.
	//
	// POST /search/random
	SearchRandom(ctx context.Context, request *RandomSearchDto) ([]AssetResponseDto, error)
	// SearchSmart invokes searchSmart operation.
	//
	// POST /search/smart
	SearchSmart(ctx context.Context, request *SmartSearchDto) (*SearchResponseDto, error)
	// SearchStacks invokes searchStacks operation.
	//
	// GET /stacks
	SearchStacks(ctx context.Context, params SearchStacksParams) ([]StackResponseDto, error)
	// SearchUsers invokes searchUsers operation.
	//
	// GET /users
	SearchUsers(ctx context.Context) ([]UserResponseDto, error)
	// SearchUsersAdmin invokes searchUsersAdmin operation.
	//
	// GET /admin/users
	SearchUsersAdmin(ctx context.Context, params SearchUsersAdminParams) ([]UserAdminResponseDto, error)
	// SendJobCommand invokes sendJobCommand operation.
	//
	// PUT /jobs/{id}
	SendJobCommand(ctx context.Context, request *JobCommandDto, params SendJobCommandParams) (*JobStatusDto, error)
	// SendTestEmail invokes sendTestEmail operation.
	//
	// POST /notifications/test-email
	SendTestEmail(ctx context.Context, request *SystemConfigSmtpDto) (*TestEmailResponseDto, error)
	// SetServerLicense invokes setServerLicense operation.
	//
	// PUT /server/license
	SetServerLicense(ctx context.Context, request *LicenseKeyDto) (*LicenseResponseDto, error)
	// SetUserLicense invokes setUserLicense operation.
	//
	// PUT /users/me/license
	SetUserLicense(ctx context.Context, request *LicenseKeyDto) (*LicenseResponseDto, error)
	// SignUpAdmin invokes signUpAdmin operation.
	//
	// POST /auth/admin-sign-up
	SignUpAdmin(ctx context.Context, request *SignUpDto) (*UserAdminResponseDto, error)
	// StartOAuth invokes startOAuth operation.
	//
	// POST /oauth/authorize
	StartOAuth(ctx context.Context, request *OAuthConfigDto) (*OAuthAuthorizeResponseDto, error)
	// TagAssets invokes tagAssets operation.
	//
	// PUT /tags/{id}/assets
	TagAssets(ctx context.Context, request *BulkIdsDto, params TagAssetsParams) ([]BulkIdResponseDto, error)
	// UnlinkOAuthAccount invokes unlinkOAuthAccount operation.
	//
	// POST /oauth/unlink
	UnlinkOAuthAccount(ctx context.Context) (*UserAdminResponseDto, error)
	// UntagAssets invokes untagAssets operation.
	//
	// DELETE /tags/{id}/assets
	UntagAssets(ctx context.Context, request *BulkIdsDto, params UntagAssetsParams) ([]BulkIdResponseDto, error)
	// UpdateAdminOnboarding invokes updateAdminOnboarding operation.
	//
	// POST /system-metadata/admin-onboarding
	UpdateAdminOnboarding(ctx context.Context, request *AdminOnboardingUpdateDto) error
	// UpdateAlbumInfo invokes updateAlbumInfo operation.
	//
	// PATCH /albums/{id}
	UpdateAlbumInfo(ctx context.Context, request *UpdateAlbumDto, params UpdateAlbumInfoParams) (*AlbumResponseDto, error)
	// UpdateAlbumUser invokes updateAlbumUser operation.
	//
	// PUT /albums/{id}/user/{userId}
	UpdateAlbumUser(ctx context.Context, request *UpdateAlbumUserDto, params UpdateAlbumUserParams) error
	// UpdateApiKey invokes updateApiKey operation.
	//
	// PUT /api-keys/{id}
	UpdateApiKey(ctx context.Context, request *APIKeyUpdateDto, params UpdateApiKeyParams) (*APIKeyResponseDto, error)
	// UpdateAsset invokes updateAsset operation.
	//
	// PUT /assets/{id}
	UpdateAsset(ctx context.Context, request *UpdateAssetDto, params UpdateAssetParams) (*AssetResponseDto, error)
	// UpdateAssets invokes updateAssets operation.
	//
	// PUT /assets
	UpdateAssets(ctx context.Context, request *AssetBulkUpdateDto) error
	// UpdateConfig invokes updateConfig operation.
	//
	// PUT /system-config
	UpdateConfig(ctx context.Context, request *SystemConfigDto) (*SystemConfigDto, error)
	// UpdateLibrary invokes updateLibrary operation.
	//
	// PUT /libraries/{id}
	UpdateLibrary(ctx context.Context, request *UpdateLibraryDto, params UpdateLibraryParams) (*LibraryResponseDto, error)
	// UpdateMemory invokes updateMemory operation.
	//
	// PUT /memories/{id}
	UpdateMemory(ctx context.Context, request *MemoryUpdateDto, params UpdateMemoryParams) (*MemoryResponseDto, error)
	// UpdateMyPreferences invokes updateMyPreferences operation.
	//
	// PUT /users/me/preferences
	UpdateMyPreferences(ctx context.Context, request *UserPreferencesUpdateDto) (*UserPreferencesResponseDto, error)
	// UpdateMyUser invokes updateMyUser operation.
	//
	// PUT /users/me
	UpdateMyUser(ctx context.Context, request *UserUpdateMeDto) (*UserAdminResponseDto, error)
	// UpdatePartner invokes updatePartner operation.
	//
	// PUT /partners/{id}
	UpdatePartner(ctx context.Context, request *UpdatePartnerDto, params UpdatePartnerParams) (*PartnerResponseDto, error)
	// UpdatePeople invokes updatePeople operation.
	//
	// PUT /people
	UpdatePeople(ctx context.Context, request *PeopleUpdateDto) ([]BulkIdResponseDto, error)
	// UpdatePerson invokes updatePerson operation.
	//
	// PUT /people/{id}
	UpdatePerson(ctx context.Context, request *PersonUpdateDto, params UpdatePersonParams) (*PersonResponseDto, error)
	// UpdateSharedLink invokes updateSharedLink operation.
	//
	// PATCH /shared-links/{id}
	UpdateSharedLink(ctx context.Context, request *SharedLinkEditDto, params UpdateSharedLinkParams) (*SharedLinkResponseDto, error)
	// UpdateStack invokes updateStack operation.
	//
	// PUT /stacks/{id}
	UpdateStack(ctx context.Context, request *StackUpdateDto, params UpdateStackParams) (*StackResponseDto, error)
	// UpdateTag invokes updateTag operation.
	//
	// PUT /tags/{id}
	UpdateTag(ctx context.Context, request *TagUpdateDto, params UpdateTagParams) (*TagResponseDto, error)
	// UpdateUserAdmin invokes updateUserAdmin operation.
	//
	// PUT /admin/users/{id}
	UpdateUserAdmin(ctx context.Context, request *UserAdminUpdateDto, params UpdateUserAdminParams) (*UserAdminResponseDto, error)
	// UpdateUserPreferencesAdmin invokes updateUserPreferencesAdmin operation.
	//
	// PUT /admin/users/{id}/preferences
	UpdateUserPreferencesAdmin(ctx context.Context, request *UserPreferencesUpdateDto, params UpdateUserPreferencesAdminParams) (*UserPreferencesResponseDto, error)
	// UploadAsset invokes uploadAsset operation.
	//
	// POST /assets
	UploadAsset(ctx context.Context, request *AssetMediaCreateDtoMultipart, params UploadAssetParams) (*AssetMediaResponseDtoStatusCode, error)
	// UpsertTags invokes upsertTags operation.
	//
	// PUT /tags
	UpsertTags(ctx context.Context, request *TagUpsertDto) ([]TagResponseDto, error)
	// Validate invokes validate operation.
	//
	// POST /libraries/{id}/validate
	Validate(ctx context.Context, request *ValidateLibraryDto, params ValidateParams) (*ValidateLibraryResponseDto, error)
	// ValidateAccessToken invokes validateAccessToken operation.
	//
	// POST /auth/validateToken
	ValidateAccessToken(ctx context.Context) (*ValidateAccessTokenResponseDto, error)
	// ViewAsset invokes viewAsset operation.
	//
	// GET /assets/{id}/thumbnail
	ViewAsset(ctx context.Context, params ViewAssetParams) (ViewAssetOK, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type JobCommand

type JobCommand string

Ref: #/components/schemas/JobCommand

const (
	JobCommandStart       JobCommand = "start"
	JobCommandPause       JobCommand = "pause"
	JobCommandResume      JobCommand = "resume"
	JobCommandEmpty       JobCommand = "empty"
	JobCommandClearFailed JobCommand = "clear-failed"
)

func (JobCommand) AllValues

func (JobCommand) AllValues() []JobCommand

AllValues returns all JobCommand values.

func (*JobCommand) Decode

func (s *JobCommand) Decode(d *jx.Decoder) error

Decode decodes JobCommand from json.

func (JobCommand) Encode

func (s JobCommand) Encode(e *jx.Encoder)

Encode encodes JobCommand as json.

func (JobCommand) MarshalJSON

func (s JobCommand) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (JobCommand) MarshalText

func (s JobCommand) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*JobCommand) UnmarshalJSON

func (s *JobCommand) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobCommand) UnmarshalText

func (s *JobCommand) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (JobCommand) Validate

func (s JobCommand) Validate() error

type JobCommandDto

type JobCommandDto struct {
	Command JobCommand `json:"command"`
	Force   OptBool    `json:"force"`
}

Ref: #/components/schemas/JobCommandDto

func (*JobCommandDto) Decode

func (s *JobCommandDto) Decode(d *jx.Decoder) error

Decode decodes JobCommandDto from json.

func (*JobCommandDto) Encode

func (s *JobCommandDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*JobCommandDto) GetCommand

func (s *JobCommandDto) GetCommand() JobCommand

GetCommand returns the value of Command.

func (*JobCommandDto) GetForce

func (s *JobCommandDto) GetForce() OptBool

GetForce returns the value of Force.

func (*JobCommandDto) MarshalJSON

func (s *JobCommandDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*JobCommandDto) SetCommand

func (s *JobCommandDto) SetCommand(val JobCommand)

SetCommand sets the value of Command.

func (*JobCommandDto) SetForce

func (s *JobCommandDto) SetForce(val OptBool)

SetForce sets the value of Force.

func (*JobCommandDto) UnmarshalJSON

func (s *JobCommandDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobCommandDto) Validate

func (s *JobCommandDto) Validate() error

type JobCountsDto

type JobCountsDto struct {
	Active    int `json:"active"`
	Completed int `json:"completed"`
	Delayed   int `json:"delayed"`
	Failed    int `json:"failed"`
	Paused    int `json:"paused"`
	Waiting   int `json:"waiting"`
}

Ref: #/components/schemas/JobCountsDto

func (*JobCountsDto) Decode

func (s *JobCountsDto) Decode(d *jx.Decoder) error

Decode decodes JobCountsDto from json.

func (*JobCountsDto) Encode

func (s *JobCountsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*JobCountsDto) GetActive

func (s *JobCountsDto) GetActive() int

GetActive returns the value of Active.

func (*JobCountsDto) GetCompleted

func (s *JobCountsDto) GetCompleted() int

GetCompleted returns the value of Completed.

func (*JobCountsDto) GetDelayed

func (s *JobCountsDto) GetDelayed() int

GetDelayed returns the value of Delayed.

func (*JobCountsDto) GetFailed

func (s *JobCountsDto) GetFailed() int

GetFailed returns the value of Failed.

func (*JobCountsDto) GetPaused

func (s *JobCountsDto) GetPaused() int

GetPaused returns the value of Paused.

func (*JobCountsDto) GetWaiting

func (s *JobCountsDto) GetWaiting() int

GetWaiting returns the value of Waiting.

func (*JobCountsDto) MarshalJSON

func (s *JobCountsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*JobCountsDto) SetActive

func (s *JobCountsDto) SetActive(val int)

SetActive sets the value of Active.

func (*JobCountsDto) SetCompleted

func (s *JobCountsDto) SetCompleted(val int)

SetCompleted sets the value of Completed.

func (*JobCountsDto) SetDelayed

func (s *JobCountsDto) SetDelayed(val int)

SetDelayed sets the value of Delayed.

func (*JobCountsDto) SetFailed

func (s *JobCountsDto) SetFailed(val int)

SetFailed sets the value of Failed.

func (*JobCountsDto) SetPaused

func (s *JobCountsDto) SetPaused(val int)

SetPaused sets the value of Paused.

func (*JobCountsDto) SetWaiting

func (s *JobCountsDto) SetWaiting(val int)

SetWaiting sets the value of Waiting.

func (*JobCountsDto) UnmarshalJSON

func (s *JobCountsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type JobCreateDto

type JobCreateDto struct {
	Name ManualJobName `json:"name"`
}

Ref: #/components/schemas/JobCreateDto

func (*JobCreateDto) Decode

func (s *JobCreateDto) Decode(d *jx.Decoder) error

Decode decodes JobCreateDto from json.

func (*JobCreateDto) Encode

func (s *JobCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*JobCreateDto) GetName

func (s *JobCreateDto) GetName() ManualJobName

GetName returns the value of Name.

func (*JobCreateDto) MarshalJSON

func (s *JobCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*JobCreateDto) SetName

func (s *JobCreateDto) SetName(val ManualJobName)

SetName sets the value of Name.

func (*JobCreateDto) UnmarshalJSON

func (s *JobCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobCreateDto) Validate

func (s *JobCreateDto) Validate() error

type JobName

type JobName string

Ref: #/components/schemas/JobName

const (
	JobNameThumbnailGeneration      JobName = "thumbnailGeneration"
	JobNameMetadataExtraction       JobName = "metadataExtraction"
	JobNameVideoConversion          JobName = "videoConversion"
	JobNameFaceDetection            JobName = "faceDetection"
	JobNameFacialRecognition        JobName = "facialRecognition"
	JobNameSmartSearch              JobName = "smartSearch"
	JobNameDuplicateDetection       JobName = "duplicateDetection"
	JobNameBackgroundTask           JobName = "backgroundTask"
	JobNameStorageTemplateMigration JobName = "storageTemplateMigration"
	JobNameMigration                JobName = "migration"
	JobNameSearch                   JobName = "search"
	JobNameSidecar                  JobName = "sidecar"
	JobNameLibrary                  JobName = "library"
	JobNameNotifications            JobName = "notifications"
	JobNameBackupDatabase           JobName = "backupDatabase"
)

func (JobName) AllValues

func (JobName) AllValues() []JobName

AllValues returns all JobName values.

func (JobName) MarshalText

func (s JobName) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*JobName) UnmarshalText

func (s *JobName) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (JobName) Validate

func (s JobName) Validate() error

type JobSettingsDto

type JobSettingsDto struct {
	Concurrency int `json:"concurrency"`
}

Ref: #/components/schemas/JobSettingsDto

func (*JobSettingsDto) Decode

func (s *JobSettingsDto) Decode(d *jx.Decoder) error

Decode decodes JobSettingsDto from json.

func (*JobSettingsDto) Encode

func (s *JobSettingsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*JobSettingsDto) GetConcurrency

func (s *JobSettingsDto) GetConcurrency() int

GetConcurrency returns the value of Concurrency.

func (*JobSettingsDto) MarshalJSON

func (s *JobSettingsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*JobSettingsDto) SetConcurrency

func (s *JobSettingsDto) SetConcurrency(val int)

SetConcurrency sets the value of Concurrency.

func (*JobSettingsDto) UnmarshalJSON

func (s *JobSettingsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobSettingsDto) Validate

func (s *JobSettingsDto) Validate() error

type JobStatusDto

type JobStatusDto struct {
	JobCounts   JobCountsDto   `json:"jobCounts"`
	QueueStatus QueueStatusDto `json:"queueStatus"`
}

Ref: #/components/schemas/JobStatusDto

func (*JobStatusDto) Decode

func (s *JobStatusDto) Decode(d *jx.Decoder) error

Decode decodes JobStatusDto from json.

func (*JobStatusDto) Encode

func (s *JobStatusDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*JobStatusDto) GetJobCounts

func (s *JobStatusDto) GetJobCounts() JobCountsDto

GetJobCounts returns the value of JobCounts.

func (*JobStatusDto) GetQueueStatus

func (s *JobStatusDto) GetQueueStatus() QueueStatusDto

GetQueueStatus returns the value of QueueStatus.

func (*JobStatusDto) MarshalJSON

func (s *JobStatusDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*JobStatusDto) SetJobCounts

func (s *JobStatusDto) SetJobCounts(val JobCountsDto)

SetJobCounts sets the value of JobCounts.

func (*JobStatusDto) SetQueueStatus

func (s *JobStatusDto) SetQueueStatus(val QueueStatusDto)

SetQueueStatus sets the value of QueueStatus.

func (*JobStatusDto) UnmarshalJSON

func (s *JobStatusDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Labeler

type Labeler struct {
	// contains filtered or unexported fields
}

Labeler is used to allow adding custom attributes to the server request metrics.

func LabelerFromContext

func LabelerFromContext(ctx context.Context) (*Labeler, bool)

LabelerFromContext retrieves the Labeler from the provided context, if present.

If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.

func (*Labeler) Add

func (l *Labeler) Add(attrs ...attribute.KeyValue)

Add attributes to the Labeler.

func (*Labeler) AttributeSet

func (l *Labeler) AttributeSet() attribute.Set

AttributeSet returns the attributes added to the Labeler as an attribute.Set.

type LibraryResponseDto

type LibraryResponseDto struct {
	AssetCount        int         `json:"assetCount"`
	CreatedAt         time.Time   `json:"createdAt"`
	ExclusionPatterns []string    `json:"exclusionPatterns"`
	ID                string      `json:"id"`
	ImportPaths       []string    `json:"importPaths"`
	Name              string      `json:"name"`
	OwnerId           string      `json:"ownerId"`
	RefreshedAt       NilDateTime `json:"refreshedAt"`
	UpdatedAt         time.Time   `json:"updatedAt"`
}

Ref: #/components/schemas/LibraryResponseDto

func (*LibraryResponseDto) Decode

func (s *LibraryResponseDto) Decode(d *jx.Decoder) error

Decode decodes LibraryResponseDto from json.

func (*LibraryResponseDto) Encode

func (s *LibraryResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LibraryResponseDto) GetAssetCount

func (s *LibraryResponseDto) GetAssetCount() int

GetAssetCount returns the value of AssetCount.

func (*LibraryResponseDto) GetCreatedAt

func (s *LibraryResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*LibraryResponseDto) GetExclusionPatterns

func (s *LibraryResponseDto) GetExclusionPatterns() []string

GetExclusionPatterns returns the value of ExclusionPatterns.

func (*LibraryResponseDto) GetID

func (s *LibraryResponseDto) GetID() string

GetID returns the value of ID.

func (*LibraryResponseDto) GetImportPaths

func (s *LibraryResponseDto) GetImportPaths() []string

GetImportPaths returns the value of ImportPaths.

func (*LibraryResponseDto) GetName

func (s *LibraryResponseDto) GetName() string

GetName returns the value of Name.

func (*LibraryResponseDto) GetOwnerId

func (s *LibraryResponseDto) GetOwnerId() string

GetOwnerId returns the value of OwnerId.

func (*LibraryResponseDto) GetRefreshedAt

func (s *LibraryResponseDto) GetRefreshedAt() NilDateTime

GetRefreshedAt returns the value of RefreshedAt.

func (*LibraryResponseDto) GetUpdatedAt

func (s *LibraryResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*LibraryResponseDto) MarshalJSON

func (s *LibraryResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LibraryResponseDto) SetAssetCount

func (s *LibraryResponseDto) SetAssetCount(val int)

SetAssetCount sets the value of AssetCount.

func (*LibraryResponseDto) SetCreatedAt

func (s *LibraryResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*LibraryResponseDto) SetExclusionPatterns

func (s *LibraryResponseDto) SetExclusionPatterns(val []string)

SetExclusionPatterns sets the value of ExclusionPatterns.

func (*LibraryResponseDto) SetID

func (s *LibraryResponseDto) SetID(val string)

SetID sets the value of ID.

func (*LibraryResponseDto) SetImportPaths

func (s *LibraryResponseDto) SetImportPaths(val []string)

SetImportPaths sets the value of ImportPaths.

func (*LibraryResponseDto) SetName

func (s *LibraryResponseDto) SetName(val string)

SetName sets the value of Name.

func (*LibraryResponseDto) SetOwnerId

func (s *LibraryResponseDto) SetOwnerId(val string)

SetOwnerId sets the value of OwnerId.

func (*LibraryResponseDto) SetRefreshedAt

func (s *LibraryResponseDto) SetRefreshedAt(val NilDateTime)

SetRefreshedAt sets the value of RefreshedAt.

func (*LibraryResponseDto) SetUpdatedAt

func (s *LibraryResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*LibraryResponseDto) UnmarshalJSON

func (s *LibraryResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LibraryResponseDto) Validate

func (s *LibraryResponseDto) Validate() error

type LibraryStatsResponseDto

type LibraryStatsResponseDto struct {
	Photos int   `json:"photos"`
	Total  int   `json:"total"`
	Usage  int64 `json:"usage"`
	Videos int   `json:"videos"`
}

Ref: #/components/schemas/LibraryStatsResponseDto

func (*LibraryStatsResponseDto) Decode

func (s *LibraryStatsResponseDto) Decode(d *jx.Decoder) error

Decode decodes LibraryStatsResponseDto from json.

func (*LibraryStatsResponseDto) Encode

func (s *LibraryStatsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LibraryStatsResponseDto) GetPhotos

func (s *LibraryStatsResponseDto) GetPhotos() int

GetPhotos returns the value of Photos.

func (*LibraryStatsResponseDto) GetTotal

func (s *LibraryStatsResponseDto) GetTotal() int

GetTotal returns the value of Total.

func (*LibraryStatsResponseDto) GetUsage

func (s *LibraryStatsResponseDto) GetUsage() int64

GetUsage returns the value of Usage.

func (*LibraryStatsResponseDto) GetVideos

func (s *LibraryStatsResponseDto) GetVideos() int

GetVideos returns the value of Videos.

func (*LibraryStatsResponseDto) MarshalJSON

func (s *LibraryStatsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LibraryStatsResponseDto) SetPhotos

func (s *LibraryStatsResponseDto) SetPhotos(val int)

SetPhotos sets the value of Photos.

func (*LibraryStatsResponseDto) SetTotal

func (s *LibraryStatsResponseDto) SetTotal(val int)

SetTotal sets the value of Total.

func (*LibraryStatsResponseDto) SetUsage

func (s *LibraryStatsResponseDto) SetUsage(val int64)

SetUsage sets the value of Usage.

func (*LibraryStatsResponseDto) SetVideos

func (s *LibraryStatsResponseDto) SetVideos(val int)

SetVideos sets the value of Videos.

func (*LibraryStatsResponseDto) UnmarshalJSON

func (s *LibraryStatsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LicenseKeyDto

type LicenseKeyDto struct {
	ActivationKey string `json:"activationKey"`
	LicenseKey    string `json:"licenseKey"`
}

Ref: #/components/schemas/LicenseKeyDto

func (*LicenseKeyDto) Decode

func (s *LicenseKeyDto) Decode(d *jx.Decoder) error

Decode decodes LicenseKeyDto from json.

func (*LicenseKeyDto) Encode

func (s *LicenseKeyDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LicenseKeyDto) GetActivationKey

func (s *LicenseKeyDto) GetActivationKey() string

GetActivationKey returns the value of ActivationKey.

func (*LicenseKeyDto) GetLicenseKey

func (s *LicenseKeyDto) GetLicenseKey() string

GetLicenseKey returns the value of LicenseKey.

func (*LicenseKeyDto) MarshalJSON

func (s *LicenseKeyDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LicenseKeyDto) SetActivationKey

func (s *LicenseKeyDto) SetActivationKey(val string)

SetActivationKey sets the value of ActivationKey.

func (*LicenseKeyDto) SetLicenseKey

func (s *LicenseKeyDto) SetLicenseKey(val string)

SetLicenseKey sets the value of LicenseKey.

func (*LicenseKeyDto) UnmarshalJSON

func (s *LicenseKeyDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LicenseKeyDto) Validate

func (s *LicenseKeyDto) Validate() error

type LicenseResponseDto

type LicenseResponseDto struct {
	ActivatedAt   time.Time `json:"activatedAt"`
	ActivationKey string    `json:"activationKey"`
	LicenseKey    string    `json:"licenseKey"`
}

Ref: #/components/schemas/LicenseResponseDto

func (*LicenseResponseDto) Decode

func (s *LicenseResponseDto) Decode(d *jx.Decoder) error

Decode decodes LicenseResponseDto from json.

func (*LicenseResponseDto) Encode

func (s *LicenseResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LicenseResponseDto) GetActivatedAt

func (s *LicenseResponseDto) GetActivatedAt() time.Time

GetActivatedAt returns the value of ActivatedAt.

func (*LicenseResponseDto) GetActivationKey

func (s *LicenseResponseDto) GetActivationKey() string

GetActivationKey returns the value of ActivationKey.

func (*LicenseResponseDto) GetLicenseKey

func (s *LicenseResponseDto) GetLicenseKey() string

GetLicenseKey returns the value of LicenseKey.

func (*LicenseResponseDto) MarshalJSON

func (s *LicenseResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LicenseResponseDto) SetActivatedAt

func (s *LicenseResponseDto) SetActivatedAt(val time.Time)

SetActivatedAt sets the value of ActivatedAt.

func (*LicenseResponseDto) SetActivationKey

func (s *LicenseResponseDto) SetActivationKey(val string)

SetActivationKey sets the value of ActivationKey.

func (*LicenseResponseDto) SetLicenseKey

func (s *LicenseResponseDto) SetLicenseKey(val string)

SetLicenseKey sets the value of LicenseKey.

func (*LicenseResponseDto) UnmarshalJSON

func (s *LicenseResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LicenseResponseDto) Validate

func (s *LicenseResponseDto) Validate() error

type LogLevel

type LogLevel string

Ref: #/components/schemas/LogLevel

const (
	LogLevelVerbose LogLevel = "verbose"
	LogLevelDebug   LogLevel = "debug"
	LogLevelLog     LogLevel = "log"
	LogLevelWarn    LogLevel = "warn"
	LogLevelError   LogLevel = "error"
	LogLevelFatal   LogLevel = "fatal"
)

func (LogLevel) AllValues

func (LogLevel) AllValues() []LogLevel

AllValues returns all LogLevel values.

func (*LogLevel) Decode

func (s *LogLevel) Decode(d *jx.Decoder) error

Decode decodes LogLevel from json.

func (LogLevel) Encode

func (s LogLevel) Encode(e *jx.Encoder)

Encode encodes LogLevel as json.

func (LogLevel) MarshalJSON

func (s LogLevel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LogLevel) MarshalText

func (s LogLevel) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LogLevel) UnmarshalJSON

func (s *LogLevel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LogLevel) UnmarshalText

func (s *LogLevel) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LogLevel) Validate

func (s LogLevel) Validate() error

type LoginCredentialDto

type LoginCredentialDto struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

Ref: #/components/schemas/LoginCredentialDto

func (*LoginCredentialDto) Decode

func (s *LoginCredentialDto) Decode(d *jx.Decoder) error

Decode decodes LoginCredentialDto from json.

func (*LoginCredentialDto) Encode

func (s *LoginCredentialDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LoginCredentialDto) GetEmail

func (s *LoginCredentialDto) GetEmail() string

GetEmail returns the value of Email.

func (*LoginCredentialDto) GetPassword

func (s *LoginCredentialDto) GetPassword() string

GetPassword returns the value of Password.

func (*LoginCredentialDto) MarshalJSON

func (s *LoginCredentialDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LoginCredentialDto) SetEmail

func (s *LoginCredentialDto) SetEmail(val string)

SetEmail sets the value of Email.

func (*LoginCredentialDto) SetPassword

func (s *LoginCredentialDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*LoginCredentialDto) UnmarshalJSON

func (s *LoginCredentialDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LoginResponseDto

type LoginResponseDto struct {
	AccessToken          string `json:"accessToken"`
	IsAdmin              bool   `json:"isAdmin"`
	Name                 string `json:"name"`
	ProfileImagePath     string `json:"profileImagePath"`
	ShouldChangePassword bool   `json:"shouldChangePassword"`
	UserEmail            string `json:"userEmail"`
	UserId               string `json:"userId"`
}

Ref: #/components/schemas/LoginResponseDto

func (*LoginResponseDto) Decode

func (s *LoginResponseDto) Decode(d *jx.Decoder) error

Decode decodes LoginResponseDto from json.

func (*LoginResponseDto) Encode

func (s *LoginResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LoginResponseDto) GetAccessToken

func (s *LoginResponseDto) GetAccessToken() string

GetAccessToken returns the value of AccessToken.

func (*LoginResponseDto) GetIsAdmin

func (s *LoginResponseDto) GetIsAdmin() bool

GetIsAdmin returns the value of IsAdmin.

func (*LoginResponseDto) GetName

func (s *LoginResponseDto) GetName() string

GetName returns the value of Name.

func (*LoginResponseDto) GetProfileImagePath

func (s *LoginResponseDto) GetProfileImagePath() string

GetProfileImagePath returns the value of ProfileImagePath.

func (*LoginResponseDto) GetShouldChangePassword

func (s *LoginResponseDto) GetShouldChangePassword() bool

GetShouldChangePassword returns the value of ShouldChangePassword.

func (*LoginResponseDto) GetUserEmail

func (s *LoginResponseDto) GetUserEmail() string

GetUserEmail returns the value of UserEmail.

func (*LoginResponseDto) GetUserId

func (s *LoginResponseDto) GetUserId() string

GetUserId returns the value of UserId.

func (*LoginResponseDto) MarshalJSON

func (s *LoginResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LoginResponseDto) SetAccessToken

func (s *LoginResponseDto) SetAccessToken(val string)

SetAccessToken sets the value of AccessToken.

func (*LoginResponseDto) SetIsAdmin

func (s *LoginResponseDto) SetIsAdmin(val bool)

SetIsAdmin sets the value of IsAdmin.

func (*LoginResponseDto) SetName

func (s *LoginResponseDto) SetName(val string)

SetName sets the value of Name.

func (*LoginResponseDto) SetProfileImagePath

func (s *LoginResponseDto) SetProfileImagePath(val string)

SetProfileImagePath sets the value of ProfileImagePath.

func (*LoginResponseDto) SetShouldChangePassword

func (s *LoginResponseDto) SetShouldChangePassword(val bool)

SetShouldChangePassword sets the value of ShouldChangePassword.

func (*LoginResponseDto) SetUserEmail

func (s *LoginResponseDto) SetUserEmail(val string)

SetUserEmail sets the value of UserEmail.

func (*LoginResponseDto) SetUserId

func (s *LoginResponseDto) SetUserId(val string)

SetUserId sets the value of UserId.

func (*LoginResponseDto) UnmarshalJSON

func (s *LoginResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LogoutResponseDto

type LogoutResponseDto struct {
	RedirectUri string `json:"redirectUri"`
	Successful  bool   `json:"successful"`
}

Ref: #/components/schemas/LogoutResponseDto

func (*LogoutResponseDto) Decode

func (s *LogoutResponseDto) Decode(d *jx.Decoder) error

Decode decodes LogoutResponseDto from json.

func (*LogoutResponseDto) Encode

func (s *LogoutResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LogoutResponseDto) GetRedirectUri

func (s *LogoutResponseDto) GetRedirectUri() string

GetRedirectUri returns the value of RedirectUri.

func (*LogoutResponseDto) GetSuccessful

func (s *LogoutResponseDto) GetSuccessful() bool

GetSuccessful returns the value of Successful.

func (*LogoutResponseDto) MarshalJSON

func (s *LogoutResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LogoutResponseDto) SetRedirectUri

func (s *LogoutResponseDto) SetRedirectUri(val string)

SetRedirectUri sets the value of RedirectUri.

func (*LogoutResponseDto) SetSuccessful

func (s *LogoutResponseDto) SetSuccessful(val bool)

SetSuccessful sets the value of Successful.

func (*LogoutResponseDto) UnmarshalJSON

func (s *LogoutResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ManualJobName

type ManualJobName string

Ref: #/components/schemas/ManualJobName

const (
	ManualJobNamePersonCleanup ManualJobName = "person-cleanup"
	ManualJobNameTagCleanup    ManualJobName = "tag-cleanup"
	ManualJobNameUserCleanup   ManualJobName = "user-cleanup"
)

func (ManualJobName) AllValues

func (ManualJobName) AllValues() []ManualJobName

AllValues returns all ManualJobName values.

func (*ManualJobName) Decode

func (s *ManualJobName) Decode(d *jx.Decoder) error

Decode decodes ManualJobName from json.

func (ManualJobName) Encode

func (s ManualJobName) Encode(e *jx.Encoder)

Encode encodes ManualJobName as json.

func (ManualJobName) MarshalJSON

func (s ManualJobName) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ManualJobName) MarshalText

func (s ManualJobName) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ManualJobName) UnmarshalJSON

func (s *ManualJobName) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ManualJobName) UnmarshalText

func (s *ManualJobName) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ManualJobName) Validate

func (s ManualJobName) Validate() error

type MapMarkerResponseDto

type MapMarkerResponseDto struct {
	City    NilString `json:"city"`
	Country NilString `json:"country"`
	ID      string    `json:"id"`
	Lat     float64   `json:"lat"`
	Lon     float64   `json:"lon"`
	State   NilString `json:"state"`
}

Ref: #/components/schemas/MapMarkerResponseDto

func (*MapMarkerResponseDto) Decode

func (s *MapMarkerResponseDto) Decode(d *jx.Decoder) error

Decode decodes MapMarkerResponseDto from json.

func (*MapMarkerResponseDto) Encode

func (s *MapMarkerResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MapMarkerResponseDto) GetCity

func (s *MapMarkerResponseDto) GetCity() NilString

GetCity returns the value of City.

func (*MapMarkerResponseDto) GetCountry

func (s *MapMarkerResponseDto) GetCountry() NilString

GetCountry returns the value of Country.

func (*MapMarkerResponseDto) GetID

func (s *MapMarkerResponseDto) GetID() string

GetID returns the value of ID.

func (*MapMarkerResponseDto) GetLat

func (s *MapMarkerResponseDto) GetLat() float64

GetLat returns the value of Lat.

func (*MapMarkerResponseDto) GetLon

func (s *MapMarkerResponseDto) GetLon() float64

GetLon returns the value of Lon.

func (*MapMarkerResponseDto) GetState

func (s *MapMarkerResponseDto) GetState() NilString

GetState returns the value of State.

func (*MapMarkerResponseDto) MarshalJSON

func (s *MapMarkerResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MapMarkerResponseDto) SetCity

func (s *MapMarkerResponseDto) SetCity(val NilString)

SetCity sets the value of City.

func (*MapMarkerResponseDto) SetCountry

func (s *MapMarkerResponseDto) SetCountry(val NilString)

SetCountry sets the value of Country.

func (*MapMarkerResponseDto) SetID

func (s *MapMarkerResponseDto) SetID(val string)

SetID sets the value of ID.

func (*MapMarkerResponseDto) SetLat

func (s *MapMarkerResponseDto) SetLat(val float64)

SetLat sets the value of Lat.

func (*MapMarkerResponseDto) SetLon

func (s *MapMarkerResponseDto) SetLon(val float64)

SetLon sets the value of Lon.

func (*MapMarkerResponseDto) SetState

func (s *MapMarkerResponseDto) SetState(val NilString)

SetState sets the value of State.

func (*MapMarkerResponseDto) UnmarshalJSON

func (s *MapMarkerResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MapMarkerResponseDto) Validate

func (s *MapMarkerResponseDto) Validate() error

type MapReverseGeocodeResponseDto

type MapReverseGeocodeResponseDto struct {
	City    NilString `json:"city"`
	Country NilString `json:"country"`
	State   NilString `json:"state"`
}

Ref: #/components/schemas/MapReverseGeocodeResponseDto

func (*MapReverseGeocodeResponseDto) Decode

Decode decodes MapReverseGeocodeResponseDto from json.

func (*MapReverseGeocodeResponseDto) Encode

func (s *MapReverseGeocodeResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MapReverseGeocodeResponseDto) GetCity

GetCity returns the value of City.

func (*MapReverseGeocodeResponseDto) GetCountry

func (s *MapReverseGeocodeResponseDto) GetCountry() NilString

GetCountry returns the value of Country.

func (*MapReverseGeocodeResponseDto) GetState

GetState returns the value of State.

func (*MapReverseGeocodeResponseDto) MarshalJSON

func (s *MapReverseGeocodeResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MapReverseGeocodeResponseDto) SetCity

func (s *MapReverseGeocodeResponseDto) SetCity(val NilString)

SetCity sets the value of City.

func (*MapReverseGeocodeResponseDto) SetCountry

func (s *MapReverseGeocodeResponseDto) SetCountry(val NilString)

SetCountry sets the value of Country.

func (*MapReverseGeocodeResponseDto) SetState

func (s *MapReverseGeocodeResponseDto) SetState(val NilString)

SetState sets the value of State.

func (*MapReverseGeocodeResponseDto) UnmarshalJSON

func (s *MapReverseGeocodeResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type MemoriesResponse

type MemoriesResponse struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/MemoriesResponse

func (*MemoriesResponse) Decode

func (s *MemoriesResponse) Decode(d *jx.Decoder) error

Decode decodes MemoriesResponse from json.

func (*MemoriesResponse) Encode

func (s *MemoriesResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MemoriesResponse) GetEnabled

func (s *MemoriesResponse) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*MemoriesResponse) MarshalJSON

func (s *MemoriesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoriesResponse) SetEnabled

func (s *MemoriesResponse) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*MemoriesResponse) UnmarshalJSON

func (s *MemoriesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type MemoriesUpdate

type MemoriesUpdate struct {
	Enabled OptBool `json:"enabled"`
}

Ref: #/components/schemas/MemoriesUpdate

func (*MemoriesUpdate) Decode

func (s *MemoriesUpdate) Decode(d *jx.Decoder) error

Decode decodes MemoriesUpdate from json.

func (*MemoriesUpdate) Encode

func (s *MemoriesUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MemoriesUpdate) GetEnabled

func (s *MemoriesUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*MemoriesUpdate) MarshalJSON

func (s *MemoriesUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoriesUpdate) SetEnabled

func (s *MemoriesUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*MemoriesUpdate) UnmarshalJSON

func (s *MemoriesUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type MemoryCreateDto

type MemoryCreateDto struct {
	AssetIds []uuid.UUID  `json:"assetIds"`
	Data     OnThisDayDto `json:"data"`
	IsSaved  OptBool      `json:"isSaved"`
	MemoryAt time.Time    `json:"memoryAt"`
	SeenAt   OptDateTime  `json:"seenAt"`
	Type     MemoryType   `json:"type"`
}

Ref: #/components/schemas/MemoryCreateDto

func (*MemoryCreateDto) Decode

func (s *MemoryCreateDto) Decode(d *jx.Decoder) error

Decode decodes MemoryCreateDto from json.

func (*MemoryCreateDto) Encode

func (s *MemoryCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MemoryCreateDto) GetAssetIds

func (s *MemoryCreateDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*MemoryCreateDto) GetData

func (s *MemoryCreateDto) GetData() OnThisDayDto

GetData returns the value of Data.

func (*MemoryCreateDto) GetIsSaved

func (s *MemoryCreateDto) GetIsSaved() OptBool

GetIsSaved returns the value of IsSaved.

func (*MemoryCreateDto) GetMemoryAt

func (s *MemoryCreateDto) GetMemoryAt() time.Time

GetMemoryAt returns the value of MemoryAt.

func (*MemoryCreateDto) GetSeenAt

func (s *MemoryCreateDto) GetSeenAt() OptDateTime

GetSeenAt returns the value of SeenAt.

func (*MemoryCreateDto) GetType

func (s *MemoryCreateDto) GetType() MemoryType

GetType returns the value of Type.

func (*MemoryCreateDto) MarshalJSON

func (s *MemoryCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoryCreateDto) SetAssetIds

func (s *MemoryCreateDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*MemoryCreateDto) SetData

func (s *MemoryCreateDto) SetData(val OnThisDayDto)

SetData sets the value of Data.

func (*MemoryCreateDto) SetIsSaved

func (s *MemoryCreateDto) SetIsSaved(val OptBool)

SetIsSaved sets the value of IsSaved.

func (*MemoryCreateDto) SetMemoryAt

func (s *MemoryCreateDto) SetMemoryAt(val time.Time)

SetMemoryAt sets the value of MemoryAt.

func (*MemoryCreateDto) SetSeenAt

func (s *MemoryCreateDto) SetSeenAt(val OptDateTime)

SetSeenAt sets the value of SeenAt.

func (*MemoryCreateDto) SetType

func (s *MemoryCreateDto) SetType(val MemoryType)

SetType sets the value of Type.

func (*MemoryCreateDto) UnmarshalJSON

func (s *MemoryCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MemoryCreateDto) Validate

func (s *MemoryCreateDto) Validate() error

type MemoryLaneResponseDto

type MemoryLaneResponseDto struct {
	Assets   []AssetResponseDto `json:"assets"`
	YearsAgo int                `json:"yearsAgo"`
}

Ref: #/components/schemas/MemoryLaneResponseDto

func (*MemoryLaneResponseDto) Decode

func (s *MemoryLaneResponseDto) Decode(d *jx.Decoder) error

Decode decodes MemoryLaneResponseDto from json.

func (*MemoryLaneResponseDto) Encode

func (s *MemoryLaneResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MemoryLaneResponseDto) GetAssets

func (s *MemoryLaneResponseDto) GetAssets() []AssetResponseDto

GetAssets returns the value of Assets.

func (*MemoryLaneResponseDto) GetYearsAgo

func (s *MemoryLaneResponseDto) GetYearsAgo() int

GetYearsAgo returns the value of YearsAgo.

func (*MemoryLaneResponseDto) MarshalJSON

func (s *MemoryLaneResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoryLaneResponseDto) SetAssets

func (s *MemoryLaneResponseDto) SetAssets(val []AssetResponseDto)

SetAssets sets the value of Assets.

func (*MemoryLaneResponseDto) SetYearsAgo

func (s *MemoryLaneResponseDto) SetYearsAgo(val int)

SetYearsAgo sets the value of YearsAgo.

func (*MemoryLaneResponseDto) UnmarshalJSON

func (s *MemoryLaneResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MemoryLaneResponseDto) Validate

func (s *MemoryLaneResponseDto) Validate() error

type MemoryResponseDto

type MemoryResponseDto struct {
	Assets    []AssetResponseDto `json:"assets"`
	CreatedAt time.Time          `json:"createdAt"`
	Data      OnThisDayDto       `json:"data"`
	DeletedAt OptDateTime        `json:"deletedAt"`
	ID        string             `json:"id"`
	IsSaved   bool               `json:"isSaved"`
	MemoryAt  time.Time          `json:"memoryAt"`
	OwnerId   string             `json:"ownerId"`
	SeenAt    OptDateTime        `json:"seenAt"`
	Type      MemoryType         `json:"type"`
	UpdatedAt time.Time          `json:"updatedAt"`
}

Ref: #/components/schemas/MemoryResponseDto

func (*MemoryResponseDto) Decode

func (s *MemoryResponseDto) Decode(d *jx.Decoder) error

Decode decodes MemoryResponseDto from json.

func (*MemoryResponseDto) Encode

func (s *MemoryResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MemoryResponseDto) GetAssets

func (s *MemoryResponseDto) GetAssets() []AssetResponseDto

GetAssets returns the value of Assets.

func (*MemoryResponseDto) GetCreatedAt

func (s *MemoryResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*MemoryResponseDto) GetData

func (s *MemoryResponseDto) GetData() OnThisDayDto

GetData returns the value of Data.

func (*MemoryResponseDto) GetDeletedAt

func (s *MemoryResponseDto) GetDeletedAt() OptDateTime

GetDeletedAt returns the value of DeletedAt.

func (*MemoryResponseDto) GetID

func (s *MemoryResponseDto) GetID() string

GetID returns the value of ID.

func (*MemoryResponseDto) GetIsSaved

func (s *MemoryResponseDto) GetIsSaved() bool

GetIsSaved returns the value of IsSaved.

func (*MemoryResponseDto) GetMemoryAt

func (s *MemoryResponseDto) GetMemoryAt() time.Time

GetMemoryAt returns the value of MemoryAt.

func (*MemoryResponseDto) GetOwnerId

func (s *MemoryResponseDto) GetOwnerId() string

GetOwnerId returns the value of OwnerId.

func (*MemoryResponseDto) GetSeenAt

func (s *MemoryResponseDto) GetSeenAt() OptDateTime

GetSeenAt returns the value of SeenAt.

func (*MemoryResponseDto) GetType

func (s *MemoryResponseDto) GetType() MemoryType

GetType returns the value of Type.

func (*MemoryResponseDto) GetUpdatedAt

func (s *MemoryResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*MemoryResponseDto) MarshalJSON

func (s *MemoryResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoryResponseDto) SetAssets

func (s *MemoryResponseDto) SetAssets(val []AssetResponseDto)

SetAssets sets the value of Assets.

func (*MemoryResponseDto) SetCreatedAt

func (s *MemoryResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*MemoryResponseDto) SetData

func (s *MemoryResponseDto) SetData(val OnThisDayDto)

SetData sets the value of Data.

func (*MemoryResponseDto) SetDeletedAt

func (s *MemoryResponseDto) SetDeletedAt(val OptDateTime)

SetDeletedAt sets the value of DeletedAt.

func (*MemoryResponseDto) SetID

func (s *MemoryResponseDto) SetID(val string)

SetID sets the value of ID.

func (*MemoryResponseDto) SetIsSaved

func (s *MemoryResponseDto) SetIsSaved(val bool)

SetIsSaved sets the value of IsSaved.

func (*MemoryResponseDto) SetMemoryAt

func (s *MemoryResponseDto) SetMemoryAt(val time.Time)

SetMemoryAt sets the value of MemoryAt.

func (*MemoryResponseDto) SetOwnerId

func (s *MemoryResponseDto) SetOwnerId(val string)

SetOwnerId sets the value of OwnerId.

func (*MemoryResponseDto) SetSeenAt

func (s *MemoryResponseDto) SetSeenAt(val OptDateTime)

SetSeenAt sets the value of SeenAt.

func (*MemoryResponseDto) SetType

func (s *MemoryResponseDto) SetType(val MemoryType)

SetType sets the value of Type.

func (*MemoryResponseDto) SetUpdatedAt

func (s *MemoryResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*MemoryResponseDto) UnmarshalJSON

func (s *MemoryResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MemoryResponseDto) Validate

func (s *MemoryResponseDto) Validate() error

type MemoryType

type MemoryType string

Ref: #/components/schemas/MemoryType

const (
	MemoryTypeOnThisDay MemoryType = "on_this_day"
)

func (MemoryType) AllValues

func (MemoryType) AllValues() []MemoryType

AllValues returns all MemoryType values.

func (*MemoryType) Decode

func (s *MemoryType) Decode(d *jx.Decoder) error

Decode decodes MemoryType from json.

func (MemoryType) Encode

func (s MemoryType) Encode(e *jx.Encoder)

Encode encodes MemoryType as json.

func (MemoryType) MarshalJSON

func (s MemoryType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (MemoryType) MarshalText

func (s MemoryType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*MemoryType) UnmarshalJSON

func (s *MemoryType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MemoryType) UnmarshalText

func (s *MemoryType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (MemoryType) Validate

func (s MemoryType) Validate() error

type MemoryUpdateDto

type MemoryUpdateDto struct {
	IsSaved  OptBool     `json:"isSaved"`
	MemoryAt OptDateTime `json:"memoryAt"`
	SeenAt   OptDateTime `json:"seenAt"`
}

Ref: #/components/schemas/MemoryUpdateDto

func (*MemoryUpdateDto) Decode

func (s *MemoryUpdateDto) Decode(d *jx.Decoder) error

Decode decodes MemoryUpdateDto from json.

func (*MemoryUpdateDto) Encode

func (s *MemoryUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MemoryUpdateDto) GetIsSaved

func (s *MemoryUpdateDto) GetIsSaved() OptBool

GetIsSaved returns the value of IsSaved.

func (*MemoryUpdateDto) GetMemoryAt

func (s *MemoryUpdateDto) GetMemoryAt() OptDateTime

GetMemoryAt returns the value of MemoryAt.

func (*MemoryUpdateDto) GetSeenAt

func (s *MemoryUpdateDto) GetSeenAt() OptDateTime

GetSeenAt returns the value of SeenAt.

func (*MemoryUpdateDto) MarshalJSON

func (s *MemoryUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MemoryUpdateDto) SetIsSaved

func (s *MemoryUpdateDto) SetIsSaved(val OptBool)

SetIsSaved sets the value of IsSaved.

func (*MemoryUpdateDto) SetMemoryAt

func (s *MemoryUpdateDto) SetMemoryAt(val OptDateTime)

SetMemoryAt sets the value of MemoryAt.

func (*MemoryUpdateDto) SetSeenAt

func (s *MemoryUpdateDto) SetSeenAt(val OptDateTime)

SetSeenAt sets the value of SeenAt.

func (*MemoryUpdateDto) UnmarshalJSON

func (s *MemoryUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type MergePersonDto

type MergePersonDto struct {
	Ids []uuid.UUID `json:"ids"`
}

Ref: #/components/schemas/MergePersonDto

func (*MergePersonDto) Decode

func (s *MergePersonDto) Decode(d *jx.Decoder) error

Decode decodes MergePersonDto from json.

func (*MergePersonDto) Encode

func (s *MergePersonDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MergePersonDto) GetIds

func (s *MergePersonDto) GetIds() []uuid.UUID

GetIds returns the value of Ids.

func (*MergePersonDto) MarshalJSON

func (s *MergePersonDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MergePersonDto) SetIds

func (s *MergePersonDto) SetIds(val []uuid.UUID)

SetIds sets the value of Ids.

func (*MergePersonDto) UnmarshalJSON

func (s *MergePersonDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MergePersonDto) Validate

func (s *MergePersonDto) Validate() error

type MergePersonParams

type MergePersonParams struct {
	ID uuid.UUID
}

MergePersonParams is parameters of mergePerson operation.

type MetadataSearchDto

type MetadataSearchDto struct {
	Checksum         OptString        `json:"checksum"`
	City             OptNilString     `json:"city"`
	Country          OptNilString     `json:"country"`
	CreatedAfter     OptDateTime      `json:"createdAfter"`
	CreatedBefore    OptDateTime      `json:"createdBefore"`
	DeviceAssetId    OptString        `json:"deviceAssetId"`
	DeviceId         OptString        `json:"deviceId"`
	EncodedVideoPath OptString        `json:"encodedVideoPath"`
	ID               OptUUID          `json:"id"`
	IsArchived       OptBool          `json:"isArchived"`
	IsEncoded        OptBool          `json:"isEncoded"`
	IsFavorite       OptBool          `json:"isFavorite"`
	IsMotion         OptBool          `json:"isMotion"`
	IsNotInAlbum     OptBool          `json:"isNotInAlbum"`
	IsOffline        OptBool          `json:"isOffline"`
	IsVisible        OptBool          `json:"isVisible"`
	LensModel        OptNilString     `json:"lensModel"`
	LibraryId        OptNilUUID       `json:"libraryId"`
	Make             OptString        `json:"make"`
	Model            OptNilString     `json:"model"`
	Order            OptAssetOrder    `json:"order"`
	OriginalFileName OptString        `json:"originalFileName"`
	OriginalPath     OptString        `json:"originalPath"`
	Page             OptFloat64       `json:"page"`
	PersonIds        []uuid.UUID      `json:"personIds"`
	PreviewPath      OptString        `json:"previewPath"`
	Size             OptFloat64       `json:"size"`
	State            OptNilString     `json:"state"`
	TakenAfter       OptDateTime      `json:"takenAfter"`
	TakenBefore      OptDateTime      `json:"takenBefore"`
	ThumbnailPath    OptString        `json:"thumbnailPath"`
	TrashedAfter     OptDateTime      `json:"trashedAfter"`
	TrashedBefore    OptDateTime      `json:"trashedBefore"`
	Type             OptAssetTypeEnum `json:"type"`
	UpdatedAfter     OptDateTime      `json:"updatedAfter"`
	UpdatedBefore    OptDateTime      `json:"updatedBefore"`
	WithArchived     OptBool          `json:"withArchived"`
	WithDeleted      OptBool          `json:"withDeleted"`
	WithExif         OptBool          `json:"withExif"`
	WithPeople       OptBool          `json:"withPeople"`
	WithStacked      OptBool          `json:"withStacked"`
}

Ref: #/components/schemas/MetadataSearchDto

func (*MetadataSearchDto) Decode

func (s *MetadataSearchDto) Decode(d *jx.Decoder) error

Decode decodes MetadataSearchDto from json.

func (*MetadataSearchDto) Encode

func (s *MetadataSearchDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MetadataSearchDto) GetChecksum

func (s *MetadataSearchDto) GetChecksum() OptString

GetChecksum returns the value of Checksum.

func (*MetadataSearchDto) GetCity

func (s *MetadataSearchDto) GetCity() OptNilString

GetCity returns the value of City.

func (*MetadataSearchDto) GetCountry

func (s *MetadataSearchDto) GetCountry() OptNilString

GetCountry returns the value of Country.

func (*MetadataSearchDto) GetCreatedAfter

func (s *MetadataSearchDto) GetCreatedAfter() OptDateTime

GetCreatedAfter returns the value of CreatedAfter.

func (*MetadataSearchDto) GetCreatedBefore

func (s *MetadataSearchDto) GetCreatedBefore() OptDateTime

GetCreatedBefore returns the value of CreatedBefore.

func (*MetadataSearchDto) GetDeviceAssetId

func (s *MetadataSearchDto) GetDeviceAssetId() OptString

GetDeviceAssetId returns the value of DeviceAssetId.

func (*MetadataSearchDto) GetDeviceId

func (s *MetadataSearchDto) GetDeviceId() OptString

GetDeviceId returns the value of DeviceId.

func (*MetadataSearchDto) GetEncodedVideoPath

func (s *MetadataSearchDto) GetEncodedVideoPath() OptString

GetEncodedVideoPath returns the value of EncodedVideoPath.

func (*MetadataSearchDto) GetID

func (s *MetadataSearchDto) GetID() OptUUID

GetID returns the value of ID.

func (*MetadataSearchDto) GetIsArchived

func (s *MetadataSearchDto) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*MetadataSearchDto) GetIsEncoded

func (s *MetadataSearchDto) GetIsEncoded() OptBool

GetIsEncoded returns the value of IsEncoded.

func (*MetadataSearchDto) GetIsFavorite

func (s *MetadataSearchDto) GetIsFavorite() OptBool

GetIsFavorite returns the value of IsFavorite.

func (*MetadataSearchDto) GetIsMotion

func (s *MetadataSearchDto) GetIsMotion() OptBool

GetIsMotion returns the value of IsMotion.

func (*MetadataSearchDto) GetIsNotInAlbum

func (s *MetadataSearchDto) GetIsNotInAlbum() OptBool

GetIsNotInAlbum returns the value of IsNotInAlbum.

func (*MetadataSearchDto) GetIsOffline

func (s *MetadataSearchDto) GetIsOffline() OptBool

GetIsOffline returns the value of IsOffline.

func (*MetadataSearchDto) GetIsVisible

func (s *MetadataSearchDto) GetIsVisible() OptBool

GetIsVisible returns the value of IsVisible.

func (*MetadataSearchDto) GetLensModel

func (s *MetadataSearchDto) GetLensModel() OptNilString

GetLensModel returns the value of LensModel.

func (*MetadataSearchDto) GetLibraryId

func (s *MetadataSearchDto) GetLibraryId() OptNilUUID

GetLibraryId returns the value of LibraryId.

func (*MetadataSearchDto) GetMake

func (s *MetadataSearchDto) GetMake() OptString

GetMake returns the value of Make.

func (*MetadataSearchDto) GetModel

func (s *MetadataSearchDto) GetModel() OptNilString

GetModel returns the value of Model.

func (*MetadataSearchDto) GetOrder

func (s *MetadataSearchDto) GetOrder() OptAssetOrder

GetOrder returns the value of Order.

func (*MetadataSearchDto) GetOriginalFileName

func (s *MetadataSearchDto) GetOriginalFileName() OptString

GetOriginalFileName returns the value of OriginalFileName.

func (*MetadataSearchDto) GetOriginalPath

func (s *MetadataSearchDto) GetOriginalPath() OptString

GetOriginalPath returns the value of OriginalPath.

func (*MetadataSearchDto) GetPage

func (s *MetadataSearchDto) GetPage() OptFloat64

GetPage returns the value of Page.

func (*MetadataSearchDto) GetPersonIds

func (s *MetadataSearchDto) GetPersonIds() []uuid.UUID

GetPersonIds returns the value of PersonIds.

func (*MetadataSearchDto) GetPreviewPath

func (s *MetadataSearchDto) GetPreviewPath() OptString

GetPreviewPath returns the value of PreviewPath.

func (*MetadataSearchDto) GetSize

func (s *MetadataSearchDto) GetSize() OptFloat64

GetSize returns the value of Size.

func (*MetadataSearchDto) GetState

func (s *MetadataSearchDto) GetState() OptNilString

GetState returns the value of State.

func (*MetadataSearchDto) GetTakenAfter

func (s *MetadataSearchDto) GetTakenAfter() OptDateTime

GetTakenAfter returns the value of TakenAfter.

func (*MetadataSearchDto) GetTakenBefore

func (s *MetadataSearchDto) GetTakenBefore() OptDateTime

GetTakenBefore returns the value of TakenBefore.

func (*MetadataSearchDto) GetThumbnailPath

func (s *MetadataSearchDto) GetThumbnailPath() OptString

GetThumbnailPath returns the value of ThumbnailPath.

func (*MetadataSearchDto) GetTrashedAfter

func (s *MetadataSearchDto) GetTrashedAfter() OptDateTime

GetTrashedAfter returns the value of TrashedAfter.

func (*MetadataSearchDto) GetTrashedBefore

func (s *MetadataSearchDto) GetTrashedBefore() OptDateTime

GetTrashedBefore returns the value of TrashedBefore.

func (*MetadataSearchDto) GetType

func (s *MetadataSearchDto) GetType() OptAssetTypeEnum

GetType returns the value of Type.

func (*MetadataSearchDto) GetUpdatedAfter

func (s *MetadataSearchDto) GetUpdatedAfter() OptDateTime

GetUpdatedAfter returns the value of UpdatedAfter.

func (*MetadataSearchDto) GetUpdatedBefore

func (s *MetadataSearchDto) GetUpdatedBefore() OptDateTime

GetUpdatedBefore returns the value of UpdatedBefore.

func (*MetadataSearchDto) GetWithArchived

func (s *MetadataSearchDto) GetWithArchived() OptBool

GetWithArchived returns the value of WithArchived.

func (*MetadataSearchDto) GetWithDeleted

func (s *MetadataSearchDto) GetWithDeleted() OptBool

GetWithDeleted returns the value of WithDeleted.

func (*MetadataSearchDto) GetWithExif

func (s *MetadataSearchDto) GetWithExif() OptBool

GetWithExif returns the value of WithExif.

func (*MetadataSearchDto) GetWithPeople

func (s *MetadataSearchDto) GetWithPeople() OptBool

GetWithPeople returns the value of WithPeople.

func (*MetadataSearchDto) GetWithStacked

func (s *MetadataSearchDto) GetWithStacked() OptBool

GetWithStacked returns the value of WithStacked.

func (*MetadataSearchDto) MarshalJSON

func (s *MetadataSearchDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MetadataSearchDto) SetChecksum

func (s *MetadataSearchDto) SetChecksum(val OptString)

SetChecksum sets the value of Checksum.

func (*MetadataSearchDto) SetCity

func (s *MetadataSearchDto) SetCity(val OptNilString)

SetCity sets the value of City.

func (*MetadataSearchDto) SetCountry

func (s *MetadataSearchDto) SetCountry(val OptNilString)

SetCountry sets the value of Country.

func (*MetadataSearchDto) SetCreatedAfter

func (s *MetadataSearchDto) SetCreatedAfter(val OptDateTime)

SetCreatedAfter sets the value of CreatedAfter.

func (*MetadataSearchDto) SetCreatedBefore

func (s *MetadataSearchDto) SetCreatedBefore(val OptDateTime)

SetCreatedBefore sets the value of CreatedBefore.

func (*MetadataSearchDto) SetDeviceAssetId

func (s *MetadataSearchDto) SetDeviceAssetId(val OptString)

SetDeviceAssetId sets the value of DeviceAssetId.

func (*MetadataSearchDto) SetDeviceId

func (s *MetadataSearchDto) SetDeviceId(val OptString)

SetDeviceId sets the value of DeviceId.

func (*MetadataSearchDto) SetEncodedVideoPath

func (s *MetadataSearchDto) SetEncodedVideoPath(val OptString)

SetEncodedVideoPath sets the value of EncodedVideoPath.

func (*MetadataSearchDto) SetID

func (s *MetadataSearchDto) SetID(val OptUUID)

SetID sets the value of ID.

func (*MetadataSearchDto) SetIsArchived

func (s *MetadataSearchDto) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*MetadataSearchDto) SetIsEncoded

func (s *MetadataSearchDto) SetIsEncoded(val OptBool)

SetIsEncoded sets the value of IsEncoded.

func (*MetadataSearchDto) SetIsFavorite

func (s *MetadataSearchDto) SetIsFavorite(val OptBool)

SetIsFavorite sets the value of IsFavorite.

func (*MetadataSearchDto) SetIsMotion

func (s *MetadataSearchDto) SetIsMotion(val OptBool)

SetIsMotion sets the value of IsMotion.

func (*MetadataSearchDto) SetIsNotInAlbum

func (s *MetadataSearchDto) SetIsNotInAlbum(val OptBool)

SetIsNotInAlbum sets the value of IsNotInAlbum.

func (*MetadataSearchDto) SetIsOffline

func (s *MetadataSearchDto) SetIsOffline(val OptBool)

SetIsOffline sets the value of IsOffline.

func (*MetadataSearchDto) SetIsVisible

func (s *MetadataSearchDto) SetIsVisible(val OptBool)

SetIsVisible sets the value of IsVisible.

func (*MetadataSearchDto) SetLensModel

func (s *MetadataSearchDto) SetLensModel(val OptNilString)

SetLensModel sets the value of LensModel.

func (*MetadataSearchDto) SetLibraryId

func (s *MetadataSearchDto) SetLibraryId(val OptNilUUID)

SetLibraryId sets the value of LibraryId.

func (*MetadataSearchDto) SetMake

func (s *MetadataSearchDto) SetMake(val OptString)

SetMake sets the value of Make.

func (*MetadataSearchDto) SetModel

func (s *MetadataSearchDto) SetModel(val OptNilString)

SetModel sets the value of Model.

func (*MetadataSearchDto) SetOrder

func (s *MetadataSearchDto) SetOrder(val OptAssetOrder)

SetOrder sets the value of Order.

func (*MetadataSearchDto) SetOriginalFileName

func (s *MetadataSearchDto) SetOriginalFileName(val OptString)

SetOriginalFileName sets the value of OriginalFileName.

func (*MetadataSearchDto) SetOriginalPath

func (s *MetadataSearchDto) SetOriginalPath(val OptString)

SetOriginalPath sets the value of OriginalPath.

func (*MetadataSearchDto) SetPage

func (s *MetadataSearchDto) SetPage(val OptFloat64)

SetPage sets the value of Page.

func (*MetadataSearchDto) SetPersonIds

func (s *MetadataSearchDto) SetPersonIds(val []uuid.UUID)

SetPersonIds sets the value of PersonIds.

func (*MetadataSearchDto) SetPreviewPath

func (s *MetadataSearchDto) SetPreviewPath(val OptString)

SetPreviewPath sets the value of PreviewPath.

func (*MetadataSearchDto) SetSize

func (s *MetadataSearchDto) SetSize(val OptFloat64)

SetSize sets the value of Size.

func (*MetadataSearchDto) SetState

func (s *MetadataSearchDto) SetState(val OptNilString)

SetState sets the value of State.

func (*MetadataSearchDto) SetTakenAfter

func (s *MetadataSearchDto) SetTakenAfter(val OptDateTime)

SetTakenAfter sets the value of TakenAfter.

func (*MetadataSearchDto) SetTakenBefore

func (s *MetadataSearchDto) SetTakenBefore(val OptDateTime)

SetTakenBefore sets the value of TakenBefore.

func (*MetadataSearchDto) SetThumbnailPath

func (s *MetadataSearchDto) SetThumbnailPath(val OptString)

SetThumbnailPath sets the value of ThumbnailPath.

func (*MetadataSearchDto) SetTrashedAfter

func (s *MetadataSearchDto) SetTrashedAfter(val OptDateTime)

SetTrashedAfter sets the value of TrashedAfter.

func (*MetadataSearchDto) SetTrashedBefore

func (s *MetadataSearchDto) SetTrashedBefore(val OptDateTime)

SetTrashedBefore sets the value of TrashedBefore.

func (*MetadataSearchDto) SetType

func (s *MetadataSearchDto) SetType(val OptAssetTypeEnum)

SetType sets the value of Type.

func (*MetadataSearchDto) SetUpdatedAfter

func (s *MetadataSearchDto) SetUpdatedAfter(val OptDateTime)

SetUpdatedAfter sets the value of UpdatedAfter.

func (*MetadataSearchDto) SetUpdatedBefore

func (s *MetadataSearchDto) SetUpdatedBefore(val OptDateTime)

SetUpdatedBefore sets the value of UpdatedBefore.

func (*MetadataSearchDto) SetWithArchived

func (s *MetadataSearchDto) SetWithArchived(val OptBool)

SetWithArchived sets the value of WithArchived.

func (*MetadataSearchDto) SetWithDeleted

func (s *MetadataSearchDto) SetWithDeleted(val OptBool)

SetWithDeleted sets the value of WithDeleted.

func (*MetadataSearchDto) SetWithExif

func (s *MetadataSearchDto) SetWithExif(val OptBool)

SetWithExif sets the value of WithExif.

func (*MetadataSearchDto) SetWithPeople

func (s *MetadataSearchDto) SetWithPeople(val OptBool)

SetWithPeople sets the value of WithPeople.

func (*MetadataSearchDto) SetWithStacked

func (s *MetadataSearchDto) SetWithStacked(val OptBool)

SetWithStacked sets the value of WithStacked.

func (*MetadataSearchDto) UnmarshalJSON

func (s *MetadataSearchDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MetadataSearchDto) Validate

func (s *MetadataSearchDto) Validate() error

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type NilAssetFaceResponseDtoPerson

type NilAssetFaceResponseDtoPerson struct {
	Value AssetFaceResponseDtoPerson
	Null  bool
}

NilAssetFaceResponseDtoPerson is nullable AssetFaceResponseDtoPerson.

func NewNilAssetFaceResponseDtoPerson

func NewNilAssetFaceResponseDtoPerson(v AssetFaceResponseDtoPerson) NilAssetFaceResponseDtoPerson

NewNilAssetFaceResponseDtoPerson returns new NilAssetFaceResponseDtoPerson with value set to v.

func (*NilAssetFaceResponseDtoPerson) Decode

Decode decodes AssetFaceResponseDtoPerson from json.

func (NilAssetFaceResponseDtoPerson) Encode

Encode encodes AssetFaceResponseDtoPerson as json.

func (NilAssetFaceResponseDtoPerson) Get

Get returns value and boolean that denotes whether value was set.

func (NilAssetFaceResponseDtoPerson) IsNull

IsSet returns true if value is Null.

func (NilAssetFaceResponseDtoPerson) MarshalJSON

func (s NilAssetFaceResponseDtoPerson) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilAssetFaceResponseDtoPerson) Or

Or returns value if set, or given parameter if does not.

func (*NilAssetFaceResponseDtoPerson) SetTo

SetTo sets value to v.

func (*NilAssetFaceResponseDtoPerson) SetToNull

func (o *NilAssetFaceResponseDtoPerson) SetToNull()

SetNull sets value to null.

func (*NilAssetFaceResponseDtoPerson) UnmarshalJSON

func (s *NilAssetFaceResponseDtoPerson) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilDate

type NilDate struct {
	Value time.Time
	Null  bool
}

NilDate is nullable time.Time.

func NewNilDate

func NewNilDate(v time.Time) NilDate

NewNilDate returns new NilDate with value set to v.

func (*NilDate) Decode

func (o *NilDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (NilDate) Encode

func (o NilDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (NilDate) Get

func (o NilDate) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilDate) IsNull

func (o NilDate) IsNull() bool

IsSet returns true if value is Null.

func (NilDate) MarshalJSON

func (s NilDate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilDate) Or

func (o NilDate) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*NilDate) SetTo

func (o *NilDate) SetTo(v time.Time)

SetTo sets value to v.

func (*NilDate) SetToNull

func (o *NilDate) SetToNull()

SetNull sets value to null.

func (*NilDate) UnmarshalJSON

func (s *NilDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilDateTime

type NilDateTime struct {
	Value time.Time
	Null  bool
}

NilDateTime is nullable time.Time.

func NewNilDateTime

func NewNilDateTime(v time.Time) NilDateTime

NewNilDateTime returns new NilDateTime with value set to v.

func (*NilDateTime) Decode

func (o *NilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (NilDateTime) Encode

func (o NilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (NilDateTime) Get

func (o NilDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilDateTime) IsNull

func (o NilDateTime) IsNull() bool

IsSet returns true if value is Null.

func (NilDateTime) MarshalJSON

func (s NilDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilDateTime) Or

func (o NilDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*NilDateTime) SetTo

func (o *NilDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*NilDateTime) SetToNull

func (o *NilDateTime) SetToNull()

SetNull sets value to null.

func (*NilDateTime) UnmarshalJSON

func (s *NilDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilInt64

type NilInt64 struct {
	Value int64
	Null  bool
}

NilInt64 is nullable int64.

func NewNilInt64

func NewNilInt64(v int64) NilInt64

NewNilInt64 returns new NilInt64 with value set to v.

func (*NilInt64) Decode

func (o *NilInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (NilInt64) Encode

func (o NilInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (NilInt64) Get

func (o NilInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilInt64) IsNull

func (o NilInt64) IsNull() bool

IsSet returns true if value is Null.

func (NilInt64) MarshalJSON

func (s NilInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilInt64) Or

func (o NilInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*NilInt64) SetTo

func (o *NilInt64) SetTo(v int64)

SetTo sets value to v.

func (*NilInt64) SetToNull

func (o *NilInt64) SetToNull()

SetNull sets value to null.

func (*NilInt64) UnmarshalJSON

func (s *NilInt64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilString

type NilString struct {
	Value string
	Null  bool
}

NilString is nullable string.

func NewNilString

func NewNilString(v string) NilString

NewNilString returns new NilString with value set to v.

func (*NilString) Decode

func (o *NilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (NilString) Encode

func (o NilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (NilString) Get

func (o NilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilString) IsNull

func (o NilString) IsNull() bool

IsSet returns true if value is Null.

func (NilString) MarshalJSON

func (s NilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilString) Or

func (o NilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*NilString) SetTo

func (o *NilString) SetTo(v string)

SetTo sets value to v.

func (*NilString) SetToNull

func (o *NilString) SetToNull()

SetNull sets value to null.

func (*NilString) UnmarshalJSON

func (s *NilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilUserAdminResponseDtoLicense

type NilUserAdminResponseDtoLicense struct {
	Value UserAdminResponseDtoLicense
	Null  bool
}

NilUserAdminResponseDtoLicense is nullable UserAdminResponseDtoLicense.

func NewNilUserAdminResponseDtoLicense

func NewNilUserAdminResponseDtoLicense(v UserAdminResponseDtoLicense) NilUserAdminResponseDtoLicense

NewNilUserAdminResponseDtoLicense returns new NilUserAdminResponseDtoLicense with value set to v.

func (*NilUserAdminResponseDtoLicense) Decode

Decode decodes UserAdminResponseDtoLicense from json.

func (NilUserAdminResponseDtoLicense) Encode

Encode encodes UserAdminResponseDtoLicense as json.

func (NilUserAdminResponseDtoLicense) Get

Get returns value and boolean that denotes whether value was set.

func (NilUserAdminResponseDtoLicense) IsNull

IsSet returns true if value is Null.

func (NilUserAdminResponseDtoLicense) MarshalJSON

func (s NilUserAdminResponseDtoLicense) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilUserAdminResponseDtoLicense) Or

Or returns value if set, or given parameter if does not.

func (*NilUserAdminResponseDtoLicense) SetTo

SetTo sets value to v.

func (*NilUserAdminResponseDtoLicense) SetToNull

func (o *NilUserAdminResponseDtoLicense) SetToNull()

SetNull sets value to null.

func (*NilUserAdminResponseDtoLicense) UnmarshalJSON

func (s *NilUserAdminResponseDtoLicense) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthAuthorizeResponseDto

type OAuthAuthorizeResponseDto struct {
	URL string `json:"url"`
}

Ref: #/components/schemas/OAuthAuthorizeResponseDto

func (*OAuthAuthorizeResponseDto) Decode

func (s *OAuthAuthorizeResponseDto) Decode(d *jx.Decoder) error

Decode decodes OAuthAuthorizeResponseDto from json.

func (*OAuthAuthorizeResponseDto) Encode

func (s *OAuthAuthorizeResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OAuthAuthorizeResponseDto) GetURL

func (s *OAuthAuthorizeResponseDto) GetURL() string

GetURL returns the value of URL.

func (*OAuthAuthorizeResponseDto) MarshalJSON

func (s *OAuthAuthorizeResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthAuthorizeResponseDto) SetURL

func (s *OAuthAuthorizeResponseDto) SetURL(val string)

SetURL sets the value of URL.

func (*OAuthAuthorizeResponseDto) UnmarshalJSON

func (s *OAuthAuthorizeResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthCallbackDto

type OAuthCallbackDto struct {
	URL string `json:"url"`
}

Ref: #/components/schemas/OAuthCallbackDto

func (*OAuthCallbackDto) Decode

func (s *OAuthCallbackDto) Decode(d *jx.Decoder) error

Decode decodes OAuthCallbackDto from json.

func (*OAuthCallbackDto) Encode

func (s *OAuthCallbackDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OAuthCallbackDto) GetURL

func (s *OAuthCallbackDto) GetURL() string

GetURL returns the value of URL.

func (*OAuthCallbackDto) MarshalJSON

func (s *OAuthCallbackDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthCallbackDto) SetURL

func (s *OAuthCallbackDto) SetURL(val string)

SetURL sets the value of URL.

func (*OAuthCallbackDto) UnmarshalJSON

func (s *OAuthCallbackDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OAuthConfigDto

type OAuthConfigDto struct {
	RedirectUri string `json:"redirectUri"`
}

Ref: #/components/schemas/OAuthConfigDto

func (*OAuthConfigDto) Decode

func (s *OAuthConfigDto) Decode(d *jx.Decoder) error

Decode decodes OAuthConfigDto from json.

func (*OAuthConfigDto) Encode

func (s *OAuthConfigDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OAuthConfigDto) GetRedirectUri

func (s *OAuthConfigDto) GetRedirectUri() string

GetRedirectUri returns the value of RedirectUri.

func (*OAuthConfigDto) MarshalJSON

func (s *OAuthConfigDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OAuthConfigDto) SetRedirectUri

func (s *OAuthConfigDto) SetRedirectUri(val string)

SetRedirectUri sets the value of RedirectUri.

func (*OAuthConfigDto) UnmarshalJSON

func (s *OAuthConfigDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OnThisDayDto

type OnThisDayDto struct {
	Year float64 `json:"year"`
}

Ref: #/components/schemas/OnThisDayDto

func (*OnThisDayDto) Decode

func (s *OnThisDayDto) Decode(d *jx.Decoder) error

Decode decodes OnThisDayDto from json.

func (*OnThisDayDto) Encode

func (s *OnThisDayDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OnThisDayDto) GetYear

func (s *OnThisDayDto) GetYear() float64

GetYear returns the value of Year.

func (*OnThisDayDto) MarshalJSON

func (s *OnThisDayDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OnThisDayDto) SetYear

func (s *OnThisDayDto) SetYear(val float64)

SetYear sets the value of Year.

func (*OnThisDayDto) UnmarshalJSON

func (s *OnThisDayDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OnThisDayDto) Validate

func (s *OnThisDayDto) Validate() error

type OptAlbumResponseDto

type OptAlbumResponseDto struct {
	Value AlbumResponseDto
	Set   bool
}

OptAlbumResponseDto is optional AlbumResponseDto.

func NewOptAlbumResponseDto

func NewOptAlbumResponseDto(v AlbumResponseDto) OptAlbumResponseDto

NewOptAlbumResponseDto returns new OptAlbumResponseDto with value set to v.

func (*OptAlbumResponseDto) Decode

func (o *OptAlbumResponseDto) Decode(d *jx.Decoder) error

Decode decodes AlbumResponseDto from json.

func (OptAlbumResponseDto) Encode

func (o OptAlbumResponseDto) Encode(e *jx.Encoder)

Encode encodes AlbumResponseDto as json.

func (OptAlbumResponseDto) Get

func (o OptAlbumResponseDto) Get() (v AlbumResponseDto, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAlbumResponseDto) IsSet

func (o OptAlbumResponseDto) IsSet() bool

IsSet returns true if OptAlbumResponseDto was set.

func (OptAlbumResponseDto) MarshalJSON

func (s OptAlbumResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAlbumResponseDto) Or

Or returns value if set, or given parameter if does not.

func (*OptAlbumResponseDto) Reset

func (o *OptAlbumResponseDto) Reset()

Reset unsets value.

func (*OptAlbumResponseDto) SetTo

SetTo sets value to v.

func (*OptAlbumResponseDto) UnmarshalJSON

func (s *OptAlbumResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAlbumUserRole

type OptAlbumUserRole struct {
	Value AlbumUserRole
	Set   bool
}

OptAlbumUserRole is optional AlbumUserRole.

func NewOptAlbumUserRole

func NewOptAlbumUserRole(v AlbumUserRole) OptAlbumUserRole

NewOptAlbumUserRole returns new OptAlbumUserRole with value set to v.

func (*OptAlbumUserRole) Decode

func (o *OptAlbumUserRole) Decode(d *jx.Decoder) error

Decode decodes AlbumUserRole from json.

func (OptAlbumUserRole) Encode

func (o OptAlbumUserRole) Encode(e *jx.Encoder)

Encode encodes AlbumUserRole as json.

func (OptAlbumUserRole) Get

func (o OptAlbumUserRole) Get() (v AlbumUserRole, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAlbumUserRole) IsSet

func (o OptAlbumUserRole) IsSet() bool

IsSet returns true if OptAlbumUserRole was set.

func (OptAlbumUserRole) MarshalJSON

func (s OptAlbumUserRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAlbumUserRole) Or

Or returns value if set, or given parameter if does not.

func (*OptAlbumUserRole) Reset

func (o *OptAlbumUserRole) Reset()

Reset unsets value.

func (*OptAlbumUserRole) SetTo

func (o *OptAlbumUserRole) SetTo(v AlbumUserRole)

SetTo sets value to v.

func (*OptAlbumUserRole) UnmarshalJSON

func (s *OptAlbumUserRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAssetBulkUploadCheckResultReason

type OptAssetBulkUploadCheckResultReason struct {
	Value AssetBulkUploadCheckResultReason
	Set   bool
}

OptAssetBulkUploadCheckResultReason is optional AssetBulkUploadCheckResultReason.

func NewOptAssetBulkUploadCheckResultReason

func NewOptAssetBulkUploadCheckResultReason(v AssetBulkUploadCheckResultReason) OptAssetBulkUploadCheckResultReason

NewOptAssetBulkUploadCheckResultReason returns new OptAssetBulkUploadCheckResultReason with value set to v.

func (*OptAssetBulkUploadCheckResultReason) Decode

Decode decodes AssetBulkUploadCheckResultReason from json.

func (OptAssetBulkUploadCheckResultReason) Encode

Encode encodes AssetBulkUploadCheckResultReason as json.

func (OptAssetBulkUploadCheckResultReason) Get

Get returns value and boolean that denotes whether value was set.

func (OptAssetBulkUploadCheckResultReason) IsSet

IsSet returns true if OptAssetBulkUploadCheckResultReason was set.

func (OptAssetBulkUploadCheckResultReason) MarshalJSON

func (s OptAssetBulkUploadCheckResultReason) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAssetBulkUploadCheckResultReason) Or

Or returns value if set, or given parameter if does not.

func (*OptAssetBulkUploadCheckResultReason) Reset

Reset unsets value.

func (*OptAssetBulkUploadCheckResultReason) SetTo

SetTo sets value to v.

func (*OptAssetBulkUploadCheckResultReason) UnmarshalJSON

func (s *OptAssetBulkUploadCheckResultReason) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAssetIdsResponseDtoError

type OptAssetIdsResponseDtoError struct {
	Value AssetIdsResponseDtoError
	Set   bool
}

OptAssetIdsResponseDtoError is optional AssetIdsResponseDtoError.

func NewOptAssetIdsResponseDtoError

func NewOptAssetIdsResponseDtoError(v AssetIdsResponseDtoError) OptAssetIdsResponseDtoError

NewOptAssetIdsResponseDtoError returns new OptAssetIdsResponseDtoError with value set to v.

func (*OptAssetIdsResponseDtoError) Decode

Decode decodes AssetIdsResponseDtoError from json.

func (OptAssetIdsResponseDtoError) Encode

func (o OptAssetIdsResponseDtoError) Encode(e *jx.Encoder)

Encode encodes AssetIdsResponseDtoError as json.

func (OptAssetIdsResponseDtoError) Get

Get returns value and boolean that denotes whether value was set.

func (OptAssetIdsResponseDtoError) IsSet

IsSet returns true if OptAssetIdsResponseDtoError was set.

func (OptAssetIdsResponseDtoError) MarshalJSON

func (s OptAssetIdsResponseDtoError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAssetIdsResponseDtoError) Or

Or returns value if set, or given parameter if does not.

func (*OptAssetIdsResponseDtoError) Reset

func (o *OptAssetIdsResponseDtoError) Reset()

Reset unsets value.

func (*OptAssetIdsResponseDtoError) SetTo

SetTo sets value to v.

func (*OptAssetIdsResponseDtoError) UnmarshalJSON

func (s *OptAssetIdsResponseDtoError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAssetMediaSize

type OptAssetMediaSize struct {
	Value AssetMediaSize
	Set   bool
}

OptAssetMediaSize is optional AssetMediaSize.

func NewOptAssetMediaSize

func NewOptAssetMediaSize(v AssetMediaSize) OptAssetMediaSize

NewOptAssetMediaSize returns new OptAssetMediaSize with value set to v.

func (OptAssetMediaSize) Get

func (o OptAssetMediaSize) Get() (v AssetMediaSize, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAssetMediaSize) IsSet

func (o OptAssetMediaSize) IsSet() bool

IsSet returns true if OptAssetMediaSize was set.

func (OptAssetMediaSize) Or

Or returns value if set, or given parameter if does not.

func (*OptAssetMediaSize) Reset

func (o *OptAssetMediaSize) Reset()

Reset unsets value.

func (*OptAssetMediaSize) SetTo

func (o *OptAssetMediaSize) SetTo(v AssetMediaSize)

SetTo sets value to v.

type OptAssetOrder

type OptAssetOrder struct {
	Value AssetOrder
	Set   bool
}

OptAssetOrder is optional AssetOrder.

func NewOptAssetOrder

func NewOptAssetOrder(v AssetOrder) OptAssetOrder

NewOptAssetOrder returns new OptAssetOrder with value set to v.

func (*OptAssetOrder) Decode

func (o *OptAssetOrder) Decode(d *jx.Decoder) error

Decode decodes AssetOrder from json.

func (OptAssetOrder) Encode

func (o OptAssetOrder) Encode(e *jx.Encoder)

Encode encodes AssetOrder as json.

func (OptAssetOrder) Get

func (o OptAssetOrder) Get() (v AssetOrder, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAssetOrder) IsSet

func (o OptAssetOrder) IsSet() bool

IsSet returns true if OptAssetOrder was set.

func (OptAssetOrder) MarshalJSON

func (s OptAssetOrder) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAssetOrder) Or

Or returns value if set, or given parameter if does not.

func (*OptAssetOrder) Reset

func (o *OptAssetOrder) Reset()

Reset unsets value.

func (*OptAssetOrder) SetTo

func (o *OptAssetOrder) SetTo(v AssetOrder)

SetTo sets value to v.

func (*OptAssetOrder) UnmarshalJSON

func (s *OptAssetOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAssetTypeEnum

type OptAssetTypeEnum struct {
	Value AssetTypeEnum
	Set   bool
}

OptAssetTypeEnum is optional AssetTypeEnum.

func NewOptAssetTypeEnum

func NewOptAssetTypeEnum(v AssetTypeEnum) OptAssetTypeEnum

NewOptAssetTypeEnum returns new OptAssetTypeEnum with value set to v.

func (*OptAssetTypeEnum) Decode

func (o *OptAssetTypeEnum) Decode(d *jx.Decoder) error

Decode decodes AssetTypeEnum from json.

func (OptAssetTypeEnum) Encode

func (o OptAssetTypeEnum) Encode(e *jx.Encoder)

Encode encodes AssetTypeEnum as json.

func (OptAssetTypeEnum) Get

func (o OptAssetTypeEnum) Get() (v AssetTypeEnum, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAssetTypeEnum) IsSet

func (o OptAssetTypeEnum) IsSet() bool

IsSet returns true if OptAssetTypeEnum was set.

func (OptAssetTypeEnum) MarshalJSON

func (s OptAssetTypeEnum) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAssetTypeEnum) Or

Or returns value if set, or given parameter if does not.

func (*OptAssetTypeEnum) Reset

func (o *OptAssetTypeEnum) Reset()

Reset unsets value.

func (*OptAssetTypeEnum) SetTo

func (o *OptAssetTypeEnum) SetTo(v AssetTypeEnum)

SetTo sets value to v.

func (*OptAssetTypeEnum) UnmarshalJSON

func (s *OptAssetTypeEnum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptAvatarUpdate

type OptAvatarUpdate struct {
	Value AvatarUpdate
	Set   bool
}

OptAvatarUpdate is optional AvatarUpdate.

func NewOptAvatarUpdate

func NewOptAvatarUpdate(v AvatarUpdate) OptAvatarUpdate

NewOptAvatarUpdate returns new OptAvatarUpdate with value set to v.

func (*OptAvatarUpdate) Decode

func (o *OptAvatarUpdate) Decode(d *jx.Decoder) error

Decode decodes AvatarUpdate from json.

func (OptAvatarUpdate) Encode

func (o OptAvatarUpdate) Encode(e *jx.Encoder)

Encode encodes AvatarUpdate as json.

func (OptAvatarUpdate) Get

func (o OptAvatarUpdate) Get() (v AvatarUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAvatarUpdate) IsSet

func (o OptAvatarUpdate) IsSet() bool

IsSet returns true if OptAvatarUpdate was set.

func (OptAvatarUpdate) MarshalJSON

func (s OptAvatarUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAvatarUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptAvatarUpdate) Reset

func (o *OptAvatarUpdate) Reset()

Reset unsets value.

func (*OptAvatarUpdate) SetTo

func (o *OptAvatarUpdate) SetTo(v AvatarUpdate)

SetTo sets value to v.

func (*OptAvatarUpdate) UnmarshalJSON

func (s *OptAvatarUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBulkIdResponseDtoError

type OptBulkIdResponseDtoError struct {
	Value BulkIdResponseDtoError
	Set   bool
}

OptBulkIdResponseDtoError is optional BulkIdResponseDtoError.

func NewOptBulkIdResponseDtoError

func NewOptBulkIdResponseDtoError(v BulkIdResponseDtoError) OptBulkIdResponseDtoError

NewOptBulkIdResponseDtoError returns new OptBulkIdResponseDtoError with value set to v.

func (*OptBulkIdResponseDtoError) Decode

func (o *OptBulkIdResponseDtoError) Decode(d *jx.Decoder) error

Decode decodes BulkIdResponseDtoError from json.

func (OptBulkIdResponseDtoError) Encode

func (o OptBulkIdResponseDtoError) Encode(e *jx.Encoder)

Encode encodes BulkIdResponseDtoError as json.

func (OptBulkIdResponseDtoError) Get

Get returns value and boolean that denotes whether value was set.

func (OptBulkIdResponseDtoError) IsSet

func (o OptBulkIdResponseDtoError) IsSet() bool

IsSet returns true if OptBulkIdResponseDtoError was set.

func (OptBulkIdResponseDtoError) MarshalJSON

func (s OptBulkIdResponseDtoError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBulkIdResponseDtoError) Or

Or returns value if set, or given parameter if does not.

func (*OptBulkIdResponseDtoError) Reset

func (o *OptBulkIdResponseDtoError) Reset()

Reset unsets value.

func (*OptBulkIdResponseDtoError) SetTo

SetTo sets value to v.

func (*OptBulkIdResponseDtoError) UnmarshalJSON

func (s *OptBulkIdResponseDtoError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDateTime) Get

func (o OptDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

func (s OptDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

func (o OptDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

func (s *OptDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDownloadUpdate

type OptDownloadUpdate struct {
	Value DownloadUpdate
	Set   bool
}

OptDownloadUpdate is optional DownloadUpdate.

func NewOptDownloadUpdate

func NewOptDownloadUpdate(v DownloadUpdate) OptDownloadUpdate

NewOptDownloadUpdate returns new OptDownloadUpdate with value set to v.

func (*OptDownloadUpdate) Decode

func (o *OptDownloadUpdate) Decode(d *jx.Decoder) error

Decode decodes DownloadUpdate from json.

func (OptDownloadUpdate) Encode

func (o OptDownloadUpdate) Encode(e *jx.Encoder)

Encode encodes DownloadUpdate as json.

func (OptDownloadUpdate) Get

func (o OptDownloadUpdate) Get() (v DownloadUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDownloadUpdate) IsSet

func (o OptDownloadUpdate) IsSet() bool

IsSet returns true if OptDownloadUpdate was set.

func (OptDownloadUpdate) MarshalJSON

func (s OptDownloadUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDownloadUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptDownloadUpdate) Reset

func (o *OptDownloadUpdate) Reset()

Reset unsets value.

func (*OptDownloadUpdate) SetTo

func (o *OptDownloadUpdate) SetTo(v DownloadUpdate)

SetTo sets value to v.

func (*OptDownloadUpdate) UnmarshalJSON

func (s *OptDownloadUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEmailNotificationsUpdate

type OptEmailNotificationsUpdate struct {
	Value EmailNotificationsUpdate
	Set   bool
}

OptEmailNotificationsUpdate is optional EmailNotificationsUpdate.

func NewOptEmailNotificationsUpdate

func NewOptEmailNotificationsUpdate(v EmailNotificationsUpdate) OptEmailNotificationsUpdate

NewOptEmailNotificationsUpdate returns new OptEmailNotificationsUpdate with value set to v.

func (*OptEmailNotificationsUpdate) Decode

Decode decodes EmailNotificationsUpdate from json.

func (OptEmailNotificationsUpdate) Encode

func (o OptEmailNotificationsUpdate) Encode(e *jx.Encoder)

Encode encodes EmailNotificationsUpdate as json.

func (OptEmailNotificationsUpdate) Get

Get returns value and boolean that denotes whether value was set.

func (OptEmailNotificationsUpdate) IsSet

IsSet returns true if OptEmailNotificationsUpdate was set.

func (OptEmailNotificationsUpdate) MarshalJSON

func (s OptEmailNotificationsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEmailNotificationsUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptEmailNotificationsUpdate) Reset

func (o *OptEmailNotificationsUpdate) Reset()

Reset unsets value.

func (*OptEmailNotificationsUpdate) SetTo

SetTo sets value to v.

func (*OptEmailNotificationsUpdate) UnmarshalJSON

func (s *OptEmailNotificationsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExifResponseDto

type OptExifResponseDto struct {
	Value ExifResponseDto
	Set   bool
}

OptExifResponseDto is optional ExifResponseDto.

func NewOptExifResponseDto

func NewOptExifResponseDto(v ExifResponseDto) OptExifResponseDto

NewOptExifResponseDto returns new OptExifResponseDto with value set to v.

func (*OptExifResponseDto) Decode

func (o *OptExifResponseDto) Decode(d *jx.Decoder) error

Decode decodes ExifResponseDto from json.

func (OptExifResponseDto) Encode

func (o OptExifResponseDto) Encode(e *jx.Encoder)

Encode encodes ExifResponseDto as json.

func (OptExifResponseDto) Get

func (o OptExifResponseDto) Get() (v ExifResponseDto, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptExifResponseDto) IsSet

func (o OptExifResponseDto) IsSet() bool

IsSet returns true if OptExifResponseDto was set.

func (OptExifResponseDto) MarshalJSON

func (s OptExifResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptExifResponseDto) Or

Or returns value if set, or given parameter if does not.

func (*OptExifResponseDto) Reset

func (o *OptExifResponseDto) Reset()

Reset unsets value.

func (*OptExifResponseDto) SetTo

func (o *OptExifResponseDto) SetTo(v ExifResponseDto)

SetTo sets value to v.

func (*OptExifResponseDto) UnmarshalJSON

func (s *OptExifResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFoldersUpdate

type OptFoldersUpdate struct {
	Value FoldersUpdate
	Set   bool
}

OptFoldersUpdate is optional FoldersUpdate.

func NewOptFoldersUpdate

func NewOptFoldersUpdate(v FoldersUpdate) OptFoldersUpdate

NewOptFoldersUpdate returns new OptFoldersUpdate with value set to v.

func (*OptFoldersUpdate) Decode

func (o *OptFoldersUpdate) Decode(d *jx.Decoder) error

Decode decodes FoldersUpdate from json.

func (OptFoldersUpdate) Encode

func (o OptFoldersUpdate) Encode(e *jx.Encoder)

Encode encodes FoldersUpdate as json.

func (OptFoldersUpdate) Get

func (o OptFoldersUpdate) Get() (v FoldersUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFoldersUpdate) IsSet

func (o OptFoldersUpdate) IsSet() bool

IsSet returns true if OptFoldersUpdate was set.

func (OptFoldersUpdate) MarshalJSON

func (s OptFoldersUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFoldersUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptFoldersUpdate) Reset

func (o *OptFoldersUpdate) Reset()

Reset unsets value.

func (*OptFoldersUpdate) SetTo

func (o *OptFoldersUpdate) SetTo(v FoldersUpdate)

SetTo sets value to v.

func (*OptFoldersUpdate) UnmarshalJSON

func (s *OptFoldersUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMemoriesUpdate

type OptMemoriesUpdate struct {
	Value MemoriesUpdate
	Set   bool
}

OptMemoriesUpdate is optional MemoriesUpdate.

func NewOptMemoriesUpdate

func NewOptMemoriesUpdate(v MemoriesUpdate) OptMemoriesUpdate

NewOptMemoriesUpdate returns new OptMemoriesUpdate with value set to v.

func (*OptMemoriesUpdate) Decode

func (o *OptMemoriesUpdate) Decode(d *jx.Decoder) error

Decode decodes MemoriesUpdate from json.

func (OptMemoriesUpdate) Encode

func (o OptMemoriesUpdate) Encode(e *jx.Encoder)

Encode encodes MemoriesUpdate as json.

func (OptMemoriesUpdate) Get

func (o OptMemoriesUpdate) Get() (v MemoriesUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMemoriesUpdate) IsSet

func (o OptMemoriesUpdate) IsSet() bool

IsSet returns true if OptMemoriesUpdate was set.

func (OptMemoriesUpdate) MarshalJSON

func (s OptMemoriesUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptMemoriesUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptMemoriesUpdate) Reset

func (o *OptMemoriesUpdate) Reset()

Reset unsets value.

func (*OptMemoriesUpdate) SetTo

func (o *OptMemoriesUpdate) SetTo(v MemoriesUpdate)

SetTo sets value to v.

func (*OptMemoriesUpdate) UnmarshalJSON

func (s *OptMemoriesUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMultipartFile

type OptMultipartFile struct {
	Value ht.MultipartFile
	Set   bool
}

OptMultipartFile is optional ht.MultipartFile.

func NewOptMultipartFile

func NewOptMultipartFile(v ht.MultipartFile) OptMultipartFile

NewOptMultipartFile returns new OptMultipartFile with value set to v.

func (OptMultipartFile) Get

func (o OptMultipartFile) Get() (v ht.MultipartFile, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMultipartFile) IsSet

func (o OptMultipartFile) IsSet() bool

IsSet returns true if OptMultipartFile was set.

func (OptMultipartFile) Or

Or returns value if set, or given parameter if does not.

func (*OptMultipartFile) Reset

func (o *OptMultipartFile) Reset()

Reset unsets value.

func (*OptMultipartFile) SetTo

func (o *OptMultipartFile) SetTo(v ht.MultipartFile)

SetTo sets value to v.

type OptNilAssetResponseDtoStack

type OptNilAssetResponseDtoStack struct {
	Value AssetResponseDtoStack
	Set   bool
	Null  bool
}

OptNilAssetResponseDtoStack is optional nullable AssetResponseDtoStack.

func NewOptNilAssetResponseDtoStack

func NewOptNilAssetResponseDtoStack(v AssetResponseDtoStack) OptNilAssetResponseDtoStack

NewOptNilAssetResponseDtoStack returns new OptNilAssetResponseDtoStack with value set to v.

func (*OptNilAssetResponseDtoStack) Decode

Decode decodes AssetResponseDtoStack from json.

func (OptNilAssetResponseDtoStack) Encode

func (o OptNilAssetResponseDtoStack) Encode(e *jx.Encoder)

Encode encodes AssetResponseDtoStack as json.

func (OptNilAssetResponseDtoStack) Get

Get returns value and boolean that denotes whether value was set.

func (OptNilAssetResponseDtoStack) IsNull

func (o OptNilAssetResponseDtoStack) IsNull() bool

IsSet returns true if value is Null.

func (OptNilAssetResponseDtoStack) IsSet

IsSet returns true if OptNilAssetResponseDtoStack was set.

func (OptNilAssetResponseDtoStack) MarshalJSON

func (s OptNilAssetResponseDtoStack) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilAssetResponseDtoStack) Or

Or returns value if set, or given parameter if does not.

func (*OptNilAssetResponseDtoStack) Reset

func (o *OptNilAssetResponseDtoStack) Reset()

Reset unsets value.

func (*OptNilAssetResponseDtoStack) SetTo

SetTo sets value to v.

func (*OptNilAssetResponseDtoStack) SetToNull

func (o *OptNilAssetResponseDtoStack) SetToNull()

SetNull sets value to null.

func (*OptNilAssetResponseDtoStack) UnmarshalJSON

func (s *OptNilAssetResponseDtoStack) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDate

type OptNilDate struct {
	Value time.Time
	Set   bool
	Null  bool
}

OptNilDate is optional nullable time.Time.

func NewOptNilDate

func NewOptNilDate(v time.Time) OptNilDate

NewOptNilDate returns new OptNilDate with value set to v.

func (*OptNilDate) Decode

func (o *OptNilDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptNilDate) Encode

func (o OptNilDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptNilDate) Get

func (o OptNilDate) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilDate) IsNull

func (o OptNilDate) IsNull() bool

IsSet returns true if value is Null.

func (OptNilDate) IsSet

func (o OptNilDate) IsSet() bool

IsSet returns true if OptNilDate was set.

func (OptNilDate) MarshalJSON

func (s OptNilDate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilDate) Or

func (o OptNilDate) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptNilDate) Reset

func (o *OptNilDate) Reset()

Reset unsets value.

func (*OptNilDate) SetTo

func (o *OptNilDate) SetTo(v time.Time)

SetTo sets value to v.

func (*OptNilDate) SetToNull

func (o *OptNilDate) SetToNull()

SetNull sets value to null.

func (*OptNilDate) UnmarshalJSON

func (s *OptNilDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilDateTime

type OptNilDateTime struct {
	Value time.Time
	Set   bool
	Null  bool
}

OptNilDateTime is optional nullable time.Time.

func NewOptNilDateTime

func NewOptNilDateTime(v time.Time) OptNilDateTime

NewOptNilDateTime returns new OptNilDateTime with value set to v.

func (*OptNilDateTime) Decode

func (o *OptNilDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptNilDateTime) Encode

func (o OptNilDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptNilDateTime) Get

func (o OptNilDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilDateTime) IsNull

func (o OptNilDateTime) IsNull() bool

IsSet returns true if value is Null.

func (OptNilDateTime) IsSet

func (o OptNilDateTime) IsSet() bool

IsSet returns true if OptNilDateTime was set.

func (OptNilDateTime) MarshalJSON

func (s OptNilDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilDateTime) Or

func (o OptNilDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptNilDateTime) Reset

func (o *OptNilDateTime) Reset()

Reset unsets value.

func (*OptNilDateTime) SetTo

func (o *OptNilDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptNilDateTime) SetToNull

func (o *OptNilDateTime) SetToNull()

SetNull sets value to null.

func (*OptNilDateTime) UnmarshalJSON

func (s *OptNilDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilFloat64

type OptNilFloat64 struct {
	Value float64
	Set   bool
	Null  bool
}

OptNilFloat64 is optional nullable float64.

func NewOptNilFloat64

func NewOptNilFloat64(v float64) OptNilFloat64

NewOptNilFloat64 returns new OptNilFloat64 with value set to v.

func (*OptNilFloat64) Decode

func (o *OptNilFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptNilFloat64) Encode

func (o OptNilFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptNilFloat64) Get

func (o OptNilFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilFloat64) IsNull

func (o OptNilFloat64) IsNull() bool

IsSet returns true if value is Null.

func (OptNilFloat64) IsSet

func (o OptNilFloat64) IsSet() bool

IsSet returns true if OptNilFloat64 was set.

func (OptNilFloat64) MarshalJSON

func (s OptNilFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilFloat64) Or

func (o OptNilFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptNilFloat64) Reset

func (o *OptNilFloat64) Reset()

Reset unsets value.

func (*OptNilFloat64) SetTo

func (o *OptNilFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptNilFloat64) SetToNull

func (o *OptNilFloat64) SetToNull()

SetNull sets value to null.

func (*OptNilFloat64) UnmarshalJSON

func (s *OptNilFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilInt64

type OptNilInt64 struct {
	Value int64
	Set   bool
	Null  bool
}

OptNilInt64 is optional nullable int64.

func NewOptNilInt64

func NewOptNilInt64(v int64) OptNilInt64

NewOptNilInt64 returns new OptNilInt64 with value set to v.

func (*OptNilInt64) Decode

func (o *OptNilInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (OptNilInt64) Encode

func (o OptNilInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (OptNilInt64) Get

func (o OptNilInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilInt64) IsNull

func (o OptNilInt64) IsNull() bool

IsSet returns true if value is Null.

func (OptNilInt64) IsSet

func (o OptNilInt64) IsSet() bool

IsSet returns true if OptNilInt64 was set.

func (OptNilInt64) MarshalJSON

func (s OptNilInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilInt64) Or

func (o OptNilInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*OptNilInt64) Reset

func (o *OptNilInt64) Reset()

Reset unsets value.

func (*OptNilInt64) SetTo

func (o *OptNilInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptNilInt64) SetToNull

func (o *OptNilInt64) SetToNull()

SetNull sets value to null.

func (*OptNilInt64) UnmarshalJSON

func (s *OptNilInt64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilString

type OptNilString struct {
	Value string
	Set   bool
	Null  bool
}

OptNilString is optional nullable string.

func NewOptNilString

func NewOptNilString(v string) OptNilString

NewOptNilString returns new OptNilString with value set to v.

func (*OptNilString) Decode

func (o *OptNilString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptNilString) Encode

func (o OptNilString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptNilString) Get

func (o OptNilString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilString) IsNull

func (o OptNilString) IsNull() bool

IsSet returns true if value is Null.

func (OptNilString) IsSet

func (o OptNilString) IsSet() bool

IsSet returns true if OptNilString was set.

func (OptNilString) MarshalJSON

func (s OptNilString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilString) Or

func (o OptNilString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptNilString) Reset

func (o *OptNilString) Reset()

Reset unsets value.

func (*OptNilString) SetTo

func (o *OptNilString) SetTo(v string)

SetTo sets value to v.

func (*OptNilString) SetToNull

func (o *OptNilString) SetToNull()

SetNull sets value to null.

func (*OptNilString) UnmarshalJSON

func (s *OptNilString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilStringArray

type OptNilStringArray struct {
	Value []string
	Set   bool
	Null  bool
}

OptNilStringArray is optional nullable []string.

func NewOptNilStringArray

func NewOptNilStringArray(v []string) OptNilStringArray

NewOptNilStringArray returns new OptNilStringArray with value set to v.

func (*OptNilStringArray) Decode

func (o *OptNilStringArray) Decode(d *jx.Decoder) error

Decode decodes []string from json.

func (OptNilStringArray) Encode

func (o OptNilStringArray) Encode(e *jx.Encoder)

Encode encodes []string as json.

func (OptNilStringArray) Get

func (o OptNilStringArray) Get() (v []string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilStringArray) IsNull

func (o OptNilStringArray) IsNull() bool

IsSet returns true if value is Null.

func (OptNilStringArray) IsSet

func (o OptNilStringArray) IsSet() bool

IsSet returns true if OptNilStringArray was set.

func (OptNilStringArray) MarshalJSON

func (s OptNilStringArray) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilStringArray) Or

func (o OptNilStringArray) Or(d []string) []string

Or returns value if set, or given parameter if does not.

func (*OptNilStringArray) Reset

func (o *OptNilStringArray) Reset()

Reset unsets value.

func (*OptNilStringArray) SetTo

func (o *OptNilStringArray) SetTo(v []string)

SetTo sets value to v.

func (*OptNilStringArray) SetToNull

func (o *OptNilStringArray) SetToNull()

SetNull sets value to null.

func (*OptNilStringArray) UnmarshalJSON

func (s *OptNilStringArray) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptNilUUID

type OptNilUUID struct {
	Value uuid.UUID
	Set   bool
	Null  bool
}

OptNilUUID is optional nullable uuid.UUID.

func NewOptNilUUID

func NewOptNilUUID(v uuid.UUID) OptNilUUID

NewOptNilUUID returns new OptNilUUID with value set to v.

func (*OptNilUUID) Decode

func (o *OptNilUUID) Decode(d *jx.Decoder) error

Decode decodes uuid.UUID from json.

func (OptNilUUID) Encode

func (o OptNilUUID) Encode(e *jx.Encoder)

Encode encodes uuid.UUID as json.

func (OptNilUUID) Get

func (o OptNilUUID) Get() (v uuid.UUID, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptNilUUID) IsNull

func (o OptNilUUID) IsNull() bool

IsSet returns true if value is Null.

func (OptNilUUID) IsSet

func (o OptNilUUID) IsSet() bool

IsSet returns true if OptNilUUID was set.

func (OptNilUUID) MarshalJSON

func (s OptNilUUID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptNilUUID) Or

func (o OptNilUUID) Or(d uuid.UUID) uuid.UUID

Or returns value if set, or given parameter if does not.

func (*OptNilUUID) Reset

func (o *OptNilUUID) Reset()

Reset unsets value.

func (*OptNilUUID) SetTo

func (o *OptNilUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*OptNilUUID) SetToNull

func (o *OptNilUUID) SetToNull()

SetNull sets value to null.

func (*OptNilUUID) UnmarshalJSON

func (s *OptNilUUID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPeopleUpdate

type OptPeopleUpdate struct {
	Value PeopleUpdate
	Set   bool
}

OptPeopleUpdate is optional PeopleUpdate.

func NewOptPeopleUpdate

func NewOptPeopleUpdate(v PeopleUpdate) OptPeopleUpdate

NewOptPeopleUpdate returns new OptPeopleUpdate with value set to v.

func (*OptPeopleUpdate) Decode

func (o *OptPeopleUpdate) Decode(d *jx.Decoder) error

Decode decodes PeopleUpdate from json.

func (OptPeopleUpdate) Encode

func (o OptPeopleUpdate) Encode(e *jx.Encoder)

Encode encodes PeopleUpdate as json.

func (OptPeopleUpdate) Get

func (o OptPeopleUpdate) Get() (v PeopleUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPeopleUpdate) IsSet

func (o OptPeopleUpdate) IsSet() bool

IsSet returns true if OptPeopleUpdate was set.

func (OptPeopleUpdate) MarshalJSON

func (s OptPeopleUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPeopleUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptPeopleUpdate) Reset

func (o *OptPeopleUpdate) Reset()

Reset unsets value.

func (*OptPeopleUpdate) SetTo

func (o *OptPeopleUpdate) SetTo(v PeopleUpdate)

SetTo sets value to v.

func (*OptPeopleUpdate) UnmarshalJSON

func (s *OptPeopleUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPurchaseUpdate

type OptPurchaseUpdate struct {
	Value PurchaseUpdate
	Set   bool
}

OptPurchaseUpdate is optional PurchaseUpdate.

func NewOptPurchaseUpdate

func NewOptPurchaseUpdate(v PurchaseUpdate) OptPurchaseUpdate

NewOptPurchaseUpdate returns new OptPurchaseUpdate with value set to v.

func (*OptPurchaseUpdate) Decode

func (o *OptPurchaseUpdate) Decode(d *jx.Decoder) error

Decode decodes PurchaseUpdate from json.

func (OptPurchaseUpdate) Encode

func (o OptPurchaseUpdate) Encode(e *jx.Encoder)

Encode encodes PurchaseUpdate as json.

func (OptPurchaseUpdate) Get

func (o OptPurchaseUpdate) Get() (v PurchaseUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPurchaseUpdate) IsSet

func (o OptPurchaseUpdate) IsSet() bool

IsSet returns true if OptPurchaseUpdate was set.

func (OptPurchaseUpdate) MarshalJSON

func (s OptPurchaseUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPurchaseUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptPurchaseUpdate) Reset

func (o *OptPurchaseUpdate) Reset()

Reset unsets value.

func (*OptPurchaseUpdate) SetTo

func (o *OptPurchaseUpdate) SetTo(v PurchaseUpdate)

SetTo sets value to v.

func (*OptPurchaseUpdate) UnmarshalJSON

func (s *OptPurchaseUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRatingsUpdate

type OptRatingsUpdate struct {
	Value RatingsUpdate
	Set   bool
}

OptRatingsUpdate is optional RatingsUpdate.

func NewOptRatingsUpdate

func NewOptRatingsUpdate(v RatingsUpdate) OptRatingsUpdate

NewOptRatingsUpdate returns new OptRatingsUpdate with value set to v.

func (*OptRatingsUpdate) Decode

func (o *OptRatingsUpdate) Decode(d *jx.Decoder) error

Decode decodes RatingsUpdate from json.

func (OptRatingsUpdate) Encode

func (o OptRatingsUpdate) Encode(e *jx.Encoder)

Encode encodes RatingsUpdate as json.

func (OptRatingsUpdate) Get

func (o OptRatingsUpdate) Get() (v RatingsUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRatingsUpdate) IsSet

func (o OptRatingsUpdate) IsSet() bool

IsSet returns true if OptRatingsUpdate was set.

func (OptRatingsUpdate) MarshalJSON

func (s OptRatingsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRatingsUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptRatingsUpdate) Reset

func (o *OptRatingsUpdate) Reset()

Reset unsets value.

func (*OptRatingsUpdate) SetTo

func (o *OptRatingsUpdate) SetTo(v RatingsUpdate)

SetTo sets value to v.

func (*OptRatingsUpdate) UnmarshalJSON

func (s *OptRatingsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptReactionLevel

type OptReactionLevel struct {
	Value ReactionLevel
	Set   bool
}

OptReactionLevel is optional ReactionLevel.

func NewOptReactionLevel

func NewOptReactionLevel(v ReactionLevel) OptReactionLevel

NewOptReactionLevel returns new OptReactionLevel with value set to v.

func (OptReactionLevel) Get

func (o OptReactionLevel) Get() (v ReactionLevel, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptReactionLevel) IsSet

func (o OptReactionLevel) IsSet() bool

IsSet returns true if OptReactionLevel was set.

func (OptReactionLevel) Or

Or returns value if set, or given parameter if does not.

func (*OptReactionLevel) Reset

func (o *OptReactionLevel) Reset()

Reset unsets value.

func (*OptReactionLevel) SetTo

func (o *OptReactionLevel) SetTo(v ReactionLevel)

SetTo sets value to v.

type OptReactionType

type OptReactionType struct {
	Value ReactionType
	Set   bool
}

OptReactionType is optional ReactionType.

func NewOptReactionType

func NewOptReactionType(v ReactionType) OptReactionType

NewOptReactionType returns new OptReactionType with value set to v.

func (OptReactionType) Get

func (o OptReactionType) Get() (v ReactionType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptReactionType) IsSet

func (o OptReactionType) IsSet() bool

IsSet returns true if OptReactionType was set.

func (OptReactionType) Or

Or returns value if set, or given parameter if does not.

func (*OptReactionType) Reset

func (o *OptReactionType) Reset()

Reset unsets value.

func (*OptReactionType) SetTo

func (o *OptReactionType) SetTo(v ReactionType)

SetTo sets value to v.

type OptSmartInfoResponseDto

type OptSmartInfoResponseDto struct {
	Value SmartInfoResponseDto
	Set   bool
}

OptSmartInfoResponseDto is optional SmartInfoResponseDto.

func NewOptSmartInfoResponseDto

func NewOptSmartInfoResponseDto(v SmartInfoResponseDto) OptSmartInfoResponseDto

NewOptSmartInfoResponseDto returns new OptSmartInfoResponseDto with value set to v.

func (*OptSmartInfoResponseDto) Decode

func (o *OptSmartInfoResponseDto) Decode(d *jx.Decoder) error

Decode decodes SmartInfoResponseDto from json.

func (OptSmartInfoResponseDto) Encode

func (o OptSmartInfoResponseDto) Encode(e *jx.Encoder)

Encode encodes SmartInfoResponseDto as json.

func (OptSmartInfoResponseDto) Get

Get returns value and boolean that denotes whether value was set.

func (OptSmartInfoResponseDto) IsSet

func (o OptSmartInfoResponseDto) IsSet() bool

IsSet returns true if OptSmartInfoResponseDto was set.

func (OptSmartInfoResponseDto) MarshalJSON

func (s OptSmartInfoResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSmartInfoResponseDto) Or

Or returns value if set, or given parameter if does not.

func (*OptSmartInfoResponseDto) Reset

func (o *OptSmartInfoResponseDto) Reset()

Reset unsets value.

func (*OptSmartInfoResponseDto) SetTo

SetTo sets value to v.

func (*OptSmartInfoResponseDto) UnmarshalJSON

func (s *OptSmartInfoResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSourceType

type OptSourceType struct {
	Value SourceType
	Set   bool
}

OptSourceType is optional SourceType.

func NewOptSourceType

func NewOptSourceType(v SourceType) OptSourceType

NewOptSourceType returns new OptSourceType with value set to v.

func (*OptSourceType) Decode

func (o *OptSourceType) Decode(d *jx.Decoder) error

Decode decodes SourceType from json.

func (OptSourceType) Encode

func (o OptSourceType) Encode(e *jx.Encoder)

Encode encodes SourceType as json.

func (OptSourceType) Get

func (o OptSourceType) Get() (v SourceType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSourceType) IsSet

func (o OptSourceType) IsSet() bool

IsSet returns true if OptSourceType was set.

func (OptSourceType) MarshalJSON

func (s OptSourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSourceType) Or

Or returns value if set, or given parameter if does not.

func (*OptSourceType) Reset

func (o *OptSourceType) Reset()

Reset unsets value.

func (*OptSourceType) SetTo

func (o *OptSourceType) SetTo(v SourceType)

SetTo sets value to v.

func (*OptSourceType) UnmarshalJSON

func (s *OptSourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTagsUpdate

type OptTagsUpdate struct {
	Value TagsUpdate
	Set   bool
}

OptTagsUpdate is optional TagsUpdate.

func NewOptTagsUpdate

func NewOptTagsUpdate(v TagsUpdate) OptTagsUpdate

NewOptTagsUpdate returns new OptTagsUpdate with value set to v.

func (*OptTagsUpdate) Decode

func (o *OptTagsUpdate) Decode(d *jx.Decoder) error

Decode decodes TagsUpdate from json.

func (OptTagsUpdate) Encode

func (o OptTagsUpdate) Encode(e *jx.Encoder)

Encode encodes TagsUpdate as json.

func (OptTagsUpdate) Get

func (o OptTagsUpdate) Get() (v TagsUpdate, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTagsUpdate) IsSet

func (o OptTagsUpdate) IsSet() bool

IsSet returns true if OptTagsUpdate was set.

func (OptTagsUpdate) MarshalJSON

func (s OptTagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTagsUpdate) Or

Or returns value if set, or given parameter if does not.

func (*OptTagsUpdate) Reset

func (o *OptTagsUpdate) Reset()

Reset unsets value.

func (*OptTagsUpdate) SetTo

func (o *OptTagsUpdate) SetTo(v TagsUpdate)

SetTo sets value to v.

func (*OptTagsUpdate) UnmarshalJSON

func (s *OptTagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUUID

type OptUUID struct {
	Value uuid.UUID
	Set   bool
}

OptUUID is optional uuid.UUID.

func NewOptUUID

func NewOptUUID(v uuid.UUID) OptUUID

NewOptUUID returns new OptUUID with value set to v.

func (*OptUUID) Decode

func (o *OptUUID) Decode(d *jx.Decoder) error

Decode decodes uuid.UUID from json.

func (OptUUID) Encode

func (o OptUUID) Encode(e *jx.Encoder)

Encode encodes uuid.UUID as json.

func (OptUUID) Get

func (o OptUUID) Get() (v uuid.UUID, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUUID) IsSet

func (o OptUUID) IsSet() bool

IsSet returns true if OptUUID was set.

func (OptUUID) MarshalJSON

func (s OptUUID) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUUID) Or

func (o OptUUID) Or(d uuid.UUID) uuid.UUID

Or returns value if set, or given parameter if does not.

func (*OptUUID) Reset

func (o *OptUUID) Reset()

Reset unsets value.

func (*OptUUID) SetTo

func (o *OptUUID) SetTo(v uuid.UUID)

SetTo sets value to v.

func (*OptUUID) UnmarshalJSON

func (s *OptUUID) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUserAvatarColor

type OptUserAvatarColor struct {
	Value UserAvatarColor
	Set   bool
}

OptUserAvatarColor is optional UserAvatarColor.

func NewOptUserAvatarColor

func NewOptUserAvatarColor(v UserAvatarColor) OptUserAvatarColor

NewOptUserAvatarColor returns new OptUserAvatarColor with value set to v.

func (*OptUserAvatarColor) Decode

func (o *OptUserAvatarColor) Decode(d *jx.Decoder) error

Decode decodes UserAvatarColor from json.

func (OptUserAvatarColor) Encode

func (o OptUserAvatarColor) Encode(e *jx.Encoder)

Encode encodes UserAvatarColor as json.

func (OptUserAvatarColor) Get

func (o OptUserAvatarColor) Get() (v UserAvatarColor, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUserAvatarColor) IsSet

func (o OptUserAvatarColor) IsSet() bool

IsSet returns true if OptUserAvatarColor was set.

func (OptUserAvatarColor) MarshalJSON

func (s OptUserAvatarColor) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserAvatarColor) Or

Or returns value if set, or given parameter if does not.

func (*OptUserAvatarColor) Reset

func (o *OptUserAvatarColor) Reset()

Reset unsets value.

func (*OptUserAvatarColor) SetTo

func (o *OptUserAvatarColor) SetTo(v UserAvatarColor)

SetTo sets value to v.

func (*OptUserAvatarColor) UnmarshalJSON

func (s *OptUserAvatarColor) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUserResponseDto

type OptUserResponseDto struct {
	Value UserResponseDto
	Set   bool
}

OptUserResponseDto is optional UserResponseDto.

func NewOptUserResponseDto

func NewOptUserResponseDto(v UserResponseDto) OptUserResponseDto

NewOptUserResponseDto returns new OptUserResponseDto with value set to v.

func (*OptUserResponseDto) Decode

func (o *OptUserResponseDto) Decode(d *jx.Decoder) error

Decode decodes UserResponseDto from json.

func (OptUserResponseDto) Encode

func (o OptUserResponseDto) Encode(e *jx.Encoder)

Encode encodes UserResponseDto as json.

func (OptUserResponseDto) Get

func (o OptUserResponseDto) Get() (v UserResponseDto, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUserResponseDto) IsSet

func (o OptUserResponseDto) IsSet() bool

IsSet returns true if OptUserResponseDto was set.

func (OptUserResponseDto) MarshalJSON

func (s OptUserResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserResponseDto) Or

Or returns value if set, or given parameter if does not.

func (*OptUserResponseDto) Reset

func (o *OptUserResponseDto) Reset()

Reset unsets value.

func (*OptUserResponseDto) SetTo

func (o *OptUserResponseDto) SetTo(v UserResponseDto)

SetTo sets value to v.

func (*OptUserResponseDto) UnmarshalJSON

func (s *OptUserResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type PartnerDirection

type PartnerDirection string

Ref: #/components/schemas/PartnerDirection

const (
	PartnerDirectionSharedBy   PartnerDirection = "shared-by"
	PartnerDirectionSharedWith PartnerDirection = "shared-with"
)

func (PartnerDirection) AllValues

func (PartnerDirection) AllValues() []PartnerDirection

AllValues returns all PartnerDirection values.

func (PartnerDirection) MarshalText

func (s PartnerDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PartnerDirection) UnmarshalText

func (s *PartnerDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PartnerDirection) Validate

func (s PartnerDirection) Validate() error

type PartnerResponseDto

type PartnerResponseDto struct {
	AvatarColor      UserAvatarColor `json:"avatarColor"`
	Email            string          `json:"email"`
	ID               string          `json:"id"`
	InTimeline       OptBool         `json:"inTimeline"`
	Name             string          `json:"name"`
	ProfileChangedAt time.Time       `json:"profileChangedAt"`
	ProfileImagePath string          `json:"profileImagePath"`
}

Ref: #/components/schemas/PartnerResponseDto

func (*PartnerResponseDto) Decode

func (s *PartnerResponseDto) Decode(d *jx.Decoder) error

Decode decodes PartnerResponseDto from json.

func (*PartnerResponseDto) Encode

func (s *PartnerResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PartnerResponseDto) GetAvatarColor

func (s *PartnerResponseDto) GetAvatarColor() UserAvatarColor

GetAvatarColor returns the value of AvatarColor.

func (*PartnerResponseDto) GetEmail

func (s *PartnerResponseDto) GetEmail() string

GetEmail returns the value of Email.

func (*PartnerResponseDto) GetID

func (s *PartnerResponseDto) GetID() string

GetID returns the value of ID.

func (*PartnerResponseDto) GetInTimeline

func (s *PartnerResponseDto) GetInTimeline() OptBool

GetInTimeline returns the value of InTimeline.

func (*PartnerResponseDto) GetName

func (s *PartnerResponseDto) GetName() string

GetName returns the value of Name.

func (*PartnerResponseDto) GetProfileChangedAt

func (s *PartnerResponseDto) GetProfileChangedAt() time.Time

GetProfileChangedAt returns the value of ProfileChangedAt.

func (*PartnerResponseDto) GetProfileImagePath

func (s *PartnerResponseDto) GetProfileImagePath() string

GetProfileImagePath returns the value of ProfileImagePath.

func (*PartnerResponseDto) MarshalJSON

func (s *PartnerResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PartnerResponseDto) SetAvatarColor

func (s *PartnerResponseDto) SetAvatarColor(val UserAvatarColor)

SetAvatarColor sets the value of AvatarColor.

func (*PartnerResponseDto) SetEmail

func (s *PartnerResponseDto) SetEmail(val string)

SetEmail sets the value of Email.

func (*PartnerResponseDto) SetID

func (s *PartnerResponseDto) SetID(val string)

SetID sets the value of ID.

func (*PartnerResponseDto) SetInTimeline

func (s *PartnerResponseDto) SetInTimeline(val OptBool)

SetInTimeline sets the value of InTimeline.

func (*PartnerResponseDto) SetName

func (s *PartnerResponseDto) SetName(val string)

SetName sets the value of Name.

func (*PartnerResponseDto) SetProfileChangedAt

func (s *PartnerResponseDto) SetProfileChangedAt(val time.Time)

SetProfileChangedAt sets the value of ProfileChangedAt.

func (*PartnerResponseDto) SetProfileImagePath

func (s *PartnerResponseDto) SetProfileImagePath(val string)

SetProfileImagePath sets the value of ProfileImagePath.

func (*PartnerResponseDto) UnmarshalJSON

func (s *PartnerResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PartnerResponseDto) Validate

func (s *PartnerResponseDto) Validate() error

type PathEntityType

type PathEntityType string

Ref: #/components/schemas/PathEntityType

const (
	PathEntityTypeAsset  PathEntityType = "asset"
	PathEntityTypePerson PathEntityType = "person"
	PathEntityTypeUser   PathEntityType = "user"
)

func (PathEntityType) AllValues

func (PathEntityType) AllValues() []PathEntityType

AllValues returns all PathEntityType values.

func (*PathEntityType) Decode

func (s *PathEntityType) Decode(d *jx.Decoder) error

Decode decodes PathEntityType from json.

func (PathEntityType) Encode

func (s PathEntityType) Encode(e *jx.Encoder)

Encode encodes PathEntityType as json.

func (PathEntityType) MarshalJSON

func (s PathEntityType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PathEntityType) MarshalText

func (s PathEntityType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PathEntityType) UnmarshalJSON

func (s *PathEntityType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathEntityType) UnmarshalText

func (s *PathEntityType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PathEntityType) Validate

func (s PathEntityType) Validate() error

type PathType

type PathType string

Ref: #/components/schemas/PathType

const (
	PathTypeOriginal     PathType = "original"
	PathTypePreview      PathType = "preview"
	PathTypeThumbnail    PathType = "thumbnail"
	PathTypeEncodedVideo PathType = "encoded_video"
	PathTypeSidecar      PathType = "sidecar"
	PathTypeFace         PathType = "face"
	PathTypeProfile      PathType = "profile"
)

func (PathType) AllValues

func (PathType) AllValues() []PathType

AllValues returns all PathType values.

func (*PathType) Decode

func (s *PathType) Decode(d *jx.Decoder) error

Decode decodes PathType from json.

func (PathType) Encode

func (s PathType) Encode(e *jx.Encoder)

Encode encodes PathType as json.

func (PathType) MarshalJSON

func (s PathType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PathType) MarshalText

func (s PathType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PathType) UnmarshalJSON

func (s *PathType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PathType) UnmarshalText

func (s *PathType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PathType) Validate

func (s PathType) Validate() error

type PeopleResponse

type PeopleResponse struct {
	Enabled    bool `json:"enabled"`
	SidebarWeb bool `json:"sidebarWeb"`
}

Ref: #/components/schemas/PeopleResponse

func (*PeopleResponse) Decode

func (s *PeopleResponse) Decode(d *jx.Decoder) error

Decode decodes PeopleResponse from json.

func (*PeopleResponse) Encode

func (s *PeopleResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PeopleResponse) GetEnabled

func (s *PeopleResponse) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*PeopleResponse) GetSidebarWeb

func (s *PeopleResponse) GetSidebarWeb() bool

GetSidebarWeb returns the value of SidebarWeb.

func (*PeopleResponse) MarshalJSON

func (s *PeopleResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PeopleResponse) SetEnabled

func (s *PeopleResponse) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*PeopleResponse) SetSidebarWeb

func (s *PeopleResponse) SetSidebarWeb(val bool)

SetSidebarWeb sets the value of SidebarWeb.

func (*PeopleResponse) UnmarshalJSON

func (s *PeopleResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PeopleResponseDto

type PeopleResponseDto struct {
	// This property was added in v1.110.0.
	HasNextPage OptBool             `json:"hasNextPage"`
	Hidden      int                 `json:"hidden"`
	People      []PersonResponseDto `json:"people"`
	Total       int                 `json:"total"`
}

Ref: #/components/schemas/PeopleResponseDto

func (*PeopleResponseDto) Decode

func (s *PeopleResponseDto) Decode(d *jx.Decoder) error

Decode decodes PeopleResponseDto from json.

func (*PeopleResponseDto) Encode

func (s *PeopleResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PeopleResponseDto) GetHasNextPage

func (s *PeopleResponseDto) GetHasNextPage() OptBool

GetHasNextPage returns the value of HasNextPage.

func (*PeopleResponseDto) GetHidden

func (s *PeopleResponseDto) GetHidden() int

GetHidden returns the value of Hidden.

func (*PeopleResponseDto) GetPeople

func (s *PeopleResponseDto) GetPeople() []PersonResponseDto

GetPeople returns the value of People.

func (*PeopleResponseDto) GetTotal

func (s *PeopleResponseDto) GetTotal() int

GetTotal returns the value of Total.

func (*PeopleResponseDto) MarshalJSON

func (s *PeopleResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PeopleResponseDto) SetHasNextPage

func (s *PeopleResponseDto) SetHasNextPage(val OptBool)

SetHasNextPage sets the value of HasNextPage.

func (*PeopleResponseDto) SetHidden

func (s *PeopleResponseDto) SetHidden(val int)

SetHidden sets the value of Hidden.

func (*PeopleResponseDto) SetPeople

func (s *PeopleResponseDto) SetPeople(val []PersonResponseDto)

SetPeople sets the value of People.

func (*PeopleResponseDto) SetTotal

func (s *PeopleResponseDto) SetTotal(val int)

SetTotal sets the value of Total.

func (*PeopleResponseDto) UnmarshalJSON

func (s *PeopleResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PeopleResponseDto) Validate

func (s *PeopleResponseDto) Validate() error

type PeopleUpdate

type PeopleUpdate struct {
	Enabled    OptBool `json:"enabled"`
	SidebarWeb OptBool `json:"sidebarWeb"`
}

Ref: #/components/schemas/PeopleUpdate

func (*PeopleUpdate) Decode

func (s *PeopleUpdate) Decode(d *jx.Decoder) error

Decode decodes PeopleUpdate from json.

func (*PeopleUpdate) Encode

func (s *PeopleUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PeopleUpdate) GetEnabled

func (s *PeopleUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*PeopleUpdate) GetSidebarWeb

func (s *PeopleUpdate) GetSidebarWeb() OptBool

GetSidebarWeb returns the value of SidebarWeb.

func (*PeopleUpdate) MarshalJSON

func (s *PeopleUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PeopleUpdate) SetEnabled

func (s *PeopleUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*PeopleUpdate) SetSidebarWeb

func (s *PeopleUpdate) SetSidebarWeb(val OptBool)

SetSidebarWeb sets the value of SidebarWeb.

func (*PeopleUpdate) UnmarshalJSON

func (s *PeopleUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PeopleUpdateDto

type PeopleUpdateDto struct {
	People []PeopleUpdateItem `json:"people"`
}

Ref: #/components/schemas/PeopleUpdateDto

func (*PeopleUpdateDto) Decode

func (s *PeopleUpdateDto) Decode(d *jx.Decoder) error

Decode decodes PeopleUpdateDto from json.

func (*PeopleUpdateDto) Encode

func (s *PeopleUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PeopleUpdateDto) GetPeople

func (s *PeopleUpdateDto) GetPeople() []PeopleUpdateItem

GetPeople returns the value of People.

func (*PeopleUpdateDto) MarshalJSON

func (s *PeopleUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PeopleUpdateDto) SetPeople

func (s *PeopleUpdateDto) SetPeople(val []PeopleUpdateItem)

SetPeople sets the value of People.

func (*PeopleUpdateDto) UnmarshalJSON

func (s *PeopleUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PeopleUpdateDto) Validate

func (s *PeopleUpdateDto) Validate() error

type PeopleUpdateItem

type PeopleUpdateItem struct {
	// Person date of birth.
	// Note: the mobile app cannot currently set the birth date to null.
	BirthDate OptNilDate `json:"birthDate"`
	// Asset is used to get the feature face thumbnail.
	FeatureFaceAssetId OptString `json:"featureFaceAssetId"`
	// Person id.
	ID string `json:"id"`
	// Person visibility.
	IsHidden OptBool `json:"isHidden"`
	// Person name.
	Name OptString `json:"name"`
}

Ref: #/components/schemas/PeopleUpdateItem

func (*PeopleUpdateItem) Decode

func (s *PeopleUpdateItem) Decode(d *jx.Decoder) error

Decode decodes PeopleUpdateItem from json.

func (*PeopleUpdateItem) Encode

func (s *PeopleUpdateItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PeopleUpdateItem) GetBirthDate

func (s *PeopleUpdateItem) GetBirthDate() OptNilDate

GetBirthDate returns the value of BirthDate.

func (*PeopleUpdateItem) GetFeatureFaceAssetId

func (s *PeopleUpdateItem) GetFeatureFaceAssetId() OptString

GetFeatureFaceAssetId returns the value of FeatureFaceAssetId.

func (*PeopleUpdateItem) GetID

func (s *PeopleUpdateItem) GetID() string

GetID returns the value of ID.

func (*PeopleUpdateItem) GetIsHidden

func (s *PeopleUpdateItem) GetIsHidden() OptBool

GetIsHidden returns the value of IsHidden.

func (*PeopleUpdateItem) GetName

func (s *PeopleUpdateItem) GetName() OptString

GetName returns the value of Name.

func (*PeopleUpdateItem) MarshalJSON

func (s *PeopleUpdateItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PeopleUpdateItem) SetBirthDate

func (s *PeopleUpdateItem) SetBirthDate(val OptNilDate)

SetBirthDate sets the value of BirthDate.

func (*PeopleUpdateItem) SetFeatureFaceAssetId

func (s *PeopleUpdateItem) SetFeatureFaceAssetId(val OptString)

SetFeatureFaceAssetId sets the value of FeatureFaceAssetId.

func (*PeopleUpdateItem) SetID

func (s *PeopleUpdateItem) SetID(val string)

SetID sets the value of ID.

func (*PeopleUpdateItem) SetIsHidden

func (s *PeopleUpdateItem) SetIsHidden(val OptBool)

SetIsHidden sets the value of IsHidden.

func (*PeopleUpdateItem) SetName

func (s *PeopleUpdateItem) SetName(val OptString)

SetName sets the value of Name.

func (*PeopleUpdateItem) UnmarshalJSON

func (s *PeopleUpdateItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Permission

type Permission string

Ref: #/components/schemas/Permission

const (
	PermissionAll                  Permission = "all"
	PermissionActivityCreate       Permission = "activity.create"
	PermissionActivityRead         Permission = "activity.read"
	PermissionActivityUpdate       Permission = "activity.update"
	PermissionActivityDelete       Permission = "activity.delete"
	PermissionActivityStatistics   Permission = "activity.statistics"
	PermissionApiKeyCreate         Permission = "apiKey.create"
	PermissionApiKeyRead           Permission = "apiKey.read"
	PermissionApiKeyUpdate         Permission = "apiKey.update"
	PermissionApiKeyDelete         Permission = "apiKey.delete"
	PermissionAssetRead            Permission = "asset.read"
	PermissionAssetUpdate          Permission = "asset.update"
	PermissionAssetDelete          Permission = "asset.delete"
	PermissionAssetShare           Permission = "asset.share"
	PermissionAssetView            Permission = "asset.view"
	PermissionAssetDownload        Permission = "asset.download"
	PermissionAssetUpload          Permission = "asset.upload"
	PermissionAlbumCreate          Permission = "album.create"
	PermissionAlbumRead            Permission = "album.read"
	PermissionAlbumUpdate          Permission = "album.update"
	PermissionAlbumDelete          Permission = "album.delete"
	PermissionAlbumStatistics      Permission = "album.statistics"
	PermissionAlbumAddAsset        Permission = "album.addAsset"
	PermissionAlbumRemoveAsset     Permission = "album.removeAsset"
	PermissionAlbumShare           Permission = "album.share"
	PermissionAlbumDownload        Permission = "album.download"
	PermissionAuthDeviceDelete     Permission = "authDevice.delete"
	PermissionArchiveRead          Permission = "archive.read"
	PermissionFaceCreate           Permission = "face.create"
	PermissionFaceRead             Permission = "face.read"
	PermissionFaceUpdate           Permission = "face.update"
	PermissionFaceDelete           Permission = "face.delete"
	PermissionLibraryCreate        Permission = "library.create"
	PermissionLibraryRead          Permission = "library.read"
	PermissionLibraryUpdate        Permission = "library.update"
	PermissionLibraryDelete        Permission = "library.delete"
	PermissionLibraryStatistics    Permission = "library.statistics"
	PermissionTimelineRead         Permission = "timeline.read"
	PermissionTimelineDownload     Permission = "timeline.download"
	PermissionMemoryCreate         Permission = "memory.create"
	PermissionMemoryRead           Permission = "memory.read"
	PermissionMemoryUpdate         Permission = "memory.update"
	PermissionMemoryDelete         Permission = "memory.delete"
	PermissionPartnerCreate        Permission = "partner.create"
	PermissionPartnerRead          Permission = "partner.read"
	PermissionPartnerUpdate        Permission = "partner.update"
	PermissionPartnerDelete        Permission = "partner.delete"
	PermissionPersonCreate         Permission = "person.create"
	PermissionPersonRead           Permission = "person.read"
	PermissionPersonUpdate         Permission = "person.update"
	PermissionPersonDelete         Permission = "person.delete"
	PermissionPersonStatistics     Permission = "person.statistics"
	PermissionPersonMerge          Permission = "person.merge"
	PermissionPersonReassign       Permission = "person.reassign"
	PermissionSessionRead          Permission = "session.read"
	PermissionSessionUpdate        Permission = "session.update"
	PermissionSessionDelete        Permission = "session.delete"
	PermissionSharedLinkCreate     Permission = "sharedLink.create"
	PermissionSharedLinkRead       Permission = "sharedLink.read"
	PermissionSharedLinkUpdate     Permission = "sharedLink.update"
	PermissionSharedLinkDelete     Permission = "sharedLink.delete"
	PermissionStackCreate          Permission = "stack.create"
	PermissionStackRead            Permission = "stack.read"
	PermissionStackUpdate          Permission = "stack.update"
	PermissionStackDelete          Permission = "stack.delete"
	PermissionSystemConfigRead     Permission = "systemConfig.read"
	PermissionSystemConfigUpdate   Permission = "systemConfig.update"
	PermissionSystemMetadataRead   Permission = "systemMetadata.read"
	PermissionSystemMetadataUpdate Permission = "systemMetadata.update"
	PermissionTagCreate            Permission = "tag.create"
	PermissionTagRead              Permission = "tag.read"
	PermissionTagUpdate            Permission = "tag.update"
	PermissionTagDelete            Permission = "tag.delete"
	PermissionTagAsset             Permission = "tag.asset"
	PermissionAdminUserCreate      Permission = "admin.user.create"
	PermissionAdminUserRead        Permission = "admin.user.read"
	PermissionAdminUserUpdate      Permission = "admin.user.update"
	PermissionAdminUserDelete      Permission = "admin.user.delete"
)

func (Permission) AllValues

func (Permission) AllValues() []Permission

AllValues returns all Permission values.

func (*Permission) Decode

func (s *Permission) Decode(d *jx.Decoder) error

Decode decodes Permission from json.

func (Permission) Encode

func (s Permission) Encode(e *jx.Encoder)

Encode encodes Permission as json.

func (Permission) MarshalJSON

func (s Permission) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (Permission) MarshalText

func (s Permission) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*Permission) UnmarshalJSON

func (s *Permission) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Permission) UnmarshalText

func (s *Permission) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (Permission) Validate

func (s Permission) Validate() error

type PersonCreateDto

type PersonCreateDto struct {
	// Person date of birth.
	// Note: the mobile app cannot currently set the birth date to null.
	BirthDate OptNilDate `json:"birthDate"`
	// Person visibility.
	IsHidden OptBool `json:"isHidden"`
	// Person name.
	Name OptString `json:"name"`
}

Ref: #/components/schemas/PersonCreateDto

func (*PersonCreateDto) Decode

func (s *PersonCreateDto) Decode(d *jx.Decoder) error

Decode decodes PersonCreateDto from json.

func (*PersonCreateDto) Encode

func (s *PersonCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PersonCreateDto) GetBirthDate

func (s *PersonCreateDto) GetBirthDate() OptNilDate

GetBirthDate returns the value of BirthDate.

func (*PersonCreateDto) GetIsHidden

func (s *PersonCreateDto) GetIsHidden() OptBool

GetIsHidden returns the value of IsHidden.

func (*PersonCreateDto) GetName

func (s *PersonCreateDto) GetName() OptString

GetName returns the value of Name.

func (*PersonCreateDto) MarshalJSON

func (s *PersonCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PersonCreateDto) SetBirthDate

func (s *PersonCreateDto) SetBirthDate(val OptNilDate)

SetBirthDate sets the value of BirthDate.

func (*PersonCreateDto) SetIsHidden

func (s *PersonCreateDto) SetIsHidden(val OptBool)

SetIsHidden sets the value of IsHidden.

func (*PersonCreateDto) SetName

func (s *PersonCreateDto) SetName(val OptString)

SetName sets the value of Name.

func (*PersonCreateDto) UnmarshalJSON

func (s *PersonCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PersonResponseDto

type PersonResponseDto struct {
	BirthDate     NilDate `json:"birthDate"`
	ID            string  `json:"id"`
	IsHidden      bool    `json:"isHidden"`
	Name          string  `json:"name"`
	ThumbnailPath string  `json:"thumbnailPath"`
	// This property was added in v1.107.0.
	UpdatedAt OptDateTime `json:"updatedAt"`
}

Ref: #/components/schemas/PersonResponseDto

func (*PersonResponseDto) Decode

func (s *PersonResponseDto) Decode(d *jx.Decoder) error

Decode decodes PersonResponseDto from json.

func (*PersonResponseDto) Encode

func (s *PersonResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PersonResponseDto) GetBirthDate

func (s *PersonResponseDto) GetBirthDate() NilDate

GetBirthDate returns the value of BirthDate.

func (*PersonResponseDto) GetID

func (s *PersonResponseDto) GetID() string

GetID returns the value of ID.

func (*PersonResponseDto) GetIsHidden

func (s *PersonResponseDto) GetIsHidden() bool

GetIsHidden returns the value of IsHidden.

func (*PersonResponseDto) GetName

func (s *PersonResponseDto) GetName() string

GetName returns the value of Name.

func (*PersonResponseDto) GetThumbnailPath

func (s *PersonResponseDto) GetThumbnailPath() string

GetThumbnailPath returns the value of ThumbnailPath.

func (*PersonResponseDto) GetUpdatedAt

func (s *PersonResponseDto) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*PersonResponseDto) MarshalJSON

func (s *PersonResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PersonResponseDto) SetBirthDate

func (s *PersonResponseDto) SetBirthDate(val NilDate)

SetBirthDate sets the value of BirthDate.

func (*PersonResponseDto) SetID

func (s *PersonResponseDto) SetID(val string)

SetID sets the value of ID.

func (*PersonResponseDto) SetIsHidden

func (s *PersonResponseDto) SetIsHidden(val bool)

SetIsHidden sets the value of IsHidden.

func (*PersonResponseDto) SetName

func (s *PersonResponseDto) SetName(val string)

SetName sets the value of Name.

func (*PersonResponseDto) SetThumbnailPath

func (s *PersonResponseDto) SetThumbnailPath(val string)

SetThumbnailPath sets the value of ThumbnailPath.

func (*PersonResponseDto) SetUpdatedAt

func (s *PersonResponseDto) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*PersonResponseDto) UnmarshalJSON

func (s *PersonResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PersonStatisticsResponseDto

type PersonStatisticsResponseDto struct {
	Assets int `json:"assets"`
}

Ref: #/components/schemas/PersonStatisticsResponseDto

func (*PersonStatisticsResponseDto) Decode

Decode decodes PersonStatisticsResponseDto from json.

func (*PersonStatisticsResponseDto) Encode

func (s *PersonStatisticsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PersonStatisticsResponseDto) GetAssets

func (s *PersonStatisticsResponseDto) GetAssets() int

GetAssets returns the value of Assets.

func (*PersonStatisticsResponseDto) MarshalJSON

func (s *PersonStatisticsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PersonStatisticsResponseDto) SetAssets

func (s *PersonStatisticsResponseDto) SetAssets(val int)

SetAssets sets the value of Assets.

func (*PersonStatisticsResponseDto) UnmarshalJSON

func (s *PersonStatisticsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PersonUpdateDto

type PersonUpdateDto struct {
	// Person date of birth.
	// Note: the mobile app cannot currently set the birth date to null.
	BirthDate OptNilDate `json:"birthDate"`
	// Asset is used to get the feature face thumbnail.
	FeatureFaceAssetId OptString `json:"featureFaceAssetId"`
	// Person visibility.
	IsHidden OptBool `json:"isHidden"`
	// Person name.
	Name OptString `json:"name"`
}

Ref: #/components/schemas/PersonUpdateDto

func (*PersonUpdateDto) Decode

func (s *PersonUpdateDto) Decode(d *jx.Decoder) error

Decode decodes PersonUpdateDto from json.

func (*PersonUpdateDto) Encode

func (s *PersonUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PersonUpdateDto) GetBirthDate

func (s *PersonUpdateDto) GetBirthDate() OptNilDate

GetBirthDate returns the value of BirthDate.

func (*PersonUpdateDto) GetFeatureFaceAssetId

func (s *PersonUpdateDto) GetFeatureFaceAssetId() OptString

GetFeatureFaceAssetId returns the value of FeatureFaceAssetId.

func (*PersonUpdateDto) GetIsHidden

func (s *PersonUpdateDto) GetIsHidden() OptBool

GetIsHidden returns the value of IsHidden.

func (*PersonUpdateDto) GetName

func (s *PersonUpdateDto) GetName() OptString

GetName returns the value of Name.

func (*PersonUpdateDto) MarshalJSON

func (s *PersonUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PersonUpdateDto) SetBirthDate

func (s *PersonUpdateDto) SetBirthDate(val OptNilDate)

SetBirthDate sets the value of BirthDate.

func (*PersonUpdateDto) SetFeatureFaceAssetId

func (s *PersonUpdateDto) SetFeatureFaceAssetId(val OptString)

SetFeatureFaceAssetId sets the value of FeatureFaceAssetId.

func (*PersonUpdateDto) SetIsHidden

func (s *PersonUpdateDto) SetIsHidden(val OptBool)

SetIsHidden sets the value of IsHidden.

func (*PersonUpdateDto) SetName

func (s *PersonUpdateDto) SetName(val OptString)

SetName sets the value of Name.

func (*PersonUpdateDto) UnmarshalJSON

func (s *PersonUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PersonWithFacesResponseDto

type PersonWithFacesResponseDto struct {
	BirthDate     NilDate                             `json:"birthDate"`
	Faces         []AssetFaceWithoutPersonResponseDto `json:"faces"`
	ID            string                              `json:"id"`
	IsHidden      bool                                `json:"isHidden"`
	Name          string                              `json:"name"`
	ThumbnailPath string                              `json:"thumbnailPath"`
	// This property was added in v1.107.0.
	UpdatedAt OptDateTime `json:"updatedAt"`
}

Ref: #/components/schemas/PersonWithFacesResponseDto

func (*PersonWithFacesResponseDto) Decode

Decode decodes PersonWithFacesResponseDto from json.

func (*PersonWithFacesResponseDto) Encode

func (s *PersonWithFacesResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PersonWithFacesResponseDto) GetBirthDate

func (s *PersonWithFacesResponseDto) GetBirthDate() NilDate

GetBirthDate returns the value of BirthDate.

func (*PersonWithFacesResponseDto) GetFaces

GetFaces returns the value of Faces.

func (*PersonWithFacesResponseDto) GetID

GetID returns the value of ID.

func (*PersonWithFacesResponseDto) GetIsHidden

func (s *PersonWithFacesResponseDto) GetIsHidden() bool

GetIsHidden returns the value of IsHidden.

func (*PersonWithFacesResponseDto) GetName

func (s *PersonWithFacesResponseDto) GetName() string

GetName returns the value of Name.

func (*PersonWithFacesResponseDto) GetThumbnailPath

func (s *PersonWithFacesResponseDto) GetThumbnailPath() string

GetThumbnailPath returns the value of ThumbnailPath.

func (*PersonWithFacesResponseDto) GetUpdatedAt

func (s *PersonWithFacesResponseDto) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*PersonWithFacesResponseDto) MarshalJSON

func (s *PersonWithFacesResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PersonWithFacesResponseDto) SetBirthDate

func (s *PersonWithFacesResponseDto) SetBirthDate(val NilDate)

SetBirthDate sets the value of BirthDate.

func (*PersonWithFacesResponseDto) SetFaces

SetFaces sets the value of Faces.

func (*PersonWithFacesResponseDto) SetID

func (s *PersonWithFacesResponseDto) SetID(val string)

SetID sets the value of ID.

func (*PersonWithFacesResponseDto) SetIsHidden

func (s *PersonWithFacesResponseDto) SetIsHidden(val bool)

SetIsHidden sets the value of IsHidden.

func (*PersonWithFacesResponseDto) SetName

func (s *PersonWithFacesResponseDto) SetName(val string)

SetName sets the value of Name.

func (*PersonWithFacesResponseDto) SetThumbnailPath

func (s *PersonWithFacesResponseDto) SetThumbnailPath(val string)

SetThumbnailPath sets the value of ThumbnailPath.

func (*PersonWithFacesResponseDto) SetUpdatedAt

func (s *PersonWithFacesResponseDto) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*PersonWithFacesResponseDto) UnmarshalJSON

func (s *PersonWithFacesResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PersonWithFacesResponseDto) Validate

func (s *PersonWithFacesResponseDto) Validate() error

type PlacesResponseDto

type PlacesResponseDto struct {
	Admin1name OptString `json:"admin1name"`
	Admin2name OptString `json:"admin2name"`
	Latitude   float64   `json:"latitude"`
	Longitude  float64   `json:"longitude"`
	Name       string    `json:"name"`
}

Ref: #/components/schemas/PlacesResponseDto

func (*PlacesResponseDto) Decode

func (s *PlacesResponseDto) Decode(d *jx.Decoder) error

Decode decodes PlacesResponseDto from json.

func (*PlacesResponseDto) Encode

func (s *PlacesResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PlacesResponseDto) GetAdmin1name

func (s *PlacesResponseDto) GetAdmin1name() OptString

GetAdmin1name returns the value of Admin1name.

func (*PlacesResponseDto) GetAdmin2name

func (s *PlacesResponseDto) GetAdmin2name() OptString

GetAdmin2name returns the value of Admin2name.

func (*PlacesResponseDto) GetLatitude

func (s *PlacesResponseDto) GetLatitude() float64

GetLatitude returns the value of Latitude.

func (*PlacesResponseDto) GetLongitude

func (s *PlacesResponseDto) GetLongitude() float64

GetLongitude returns the value of Longitude.

func (*PlacesResponseDto) GetName

func (s *PlacesResponseDto) GetName() string

GetName returns the value of Name.

func (*PlacesResponseDto) MarshalJSON

func (s *PlacesResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PlacesResponseDto) SetAdmin1name

func (s *PlacesResponseDto) SetAdmin1name(val OptString)

SetAdmin1name sets the value of Admin1name.

func (*PlacesResponseDto) SetAdmin2name

func (s *PlacesResponseDto) SetAdmin2name(val OptString)

SetAdmin2name sets the value of Admin2name.

func (*PlacesResponseDto) SetLatitude

func (s *PlacesResponseDto) SetLatitude(val float64)

SetLatitude sets the value of Latitude.

func (*PlacesResponseDto) SetLongitude

func (s *PlacesResponseDto) SetLongitude(val float64)

SetLongitude sets the value of Longitude.

func (*PlacesResponseDto) SetName

func (s *PlacesResponseDto) SetName(val string)

SetName sets the value of Name.

func (*PlacesResponseDto) UnmarshalJSON

func (s *PlacesResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PlacesResponseDto) Validate

func (s *PlacesResponseDto) Validate() error

type PlayAssetVideoOK

type PlayAssetVideoOK struct {
	Data io.Reader
}

func (PlayAssetVideoOK) Read

func (s PlayAssetVideoOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type PlayAssetVideoParams

type PlayAssetVideoParams struct {
	ID  uuid.UUID
	Key OptString
}

PlayAssetVideoParams is parameters of playAssetVideo operation.

type PurchaseResponse

type PurchaseResponse struct {
	HideBuyButtonUntil string `json:"hideBuyButtonUntil"`
	ShowSupportBadge   bool   `json:"showSupportBadge"`
}

Ref: #/components/schemas/PurchaseResponse

func (*PurchaseResponse) Decode

func (s *PurchaseResponse) Decode(d *jx.Decoder) error

Decode decodes PurchaseResponse from json.

func (*PurchaseResponse) Encode

func (s *PurchaseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PurchaseResponse) GetHideBuyButtonUntil

func (s *PurchaseResponse) GetHideBuyButtonUntil() string

GetHideBuyButtonUntil returns the value of HideBuyButtonUntil.

func (*PurchaseResponse) GetShowSupportBadge

func (s *PurchaseResponse) GetShowSupportBadge() bool

GetShowSupportBadge returns the value of ShowSupportBadge.

func (*PurchaseResponse) MarshalJSON

func (s *PurchaseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PurchaseResponse) SetHideBuyButtonUntil

func (s *PurchaseResponse) SetHideBuyButtonUntil(val string)

SetHideBuyButtonUntil sets the value of HideBuyButtonUntil.

func (*PurchaseResponse) SetShowSupportBadge

func (s *PurchaseResponse) SetShowSupportBadge(val bool)

SetShowSupportBadge sets the value of ShowSupportBadge.

func (*PurchaseResponse) UnmarshalJSON

func (s *PurchaseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PurchaseUpdate

type PurchaseUpdate struct {
	HideBuyButtonUntil OptString `json:"hideBuyButtonUntil"`
	ShowSupportBadge   OptBool   `json:"showSupportBadge"`
}

Ref: #/components/schemas/PurchaseUpdate

func (*PurchaseUpdate) Decode

func (s *PurchaseUpdate) Decode(d *jx.Decoder) error

Decode decodes PurchaseUpdate from json.

func (*PurchaseUpdate) Encode

func (s *PurchaseUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PurchaseUpdate) GetHideBuyButtonUntil

func (s *PurchaseUpdate) GetHideBuyButtonUntil() OptString

GetHideBuyButtonUntil returns the value of HideBuyButtonUntil.

func (*PurchaseUpdate) GetShowSupportBadge

func (s *PurchaseUpdate) GetShowSupportBadge() OptBool

GetShowSupportBadge returns the value of ShowSupportBadge.

func (*PurchaseUpdate) MarshalJSON

func (s *PurchaseUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PurchaseUpdate) SetHideBuyButtonUntil

func (s *PurchaseUpdate) SetHideBuyButtonUntil(val OptString)

SetHideBuyButtonUntil sets the value of HideBuyButtonUntil.

func (*PurchaseUpdate) SetShowSupportBadge

func (s *PurchaseUpdate) SetShowSupportBadge(val OptBool)

SetShowSupportBadge sets the value of ShowSupportBadge.

func (*PurchaseUpdate) UnmarshalJSON

func (s *PurchaseUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type QueueStatusDto

type QueueStatusDto struct {
	IsActive bool `json:"isActive"`
	IsPaused bool `json:"isPaused"`
}

Ref: #/components/schemas/QueueStatusDto

func (*QueueStatusDto) Decode

func (s *QueueStatusDto) Decode(d *jx.Decoder) error

Decode decodes QueueStatusDto from json.

func (*QueueStatusDto) Encode

func (s *QueueStatusDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QueueStatusDto) GetIsActive

func (s *QueueStatusDto) GetIsActive() bool

GetIsActive returns the value of IsActive.

func (*QueueStatusDto) GetIsPaused

func (s *QueueStatusDto) GetIsPaused() bool

GetIsPaused returns the value of IsPaused.

func (*QueueStatusDto) MarshalJSON

func (s *QueueStatusDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QueueStatusDto) SetIsActive

func (s *QueueStatusDto) SetIsActive(val bool)

SetIsActive sets the value of IsActive.

func (*QueueStatusDto) SetIsPaused

func (s *QueueStatusDto) SetIsPaused(val bool)

SetIsPaused sets the value of IsPaused.

func (*QueueStatusDto) UnmarshalJSON

func (s *QueueStatusDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RandomSearchDto

type RandomSearchDto struct {
	City          OptNilString     `json:"city"`
	Country       OptNilString     `json:"country"`
	CreatedAfter  OptDateTime      `json:"createdAfter"`
	CreatedBefore OptDateTime      `json:"createdBefore"`
	DeviceId      OptString        `json:"deviceId"`
	IsArchived    OptBool          `json:"isArchived"`
	IsEncoded     OptBool          `json:"isEncoded"`
	IsFavorite    OptBool          `json:"isFavorite"`
	IsMotion      OptBool          `json:"isMotion"`
	IsNotInAlbum  OptBool          `json:"isNotInAlbum"`
	IsOffline     OptBool          `json:"isOffline"`
	IsVisible     OptBool          `json:"isVisible"`
	LensModel     OptNilString     `json:"lensModel"`
	LibraryId     OptNilUUID       `json:"libraryId"`
	Make          OptString        `json:"make"`
	Model         OptNilString     `json:"model"`
	PersonIds     []uuid.UUID      `json:"personIds"`
	Size          OptFloat64       `json:"size"`
	State         OptNilString     `json:"state"`
	TakenAfter    OptDateTime      `json:"takenAfter"`
	TakenBefore   OptDateTime      `json:"takenBefore"`
	TrashedAfter  OptDateTime      `json:"trashedAfter"`
	TrashedBefore OptDateTime      `json:"trashedBefore"`
	Type          OptAssetTypeEnum `json:"type"`
	UpdatedAfter  OptDateTime      `json:"updatedAfter"`
	UpdatedBefore OptDateTime      `json:"updatedBefore"`
	WithArchived  OptBool          `json:"withArchived"`
	WithDeleted   OptBool          `json:"withDeleted"`
	WithExif      OptBool          `json:"withExif"`
	WithPeople    OptBool          `json:"withPeople"`
	WithStacked   OptBool          `json:"withStacked"`
}

Ref: #/components/schemas/RandomSearchDto

func (*RandomSearchDto) Decode

func (s *RandomSearchDto) Decode(d *jx.Decoder) error

Decode decodes RandomSearchDto from json.

func (*RandomSearchDto) Encode

func (s *RandomSearchDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RandomSearchDto) GetCity

func (s *RandomSearchDto) GetCity() OptNilString

GetCity returns the value of City.

func (*RandomSearchDto) GetCountry

func (s *RandomSearchDto) GetCountry() OptNilString

GetCountry returns the value of Country.

func (*RandomSearchDto) GetCreatedAfter

func (s *RandomSearchDto) GetCreatedAfter() OptDateTime

GetCreatedAfter returns the value of CreatedAfter.

func (*RandomSearchDto) GetCreatedBefore

func (s *RandomSearchDto) GetCreatedBefore() OptDateTime

GetCreatedBefore returns the value of CreatedBefore.

func (*RandomSearchDto) GetDeviceId

func (s *RandomSearchDto) GetDeviceId() OptString

GetDeviceId returns the value of DeviceId.

func (*RandomSearchDto) GetIsArchived

func (s *RandomSearchDto) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*RandomSearchDto) GetIsEncoded

func (s *RandomSearchDto) GetIsEncoded() OptBool

GetIsEncoded returns the value of IsEncoded.

func (*RandomSearchDto) GetIsFavorite

func (s *RandomSearchDto) GetIsFavorite() OptBool

GetIsFavorite returns the value of IsFavorite.

func (*RandomSearchDto) GetIsMotion

func (s *RandomSearchDto) GetIsMotion() OptBool

GetIsMotion returns the value of IsMotion.

func (*RandomSearchDto) GetIsNotInAlbum

func (s *RandomSearchDto) GetIsNotInAlbum() OptBool

GetIsNotInAlbum returns the value of IsNotInAlbum.

func (*RandomSearchDto) GetIsOffline

func (s *RandomSearchDto) GetIsOffline() OptBool

GetIsOffline returns the value of IsOffline.

func (*RandomSearchDto) GetIsVisible

func (s *RandomSearchDto) GetIsVisible() OptBool

GetIsVisible returns the value of IsVisible.

func (*RandomSearchDto) GetLensModel

func (s *RandomSearchDto) GetLensModel() OptNilString

GetLensModel returns the value of LensModel.

func (*RandomSearchDto) GetLibraryId

func (s *RandomSearchDto) GetLibraryId() OptNilUUID

GetLibraryId returns the value of LibraryId.

func (*RandomSearchDto) GetMake

func (s *RandomSearchDto) GetMake() OptString

GetMake returns the value of Make.

func (*RandomSearchDto) GetModel

func (s *RandomSearchDto) GetModel() OptNilString

GetModel returns the value of Model.

func (*RandomSearchDto) GetPersonIds

func (s *RandomSearchDto) GetPersonIds() []uuid.UUID

GetPersonIds returns the value of PersonIds.

func (*RandomSearchDto) GetSize

func (s *RandomSearchDto) GetSize() OptFloat64

GetSize returns the value of Size.

func (*RandomSearchDto) GetState

func (s *RandomSearchDto) GetState() OptNilString

GetState returns the value of State.

func (*RandomSearchDto) GetTakenAfter

func (s *RandomSearchDto) GetTakenAfter() OptDateTime

GetTakenAfter returns the value of TakenAfter.

func (*RandomSearchDto) GetTakenBefore

func (s *RandomSearchDto) GetTakenBefore() OptDateTime

GetTakenBefore returns the value of TakenBefore.

func (*RandomSearchDto) GetTrashedAfter

func (s *RandomSearchDto) GetTrashedAfter() OptDateTime

GetTrashedAfter returns the value of TrashedAfter.

func (*RandomSearchDto) GetTrashedBefore

func (s *RandomSearchDto) GetTrashedBefore() OptDateTime

GetTrashedBefore returns the value of TrashedBefore.

func (*RandomSearchDto) GetType

func (s *RandomSearchDto) GetType() OptAssetTypeEnum

GetType returns the value of Type.

func (*RandomSearchDto) GetUpdatedAfter

func (s *RandomSearchDto) GetUpdatedAfter() OptDateTime

GetUpdatedAfter returns the value of UpdatedAfter.

func (*RandomSearchDto) GetUpdatedBefore

func (s *RandomSearchDto) GetUpdatedBefore() OptDateTime

GetUpdatedBefore returns the value of UpdatedBefore.

func (*RandomSearchDto) GetWithArchived

func (s *RandomSearchDto) GetWithArchived() OptBool

GetWithArchived returns the value of WithArchived.

func (*RandomSearchDto) GetWithDeleted

func (s *RandomSearchDto) GetWithDeleted() OptBool

GetWithDeleted returns the value of WithDeleted.

func (*RandomSearchDto) GetWithExif

func (s *RandomSearchDto) GetWithExif() OptBool

GetWithExif returns the value of WithExif.

func (*RandomSearchDto) GetWithPeople

func (s *RandomSearchDto) GetWithPeople() OptBool

GetWithPeople returns the value of WithPeople.

func (*RandomSearchDto) GetWithStacked

func (s *RandomSearchDto) GetWithStacked() OptBool

GetWithStacked returns the value of WithStacked.

func (*RandomSearchDto) MarshalJSON

func (s *RandomSearchDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RandomSearchDto) SetCity

func (s *RandomSearchDto) SetCity(val OptNilString)

SetCity sets the value of City.

func (*RandomSearchDto) SetCountry

func (s *RandomSearchDto) SetCountry(val OptNilString)

SetCountry sets the value of Country.

func (*RandomSearchDto) SetCreatedAfter

func (s *RandomSearchDto) SetCreatedAfter(val OptDateTime)

SetCreatedAfter sets the value of CreatedAfter.

func (*RandomSearchDto) SetCreatedBefore

func (s *RandomSearchDto) SetCreatedBefore(val OptDateTime)

SetCreatedBefore sets the value of CreatedBefore.

func (*RandomSearchDto) SetDeviceId

func (s *RandomSearchDto) SetDeviceId(val OptString)

SetDeviceId sets the value of DeviceId.

func (*RandomSearchDto) SetIsArchived

func (s *RandomSearchDto) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*RandomSearchDto) SetIsEncoded

func (s *RandomSearchDto) SetIsEncoded(val OptBool)

SetIsEncoded sets the value of IsEncoded.

func (*RandomSearchDto) SetIsFavorite

func (s *RandomSearchDto) SetIsFavorite(val OptBool)

SetIsFavorite sets the value of IsFavorite.

func (*RandomSearchDto) SetIsMotion

func (s *RandomSearchDto) SetIsMotion(val OptBool)

SetIsMotion sets the value of IsMotion.

func (*RandomSearchDto) SetIsNotInAlbum

func (s *RandomSearchDto) SetIsNotInAlbum(val OptBool)

SetIsNotInAlbum sets the value of IsNotInAlbum.

func (*RandomSearchDto) SetIsOffline

func (s *RandomSearchDto) SetIsOffline(val OptBool)

SetIsOffline sets the value of IsOffline.

func (*RandomSearchDto) SetIsVisible

func (s *RandomSearchDto) SetIsVisible(val OptBool)

SetIsVisible sets the value of IsVisible.

func (*RandomSearchDto) SetLensModel

func (s *RandomSearchDto) SetLensModel(val OptNilString)

SetLensModel sets the value of LensModel.

func (*RandomSearchDto) SetLibraryId

func (s *RandomSearchDto) SetLibraryId(val OptNilUUID)

SetLibraryId sets the value of LibraryId.

func (*RandomSearchDto) SetMake

func (s *RandomSearchDto) SetMake(val OptString)

SetMake sets the value of Make.

func (*RandomSearchDto) SetModel

func (s *RandomSearchDto) SetModel(val OptNilString)

SetModel sets the value of Model.

func (*RandomSearchDto) SetPersonIds

func (s *RandomSearchDto) SetPersonIds(val []uuid.UUID)

SetPersonIds sets the value of PersonIds.

func (*RandomSearchDto) SetSize

func (s *RandomSearchDto) SetSize(val OptFloat64)

SetSize sets the value of Size.

func (*RandomSearchDto) SetState

func (s *RandomSearchDto) SetState(val OptNilString)

SetState sets the value of State.

func (*RandomSearchDto) SetTakenAfter

func (s *RandomSearchDto) SetTakenAfter(val OptDateTime)

SetTakenAfter sets the value of TakenAfter.

func (*RandomSearchDto) SetTakenBefore

func (s *RandomSearchDto) SetTakenBefore(val OptDateTime)

SetTakenBefore sets the value of TakenBefore.

func (*RandomSearchDto) SetTrashedAfter

func (s *RandomSearchDto) SetTrashedAfter(val OptDateTime)

SetTrashedAfter sets the value of TrashedAfter.

func (*RandomSearchDto) SetTrashedBefore

func (s *RandomSearchDto) SetTrashedBefore(val OptDateTime)

SetTrashedBefore sets the value of TrashedBefore.

func (*RandomSearchDto) SetType

func (s *RandomSearchDto) SetType(val OptAssetTypeEnum)

SetType sets the value of Type.

func (*RandomSearchDto) SetUpdatedAfter

func (s *RandomSearchDto) SetUpdatedAfter(val OptDateTime)

SetUpdatedAfter sets the value of UpdatedAfter.

func (*RandomSearchDto) SetUpdatedBefore

func (s *RandomSearchDto) SetUpdatedBefore(val OptDateTime)

SetUpdatedBefore sets the value of UpdatedBefore.

func (*RandomSearchDto) SetWithArchived

func (s *RandomSearchDto) SetWithArchived(val OptBool)

SetWithArchived sets the value of WithArchived.

func (*RandomSearchDto) SetWithDeleted

func (s *RandomSearchDto) SetWithDeleted(val OptBool)

SetWithDeleted sets the value of WithDeleted.

func (*RandomSearchDto) SetWithExif

func (s *RandomSearchDto) SetWithExif(val OptBool)

SetWithExif sets the value of WithExif.

func (*RandomSearchDto) SetWithPeople

func (s *RandomSearchDto) SetWithPeople(val OptBool)

SetWithPeople sets the value of WithPeople.

func (*RandomSearchDto) SetWithStacked

func (s *RandomSearchDto) SetWithStacked(val OptBool)

SetWithStacked sets the value of WithStacked.

func (*RandomSearchDto) UnmarshalJSON

func (s *RandomSearchDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RandomSearchDto) Validate

func (s *RandomSearchDto) Validate() error

type RatingsResponse

type RatingsResponse struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/RatingsResponse

func (*RatingsResponse) Decode

func (s *RatingsResponse) Decode(d *jx.Decoder) error

Decode decodes RatingsResponse from json.

func (*RatingsResponse) Encode

func (s *RatingsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RatingsResponse) GetEnabled

func (s *RatingsResponse) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*RatingsResponse) MarshalJSON

func (s *RatingsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RatingsResponse) SetEnabled

func (s *RatingsResponse) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*RatingsResponse) UnmarshalJSON

func (s *RatingsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RatingsUpdate

type RatingsUpdate struct {
	Enabled OptBool `json:"enabled"`
}

Ref: #/components/schemas/RatingsUpdate

func (*RatingsUpdate) Decode

func (s *RatingsUpdate) Decode(d *jx.Decoder) error

Decode decodes RatingsUpdate from json.

func (*RatingsUpdate) Encode

func (s *RatingsUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RatingsUpdate) GetEnabled

func (s *RatingsUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*RatingsUpdate) MarshalJSON

func (s *RatingsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RatingsUpdate) SetEnabled

func (s *RatingsUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*RatingsUpdate) UnmarshalJSON

func (s *RatingsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReactionLevel

type ReactionLevel string

Ref: #/components/schemas/ReactionLevel

const (
	ReactionLevelAlbum ReactionLevel = "album"
	ReactionLevelAsset ReactionLevel = "asset"
)

func (ReactionLevel) AllValues

func (ReactionLevel) AllValues() []ReactionLevel

AllValues returns all ReactionLevel values.

func (ReactionLevel) MarshalText

func (s ReactionLevel) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ReactionLevel) UnmarshalText

func (s *ReactionLevel) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ReactionLevel) Validate

func (s ReactionLevel) Validate() error

type ReactionType

type ReactionType string

Ref: #/components/schemas/ReactionType

const (
	ReactionTypeComment ReactionType = "comment"
	ReactionTypeLike    ReactionType = "like"
)

func (ReactionType) AllValues

func (ReactionType) AllValues() []ReactionType

AllValues returns all ReactionType values.

func (*ReactionType) Decode

func (s *ReactionType) Decode(d *jx.Decoder) error

Decode decodes ReactionType from json.

func (ReactionType) Encode

func (s ReactionType) Encode(e *jx.Encoder)

Encode encodes ReactionType as json.

func (ReactionType) MarshalJSON

func (s ReactionType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ReactionType) MarshalText

func (s ReactionType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ReactionType) UnmarshalJSON

func (s *ReactionType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ReactionType) UnmarshalText

func (s *ReactionType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ReactionType) Validate

func (s ReactionType) Validate() error

type ReassignFacesByIdParams

type ReassignFacesByIdParams struct {
	ID uuid.UUID
}

ReassignFacesByIdParams is parameters of reassignFacesById operation.

type ReassignFacesParams

type ReassignFacesParams struct {
	ID uuid.UUID
}

ReassignFacesParams is parameters of reassignFaces operation.

type RedirectOAuthToMobileOK

type RedirectOAuthToMobileOK struct{}

RedirectOAuthToMobileOK is response for RedirectOAuthToMobile operation.

type RemoveAssetFromAlbumParams

type RemoveAssetFromAlbumParams struct {
	ID uuid.UUID
}

RemoveAssetFromAlbumParams is parameters of removeAssetFromAlbum operation.

type RemoveMemoryAssetsParams

type RemoveMemoryAssetsParams struct {
	ID uuid.UUID
}

RemoveMemoryAssetsParams is parameters of removeMemoryAssets operation.

type RemovePartnerOK

type RemovePartnerOK struct{}

RemovePartnerOK is response for RemovePartner operation.

type RemovePartnerParams

type RemovePartnerParams struct {
	ID uuid.UUID
}

RemovePartnerParams is parameters of removePartner operation.

type RemoveSharedLinkAssetsParams

type RemoveSharedLinkAssetsParams struct {
	ID  uuid.UUID
	Key OptString
}

RemoveSharedLinkAssetsParams is parameters of removeSharedLinkAssets operation.

type RemoveSharedLinkOK

type RemoveSharedLinkOK struct{}

RemoveSharedLinkOK is response for RemoveSharedLink operation.

type RemoveSharedLinkParams

type RemoveSharedLinkParams struct {
	ID uuid.UUID
}

RemoveSharedLinkParams is parameters of removeSharedLink operation.

type RemoveUserFromAlbumOK

type RemoveUserFromAlbumOK struct{}

RemoveUserFromAlbumOK is response for RemoveUserFromAlbum operation.

type RemoveUserFromAlbumParams

type RemoveUserFromAlbumParams struct {
	ID     uuid.UUID
	UserId string
}

RemoveUserFromAlbumParams is parameters of removeUserFromAlbum operation.

type ReplaceAssetParams

type ReplaceAssetParams struct {
	ID  uuid.UUID
	Key OptString
}

ReplaceAssetParams is parameters of replaceAsset operation.

type RestoreUserAdminParams

type RestoreUserAdminParams struct {
	ID uuid.UUID
}

RestoreUserAdminParams is parameters of restoreUserAdmin operation.

type ReverseGeocodeParams

type ReverseGeocodeParams struct {
	Lat float64
	Lon float64
}

ReverseGeocodeParams is parameters of reverseGeocode operation.

type ReverseGeocodingStateResponseDto

type ReverseGeocodingStateResponseDto struct {
	LastImportFileName NilString `json:"lastImportFileName"`
	LastUpdate         NilString `json:"lastUpdate"`
}

Ref: #/components/schemas/ReverseGeocodingStateResponseDto

func (*ReverseGeocodingStateResponseDto) Decode

Decode decodes ReverseGeocodingStateResponseDto from json.

func (*ReverseGeocodingStateResponseDto) Encode

Encode implements json.Marshaler.

func (*ReverseGeocodingStateResponseDto) GetLastImportFileName

func (s *ReverseGeocodingStateResponseDto) GetLastImportFileName() NilString

GetLastImportFileName returns the value of LastImportFileName.

func (*ReverseGeocodingStateResponseDto) GetLastUpdate

func (s *ReverseGeocodingStateResponseDto) GetLastUpdate() NilString

GetLastUpdate returns the value of LastUpdate.

func (*ReverseGeocodingStateResponseDto) MarshalJSON

func (s *ReverseGeocodingStateResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReverseGeocodingStateResponseDto) SetLastImportFileName

func (s *ReverseGeocodingStateResponseDto) SetLastImportFileName(val NilString)

SetLastImportFileName sets the value of LastImportFileName.

func (*ReverseGeocodingStateResponseDto) SetLastUpdate

func (s *ReverseGeocodingStateResponseDto) SetLastUpdate(val NilString)

SetLastUpdate sets the value of LastUpdate.

func (*ReverseGeocodingStateResponseDto) UnmarshalJSON

func (s *ReverseGeocodingStateResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

type RunAssetJobsNoContent

type RunAssetJobsNoContent struct{}

RunAssetJobsNoContent is response for RunAssetJobs operation.

type ScanLibraryNoContent

type ScanLibraryNoContent struct{}

ScanLibraryNoContent is response for ScanLibrary operation.

type ScanLibraryParams

type ScanLibraryParams struct {
	ID uuid.UUID
}

ScanLibraryParams is parameters of scanLibrary operation.

type SearchAlbumResponseDto

type SearchAlbumResponseDto struct {
	Count  int                      `json:"count"`
	Facets []SearchFacetResponseDto `json:"facets"`
	Items  []AlbumResponseDto       `json:"items"`
	Total  int                      `json:"total"`
}

Ref: #/components/schemas/SearchAlbumResponseDto

func (*SearchAlbumResponseDto) Decode

func (s *SearchAlbumResponseDto) Decode(d *jx.Decoder) error

Decode decodes SearchAlbumResponseDto from json.

func (*SearchAlbumResponseDto) Encode

func (s *SearchAlbumResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchAlbumResponseDto) GetCount

func (s *SearchAlbumResponseDto) GetCount() int

GetCount returns the value of Count.

func (*SearchAlbumResponseDto) GetFacets

GetFacets returns the value of Facets.

func (*SearchAlbumResponseDto) GetItems

func (s *SearchAlbumResponseDto) GetItems() []AlbumResponseDto

GetItems returns the value of Items.

func (*SearchAlbumResponseDto) GetTotal

func (s *SearchAlbumResponseDto) GetTotal() int

GetTotal returns the value of Total.

func (*SearchAlbumResponseDto) MarshalJSON

func (s *SearchAlbumResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchAlbumResponseDto) SetCount

func (s *SearchAlbumResponseDto) SetCount(val int)

SetCount sets the value of Count.

func (*SearchAlbumResponseDto) SetFacets

func (s *SearchAlbumResponseDto) SetFacets(val []SearchFacetResponseDto)

SetFacets sets the value of Facets.

func (*SearchAlbumResponseDto) SetItems

func (s *SearchAlbumResponseDto) SetItems(val []AlbumResponseDto)

SetItems sets the value of Items.

func (*SearchAlbumResponseDto) SetTotal

func (s *SearchAlbumResponseDto) SetTotal(val int)

SetTotal sets the value of Total.

func (*SearchAlbumResponseDto) UnmarshalJSON

func (s *SearchAlbumResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchAlbumResponseDto) Validate

func (s *SearchAlbumResponseDto) Validate() error

type SearchAssetResponseDto

type SearchAssetResponseDto struct {
	Count    int                      `json:"count"`
	Facets   []SearchFacetResponseDto `json:"facets"`
	Items    []AssetResponseDto       `json:"items"`
	NextPage NilString                `json:"nextPage"`
	Total    int                      `json:"total"`
}

Ref: #/components/schemas/SearchAssetResponseDto

func (*SearchAssetResponseDto) Decode

func (s *SearchAssetResponseDto) Decode(d *jx.Decoder) error

Decode decodes SearchAssetResponseDto from json.

func (*SearchAssetResponseDto) Encode

func (s *SearchAssetResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchAssetResponseDto) GetCount

func (s *SearchAssetResponseDto) GetCount() int

GetCount returns the value of Count.

func (*SearchAssetResponseDto) GetFacets

GetFacets returns the value of Facets.

func (*SearchAssetResponseDto) GetItems

func (s *SearchAssetResponseDto) GetItems() []AssetResponseDto

GetItems returns the value of Items.

func (*SearchAssetResponseDto) GetNextPage

func (s *SearchAssetResponseDto) GetNextPage() NilString

GetNextPage returns the value of NextPage.

func (*SearchAssetResponseDto) GetTotal

func (s *SearchAssetResponseDto) GetTotal() int

GetTotal returns the value of Total.

func (*SearchAssetResponseDto) MarshalJSON

func (s *SearchAssetResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchAssetResponseDto) SetCount

func (s *SearchAssetResponseDto) SetCount(val int)

SetCount sets the value of Count.

func (*SearchAssetResponseDto) SetFacets

func (s *SearchAssetResponseDto) SetFacets(val []SearchFacetResponseDto)

SetFacets sets the value of Facets.

func (*SearchAssetResponseDto) SetItems

func (s *SearchAssetResponseDto) SetItems(val []AssetResponseDto)

SetItems sets the value of Items.

func (*SearchAssetResponseDto) SetNextPage

func (s *SearchAssetResponseDto) SetNextPage(val NilString)

SetNextPage sets the value of NextPage.

func (*SearchAssetResponseDto) SetTotal

func (s *SearchAssetResponseDto) SetTotal(val int)

SetTotal sets the value of Total.

func (*SearchAssetResponseDto) UnmarshalJSON

func (s *SearchAssetResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchAssetResponseDto) Validate

func (s *SearchAssetResponseDto) Validate() error

type SearchExploreItem

type SearchExploreItem struct {
	Data  AssetResponseDto `json:"data"`
	Value string           `json:"value"`
}

Ref: #/components/schemas/SearchExploreItem

func (*SearchExploreItem) Decode

func (s *SearchExploreItem) Decode(d *jx.Decoder) error

Decode decodes SearchExploreItem from json.

func (*SearchExploreItem) Encode

func (s *SearchExploreItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchExploreItem) GetData

func (s *SearchExploreItem) GetData() AssetResponseDto

GetData returns the value of Data.

func (*SearchExploreItem) GetValue

func (s *SearchExploreItem) GetValue() string

GetValue returns the value of Value.

func (*SearchExploreItem) MarshalJSON

func (s *SearchExploreItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchExploreItem) SetData

func (s *SearchExploreItem) SetData(val AssetResponseDto)

SetData sets the value of Data.

func (*SearchExploreItem) SetValue

func (s *SearchExploreItem) SetValue(val string)

SetValue sets the value of Value.

func (*SearchExploreItem) UnmarshalJSON

func (s *SearchExploreItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchExploreItem) Validate

func (s *SearchExploreItem) Validate() error

type SearchExploreResponseDto

type SearchExploreResponseDto struct {
	FieldName string              `json:"fieldName"`
	Items     []SearchExploreItem `json:"items"`
}

Ref: #/components/schemas/SearchExploreResponseDto

func (*SearchExploreResponseDto) Decode

func (s *SearchExploreResponseDto) Decode(d *jx.Decoder) error

Decode decodes SearchExploreResponseDto from json.

func (*SearchExploreResponseDto) Encode

func (s *SearchExploreResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchExploreResponseDto) GetFieldName

func (s *SearchExploreResponseDto) GetFieldName() string

GetFieldName returns the value of FieldName.

func (*SearchExploreResponseDto) GetItems

GetItems returns the value of Items.

func (*SearchExploreResponseDto) MarshalJSON

func (s *SearchExploreResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchExploreResponseDto) SetFieldName

func (s *SearchExploreResponseDto) SetFieldName(val string)

SetFieldName sets the value of FieldName.

func (*SearchExploreResponseDto) SetItems

func (s *SearchExploreResponseDto) SetItems(val []SearchExploreItem)

SetItems sets the value of Items.

func (*SearchExploreResponseDto) UnmarshalJSON

func (s *SearchExploreResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchExploreResponseDto) Validate

func (s *SearchExploreResponseDto) Validate() error

type SearchFacetCountResponseDto

type SearchFacetCountResponseDto struct {
	Count int    `json:"count"`
	Value string `json:"value"`
}

Ref: #/components/schemas/SearchFacetCountResponseDto

func (*SearchFacetCountResponseDto) Decode

Decode decodes SearchFacetCountResponseDto from json.

func (*SearchFacetCountResponseDto) Encode

func (s *SearchFacetCountResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchFacetCountResponseDto) GetCount

func (s *SearchFacetCountResponseDto) GetCount() int

GetCount returns the value of Count.

func (*SearchFacetCountResponseDto) GetValue

func (s *SearchFacetCountResponseDto) GetValue() string

GetValue returns the value of Value.

func (*SearchFacetCountResponseDto) MarshalJSON

func (s *SearchFacetCountResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchFacetCountResponseDto) SetCount

func (s *SearchFacetCountResponseDto) SetCount(val int)

SetCount sets the value of Count.

func (*SearchFacetCountResponseDto) SetValue

func (s *SearchFacetCountResponseDto) SetValue(val string)

SetValue sets the value of Value.

func (*SearchFacetCountResponseDto) UnmarshalJSON

func (s *SearchFacetCountResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SearchFacetResponseDto

type SearchFacetResponseDto struct {
	Counts    []SearchFacetCountResponseDto `json:"counts"`
	FieldName string                        `json:"fieldName"`
}

Ref: #/components/schemas/SearchFacetResponseDto

func (*SearchFacetResponseDto) Decode

func (s *SearchFacetResponseDto) Decode(d *jx.Decoder) error

Decode decodes SearchFacetResponseDto from json.

func (*SearchFacetResponseDto) Encode

func (s *SearchFacetResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchFacetResponseDto) GetCounts

GetCounts returns the value of Counts.

func (*SearchFacetResponseDto) GetFieldName

func (s *SearchFacetResponseDto) GetFieldName() string

GetFieldName returns the value of FieldName.

func (*SearchFacetResponseDto) MarshalJSON

func (s *SearchFacetResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchFacetResponseDto) SetCounts

SetCounts sets the value of Counts.

func (*SearchFacetResponseDto) SetFieldName

func (s *SearchFacetResponseDto) SetFieldName(val string)

SetFieldName sets the value of FieldName.

func (*SearchFacetResponseDto) UnmarshalJSON

func (s *SearchFacetResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchFacetResponseDto) Validate

func (s *SearchFacetResponseDto) Validate() error

type SearchPersonParams

type SearchPersonParams struct {
	Name       string
	WithHidden OptBool
}

SearchPersonParams is parameters of searchPerson operation.

type SearchPlacesParams

type SearchPlacesParams struct {
	Name string
}

SearchPlacesParams is parameters of searchPlaces operation.

type SearchResponseDto

type SearchResponseDto struct {
	Albums SearchAlbumResponseDto `json:"albums"`
	Assets SearchAssetResponseDto `json:"assets"`
}

Ref: #/components/schemas/SearchResponseDto

func (*SearchResponseDto) Decode

func (s *SearchResponseDto) Decode(d *jx.Decoder) error

Decode decodes SearchResponseDto from json.

func (*SearchResponseDto) Encode

func (s *SearchResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SearchResponseDto) GetAlbums

GetAlbums returns the value of Albums.

func (*SearchResponseDto) GetAssets

GetAssets returns the value of Assets.

func (*SearchResponseDto) MarshalJSON

func (s *SearchResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SearchResponseDto) SetAlbums

func (s *SearchResponseDto) SetAlbums(val SearchAlbumResponseDto)

SetAlbums sets the value of Albums.

func (*SearchResponseDto) SetAssets

func (s *SearchResponseDto) SetAssets(val SearchAssetResponseDto)

SetAssets sets the value of Assets.

func (*SearchResponseDto) UnmarshalJSON

func (s *SearchResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SearchResponseDto) Validate

func (s *SearchResponseDto) Validate() error

type SearchStacksParams

type SearchStacksParams struct {
	PrimaryAssetId OptString
}

SearchStacksParams is parameters of searchStacks operation.

type SearchSuggestionType

type SearchSuggestionType string

Ref: #/components/schemas/SearchSuggestionType

const (
	SearchSuggestionTypeCountry     SearchSuggestionType = "country"
	SearchSuggestionTypeState       SearchSuggestionType = "state"
	SearchSuggestionTypeCity        SearchSuggestionType = "city"
	SearchSuggestionTypeCameraMake  SearchSuggestionType = "camera-make"
	SearchSuggestionTypeCameraModel SearchSuggestionType = "camera-model"
)

func (SearchSuggestionType) AllValues

AllValues returns all SearchSuggestionType values.

func (SearchSuggestionType) MarshalText

func (s SearchSuggestionType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SearchSuggestionType) UnmarshalText

func (s *SearchSuggestionType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SearchSuggestionType) Validate

func (s SearchSuggestionType) Validate() error

type SearchUsersAdminParams

type SearchUsersAdminParams struct {
	WithDeleted OptBool
}

SearchUsersAdminParams is parameters of searchUsersAdmin operation.

type SecurityHandler

type SecurityHandler interface {
	// HandleAPIKey handles api_key security.
	HandleAPIKey(ctx context.Context, operationName string, t APIKey) (context.Context, error)
	// HandleBearer handles bearer security.
	HandleBearer(ctx context.Context, operationName string, t Bearer) (context.Context, error)
	// HandleCookie handles cookie security.
	HandleCookie(ctx context.Context, operationName string, t Cookie) (context.Context, error)
}

SecurityHandler is handler for security parameters.

type SecuritySource

type SecuritySource interface {
	// APIKey provides api_key security value.
	APIKey(ctx context.Context, operationName string) (APIKey, error)
	// Bearer provides bearer security value.
	Bearer(ctx context.Context, operationName string) (Bearer, error)
	// Cookie provides cookie security value.
	Cookie(ctx context.Context, operationName string) (Cookie, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type SendJobCommandParams

type SendJobCommandParams struct {
	ID JobName
}

SendJobCommandParams is parameters of sendJobCommand operation.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.

func NewServer

func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerAboutResponseDto

type ServerAboutResponseDto struct {
	Build                      OptString `json:"build"`
	BuildImage                 OptString `json:"buildImage"`
	BuildImageUrl              OptString `json:"buildImageUrl"`
	BuildUrl                   OptString `json:"buildUrl"`
	Exiftool                   OptString `json:"exiftool"`
	Ffmpeg                     OptString `json:"ffmpeg"`
	Imagemagick                OptString `json:"imagemagick"`
	Libvips                    OptString `json:"libvips"`
	Licensed                   bool      `json:"licensed"`
	Nodejs                     OptString `json:"nodejs"`
	Repository                 OptString `json:"repository"`
	RepositoryUrl              OptString `json:"repositoryUrl"`
	SourceCommit               OptString `json:"sourceCommit"`
	SourceRef                  OptString `json:"sourceRef"`
	SourceUrl                  OptString `json:"sourceUrl"`
	ThirdPartyBugFeatureUrl    OptString `json:"thirdPartyBugFeatureUrl"`
	ThirdPartyDocumentationUrl OptString `json:"thirdPartyDocumentationUrl"`
	ThirdPartySourceUrl        OptString `json:"thirdPartySourceUrl"`
	ThirdPartySupportUrl       OptString `json:"thirdPartySupportUrl"`
	Version                    string    `json:"version"`
	VersionUrl                 string    `json:"versionUrl"`
}

Ref: #/components/schemas/ServerAboutResponseDto

func (*ServerAboutResponseDto) Decode

func (s *ServerAboutResponseDto) Decode(d *jx.Decoder) error

Decode decodes ServerAboutResponseDto from json.

func (*ServerAboutResponseDto) Encode

func (s *ServerAboutResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerAboutResponseDto) GetBuild

func (s *ServerAboutResponseDto) GetBuild() OptString

GetBuild returns the value of Build.

func (*ServerAboutResponseDto) GetBuildImage

func (s *ServerAboutResponseDto) GetBuildImage() OptString

GetBuildImage returns the value of BuildImage.

func (*ServerAboutResponseDto) GetBuildImageUrl

func (s *ServerAboutResponseDto) GetBuildImageUrl() OptString

GetBuildImageUrl returns the value of BuildImageUrl.

func (*ServerAboutResponseDto) GetBuildUrl

func (s *ServerAboutResponseDto) GetBuildUrl() OptString

GetBuildUrl returns the value of BuildUrl.

func (*ServerAboutResponseDto) GetExiftool

func (s *ServerAboutResponseDto) GetExiftool() OptString

GetExiftool returns the value of Exiftool.

func (*ServerAboutResponseDto) GetFfmpeg

func (s *ServerAboutResponseDto) GetFfmpeg() OptString

GetFfmpeg returns the value of Ffmpeg.

func (*ServerAboutResponseDto) GetImagemagick

func (s *ServerAboutResponseDto) GetImagemagick() OptString

GetImagemagick returns the value of Imagemagick.

func (*ServerAboutResponseDto) GetLibvips

func (s *ServerAboutResponseDto) GetLibvips() OptString

GetLibvips returns the value of Libvips.

func (*ServerAboutResponseDto) GetLicensed

func (s *ServerAboutResponseDto) GetLicensed() bool

GetLicensed returns the value of Licensed.

func (*ServerAboutResponseDto) GetNodejs

func (s *ServerAboutResponseDto) GetNodejs() OptString

GetNodejs returns the value of Nodejs.

func (*ServerAboutResponseDto) GetRepository

func (s *ServerAboutResponseDto) GetRepository() OptString

GetRepository returns the value of Repository.

func (*ServerAboutResponseDto) GetRepositoryUrl

func (s *ServerAboutResponseDto) GetRepositoryUrl() OptString

GetRepositoryUrl returns the value of RepositoryUrl.

func (*ServerAboutResponseDto) GetSourceCommit

func (s *ServerAboutResponseDto) GetSourceCommit() OptString

GetSourceCommit returns the value of SourceCommit.

func (*ServerAboutResponseDto) GetSourceRef

func (s *ServerAboutResponseDto) GetSourceRef() OptString

GetSourceRef returns the value of SourceRef.

func (*ServerAboutResponseDto) GetSourceUrl

func (s *ServerAboutResponseDto) GetSourceUrl() OptString

GetSourceUrl returns the value of SourceUrl.

func (*ServerAboutResponseDto) GetThirdPartyBugFeatureUrl

func (s *ServerAboutResponseDto) GetThirdPartyBugFeatureUrl() OptString

GetThirdPartyBugFeatureUrl returns the value of ThirdPartyBugFeatureUrl.

func (*ServerAboutResponseDto) GetThirdPartyDocumentationUrl

func (s *ServerAboutResponseDto) GetThirdPartyDocumentationUrl() OptString

GetThirdPartyDocumentationUrl returns the value of ThirdPartyDocumentationUrl.

func (*ServerAboutResponseDto) GetThirdPartySourceUrl

func (s *ServerAboutResponseDto) GetThirdPartySourceUrl() OptString

GetThirdPartySourceUrl returns the value of ThirdPartySourceUrl.

func (*ServerAboutResponseDto) GetThirdPartySupportUrl

func (s *ServerAboutResponseDto) GetThirdPartySupportUrl() OptString

GetThirdPartySupportUrl returns the value of ThirdPartySupportUrl.

func (*ServerAboutResponseDto) GetVersion

func (s *ServerAboutResponseDto) GetVersion() string

GetVersion returns the value of Version.

func (*ServerAboutResponseDto) GetVersionUrl

func (s *ServerAboutResponseDto) GetVersionUrl() string

GetVersionUrl returns the value of VersionUrl.

func (*ServerAboutResponseDto) MarshalJSON

func (s *ServerAboutResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerAboutResponseDto) SetBuild

func (s *ServerAboutResponseDto) SetBuild(val OptString)

SetBuild sets the value of Build.

func (*ServerAboutResponseDto) SetBuildImage

func (s *ServerAboutResponseDto) SetBuildImage(val OptString)

SetBuildImage sets the value of BuildImage.

func (*ServerAboutResponseDto) SetBuildImageUrl

func (s *ServerAboutResponseDto) SetBuildImageUrl(val OptString)

SetBuildImageUrl sets the value of BuildImageUrl.

func (*ServerAboutResponseDto) SetBuildUrl

func (s *ServerAboutResponseDto) SetBuildUrl(val OptString)

SetBuildUrl sets the value of BuildUrl.

func (*ServerAboutResponseDto) SetExiftool

func (s *ServerAboutResponseDto) SetExiftool(val OptString)

SetExiftool sets the value of Exiftool.

func (*ServerAboutResponseDto) SetFfmpeg

func (s *ServerAboutResponseDto) SetFfmpeg(val OptString)

SetFfmpeg sets the value of Ffmpeg.

func (*ServerAboutResponseDto) SetImagemagick

func (s *ServerAboutResponseDto) SetImagemagick(val OptString)

SetImagemagick sets the value of Imagemagick.

func (*ServerAboutResponseDto) SetLibvips

func (s *ServerAboutResponseDto) SetLibvips(val OptString)

SetLibvips sets the value of Libvips.

func (*ServerAboutResponseDto) SetLicensed

func (s *ServerAboutResponseDto) SetLicensed(val bool)

SetLicensed sets the value of Licensed.

func (*ServerAboutResponseDto) SetNodejs

func (s *ServerAboutResponseDto) SetNodejs(val OptString)

SetNodejs sets the value of Nodejs.

func (*ServerAboutResponseDto) SetRepository

func (s *ServerAboutResponseDto) SetRepository(val OptString)

SetRepository sets the value of Repository.

func (*ServerAboutResponseDto) SetRepositoryUrl

func (s *ServerAboutResponseDto) SetRepositoryUrl(val OptString)

SetRepositoryUrl sets the value of RepositoryUrl.

func (*ServerAboutResponseDto) SetSourceCommit

func (s *ServerAboutResponseDto) SetSourceCommit(val OptString)

SetSourceCommit sets the value of SourceCommit.

func (*ServerAboutResponseDto) SetSourceRef

func (s *ServerAboutResponseDto) SetSourceRef(val OptString)

SetSourceRef sets the value of SourceRef.

func (*ServerAboutResponseDto) SetSourceUrl

func (s *ServerAboutResponseDto) SetSourceUrl(val OptString)

SetSourceUrl sets the value of SourceUrl.

func (*ServerAboutResponseDto) SetThirdPartyBugFeatureUrl

func (s *ServerAboutResponseDto) SetThirdPartyBugFeatureUrl(val OptString)

SetThirdPartyBugFeatureUrl sets the value of ThirdPartyBugFeatureUrl.

func (*ServerAboutResponseDto) SetThirdPartyDocumentationUrl

func (s *ServerAboutResponseDto) SetThirdPartyDocumentationUrl(val OptString)

SetThirdPartyDocumentationUrl sets the value of ThirdPartyDocumentationUrl.

func (*ServerAboutResponseDto) SetThirdPartySourceUrl

func (s *ServerAboutResponseDto) SetThirdPartySourceUrl(val OptString)

SetThirdPartySourceUrl sets the value of ThirdPartySourceUrl.

func (*ServerAboutResponseDto) SetThirdPartySupportUrl

func (s *ServerAboutResponseDto) SetThirdPartySupportUrl(val OptString)

SetThirdPartySupportUrl sets the value of ThirdPartySupportUrl.

func (*ServerAboutResponseDto) SetVersion

func (s *ServerAboutResponseDto) SetVersion(val string)

SetVersion sets the value of Version.

func (*ServerAboutResponseDto) SetVersionUrl

func (s *ServerAboutResponseDto) SetVersionUrl(val string)

SetVersionUrl sets the value of VersionUrl.

func (*ServerAboutResponseDto) UnmarshalJSON

func (s *ServerAboutResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ServerConfigDto

type ServerConfigDto struct {
	ExternalDomain   string `json:"externalDomain"`
	IsInitialized    bool   `json:"isInitialized"`
	IsOnboarded      bool   `json:"isOnboarded"`
	LoginPageMessage string `json:"loginPageMessage"`
	MapDarkStyleUrl  string `json:"mapDarkStyleUrl"`
	MapLightStyleUrl string `json:"mapLightStyleUrl"`
	OauthButtonText  string `json:"oauthButtonText"`
	TrashDays        int    `json:"trashDays"`
	UserDeleteDelay  int    `json:"userDeleteDelay"`
}

Ref: #/components/schemas/ServerConfigDto

func (*ServerConfigDto) Decode

func (s *ServerConfigDto) Decode(d *jx.Decoder) error

Decode decodes ServerConfigDto from json.

func (*ServerConfigDto) Encode

func (s *ServerConfigDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerConfigDto) GetExternalDomain

func (s *ServerConfigDto) GetExternalDomain() string

GetExternalDomain returns the value of ExternalDomain.

func (*ServerConfigDto) GetIsInitialized

func (s *ServerConfigDto) GetIsInitialized() bool

GetIsInitialized returns the value of IsInitialized.

func (*ServerConfigDto) GetIsOnboarded

func (s *ServerConfigDto) GetIsOnboarded() bool

GetIsOnboarded returns the value of IsOnboarded.

func (*ServerConfigDto) GetLoginPageMessage

func (s *ServerConfigDto) GetLoginPageMessage() string

GetLoginPageMessage returns the value of LoginPageMessage.

func (*ServerConfigDto) GetMapDarkStyleUrl

func (s *ServerConfigDto) GetMapDarkStyleUrl() string

GetMapDarkStyleUrl returns the value of MapDarkStyleUrl.

func (*ServerConfigDto) GetMapLightStyleUrl

func (s *ServerConfigDto) GetMapLightStyleUrl() string

GetMapLightStyleUrl returns the value of MapLightStyleUrl.

func (*ServerConfigDto) GetOauthButtonText

func (s *ServerConfigDto) GetOauthButtonText() string

GetOauthButtonText returns the value of OauthButtonText.

func (*ServerConfigDto) GetTrashDays

func (s *ServerConfigDto) GetTrashDays() int

GetTrashDays returns the value of TrashDays.

func (*ServerConfigDto) GetUserDeleteDelay

func (s *ServerConfigDto) GetUserDeleteDelay() int

GetUserDeleteDelay returns the value of UserDeleteDelay.

func (*ServerConfigDto) MarshalJSON

func (s *ServerConfigDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerConfigDto) SetExternalDomain

func (s *ServerConfigDto) SetExternalDomain(val string)

SetExternalDomain sets the value of ExternalDomain.

func (*ServerConfigDto) SetIsInitialized

func (s *ServerConfigDto) SetIsInitialized(val bool)

SetIsInitialized sets the value of IsInitialized.

func (*ServerConfigDto) SetIsOnboarded

func (s *ServerConfigDto) SetIsOnboarded(val bool)

SetIsOnboarded sets the value of IsOnboarded.

func (*ServerConfigDto) SetLoginPageMessage

func (s *ServerConfigDto) SetLoginPageMessage(val string)

SetLoginPageMessage sets the value of LoginPageMessage.

func (*ServerConfigDto) SetMapDarkStyleUrl

func (s *ServerConfigDto) SetMapDarkStyleUrl(val string)

SetMapDarkStyleUrl sets the value of MapDarkStyleUrl.

func (*ServerConfigDto) SetMapLightStyleUrl

func (s *ServerConfigDto) SetMapLightStyleUrl(val string)

SetMapLightStyleUrl sets the value of MapLightStyleUrl.

func (*ServerConfigDto) SetOauthButtonText

func (s *ServerConfigDto) SetOauthButtonText(val string)

SetOauthButtonText sets the value of OauthButtonText.

func (*ServerConfigDto) SetTrashDays

func (s *ServerConfigDto) SetTrashDays(val int)

SetTrashDays sets the value of TrashDays.

func (*ServerConfigDto) SetUserDeleteDelay

func (s *ServerConfigDto) SetUserDeleteDelay(val int)

SetUserDeleteDelay sets the value of UserDeleteDelay.

func (*ServerConfigDto) UnmarshalJSON

func (s *ServerConfigDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ServerFeaturesDto

type ServerFeaturesDto struct {
	ConfigFile         bool `json:"configFile"`
	DuplicateDetection bool `json:"duplicateDetection"`
	Email              bool `json:"email"`
	FacialRecognition  bool `json:"facialRecognition"`
	ImportFaces        bool `json:"importFaces"`
	Map                bool `json:"map"`
	OAuth              bool `json:"oauth"`
	OauthAutoLaunch    bool `json:"oauthAutoLaunch"`
	PasswordLogin      bool `json:"passwordLogin"`
	ReverseGeocoding   bool `json:"reverseGeocoding"`
	Search             bool `json:"search"`
	Sidecar            bool `json:"sidecar"`
	SmartSearch        bool `json:"smartSearch"`
	Trash              bool `json:"trash"`
}

Ref: #/components/schemas/ServerFeaturesDto

func (*ServerFeaturesDto) Decode

func (s *ServerFeaturesDto) Decode(d *jx.Decoder) error

Decode decodes ServerFeaturesDto from json.

func (*ServerFeaturesDto) Encode

func (s *ServerFeaturesDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerFeaturesDto) GetConfigFile

func (s *ServerFeaturesDto) GetConfigFile() bool

GetConfigFile returns the value of ConfigFile.

func (*ServerFeaturesDto) GetDuplicateDetection

func (s *ServerFeaturesDto) GetDuplicateDetection() bool

GetDuplicateDetection returns the value of DuplicateDetection.

func (*ServerFeaturesDto) GetEmail

func (s *ServerFeaturesDto) GetEmail() bool

GetEmail returns the value of Email.

func (*ServerFeaturesDto) GetFacialRecognition

func (s *ServerFeaturesDto) GetFacialRecognition() bool

GetFacialRecognition returns the value of FacialRecognition.

func (*ServerFeaturesDto) GetImportFaces

func (s *ServerFeaturesDto) GetImportFaces() bool

GetImportFaces returns the value of ImportFaces.

func (*ServerFeaturesDto) GetMap

func (s *ServerFeaturesDto) GetMap() bool

GetMap returns the value of Map.

func (*ServerFeaturesDto) GetOAuth

func (s *ServerFeaturesDto) GetOAuth() bool

GetOAuth returns the value of OAuth.

func (*ServerFeaturesDto) GetOauthAutoLaunch

func (s *ServerFeaturesDto) GetOauthAutoLaunch() bool

GetOauthAutoLaunch returns the value of OauthAutoLaunch.

func (*ServerFeaturesDto) GetPasswordLogin

func (s *ServerFeaturesDto) GetPasswordLogin() bool

GetPasswordLogin returns the value of PasswordLogin.

func (*ServerFeaturesDto) GetReverseGeocoding

func (s *ServerFeaturesDto) GetReverseGeocoding() bool

GetReverseGeocoding returns the value of ReverseGeocoding.

func (*ServerFeaturesDto) GetSearch

func (s *ServerFeaturesDto) GetSearch() bool

GetSearch returns the value of Search.

func (*ServerFeaturesDto) GetSidecar

func (s *ServerFeaturesDto) GetSidecar() bool

GetSidecar returns the value of Sidecar.

func (*ServerFeaturesDto) GetSmartSearch

func (s *ServerFeaturesDto) GetSmartSearch() bool

GetSmartSearch returns the value of SmartSearch.

func (*ServerFeaturesDto) GetTrash

func (s *ServerFeaturesDto) GetTrash() bool

GetTrash returns the value of Trash.

func (*ServerFeaturesDto) MarshalJSON

func (s *ServerFeaturesDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerFeaturesDto) SetConfigFile

func (s *ServerFeaturesDto) SetConfigFile(val bool)

SetConfigFile sets the value of ConfigFile.

func (*ServerFeaturesDto) SetDuplicateDetection

func (s *ServerFeaturesDto) SetDuplicateDetection(val bool)

SetDuplicateDetection sets the value of DuplicateDetection.

func (*ServerFeaturesDto) SetEmail

func (s *ServerFeaturesDto) SetEmail(val bool)

SetEmail sets the value of Email.

func (*ServerFeaturesDto) SetFacialRecognition

func (s *ServerFeaturesDto) SetFacialRecognition(val bool)

SetFacialRecognition sets the value of FacialRecognition.

func (*ServerFeaturesDto) SetImportFaces

func (s *ServerFeaturesDto) SetImportFaces(val bool)

SetImportFaces sets the value of ImportFaces.

func (*ServerFeaturesDto) SetMap

func (s *ServerFeaturesDto) SetMap(val bool)

SetMap sets the value of Map.

func (*ServerFeaturesDto) SetOAuth

func (s *ServerFeaturesDto) SetOAuth(val bool)

SetOAuth sets the value of OAuth.

func (*ServerFeaturesDto) SetOauthAutoLaunch

func (s *ServerFeaturesDto) SetOauthAutoLaunch(val bool)

SetOauthAutoLaunch sets the value of OauthAutoLaunch.

func (*ServerFeaturesDto) SetPasswordLogin

func (s *ServerFeaturesDto) SetPasswordLogin(val bool)

SetPasswordLogin sets the value of PasswordLogin.

func (*ServerFeaturesDto) SetReverseGeocoding

func (s *ServerFeaturesDto) SetReverseGeocoding(val bool)

SetReverseGeocoding sets the value of ReverseGeocoding.

func (*ServerFeaturesDto) SetSearch

func (s *ServerFeaturesDto) SetSearch(val bool)

SetSearch sets the value of Search.

func (*ServerFeaturesDto) SetSidecar

func (s *ServerFeaturesDto) SetSidecar(val bool)

SetSidecar sets the value of Sidecar.

func (*ServerFeaturesDto) SetSmartSearch

func (s *ServerFeaturesDto) SetSmartSearch(val bool)

SetSmartSearch sets the value of SmartSearch.

func (*ServerFeaturesDto) SetTrash

func (s *ServerFeaturesDto) SetTrash(val bool)

SetTrash sets the value of Trash.

func (*ServerFeaturesDto) UnmarshalJSON

func (s *ServerFeaturesDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ServerMediaTypesResponseDto

type ServerMediaTypesResponseDto struct {
	Image   []string `json:"image"`
	Sidecar []string `json:"sidecar"`
	Video   []string `json:"video"`
}

Ref: #/components/schemas/ServerMediaTypesResponseDto

func (*ServerMediaTypesResponseDto) Decode

Decode decodes ServerMediaTypesResponseDto from json.

func (*ServerMediaTypesResponseDto) Encode

func (s *ServerMediaTypesResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerMediaTypesResponseDto) GetImage

func (s *ServerMediaTypesResponseDto) GetImage() []string

GetImage returns the value of Image.

func (*ServerMediaTypesResponseDto) GetSidecar

func (s *ServerMediaTypesResponseDto) GetSidecar() []string

GetSidecar returns the value of Sidecar.

func (*ServerMediaTypesResponseDto) GetVideo

func (s *ServerMediaTypesResponseDto) GetVideo() []string

GetVideo returns the value of Video.

func (*ServerMediaTypesResponseDto) MarshalJSON

func (s *ServerMediaTypesResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerMediaTypesResponseDto) SetImage

func (s *ServerMediaTypesResponseDto) SetImage(val []string)

SetImage sets the value of Image.

func (*ServerMediaTypesResponseDto) SetSidecar

func (s *ServerMediaTypesResponseDto) SetSidecar(val []string)

SetSidecar sets the value of Sidecar.

func (*ServerMediaTypesResponseDto) SetVideo

func (s *ServerMediaTypesResponseDto) SetVideo(val []string)

SetVideo sets the value of Video.

func (*ServerMediaTypesResponseDto) UnmarshalJSON

func (s *ServerMediaTypesResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ServerMediaTypesResponseDto) Validate

func (s *ServerMediaTypesResponseDto) Validate() error

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type ServerPingResponse

type ServerPingResponse struct {
	Res string `json:"res"`
}

Ref: #/components/schemas/ServerPingResponse

func (*ServerPingResponse) Decode

func (s *ServerPingResponse) Decode(d *jx.Decoder) error

Decode decodes ServerPingResponse from json.

func (*ServerPingResponse) Encode

func (s *ServerPingResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerPingResponse) GetRes

func (s *ServerPingResponse) GetRes() string

GetRes returns the value of Res.

func (*ServerPingResponse) MarshalJSON

func (s *ServerPingResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerPingResponse) SetRes

func (s *ServerPingResponse) SetRes(val string)

SetRes sets the value of Res.

func (*ServerPingResponse) UnmarshalJSON

func (s *ServerPingResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ServerStatsResponseDto

type ServerStatsResponseDto struct {
	Photos      int              `json:"photos"`
	Usage       int64            `json:"usage"`
	UsageByUser []UsageByUserDto `json:"usageByUser"`
	Videos      int              `json:"videos"`
}

Ref: #/components/schemas/ServerStatsResponseDto

func (*ServerStatsResponseDto) Decode

func (s *ServerStatsResponseDto) Decode(d *jx.Decoder) error

Decode decodes ServerStatsResponseDto from json.

func (*ServerStatsResponseDto) Encode

func (s *ServerStatsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerStatsResponseDto) GetPhotos

func (s *ServerStatsResponseDto) GetPhotos() int

GetPhotos returns the value of Photos.

func (*ServerStatsResponseDto) GetUsage

func (s *ServerStatsResponseDto) GetUsage() int64

GetUsage returns the value of Usage.

func (*ServerStatsResponseDto) GetUsageByUser

func (s *ServerStatsResponseDto) GetUsageByUser() []UsageByUserDto

GetUsageByUser returns the value of UsageByUser.

func (*ServerStatsResponseDto) GetVideos

func (s *ServerStatsResponseDto) GetVideos() int

GetVideos returns the value of Videos.

func (*ServerStatsResponseDto) MarshalJSON

func (s *ServerStatsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerStatsResponseDto) SetPhotos

func (s *ServerStatsResponseDto) SetPhotos(val int)

SetPhotos sets the value of Photos.

func (*ServerStatsResponseDto) SetUsage

func (s *ServerStatsResponseDto) SetUsage(val int64)

SetUsage sets the value of Usage.

func (*ServerStatsResponseDto) SetUsageByUser

func (s *ServerStatsResponseDto) SetUsageByUser(val []UsageByUserDto)

SetUsageByUser sets the value of UsageByUser.

func (*ServerStatsResponseDto) SetVideos

func (s *ServerStatsResponseDto) SetVideos(val int)

SetVideos sets the value of Videos.

func (*ServerStatsResponseDto) UnmarshalJSON

func (s *ServerStatsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ServerStatsResponseDto) Validate

func (s *ServerStatsResponseDto) Validate() error

type ServerStorageResponseDto

type ServerStorageResponseDto struct {
	DiskAvailable       string  `json:"diskAvailable"`
	DiskAvailableRaw    int64   `json:"diskAvailableRaw"`
	DiskSize            string  `json:"diskSize"`
	DiskSizeRaw         int64   `json:"diskSizeRaw"`
	DiskUsagePercentage float64 `json:"diskUsagePercentage"`
	DiskUse             string  `json:"diskUse"`
	DiskUseRaw          int64   `json:"diskUseRaw"`
}

Ref: #/components/schemas/ServerStorageResponseDto

func (*ServerStorageResponseDto) Decode

func (s *ServerStorageResponseDto) Decode(d *jx.Decoder) error

Decode decodes ServerStorageResponseDto from json.

func (*ServerStorageResponseDto) Encode

func (s *ServerStorageResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerStorageResponseDto) GetDiskAvailable

func (s *ServerStorageResponseDto) GetDiskAvailable() string

GetDiskAvailable returns the value of DiskAvailable.

func (*ServerStorageResponseDto) GetDiskAvailableRaw

func (s *ServerStorageResponseDto) GetDiskAvailableRaw() int64

GetDiskAvailableRaw returns the value of DiskAvailableRaw.

func (*ServerStorageResponseDto) GetDiskSize

func (s *ServerStorageResponseDto) GetDiskSize() string

GetDiskSize returns the value of DiskSize.

func (*ServerStorageResponseDto) GetDiskSizeRaw

func (s *ServerStorageResponseDto) GetDiskSizeRaw() int64

GetDiskSizeRaw returns the value of DiskSizeRaw.

func (*ServerStorageResponseDto) GetDiskUsagePercentage

func (s *ServerStorageResponseDto) GetDiskUsagePercentage() float64

GetDiskUsagePercentage returns the value of DiskUsagePercentage.

func (*ServerStorageResponseDto) GetDiskUse

func (s *ServerStorageResponseDto) GetDiskUse() string

GetDiskUse returns the value of DiskUse.

func (*ServerStorageResponseDto) GetDiskUseRaw

func (s *ServerStorageResponseDto) GetDiskUseRaw() int64

GetDiskUseRaw returns the value of DiskUseRaw.

func (*ServerStorageResponseDto) MarshalJSON

func (s *ServerStorageResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerStorageResponseDto) SetDiskAvailable

func (s *ServerStorageResponseDto) SetDiskAvailable(val string)

SetDiskAvailable sets the value of DiskAvailable.

func (*ServerStorageResponseDto) SetDiskAvailableRaw

func (s *ServerStorageResponseDto) SetDiskAvailableRaw(val int64)

SetDiskAvailableRaw sets the value of DiskAvailableRaw.

func (*ServerStorageResponseDto) SetDiskSize

func (s *ServerStorageResponseDto) SetDiskSize(val string)

SetDiskSize sets the value of DiskSize.

func (*ServerStorageResponseDto) SetDiskSizeRaw

func (s *ServerStorageResponseDto) SetDiskSizeRaw(val int64)

SetDiskSizeRaw sets the value of DiskSizeRaw.

func (*ServerStorageResponseDto) SetDiskUsagePercentage

func (s *ServerStorageResponseDto) SetDiskUsagePercentage(val float64)

SetDiskUsagePercentage sets the value of DiskUsagePercentage.

func (*ServerStorageResponseDto) SetDiskUse

func (s *ServerStorageResponseDto) SetDiskUse(val string)

SetDiskUse sets the value of DiskUse.

func (*ServerStorageResponseDto) SetDiskUseRaw

func (s *ServerStorageResponseDto) SetDiskUseRaw(val int64)

SetDiskUseRaw sets the value of DiskUseRaw.

func (*ServerStorageResponseDto) UnmarshalJSON

func (s *ServerStorageResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ServerStorageResponseDto) Validate

func (s *ServerStorageResponseDto) Validate() error

type ServerThemeDto

type ServerThemeDto struct {
	CustomCss string `json:"customCss"`
}

Ref: #/components/schemas/ServerThemeDto

func (*ServerThemeDto) Decode

func (s *ServerThemeDto) Decode(d *jx.Decoder) error

Decode decodes ServerThemeDto from json.

func (*ServerThemeDto) Encode

func (s *ServerThemeDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerThemeDto) GetCustomCss

func (s *ServerThemeDto) GetCustomCss() string

GetCustomCss returns the value of CustomCss.

func (*ServerThemeDto) MarshalJSON

func (s *ServerThemeDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerThemeDto) SetCustomCss

func (s *ServerThemeDto) SetCustomCss(val string)

SetCustomCss sets the value of CustomCss.

func (*ServerThemeDto) UnmarshalJSON

func (s *ServerThemeDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ServerVersionHistoryResponseDto

type ServerVersionHistoryResponseDto struct {
	CreatedAt time.Time `json:"createdAt"`
	ID        string    `json:"id"`
	Version   string    `json:"version"`
}

Ref: #/components/schemas/ServerVersionHistoryResponseDto

func (*ServerVersionHistoryResponseDto) Decode

Decode decodes ServerVersionHistoryResponseDto from json.

func (*ServerVersionHistoryResponseDto) Encode

Encode implements json.Marshaler.

func (*ServerVersionHistoryResponseDto) GetCreatedAt

func (s *ServerVersionHistoryResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*ServerVersionHistoryResponseDto) GetID

GetID returns the value of ID.

func (*ServerVersionHistoryResponseDto) GetVersion

func (s *ServerVersionHistoryResponseDto) GetVersion() string

GetVersion returns the value of Version.

func (*ServerVersionHistoryResponseDto) MarshalJSON

func (s *ServerVersionHistoryResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerVersionHistoryResponseDto) SetCreatedAt

func (s *ServerVersionHistoryResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*ServerVersionHistoryResponseDto) SetID

SetID sets the value of ID.

func (*ServerVersionHistoryResponseDto) SetVersion

func (s *ServerVersionHistoryResponseDto) SetVersion(val string)

SetVersion sets the value of Version.

func (*ServerVersionHistoryResponseDto) UnmarshalJSON

func (s *ServerVersionHistoryResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ServerVersionResponseDto

type ServerVersionResponseDto struct {
	Major int `json:"major"`
	Minor int `json:"minor"`
	Patch int `json:"patch"`
}

Ref: #/components/schemas/ServerVersionResponseDto

func (*ServerVersionResponseDto) Decode

func (s *ServerVersionResponseDto) Decode(d *jx.Decoder) error

Decode decodes ServerVersionResponseDto from json.

func (*ServerVersionResponseDto) Encode

func (s *ServerVersionResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ServerVersionResponseDto) GetMajor

func (s *ServerVersionResponseDto) GetMajor() int

GetMajor returns the value of Major.

func (*ServerVersionResponseDto) GetMinor

func (s *ServerVersionResponseDto) GetMinor() int

GetMinor returns the value of Minor.

func (*ServerVersionResponseDto) GetPatch

func (s *ServerVersionResponseDto) GetPatch() int

GetPatch returns the value of Patch.

func (*ServerVersionResponseDto) MarshalJSON

func (s *ServerVersionResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ServerVersionResponseDto) SetMajor

func (s *ServerVersionResponseDto) SetMajor(val int)

SetMajor sets the value of Major.

func (*ServerVersionResponseDto) SetMinor

func (s *ServerVersionResponseDto) SetMinor(val int)

SetMinor sets the value of Minor.

func (*ServerVersionResponseDto) SetPatch

func (s *ServerVersionResponseDto) SetPatch(val int)

SetPatch sets the value of Patch.

func (*ServerVersionResponseDto) UnmarshalJSON

func (s *ServerVersionResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionResponseDto

type SessionResponseDto struct {
	CreatedAt  string `json:"createdAt"`
	Current    bool   `json:"current"`
	DeviceOS   string `json:"deviceOS"`
	DeviceType string `json:"deviceType"`
	ID         string `json:"id"`
	UpdatedAt  string `json:"updatedAt"`
}

Ref: #/components/schemas/SessionResponseDto

func (*SessionResponseDto) Decode

func (s *SessionResponseDto) Decode(d *jx.Decoder) error

Decode decodes SessionResponseDto from json.

func (*SessionResponseDto) Encode

func (s *SessionResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionResponseDto) GetCreatedAt

func (s *SessionResponseDto) GetCreatedAt() string

GetCreatedAt returns the value of CreatedAt.

func (*SessionResponseDto) GetCurrent

func (s *SessionResponseDto) GetCurrent() bool

GetCurrent returns the value of Current.

func (*SessionResponseDto) GetDeviceOS

func (s *SessionResponseDto) GetDeviceOS() string

GetDeviceOS returns the value of DeviceOS.

func (*SessionResponseDto) GetDeviceType

func (s *SessionResponseDto) GetDeviceType() string

GetDeviceType returns the value of DeviceType.

func (*SessionResponseDto) GetID

func (s *SessionResponseDto) GetID() string

GetID returns the value of ID.

func (*SessionResponseDto) GetUpdatedAt

func (s *SessionResponseDto) GetUpdatedAt() string

GetUpdatedAt returns the value of UpdatedAt.

func (*SessionResponseDto) MarshalJSON

func (s *SessionResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionResponseDto) SetCreatedAt

func (s *SessionResponseDto) SetCreatedAt(val string)

SetCreatedAt sets the value of CreatedAt.

func (*SessionResponseDto) SetCurrent

func (s *SessionResponseDto) SetCurrent(val bool)

SetCurrent sets the value of Current.

func (*SessionResponseDto) SetDeviceOS

func (s *SessionResponseDto) SetDeviceOS(val string)

SetDeviceOS sets the value of DeviceOS.

func (*SessionResponseDto) SetDeviceType

func (s *SessionResponseDto) SetDeviceType(val string)

SetDeviceType sets the value of DeviceType.

func (*SessionResponseDto) SetID

func (s *SessionResponseDto) SetID(val string)

SetID sets the value of ID.

func (*SessionResponseDto) SetUpdatedAt

func (s *SessionResponseDto) SetUpdatedAt(val string)

SetUpdatedAt sets the value of UpdatedAt.

func (*SessionResponseDto) UnmarshalJSON

func (s *SessionResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SharedLinkCreateDto

type SharedLinkCreateDto struct {
	AlbumId       OptUUID        `json:"albumId"`
	AllowDownload OptBool        `json:"allowDownload"`
	AllowUpload   OptBool        `json:"allowUpload"`
	AssetIds      []uuid.UUID    `json:"assetIds"`
	Description   OptString      `json:"description"`
	ExpiresAt     OptNilDateTime `json:"expiresAt"`
	Password      OptString      `json:"password"`
	ShowMetadata  OptBool        `json:"showMetadata"`
	Type          SharedLinkType `json:"type"`
}

Ref: #/components/schemas/SharedLinkCreateDto

func (*SharedLinkCreateDto) Decode

func (s *SharedLinkCreateDto) Decode(d *jx.Decoder) error

Decode decodes SharedLinkCreateDto from json.

func (*SharedLinkCreateDto) Encode

func (s *SharedLinkCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SharedLinkCreateDto) GetAlbumId

func (s *SharedLinkCreateDto) GetAlbumId() OptUUID

GetAlbumId returns the value of AlbumId.

func (*SharedLinkCreateDto) GetAllowDownload

func (s *SharedLinkCreateDto) GetAllowDownload() OptBool

GetAllowDownload returns the value of AllowDownload.

func (*SharedLinkCreateDto) GetAllowUpload

func (s *SharedLinkCreateDto) GetAllowUpload() OptBool

GetAllowUpload returns the value of AllowUpload.

func (*SharedLinkCreateDto) GetAssetIds

func (s *SharedLinkCreateDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*SharedLinkCreateDto) GetDescription

func (s *SharedLinkCreateDto) GetDescription() OptString

GetDescription returns the value of Description.

func (*SharedLinkCreateDto) GetExpiresAt

func (s *SharedLinkCreateDto) GetExpiresAt() OptNilDateTime

GetExpiresAt returns the value of ExpiresAt.

func (*SharedLinkCreateDto) GetPassword

func (s *SharedLinkCreateDto) GetPassword() OptString

GetPassword returns the value of Password.

func (*SharedLinkCreateDto) GetShowMetadata

func (s *SharedLinkCreateDto) GetShowMetadata() OptBool

GetShowMetadata returns the value of ShowMetadata.

func (*SharedLinkCreateDto) GetType

func (s *SharedLinkCreateDto) GetType() SharedLinkType

GetType returns the value of Type.

func (*SharedLinkCreateDto) MarshalJSON

func (s *SharedLinkCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SharedLinkCreateDto) SetAlbumId

func (s *SharedLinkCreateDto) SetAlbumId(val OptUUID)

SetAlbumId sets the value of AlbumId.

func (*SharedLinkCreateDto) SetAllowDownload

func (s *SharedLinkCreateDto) SetAllowDownload(val OptBool)

SetAllowDownload sets the value of AllowDownload.

func (*SharedLinkCreateDto) SetAllowUpload

func (s *SharedLinkCreateDto) SetAllowUpload(val OptBool)

SetAllowUpload sets the value of AllowUpload.

func (*SharedLinkCreateDto) SetAssetIds

func (s *SharedLinkCreateDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*SharedLinkCreateDto) SetDescription

func (s *SharedLinkCreateDto) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*SharedLinkCreateDto) SetExpiresAt

func (s *SharedLinkCreateDto) SetExpiresAt(val OptNilDateTime)

SetExpiresAt sets the value of ExpiresAt.

func (*SharedLinkCreateDto) SetPassword

func (s *SharedLinkCreateDto) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*SharedLinkCreateDto) SetShowMetadata

func (s *SharedLinkCreateDto) SetShowMetadata(val OptBool)

SetShowMetadata sets the value of ShowMetadata.

func (*SharedLinkCreateDto) SetType

func (s *SharedLinkCreateDto) SetType(val SharedLinkType)

SetType sets the value of Type.

func (*SharedLinkCreateDto) UnmarshalJSON

func (s *SharedLinkCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SharedLinkCreateDto) Validate

func (s *SharedLinkCreateDto) Validate() error

type SharedLinkEditDto

type SharedLinkEditDto struct {
	AllowDownload OptBool `json:"allowDownload"`
	AllowUpload   OptBool `json:"allowUpload"`
	// Few clients cannot send null to set the expiryTime to never.
	// Setting this flag and not sending expiryAt is considered as null instead.
	// Clients that can send null values can ignore this.
	ChangeExpiryTime OptBool        `json:"changeExpiryTime"`
	Description      OptString      `json:"description"`
	ExpiresAt        OptNilDateTime `json:"expiresAt"`
	Password         OptString      `json:"password"`
	ShowMetadata     OptBool        `json:"showMetadata"`
}

Ref: #/components/schemas/SharedLinkEditDto

func (*SharedLinkEditDto) Decode

func (s *SharedLinkEditDto) Decode(d *jx.Decoder) error

Decode decodes SharedLinkEditDto from json.

func (*SharedLinkEditDto) Encode

func (s *SharedLinkEditDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SharedLinkEditDto) GetAllowDownload

func (s *SharedLinkEditDto) GetAllowDownload() OptBool

GetAllowDownload returns the value of AllowDownload.

func (*SharedLinkEditDto) GetAllowUpload

func (s *SharedLinkEditDto) GetAllowUpload() OptBool

GetAllowUpload returns the value of AllowUpload.

func (*SharedLinkEditDto) GetChangeExpiryTime

func (s *SharedLinkEditDto) GetChangeExpiryTime() OptBool

GetChangeExpiryTime returns the value of ChangeExpiryTime.

func (*SharedLinkEditDto) GetDescription

func (s *SharedLinkEditDto) GetDescription() OptString

GetDescription returns the value of Description.

func (*SharedLinkEditDto) GetExpiresAt

func (s *SharedLinkEditDto) GetExpiresAt() OptNilDateTime

GetExpiresAt returns the value of ExpiresAt.

func (*SharedLinkEditDto) GetPassword

func (s *SharedLinkEditDto) GetPassword() OptString

GetPassword returns the value of Password.

func (*SharedLinkEditDto) GetShowMetadata

func (s *SharedLinkEditDto) GetShowMetadata() OptBool

GetShowMetadata returns the value of ShowMetadata.

func (*SharedLinkEditDto) MarshalJSON

func (s *SharedLinkEditDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SharedLinkEditDto) SetAllowDownload

func (s *SharedLinkEditDto) SetAllowDownload(val OptBool)

SetAllowDownload sets the value of AllowDownload.

func (*SharedLinkEditDto) SetAllowUpload

func (s *SharedLinkEditDto) SetAllowUpload(val OptBool)

SetAllowUpload sets the value of AllowUpload.

func (*SharedLinkEditDto) SetChangeExpiryTime

func (s *SharedLinkEditDto) SetChangeExpiryTime(val OptBool)

SetChangeExpiryTime sets the value of ChangeExpiryTime.

func (*SharedLinkEditDto) SetDescription

func (s *SharedLinkEditDto) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*SharedLinkEditDto) SetExpiresAt

func (s *SharedLinkEditDto) SetExpiresAt(val OptNilDateTime)

SetExpiresAt sets the value of ExpiresAt.

func (*SharedLinkEditDto) SetPassword

func (s *SharedLinkEditDto) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*SharedLinkEditDto) SetShowMetadata

func (s *SharedLinkEditDto) SetShowMetadata(val OptBool)

SetShowMetadata sets the value of ShowMetadata.

func (*SharedLinkEditDto) UnmarshalJSON

func (s *SharedLinkEditDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SharedLinkResponseDto

type SharedLinkResponseDto struct {
	Album         OptAlbumResponseDto `json:"album"`
	AllowDownload bool                `json:"allowDownload"`
	AllowUpload   bool                `json:"allowUpload"`
	Assets        []AssetResponseDto  `json:"assets"`
	CreatedAt     time.Time           `json:"createdAt"`
	Description   NilString           `json:"description"`
	ExpiresAt     NilDateTime         `json:"expiresAt"`
	ID            string              `json:"id"`
	Key           string              `json:"key"`
	Password      NilString           `json:"password"`
	ShowMetadata  bool                `json:"showMetadata"`
	Token         OptNilString        `json:"token"`
	Type          SharedLinkType      `json:"type"`
	UserId        string              `json:"userId"`
}

Ref: #/components/schemas/SharedLinkResponseDto

func (*SharedLinkResponseDto) Decode

func (s *SharedLinkResponseDto) Decode(d *jx.Decoder) error

Decode decodes SharedLinkResponseDto from json.

func (*SharedLinkResponseDto) Encode

func (s *SharedLinkResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SharedLinkResponseDto) GetAlbum

GetAlbum returns the value of Album.

func (*SharedLinkResponseDto) GetAllowDownload

func (s *SharedLinkResponseDto) GetAllowDownload() bool

GetAllowDownload returns the value of AllowDownload.

func (*SharedLinkResponseDto) GetAllowUpload

func (s *SharedLinkResponseDto) GetAllowUpload() bool

GetAllowUpload returns the value of AllowUpload.

func (*SharedLinkResponseDto) GetAssets

func (s *SharedLinkResponseDto) GetAssets() []AssetResponseDto

GetAssets returns the value of Assets.

func (*SharedLinkResponseDto) GetCreatedAt

func (s *SharedLinkResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*SharedLinkResponseDto) GetDescription

func (s *SharedLinkResponseDto) GetDescription() NilString

GetDescription returns the value of Description.

func (*SharedLinkResponseDto) GetExpiresAt

func (s *SharedLinkResponseDto) GetExpiresAt() NilDateTime

GetExpiresAt returns the value of ExpiresAt.

func (*SharedLinkResponseDto) GetID

func (s *SharedLinkResponseDto) GetID() string

GetID returns the value of ID.

func (*SharedLinkResponseDto) GetKey

func (s *SharedLinkResponseDto) GetKey() string

GetKey returns the value of Key.

func (*SharedLinkResponseDto) GetPassword

func (s *SharedLinkResponseDto) GetPassword() NilString

GetPassword returns the value of Password.

func (*SharedLinkResponseDto) GetShowMetadata

func (s *SharedLinkResponseDto) GetShowMetadata() bool

GetShowMetadata returns the value of ShowMetadata.

func (*SharedLinkResponseDto) GetToken

func (s *SharedLinkResponseDto) GetToken() OptNilString

GetToken returns the value of Token.

func (*SharedLinkResponseDto) GetType

GetType returns the value of Type.

func (*SharedLinkResponseDto) GetUserId

func (s *SharedLinkResponseDto) GetUserId() string

GetUserId returns the value of UserId.

func (*SharedLinkResponseDto) MarshalJSON

func (s *SharedLinkResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SharedLinkResponseDto) SetAlbum

func (s *SharedLinkResponseDto) SetAlbum(val OptAlbumResponseDto)

SetAlbum sets the value of Album.

func (*SharedLinkResponseDto) SetAllowDownload

func (s *SharedLinkResponseDto) SetAllowDownload(val bool)

SetAllowDownload sets the value of AllowDownload.

func (*SharedLinkResponseDto) SetAllowUpload

func (s *SharedLinkResponseDto) SetAllowUpload(val bool)

SetAllowUpload sets the value of AllowUpload.

func (*SharedLinkResponseDto) SetAssets

func (s *SharedLinkResponseDto) SetAssets(val []AssetResponseDto)

SetAssets sets the value of Assets.

func (*SharedLinkResponseDto) SetCreatedAt

func (s *SharedLinkResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*SharedLinkResponseDto) SetDescription

func (s *SharedLinkResponseDto) SetDescription(val NilString)

SetDescription sets the value of Description.

func (*SharedLinkResponseDto) SetExpiresAt

func (s *SharedLinkResponseDto) SetExpiresAt(val NilDateTime)

SetExpiresAt sets the value of ExpiresAt.

func (*SharedLinkResponseDto) SetID

func (s *SharedLinkResponseDto) SetID(val string)

SetID sets the value of ID.

func (*SharedLinkResponseDto) SetKey

func (s *SharedLinkResponseDto) SetKey(val string)

SetKey sets the value of Key.

func (*SharedLinkResponseDto) SetPassword

func (s *SharedLinkResponseDto) SetPassword(val NilString)

SetPassword sets the value of Password.

func (*SharedLinkResponseDto) SetShowMetadata

func (s *SharedLinkResponseDto) SetShowMetadata(val bool)

SetShowMetadata sets the value of ShowMetadata.

func (*SharedLinkResponseDto) SetToken

func (s *SharedLinkResponseDto) SetToken(val OptNilString)

SetToken sets the value of Token.

func (*SharedLinkResponseDto) SetType

func (s *SharedLinkResponseDto) SetType(val SharedLinkType)

SetType sets the value of Type.

func (*SharedLinkResponseDto) SetUserId

func (s *SharedLinkResponseDto) SetUserId(val string)

SetUserId sets the value of UserId.

func (*SharedLinkResponseDto) UnmarshalJSON

func (s *SharedLinkResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SharedLinkResponseDto) Validate

func (s *SharedLinkResponseDto) Validate() error

type SharedLinkType

type SharedLinkType string

Ref: #/components/schemas/SharedLinkType

const (
	SharedLinkTypeALBUM      SharedLinkType = "ALBUM"
	SharedLinkTypeINDIVIDUAL SharedLinkType = "INDIVIDUAL"
)

func (SharedLinkType) AllValues

func (SharedLinkType) AllValues() []SharedLinkType

AllValues returns all SharedLinkType values.

func (*SharedLinkType) Decode

func (s *SharedLinkType) Decode(d *jx.Decoder) error

Decode decodes SharedLinkType from json.

func (SharedLinkType) Encode

func (s SharedLinkType) Encode(e *jx.Encoder)

Encode encodes SharedLinkType as json.

func (SharedLinkType) MarshalJSON

func (s SharedLinkType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SharedLinkType) MarshalText

func (s SharedLinkType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SharedLinkType) UnmarshalJSON

func (s *SharedLinkType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SharedLinkType) UnmarshalText

func (s *SharedLinkType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SharedLinkType) Validate

func (s SharedLinkType) Validate() error

type SignUpDto

type SignUpDto struct {
	Email    string `json:"email"`
	Name     string `json:"name"`
	Password string `json:"password"`
}

Ref: #/components/schemas/SignUpDto

func (*SignUpDto) Decode

func (s *SignUpDto) Decode(d *jx.Decoder) error

Decode decodes SignUpDto from json.

func (*SignUpDto) Encode

func (s *SignUpDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SignUpDto) GetEmail

func (s *SignUpDto) GetEmail() string

GetEmail returns the value of Email.

func (*SignUpDto) GetName

func (s *SignUpDto) GetName() string

GetName returns the value of Name.

func (*SignUpDto) GetPassword

func (s *SignUpDto) GetPassword() string

GetPassword returns the value of Password.

func (*SignUpDto) MarshalJSON

func (s *SignUpDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SignUpDto) SetEmail

func (s *SignUpDto) SetEmail(val string)

SetEmail sets the value of Email.

func (*SignUpDto) SetName

func (s *SignUpDto) SetName(val string)

SetName sets the value of Name.

func (*SignUpDto) SetPassword

func (s *SignUpDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*SignUpDto) UnmarshalJSON

func (s *SignUpDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SmartInfoResponseDto

type SmartInfoResponseDto struct {
	Objects OptNilStringArray `json:"objects"`
	Tags    OptNilStringArray `json:"tags"`
}

Ref: #/components/schemas/SmartInfoResponseDto

func (*SmartInfoResponseDto) Decode

func (s *SmartInfoResponseDto) Decode(d *jx.Decoder) error

Decode decodes SmartInfoResponseDto from json.

func (*SmartInfoResponseDto) Encode

func (s *SmartInfoResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SmartInfoResponseDto) GetObjects

func (s *SmartInfoResponseDto) GetObjects() OptNilStringArray

GetObjects returns the value of Objects.

func (*SmartInfoResponseDto) GetTags

GetTags returns the value of Tags.

func (*SmartInfoResponseDto) MarshalJSON

func (s *SmartInfoResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SmartInfoResponseDto) SetObjects

func (s *SmartInfoResponseDto) SetObjects(val OptNilStringArray)

SetObjects sets the value of Objects.

func (*SmartInfoResponseDto) SetTags

func (s *SmartInfoResponseDto) SetTags(val OptNilStringArray)

SetTags sets the value of Tags.

func (*SmartInfoResponseDto) UnmarshalJSON

func (s *SmartInfoResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SmartInfoResponseDto) Validate

func (s *SmartInfoResponseDto) Validate() error

type SmartSearchDto

type SmartSearchDto struct {
	City          OptNilString     `json:"city"`
	Country       OptNilString     `json:"country"`
	CreatedAfter  OptDateTime      `json:"createdAfter"`
	CreatedBefore OptDateTime      `json:"createdBefore"`
	DeviceId      OptString        `json:"deviceId"`
	IsArchived    OptBool          `json:"isArchived"`
	IsEncoded     OptBool          `json:"isEncoded"`
	IsFavorite    OptBool          `json:"isFavorite"`
	IsMotion      OptBool          `json:"isMotion"`
	IsNotInAlbum  OptBool          `json:"isNotInAlbum"`
	IsOffline     OptBool          `json:"isOffline"`
	IsVisible     OptBool          `json:"isVisible"`
	LensModel     OptNilString     `json:"lensModel"`
	LibraryId     OptNilUUID       `json:"libraryId"`
	Make          OptString        `json:"make"`
	Model         OptNilString     `json:"model"`
	Page          OptFloat64       `json:"page"`
	PersonIds     []uuid.UUID      `json:"personIds"`
	Query         string           `json:"query"`
	Size          OptFloat64       `json:"size"`
	State         OptNilString     `json:"state"`
	TakenAfter    OptDateTime      `json:"takenAfter"`
	TakenBefore   OptDateTime      `json:"takenBefore"`
	TrashedAfter  OptDateTime      `json:"trashedAfter"`
	TrashedBefore OptDateTime      `json:"trashedBefore"`
	Type          OptAssetTypeEnum `json:"type"`
	UpdatedAfter  OptDateTime      `json:"updatedAfter"`
	UpdatedBefore OptDateTime      `json:"updatedBefore"`
	WithArchived  OptBool          `json:"withArchived"`
	WithDeleted   OptBool          `json:"withDeleted"`
	WithExif      OptBool          `json:"withExif"`
}

Ref: #/components/schemas/SmartSearchDto

func (*SmartSearchDto) Decode

func (s *SmartSearchDto) Decode(d *jx.Decoder) error

Decode decodes SmartSearchDto from json.

func (*SmartSearchDto) Encode

func (s *SmartSearchDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SmartSearchDto) GetCity

func (s *SmartSearchDto) GetCity() OptNilString

GetCity returns the value of City.

func (*SmartSearchDto) GetCountry

func (s *SmartSearchDto) GetCountry() OptNilString

GetCountry returns the value of Country.

func (*SmartSearchDto) GetCreatedAfter

func (s *SmartSearchDto) GetCreatedAfter() OptDateTime

GetCreatedAfter returns the value of CreatedAfter.

func (*SmartSearchDto) GetCreatedBefore

func (s *SmartSearchDto) GetCreatedBefore() OptDateTime

GetCreatedBefore returns the value of CreatedBefore.

func (*SmartSearchDto) GetDeviceId

func (s *SmartSearchDto) GetDeviceId() OptString

GetDeviceId returns the value of DeviceId.

func (*SmartSearchDto) GetIsArchived

func (s *SmartSearchDto) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*SmartSearchDto) GetIsEncoded

func (s *SmartSearchDto) GetIsEncoded() OptBool

GetIsEncoded returns the value of IsEncoded.

func (*SmartSearchDto) GetIsFavorite

func (s *SmartSearchDto) GetIsFavorite() OptBool

GetIsFavorite returns the value of IsFavorite.

func (*SmartSearchDto) GetIsMotion

func (s *SmartSearchDto) GetIsMotion() OptBool

GetIsMotion returns the value of IsMotion.

func (*SmartSearchDto) GetIsNotInAlbum

func (s *SmartSearchDto) GetIsNotInAlbum() OptBool

GetIsNotInAlbum returns the value of IsNotInAlbum.

func (*SmartSearchDto) GetIsOffline

func (s *SmartSearchDto) GetIsOffline() OptBool

GetIsOffline returns the value of IsOffline.

func (*SmartSearchDto) GetIsVisible

func (s *SmartSearchDto) GetIsVisible() OptBool

GetIsVisible returns the value of IsVisible.

func (*SmartSearchDto) GetLensModel

func (s *SmartSearchDto) GetLensModel() OptNilString

GetLensModel returns the value of LensModel.

func (*SmartSearchDto) GetLibraryId

func (s *SmartSearchDto) GetLibraryId() OptNilUUID

GetLibraryId returns the value of LibraryId.

func (*SmartSearchDto) GetMake

func (s *SmartSearchDto) GetMake() OptString

GetMake returns the value of Make.

func (*SmartSearchDto) GetModel

func (s *SmartSearchDto) GetModel() OptNilString

GetModel returns the value of Model.

func (*SmartSearchDto) GetPage

func (s *SmartSearchDto) GetPage() OptFloat64

GetPage returns the value of Page.

func (*SmartSearchDto) GetPersonIds

func (s *SmartSearchDto) GetPersonIds() []uuid.UUID

GetPersonIds returns the value of PersonIds.

func (*SmartSearchDto) GetQuery

func (s *SmartSearchDto) GetQuery() string

GetQuery returns the value of Query.

func (*SmartSearchDto) GetSize

func (s *SmartSearchDto) GetSize() OptFloat64

GetSize returns the value of Size.

func (*SmartSearchDto) GetState

func (s *SmartSearchDto) GetState() OptNilString

GetState returns the value of State.

func (*SmartSearchDto) GetTakenAfter

func (s *SmartSearchDto) GetTakenAfter() OptDateTime

GetTakenAfter returns the value of TakenAfter.

func (*SmartSearchDto) GetTakenBefore

func (s *SmartSearchDto) GetTakenBefore() OptDateTime

GetTakenBefore returns the value of TakenBefore.

func (*SmartSearchDto) GetTrashedAfter

func (s *SmartSearchDto) GetTrashedAfter() OptDateTime

GetTrashedAfter returns the value of TrashedAfter.

func (*SmartSearchDto) GetTrashedBefore

func (s *SmartSearchDto) GetTrashedBefore() OptDateTime

GetTrashedBefore returns the value of TrashedBefore.

func (*SmartSearchDto) GetType

func (s *SmartSearchDto) GetType() OptAssetTypeEnum

GetType returns the value of Type.

func (*SmartSearchDto) GetUpdatedAfter

func (s *SmartSearchDto) GetUpdatedAfter() OptDateTime

GetUpdatedAfter returns the value of UpdatedAfter.

func (*SmartSearchDto) GetUpdatedBefore

func (s *SmartSearchDto) GetUpdatedBefore() OptDateTime

GetUpdatedBefore returns the value of UpdatedBefore.

func (*SmartSearchDto) GetWithArchived

func (s *SmartSearchDto) GetWithArchived() OptBool

GetWithArchived returns the value of WithArchived.

func (*SmartSearchDto) GetWithDeleted

func (s *SmartSearchDto) GetWithDeleted() OptBool

GetWithDeleted returns the value of WithDeleted.

func (*SmartSearchDto) GetWithExif

func (s *SmartSearchDto) GetWithExif() OptBool

GetWithExif returns the value of WithExif.

func (*SmartSearchDto) MarshalJSON

func (s *SmartSearchDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SmartSearchDto) SetCity

func (s *SmartSearchDto) SetCity(val OptNilString)

SetCity sets the value of City.

func (*SmartSearchDto) SetCountry

func (s *SmartSearchDto) SetCountry(val OptNilString)

SetCountry sets the value of Country.

func (*SmartSearchDto) SetCreatedAfter

func (s *SmartSearchDto) SetCreatedAfter(val OptDateTime)

SetCreatedAfter sets the value of CreatedAfter.

func (*SmartSearchDto) SetCreatedBefore

func (s *SmartSearchDto) SetCreatedBefore(val OptDateTime)

SetCreatedBefore sets the value of CreatedBefore.

func (*SmartSearchDto) SetDeviceId

func (s *SmartSearchDto) SetDeviceId(val OptString)

SetDeviceId sets the value of DeviceId.

func (*SmartSearchDto) SetIsArchived

func (s *SmartSearchDto) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*SmartSearchDto) SetIsEncoded

func (s *SmartSearchDto) SetIsEncoded(val OptBool)

SetIsEncoded sets the value of IsEncoded.

func (*SmartSearchDto) SetIsFavorite

func (s *SmartSearchDto) SetIsFavorite(val OptBool)

SetIsFavorite sets the value of IsFavorite.

func (*SmartSearchDto) SetIsMotion

func (s *SmartSearchDto) SetIsMotion(val OptBool)

SetIsMotion sets the value of IsMotion.

func (*SmartSearchDto) SetIsNotInAlbum

func (s *SmartSearchDto) SetIsNotInAlbum(val OptBool)

SetIsNotInAlbum sets the value of IsNotInAlbum.

func (*SmartSearchDto) SetIsOffline

func (s *SmartSearchDto) SetIsOffline(val OptBool)

SetIsOffline sets the value of IsOffline.

func (*SmartSearchDto) SetIsVisible

func (s *SmartSearchDto) SetIsVisible(val OptBool)

SetIsVisible sets the value of IsVisible.

func (*SmartSearchDto) SetLensModel

func (s *SmartSearchDto) SetLensModel(val OptNilString)

SetLensModel sets the value of LensModel.

func (*SmartSearchDto) SetLibraryId

func (s *SmartSearchDto) SetLibraryId(val OptNilUUID)

SetLibraryId sets the value of LibraryId.

func (*SmartSearchDto) SetMake

func (s *SmartSearchDto) SetMake(val OptString)

SetMake sets the value of Make.

func (*SmartSearchDto) SetModel

func (s *SmartSearchDto) SetModel(val OptNilString)

SetModel sets the value of Model.

func (*SmartSearchDto) SetPage

func (s *SmartSearchDto) SetPage(val OptFloat64)

SetPage sets the value of Page.

func (*SmartSearchDto) SetPersonIds

func (s *SmartSearchDto) SetPersonIds(val []uuid.UUID)

SetPersonIds sets the value of PersonIds.

func (*SmartSearchDto) SetQuery

func (s *SmartSearchDto) SetQuery(val string)

SetQuery sets the value of Query.

func (*SmartSearchDto) SetSize

func (s *SmartSearchDto) SetSize(val OptFloat64)

SetSize sets the value of Size.

func (*SmartSearchDto) SetState

func (s *SmartSearchDto) SetState(val OptNilString)

SetState sets the value of State.

func (*SmartSearchDto) SetTakenAfter

func (s *SmartSearchDto) SetTakenAfter(val OptDateTime)

SetTakenAfter sets the value of TakenAfter.

func (*SmartSearchDto) SetTakenBefore

func (s *SmartSearchDto) SetTakenBefore(val OptDateTime)

SetTakenBefore sets the value of TakenBefore.

func (*SmartSearchDto) SetTrashedAfter

func (s *SmartSearchDto) SetTrashedAfter(val OptDateTime)

SetTrashedAfter sets the value of TrashedAfter.

func (*SmartSearchDto) SetTrashedBefore

func (s *SmartSearchDto) SetTrashedBefore(val OptDateTime)

SetTrashedBefore sets the value of TrashedBefore.

func (*SmartSearchDto) SetType

func (s *SmartSearchDto) SetType(val OptAssetTypeEnum)

SetType sets the value of Type.

func (*SmartSearchDto) SetUpdatedAfter

func (s *SmartSearchDto) SetUpdatedAfter(val OptDateTime)

SetUpdatedAfter sets the value of UpdatedAfter.

func (*SmartSearchDto) SetUpdatedBefore

func (s *SmartSearchDto) SetUpdatedBefore(val OptDateTime)

SetUpdatedBefore sets the value of UpdatedBefore.

func (*SmartSearchDto) SetWithArchived

func (s *SmartSearchDto) SetWithArchived(val OptBool)

SetWithArchived sets the value of WithArchived.

func (*SmartSearchDto) SetWithDeleted

func (s *SmartSearchDto) SetWithDeleted(val OptBool)

SetWithDeleted sets the value of WithDeleted.

func (*SmartSearchDto) SetWithExif

func (s *SmartSearchDto) SetWithExif(val OptBool)

SetWithExif sets the value of WithExif.

func (*SmartSearchDto) UnmarshalJSON

func (s *SmartSearchDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SmartSearchDto) Validate

func (s *SmartSearchDto) Validate() error

type SourceType

type SourceType string

Ref: #/components/schemas/SourceType

const (
	SourceTypeMachineLearning SourceType = "machine-learning"
	SourceTypeExif            SourceType = "exif"
)

func (SourceType) AllValues

func (SourceType) AllValues() []SourceType

AllValues returns all SourceType values.

func (*SourceType) Decode

func (s *SourceType) Decode(d *jx.Decoder) error

Decode decodes SourceType from json.

func (SourceType) Encode

func (s SourceType) Encode(e *jx.Encoder)

Encode encodes SourceType as json.

func (SourceType) MarshalJSON

func (s SourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SourceType) MarshalText

func (s SourceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SourceType) UnmarshalJSON

func (s *SourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SourceType) UnmarshalText

func (s *SourceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SourceType) Validate

func (s SourceType) Validate() error

type StackCreateDto

type StackCreateDto struct {
	// First asset becomes the primary.
	AssetIds []uuid.UUID `json:"assetIds"`
}

Ref: #/components/schemas/StackCreateDto

func (*StackCreateDto) Decode

func (s *StackCreateDto) Decode(d *jx.Decoder) error

Decode decodes StackCreateDto from json.

func (*StackCreateDto) Encode

func (s *StackCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StackCreateDto) GetAssetIds

func (s *StackCreateDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*StackCreateDto) MarshalJSON

func (s *StackCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StackCreateDto) SetAssetIds

func (s *StackCreateDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*StackCreateDto) UnmarshalJSON

func (s *StackCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StackCreateDto) Validate

func (s *StackCreateDto) Validate() error

type StackResponseDto

type StackResponseDto struct {
	Assets         []AssetResponseDto `json:"assets"`
	ID             string             `json:"id"`
	PrimaryAssetId string             `json:"primaryAssetId"`
}

Ref: #/components/schemas/StackResponseDto

func (*StackResponseDto) Decode

func (s *StackResponseDto) Decode(d *jx.Decoder) error

Decode decodes StackResponseDto from json.

func (*StackResponseDto) Encode

func (s *StackResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StackResponseDto) GetAssets

func (s *StackResponseDto) GetAssets() []AssetResponseDto

GetAssets returns the value of Assets.

func (*StackResponseDto) GetID

func (s *StackResponseDto) GetID() string

GetID returns the value of ID.

func (*StackResponseDto) GetPrimaryAssetId

func (s *StackResponseDto) GetPrimaryAssetId() string

GetPrimaryAssetId returns the value of PrimaryAssetId.

func (*StackResponseDto) MarshalJSON

func (s *StackResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StackResponseDto) SetAssets

func (s *StackResponseDto) SetAssets(val []AssetResponseDto)

SetAssets sets the value of Assets.

func (*StackResponseDto) SetID

func (s *StackResponseDto) SetID(val string)

SetID sets the value of ID.

func (*StackResponseDto) SetPrimaryAssetId

func (s *StackResponseDto) SetPrimaryAssetId(val string)

SetPrimaryAssetId sets the value of PrimaryAssetId.

func (*StackResponseDto) UnmarshalJSON

func (s *StackResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*StackResponseDto) Validate

func (s *StackResponseDto) Validate() error

type StackUpdateDto

type StackUpdateDto struct {
	PrimaryAssetId OptUUID `json:"primaryAssetId"`
}

Ref: #/components/schemas/StackUpdateDto

func (*StackUpdateDto) Decode

func (s *StackUpdateDto) Decode(d *jx.Decoder) error

Decode decodes StackUpdateDto from json.

func (*StackUpdateDto) Encode

func (s *StackUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StackUpdateDto) GetPrimaryAssetId

func (s *StackUpdateDto) GetPrimaryAssetId() OptUUID

GetPrimaryAssetId returns the value of PrimaryAssetId.

func (*StackUpdateDto) MarshalJSON

func (s *StackUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StackUpdateDto) SetPrimaryAssetId

func (s *StackUpdateDto) SetPrimaryAssetId(val OptUUID)

SetPrimaryAssetId sets the value of PrimaryAssetId.

func (*StackUpdateDto) UnmarshalJSON

func (s *StackUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigBackupsDto

type SystemConfigBackupsDto struct {
	Database DatabaseBackupConfig `json:"database"`
}

Ref: #/components/schemas/SystemConfigBackupsDto

func (*SystemConfigBackupsDto) Decode

func (s *SystemConfigBackupsDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigBackupsDto from json.

func (*SystemConfigBackupsDto) Encode

func (s *SystemConfigBackupsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigBackupsDto) GetDatabase

GetDatabase returns the value of Database.

func (*SystemConfigBackupsDto) MarshalJSON

func (s *SystemConfigBackupsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigBackupsDto) SetDatabase

func (s *SystemConfigBackupsDto) SetDatabase(val DatabaseBackupConfig)

SetDatabase sets the value of Database.

func (*SystemConfigBackupsDto) UnmarshalJSON

func (s *SystemConfigBackupsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigBackupsDto) Validate

func (s *SystemConfigBackupsDto) Validate() error

type SystemConfigDto

type SystemConfigDto struct {
	Backup           SystemConfigBackupsDto          `json:"backup"`
	Ffmpeg           SystemConfigFFmpegDto           `json:"ffmpeg"`
	Image            SystemConfigImageDto            `json:"image"`
	Job              SystemConfigJobDto              `json:"job"`
	Library          SystemConfigLibraryDto          `json:"library"`
	Logging          SystemConfigLoggingDto          `json:"logging"`
	MachineLearning  SystemConfigMachineLearningDto  `json:"machineLearning"`
	Map              SystemConfigMapDto              `json:"map"`
	Metadata         SystemConfigMetadataDto         `json:"metadata"`
	NewVersionCheck  SystemConfigNewVersionCheckDto  `json:"newVersionCheck"`
	Notifications    SystemConfigNotificationsDto    `json:"notifications"`
	OAuth            SystemConfigOAuthDto            `json:"oauth"`
	PasswordLogin    SystemConfigPasswordLoginDto    `json:"passwordLogin"`
	ReverseGeocoding SystemConfigReverseGeocodingDto `json:"reverseGeocoding"`
	Server           SystemConfigServerDto           `json:"server"`
	StorageTemplate  SystemConfigStorageTemplateDto  `json:"storageTemplate"`
	Theme            SystemConfigThemeDto            `json:"theme"`
	Trash            SystemConfigTrashDto            `json:"trash"`
	User             SystemConfigUserDto             `json:"user"`
}

Ref: #/components/schemas/SystemConfigDto

func (*SystemConfigDto) Decode

func (s *SystemConfigDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigDto from json.

func (*SystemConfigDto) Encode

func (s *SystemConfigDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigDto) GetBackup

func (s *SystemConfigDto) GetBackup() SystemConfigBackupsDto

GetBackup returns the value of Backup.

func (*SystemConfigDto) GetFfmpeg

func (s *SystemConfigDto) GetFfmpeg() SystemConfigFFmpegDto

GetFfmpeg returns the value of Ffmpeg.

func (*SystemConfigDto) GetImage

func (s *SystemConfigDto) GetImage() SystemConfigImageDto

GetImage returns the value of Image.

func (*SystemConfigDto) GetJob

func (s *SystemConfigDto) GetJob() SystemConfigJobDto

GetJob returns the value of Job.

func (*SystemConfigDto) GetLibrary

func (s *SystemConfigDto) GetLibrary() SystemConfigLibraryDto

GetLibrary returns the value of Library.

func (*SystemConfigDto) GetLogging

func (s *SystemConfigDto) GetLogging() SystemConfigLoggingDto

GetLogging returns the value of Logging.

func (*SystemConfigDto) GetMachineLearning

func (s *SystemConfigDto) GetMachineLearning() SystemConfigMachineLearningDto

GetMachineLearning returns the value of MachineLearning.

func (*SystemConfigDto) GetMap

func (s *SystemConfigDto) GetMap() SystemConfigMapDto

GetMap returns the value of Map.

func (*SystemConfigDto) GetMetadata

func (s *SystemConfigDto) GetMetadata() SystemConfigMetadataDto

GetMetadata returns the value of Metadata.

func (*SystemConfigDto) GetNewVersionCheck

func (s *SystemConfigDto) GetNewVersionCheck() SystemConfigNewVersionCheckDto

GetNewVersionCheck returns the value of NewVersionCheck.

func (*SystemConfigDto) GetNotifications

func (s *SystemConfigDto) GetNotifications() SystemConfigNotificationsDto

GetNotifications returns the value of Notifications.

func (*SystemConfigDto) GetOAuth

func (s *SystemConfigDto) GetOAuth() SystemConfigOAuthDto

GetOAuth returns the value of OAuth.

func (*SystemConfigDto) GetPasswordLogin

func (s *SystemConfigDto) GetPasswordLogin() SystemConfigPasswordLoginDto

GetPasswordLogin returns the value of PasswordLogin.

func (*SystemConfigDto) GetReverseGeocoding

func (s *SystemConfigDto) GetReverseGeocoding() SystemConfigReverseGeocodingDto

GetReverseGeocoding returns the value of ReverseGeocoding.

func (*SystemConfigDto) GetServer

func (s *SystemConfigDto) GetServer() SystemConfigServerDto

GetServer returns the value of Server.

func (*SystemConfigDto) GetStorageTemplate

func (s *SystemConfigDto) GetStorageTemplate() SystemConfigStorageTemplateDto

GetStorageTemplate returns the value of StorageTemplate.

func (*SystemConfigDto) GetTheme

func (s *SystemConfigDto) GetTheme() SystemConfigThemeDto

GetTheme returns the value of Theme.

func (*SystemConfigDto) GetTrash

func (s *SystemConfigDto) GetTrash() SystemConfigTrashDto

GetTrash returns the value of Trash.

func (*SystemConfigDto) GetUser

func (s *SystemConfigDto) GetUser() SystemConfigUserDto

GetUser returns the value of User.

func (*SystemConfigDto) MarshalJSON

func (s *SystemConfigDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigDto) SetBackup

func (s *SystemConfigDto) SetBackup(val SystemConfigBackupsDto)

SetBackup sets the value of Backup.

func (*SystemConfigDto) SetFfmpeg

func (s *SystemConfigDto) SetFfmpeg(val SystemConfigFFmpegDto)

SetFfmpeg sets the value of Ffmpeg.

func (*SystemConfigDto) SetImage

func (s *SystemConfigDto) SetImage(val SystemConfigImageDto)

SetImage sets the value of Image.

func (*SystemConfigDto) SetJob

func (s *SystemConfigDto) SetJob(val SystemConfigJobDto)

SetJob sets the value of Job.

func (*SystemConfigDto) SetLibrary

func (s *SystemConfigDto) SetLibrary(val SystemConfigLibraryDto)

SetLibrary sets the value of Library.

func (*SystemConfigDto) SetLogging

func (s *SystemConfigDto) SetLogging(val SystemConfigLoggingDto)

SetLogging sets the value of Logging.

func (*SystemConfigDto) SetMachineLearning

func (s *SystemConfigDto) SetMachineLearning(val SystemConfigMachineLearningDto)

SetMachineLearning sets the value of MachineLearning.

func (*SystemConfigDto) SetMap

func (s *SystemConfigDto) SetMap(val SystemConfigMapDto)

SetMap sets the value of Map.

func (*SystemConfigDto) SetMetadata

func (s *SystemConfigDto) SetMetadata(val SystemConfigMetadataDto)

SetMetadata sets the value of Metadata.

func (*SystemConfigDto) SetNewVersionCheck

func (s *SystemConfigDto) SetNewVersionCheck(val SystemConfigNewVersionCheckDto)

SetNewVersionCheck sets the value of NewVersionCheck.

func (*SystemConfigDto) SetNotifications

func (s *SystemConfigDto) SetNotifications(val SystemConfigNotificationsDto)

SetNotifications sets the value of Notifications.

func (*SystemConfigDto) SetOAuth

func (s *SystemConfigDto) SetOAuth(val SystemConfigOAuthDto)

SetOAuth sets the value of OAuth.

func (*SystemConfigDto) SetPasswordLogin

func (s *SystemConfigDto) SetPasswordLogin(val SystemConfigPasswordLoginDto)

SetPasswordLogin sets the value of PasswordLogin.

func (*SystemConfigDto) SetReverseGeocoding

func (s *SystemConfigDto) SetReverseGeocoding(val SystemConfigReverseGeocodingDto)

SetReverseGeocoding sets the value of ReverseGeocoding.

func (*SystemConfigDto) SetServer

func (s *SystemConfigDto) SetServer(val SystemConfigServerDto)

SetServer sets the value of Server.

func (*SystemConfigDto) SetStorageTemplate

func (s *SystemConfigDto) SetStorageTemplate(val SystemConfigStorageTemplateDto)

SetStorageTemplate sets the value of StorageTemplate.

func (*SystemConfigDto) SetTheme

func (s *SystemConfigDto) SetTheme(val SystemConfigThemeDto)

SetTheme sets the value of Theme.

func (*SystemConfigDto) SetTrash

func (s *SystemConfigDto) SetTrash(val SystemConfigTrashDto)

SetTrash sets the value of Trash.

func (*SystemConfigDto) SetUser

func (s *SystemConfigDto) SetUser(val SystemConfigUserDto)

SetUser sets the value of User.

func (*SystemConfigDto) UnmarshalJSON

func (s *SystemConfigDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigDto) Validate

func (s *SystemConfigDto) Validate() error

type SystemConfigFFmpegDto

type SystemConfigFFmpegDto struct {
	Accel               TranscodeHWAccel `json:"accel"`
	AccelDecode         bool             `json:"accelDecode"`
	AcceptedAudioCodecs []AudioCodec     `json:"acceptedAudioCodecs"`
	AcceptedContainers  []VideoContainer `json:"acceptedContainers"`
	AcceptedVideoCodecs []VideoCodec     `json:"acceptedVideoCodecs"`
	Bframes             int              `json:"bframes"`
	CqMode              CQMode           `json:"cqMode"`
	Crf                 int              `json:"crf"`
	GopSize             int              `json:"gopSize"`
	MaxBitrate          string           `json:"maxBitrate"`
	PreferredHwDevice   string           `json:"preferredHwDevice"`
	Preset              string           `json:"preset"`
	Refs                int              `json:"refs"`
	TargetAudioCodec    AudioCodec       `json:"targetAudioCodec"`
	TargetResolution    string           `json:"targetResolution"`
	TargetVideoCodec    VideoCodec       `json:"targetVideoCodec"`
	TemporalAQ          bool             `json:"temporalAQ"`
	Threads             int              `json:"threads"`
	Tonemap             ToneMapping      `json:"tonemap"`
	Transcode           TranscodePolicy  `json:"transcode"`
	TwoPass             bool             `json:"twoPass"`
}

Ref: #/components/schemas/SystemConfigFFmpegDto

func (*SystemConfigFFmpegDto) Decode

func (s *SystemConfigFFmpegDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigFFmpegDto from json.

func (*SystemConfigFFmpegDto) Encode

func (s *SystemConfigFFmpegDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigFFmpegDto) GetAccel

GetAccel returns the value of Accel.

func (*SystemConfigFFmpegDto) GetAccelDecode

func (s *SystemConfigFFmpegDto) GetAccelDecode() bool

GetAccelDecode returns the value of AccelDecode.

func (*SystemConfigFFmpegDto) GetAcceptedAudioCodecs

func (s *SystemConfigFFmpegDto) GetAcceptedAudioCodecs() []AudioCodec

GetAcceptedAudioCodecs returns the value of AcceptedAudioCodecs.

func (*SystemConfigFFmpegDto) GetAcceptedContainers

func (s *SystemConfigFFmpegDto) GetAcceptedContainers() []VideoContainer

GetAcceptedContainers returns the value of AcceptedContainers.

func (*SystemConfigFFmpegDto) GetAcceptedVideoCodecs

func (s *SystemConfigFFmpegDto) GetAcceptedVideoCodecs() []VideoCodec

GetAcceptedVideoCodecs returns the value of AcceptedVideoCodecs.

func (*SystemConfigFFmpegDto) GetBframes

func (s *SystemConfigFFmpegDto) GetBframes() int

GetBframes returns the value of Bframes.

func (*SystemConfigFFmpegDto) GetCqMode

func (s *SystemConfigFFmpegDto) GetCqMode() CQMode

GetCqMode returns the value of CqMode.

func (*SystemConfigFFmpegDto) GetCrf

func (s *SystemConfigFFmpegDto) GetCrf() int

GetCrf returns the value of Crf.

func (*SystemConfigFFmpegDto) GetGopSize

func (s *SystemConfigFFmpegDto) GetGopSize() int

GetGopSize returns the value of GopSize.

func (*SystemConfigFFmpegDto) GetMaxBitrate

func (s *SystemConfigFFmpegDto) GetMaxBitrate() string

GetMaxBitrate returns the value of MaxBitrate.

func (*SystemConfigFFmpegDto) GetPreferredHwDevice

func (s *SystemConfigFFmpegDto) GetPreferredHwDevice() string

GetPreferredHwDevice returns the value of PreferredHwDevice.

func (*SystemConfigFFmpegDto) GetPreset

func (s *SystemConfigFFmpegDto) GetPreset() string

GetPreset returns the value of Preset.

func (*SystemConfigFFmpegDto) GetRefs

func (s *SystemConfigFFmpegDto) GetRefs() int

GetRefs returns the value of Refs.

func (*SystemConfigFFmpegDto) GetTargetAudioCodec

func (s *SystemConfigFFmpegDto) GetTargetAudioCodec() AudioCodec

GetTargetAudioCodec returns the value of TargetAudioCodec.

func (*SystemConfigFFmpegDto) GetTargetResolution

func (s *SystemConfigFFmpegDto) GetTargetResolution() string

GetTargetResolution returns the value of TargetResolution.

func (*SystemConfigFFmpegDto) GetTargetVideoCodec

func (s *SystemConfigFFmpegDto) GetTargetVideoCodec() VideoCodec

GetTargetVideoCodec returns the value of TargetVideoCodec.

func (*SystemConfigFFmpegDto) GetTemporalAQ

func (s *SystemConfigFFmpegDto) GetTemporalAQ() bool

GetTemporalAQ returns the value of TemporalAQ.

func (*SystemConfigFFmpegDto) GetThreads

func (s *SystemConfigFFmpegDto) GetThreads() int

GetThreads returns the value of Threads.

func (*SystemConfigFFmpegDto) GetTonemap

func (s *SystemConfigFFmpegDto) GetTonemap() ToneMapping

GetTonemap returns the value of Tonemap.

func (*SystemConfigFFmpegDto) GetTranscode

func (s *SystemConfigFFmpegDto) GetTranscode() TranscodePolicy

GetTranscode returns the value of Transcode.

func (*SystemConfigFFmpegDto) GetTwoPass

func (s *SystemConfigFFmpegDto) GetTwoPass() bool

GetTwoPass returns the value of TwoPass.

func (*SystemConfigFFmpegDto) MarshalJSON

func (s *SystemConfigFFmpegDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigFFmpegDto) SetAccel

func (s *SystemConfigFFmpegDto) SetAccel(val TranscodeHWAccel)

SetAccel sets the value of Accel.

func (*SystemConfigFFmpegDto) SetAccelDecode

func (s *SystemConfigFFmpegDto) SetAccelDecode(val bool)

SetAccelDecode sets the value of AccelDecode.

func (*SystemConfigFFmpegDto) SetAcceptedAudioCodecs

func (s *SystemConfigFFmpegDto) SetAcceptedAudioCodecs(val []AudioCodec)

SetAcceptedAudioCodecs sets the value of AcceptedAudioCodecs.

func (*SystemConfigFFmpegDto) SetAcceptedContainers

func (s *SystemConfigFFmpegDto) SetAcceptedContainers(val []VideoContainer)

SetAcceptedContainers sets the value of AcceptedContainers.

func (*SystemConfigFFmpegDto) SetAcceptedVideoCodecs

func (s *SystemConfigFFmpegDto) SetAcceptedVideoCodecs(val []VideoCodec)

SetAcceptedVideoCodecs sets the value of AcceptedVideoCodecs.

func (*SystemConfigFFmpegDto) SetBframes

func (s *SystemConfigFFmpegDto) SetBframes(val int)

SetBframes sets the value of Bframes.

func (*SystemConfigFFmpegDto) SetCqMode

func (s *SystemConfigFFmpegDto) SetCqMode(val CQMode)

SetCqMode sets the value of CqMode.

func (*SystemConfigFFmpegDto) SetCrf

func (s *SystemConfigFFmpegDto) SetCrf(val int)

SetCrf sets the value of Crf.

func (*SystemConfigFFmpegDto) SetGopSize

func (s *SystemConfigFFmpegDto) SetGopSize(val int)

SetGopSize sets the value of GopSize.

func (*SystemConfigFFmpegDto) SetMaxBitrate

func (s *SystemConfigFFmpegDto) SetMaxBitrate(val string)

SetMaxBitrate sets the value of MaxBitrate.

func (*SystemConfigFFmpegDto) SetPreferredHwDevice

func (s *SystemConfigFFmpegDto) SetPreferredHwDevice(val string)

SetPreferredHwDevice sets the value of PreferredHwDevice.

func (*SystemConfigFFmpegDto) SetPreset

func (s *SystemConfigFFmpegDto) SetPreset(val string)

SetPreset sets the value of Preset.

func (*SystemConfigFFmpegDto) SetRefs

func (s *SystemConfigFFmpegDto) SetRefs(val int)

SetRefs sets the value of Refs.

func (*SystemConfigFFmpegDto) SetTargetAudioCodec

func (s *SystemConfigFFmpegDto) SetTargetAudioCodec(val AudioCodec)

SetTargetAudioCodec sets the value of TargetAudioCodec.

func (*SystemConfigFFmpegDto) SetTargetResolution

func (s *SystemConfigFFmpegDto) SetTargetResolution(val string)

SetTargetResolution sets the value of TargetResolution.

func (*SystemConfigFFmpegDto) SetTargetVideoCodec

func (s *SystemConfigFFmpegDto) SetTargetVideoCodec(val VideoCodec)

SetTargetVideoCodec sets the value of TargetVideoCodec.

func (*SystemConfigFFmpegDto) SetTemporalAQ

func (s *SystemConfigFFmpegDto) SetTemporalAQ(val bool)

SetTemporalAQ sets the value of TemporalAQ.

func (*SystemConfigFFmpegDto) SetThreads

func (s *SystemConfigFFmpegDto) SetThreads(val int)

SetThreads sets the value of Threads.

func (*SystemConfigFFmpegDto) SetTonemap

func (s *SystemConfigFFmpegDto) SetTonemap(val ToneMapping)

SetTonemap sets the value of Tonemap.

func (*SystemConfigFFmpegDto) SetTranscode

func (s *SystemConfigFFmpegDto) SetTranscode(val TranscodePolicy)

SetTranscode sets the value of Transcode.

func (*SystemConfigFFmpegDto) SetTwoPass

func (s *SystemConfigFFmpegDto) SetTwoPass(val bool)

SetTwoPass sets the value of TwoPass.

func (*SystemConfigFFmpegDto) UnmarshalJSON

func (s *SystemConfigFFmpegDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigFFmpegDto) Validate

func (s *SystemConfigFFmpegDto) Validate() error

type SystemConfigFacesDto

type SystemConfigFacesDto struct {
	Import bool `json:"import"`
}

Ref: #/components/schemas/SystemConfigFacesDto

func (*SystemConfigFacesDto) Decode

func (s *SystemConfigFacesDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigFacesDto from json.

func (*SystemConfigFacesDto) Encode

func (s *SystemConfigFacesDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigFacesDto) GetImport

func (s *SystemConfigFacesDto) GetImport() bool

GetImport returns the value of Import.

func (*SystemConfigFacesDto) MarshalJSON

func (s *SystemConfigFacesDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigFacesDto) SetImport

func (s *SystemConfigFacesDto) SetImport(val bool)

SetImport sets the value of Import.

func (*SystemConfigFacesDto) UnmarshalJSON

func (s *SystemConfigFacesDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigGeneratedImageDto

type SystemConfigGeneratedImageDto struct {
	Format  ImageFormat `json:"format"`
	Quality int         `json:"quality"`
	Size    int         `json:"size"`
}

Ref: #/components/schemas/SystemConfigGeneratedImageDto

func (*SystemConfigGeneratedImageDto) Decode

Decode decodes SystemConfigGeneratedImageDto from json.

func (*SystemConfigGeneratedImageDto) Encode

Encode implements json.Marshaler.

func (*SystemConfigGeneratedImageDto) GetFormat

GetFormat returns the value of Format.

func (*SystemConfigGeneratedImageDto) GetQuality

func (s *SystemConfigGeneratedImageDto) GetQuality() int

GetQuality returns the value of Quality.

func (*SystemConfigGeneratedImageDto) GetSize

func (s *SystemConfigGeneratedImageDto) GetSize() int

GetSize returns the value of Size.

func (*SystemConfigGeneratedImageDto) MarshalJSON

func (s *SystemConfigGeneratedImageDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigGeneratedImageDto) SetFormat

func (s *SystemConfigGeneratedImageDto) SetFormat(val ImageFormat)

SetFormat sets the value of Format.

func (*SystemConfigGeneratedImageDto) SetQuality

func (s *SystemConfigGeneratedImageDto) SetQuality(val int)

SetQuality sets the value of Quality.

func (*SystemConfigGeneratedImageDto) SetSize

func (s *SystemConfigGeneratedImageDto) SetSize(val int)

SetSize sets the value of Size.

func (*SystemConfigGeneratedImageDto) UnmarshalJSON

func (s *SystemConfigGeneratedImageDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigGeneratedImageDto) Validate

func (s *SystemConfigGeneratedImageDto) Validate() error

type SystemConfigImageDto

type SystemConfigImageDto struct {
	Colorspace      Colorspace                    `json:"colorspace"`
	ExtractEmbedded bool                          `json:"extractEmbedded"`
	Preview         SystemConfigGeneratedImageDto `json:"preview"`
	Thumbnail       SystemConfigGeneratedImageDto `json:"thumbnail"`
}

Ref: #/components/schemas/SystemConfigImageDto

func (*SystemConfigImageDto) Decode

func (s *SystemConfigImageDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigImageDto from json.

func (*SystemConfigImageDto) Encode

func (s *SystemConfigImageDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigImageDto) GetColorspace

func (s *SystemConfigImageDto) GetColorspace() Colorspace

GetColorspace returns the value of Colorspace.

func (*SystemConfigImageDto) GetExtractEmbedded

func (s *SystemConfigImageDto) GetExtractEmbedded() bool

GetExtractEmbedded returns the value of ExtractEmbedded.

func (*SystemConfigImageDto) GetPreview

GetPreview returns the value of Preview.

func (*SystemConfigImageDto) GetThumbnail

GetThumbnail returns the value of Thumbnail.

func (*SystemConfigImageDto) MarshalJSON

func (s *SystemConfigImageDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigImageDto) SetColorspace

func (s *SystemConfigImageDto) SetColorspace(val Colorspace)

SetColorspace sets the value of Colorspace.

func (*SystemConfigImageDto) SetExtractEmbedded

func (s *SystemConfigImageDto) SetExtractEmbedded(val bool)

SetExtractEmbedded sets the value of ExtractEmbedded.

func (*SystemConfigImageDto) SetPreview

SetPreview sets the value of Preview.

func (*SystemConfigImageDto) SetThumbnail

SetThumbnail sets the value of Thumbnail.

func (*SystemConfigImageDto) UnmarshalJSON

func (s *SystemConfigImageDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigImageDto) Validate

func (s *SystemConfigImageDto) Validate() error

type SystemConfigJobDto

type SystemConfigJobDto struct {
	BackgroundTask      JobSettingsDto `json:"backgroundTask"`
	FaceDetection       JobSettingsDto `json:"faceDetection"`
	Library             JobSettingsDto `json:"library"`
	MetadataExtraction  JobSettingsDto `json:"metadataExtraction"`
	Migration           JobSettingsDto `json:"migration"`
	Notifications       JobSettingsDto `json:"notifications"`
	Search              JobSettingsDto `json:"search"`
	Sidecar             JobSettingsDto `json:"sidecar"`
	SmartSearch         JobSettingsDto `json:"smartSearch"`
	ThumbnailGeneration JobSettingsDto `json:"thumbnailGeneration"`
	VideoConversion     JobSettingsDto `json:"videoConversion"`
}

Ref: #/components/schemas/SystemConfigJobDto

func (*SystemConfigJobDto) Decode

func (s *SystemConfigJobDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigJobDto from json.

func (*SystemConfigJobDto) Encode

func (s *SystemConfigJobDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigJobDto) GetBackgroundTask

func (s *SystemConfigJobDto) GetBackgroundTask() JobSettingsDto

GetBackgroundTask returns the value of BackgroundTask.

func (*SystemConfigJobDto) GetFaceDetection

func (s *SystemConfigJobDto) GetFaceDetection() JobSettingsDto

GetFaceDetection returns the value of FaceDetection.

func (*SystemConfigJobDto) GetLibrary

func (s *SystemConfigJobDto) GetLibrary() JobSettingsDto

GetLibrary returns the value of Library.

func (*SystemConfigJobDto) GetMetadataExtraction

func (s *SystemConfigJobDto) GetMetadataExtraction() JobSettingsDto

GetMetadataExtraction returns the value of MetadataExtraction.

func (*SystemConfigJobDto) GetMigration

func (s *SystemConfigJobDto) GetMigration() JobSettingsDto

GetMigration returns the value of Migration.

func (*SystemConfigJobDto) GetNotifications

func (s *SystemConfigJobDto) GetNotifications() JobSettingsDto

GetNotifications returns the value of Notifications.

func (*SystemConfigJobDto) GetSearch

func (s *SystemConfigJobDto) GetSearch() JobSettingsDto

GetSearch returns the value of Search.

func (*SystemConfigJobDto) GetSidecar

func (s *SystemConfigJobDto) GetSidecar() JobSettingsDto

GetSidecar returns the value of Sidecar.

func (*SystemConfigJobDto) GetSmartSearch

func (s *SystemConfigJobDto) GetSmartSearch() JobSettingsDto

GetSmartSearch returns the value of SmartSearch.

func (*SystemConfigJobDto) GetThumbnailGeneration

func (s *SystemConfigJobDto) GetThumbnailGeneration() JobSettingsDto

GetThumbnailGeneration returns the value of ThumbnailGeneration.

func (*SystemConfigJobDto) GetVideoConversion

func (s *SystemConfigJobDto) GetVideoConversion() JobSettingsDto

GetVideoConversion returns the value of VideoConversion.

func (*SystemConfigJobDto) MarshalJSON

func (s *SystemConfigJobDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigJobDto) SetBackgroundTask

func (s *SystemConfigJobDto) SetBackgroundTask(val JobSettingsDto)

SetBackgroundTask sets the value of BackgroundTask.

func (*SystemConfigJobDto) SetFaceDetection

func (s *SystemConfigJobDto) SetFaceDetection(val JobSettingsDto)

SetFaceDetection sets the value of FaceDetection.

func (*SystemConfigJobDto) SetLibrary

func (s *SystemConfigJobDto) SetLibrary(val JobSettingsDto)

SetLibrary sets the value of Library.

func (*SystemConfigJobDto) SetMetadataExtraction

func (s *SystemConfigJobDto) SetMetadataExtraction(val JobSettingsDto)

SetMetadataExtraction sets the value of MetadataExtraction.

func (*SystemConfigJobDto) SetMigration

func (s *SystemConfigJobDto) SetMigration(val JobSettingsDto)

SetMigration sets the value of Migration.

func (*SystemConfigJobDto) SetNotifications

func (s *SystemConfigJobDto) SetNotifications(val JobSettingsDto)

SetNotifications sets the value of Notifications.

func (*SystemConfigJobDto) SetSearch

func (s *SystemConfigJobDto) SetSearch(val JobSettingsDto)

SetSearch sets the value of Search.

func (*SystemConfigJobDto) SetSidecar

func (s *SystemConfigJobDto) SetSidecar(val JobSettingsDto)

SetSidecar sets the value of Sidecar.

func (*SystemConfigJobDto) SetSmartSearch

func (s *SystemConfigJobDto) SetSmartSearch(val JobSettingsDto)

SetSmartSearch sets the value of SmartSearch.

func (*SystemConfigJobDto) SetThumbnailGeneration

func (s *SystemConfigJobDto) SetThumbnailGeneration(val JobSettingsDto)

SetThumbnailGeneration sets the value of ThumbnailGeneration.

func (*SystemConfigJobDto) SetVideoConversion

func (s *SystemConfigJobDto) SetVideoConversion(val JobSettingsDto)

SetVideoConversion sets the value of VideoConversion.

func (*SystemConfigJobDto) UnmarshalJSON

func (s *SystemConfigJobDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigJobDto) Validate

func (s *SystemConfigJobDto) Validate() error

type SystemConfigLibraryDto

type SystemConfigLibraryDto struct {
	Scan  SystemConfigLibraryScanDto  `json:"scan"`
	Watch SystemConfigLibraryWatchDto `json:"watch"`
}

Ref: #/components/schemas/SystemConfigLibraryDto

func (*SystemConfigLibraryDto) Decode

func (s *SystemConfigLibraryDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigLibraryDto from json.

func (*SystemConfigLibraryDto) Encode

func (s *SystemConfigLibraryDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigLibraryDto) GetScan

GetScan returns the value of Scan.

func (*SystemConfigLibraryDto) GetWatch

GetWatch returns the value of Watch.

func (*SystemConfigLibraryDto) MarshalJSON

func (s *SystemConfigLibraryDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigLibraryDto) SetScan

SetScan sets the value of Scan.

func (*SystemConfigLibraryDto) SetWatch

SetWatch sets the value of Watch.

func (*SystemConfigLibraryDto) UnmarshalJSON

func (s *SystemConfigLibraryDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigLibraryScanDto

type SystemConfigLibraryScanDto struct {
	CronExpression string `json:"cronExpression"`
	Enabled        bool   `json:"enabled"`
}

Ref: #/components/schemas/SystemConfigLibraryScanDto

func (*SystemConfigLibraryScanDto) Decode

Decode decodes SystemConfigLibraryScanDto from json.

func (*SystemConfigLibraryScanDto) Encode

func (s *SystemConfigLibraryScanDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigLibraryScanDto) GetCronExpression

func (s *SystemConfigLibraryScanDto) GetCronExpression() string

GetCronExpression returns the value of CronExpression.

func (*SystemConfigLibraryScanDto) GetEnabled

func (s *SystemConfigLibraryScanDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigLibraryScanDto) MarshalJSON

func (s *SystemConfigLibraryScanDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigLibraryScanDto) SetCronExpression

func (s *SystemConfigLibraryScanDto) SetCronExpression(val string)

SetCronExpression sets the value of CronExpression.

func (*SystemConfigLibraryScanDto) SetEnabled

func (s *SystemConfigLibraryScanDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigLibraryScanDto) UnmarshalJSON

func (s *SystemConfigLibraryScanDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigLibraryWatchDto

type SystemConfigLibraryWatchDto struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/SystemConfigLibraryWatchDto

func (*SystemConfigLibraryWatchDto) Decode

Decode decodes SystemConfigLibraryWatchDto from json.

func (*SystemConfigLibraryWatchDto) Encode

func (s *SystemConfigLibraryWatchDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigLibraryWatchDto) GetEnabled

func (s *SystemConfigLibraryWatchDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigLibraryWatchDto) MarshalJSON

func (s *SystemConfigLibraryWatchDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigLibraryWatchDto) SetEnabled

func (s *SystemConfigLibraryWatchDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigLibraryWatchDto) UnmarshalJSON

func (s *SystemConfigLibraryWatchDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigLoggingDto

type SystemConfigLoggingDto struct {
	Enabled bool     `json:"enabled"`
	Level   LogLevel `json:"level"`
}

Ref: #/components/schemas/SystemConfigLoggingDto

func (*SystemConfigLoggingDto) Decode

func (s *SystemConfigLoggingDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigLoggingDto from json.

func (*SystemConfigLoggingDto) Encode

func (s *SystemConfigLoggingDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigLoggingDto) GetEnabled

func (s *SystemConfigLoggingDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigLoggingDto) GetLevel

func (s *SystemConfigLoggingDto) GetLevel() LogLevel

GetLevel returns the value of Level.

func (*SystemConfigLoggingDto) MarshalJSON

func (s *SystemConfigLoggingDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigLoggingDto) SetEnabled

func (s *SystemConfigLoggingDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigLoggingDto) SetLevel

func (s *SystemConfigLoggingDto) SetLevel(val LogLevel)

SetLevel sets the value of Level.

func (*SystemConfigLoggingDto) UnmarshalJSON

func (s *SystemConfigLoggingDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigLoggingDto) Validate

func (s *SystemConfigLoggingDto) Validate() error

type SystemConfigMachineLearningDto

type SystemConfigMachineLearningDto struct {
	Clip               CLIPConfig               `json:"clip"`
	DuplicateDetection DuplicateDetectionConfig `json:"duplicateDetection"`
	Enabled            bool                     `json:"enabled"`
	FacialRecognition  FacialRecognitionConfig  `json:"facialRecognition"`
	URL                string                   `json:"url"`
}

Ref: #/components/schemas/SystemConfigMachineLearningDto

func (*SystemConfigMachineLearningDto) Decode

Decode decodes SystemConfigMachineLearningDto from json.

func (*SystemConfigMachineLearningDto) Encode

Encode implements json.Marshaler.

func (*SystemConfigMachineLearningDto) GetClip

GetClip returns the value of Clip.

func (*SystemConfigMachineLearningDto) GetDuplicateDetection

func (s *SystemConfigMachineLearningDto) GetDuplicateDetection() DuplicateDetectionConfig

GetDuplicateDetection returns the value of DuplicateDetection.

func (*SystemConfigMachineLearningDto) GetEnabled

func (s *SystemConfigMachineLearningDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigMachineLearningDto) GetFacialRecognition

func (s *SystemConfigMachineLearningDto) GetFacialRecognition() FacialRecognitionConfig

GetFacialRecognition returns the value of FacialRecognition.

func (*SystemConfigMachineLearningDto) GetURL

GetURL returns the value of URL.

func (*SystemConfigMachineLearningDto) MarshalJSON

func (s *SystemConfigMachineLearningDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigMachineLearningDto) SetClip

SetClip sets the value of Clip.

func (*SystemConfigMachineLearningDto) SetDuplicateDetection

func (s *SystemConfigMachineLearningDto) SetDuplicateDetection(val DuplicateDetectionConfig)

SetDuplicateDetection sets the value of DuplicateDetection.

func (*SystemConfigMachineLearningDto) SetEnabled

func (s *SystemConfigMachineLearningDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigMachineLearningDto) SetFacialRecognition

func (s *SystemConfigMachineLearningDto) SetFacialRecognition(val FacialRecognitionConfig)

SetFacialRecognition sets the value of FacialRecognition.

func (*SystemConfigMachineLearningDto) SetURL

func (s *SystemConfigMachineLearningDto) SetURL(val string)

SetURL sets the value of URL.

func (*SystemConfigMachineLearningDto) UnmarshalJSON

func (s *SystemConfigMachineLearningDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigMachineLearningDto) Validate

func (s *SystemConfigMachineLearningDto) Validate() error

type SystemConfigMapDto

type SystemConfigMapDto struct {
	DarkStyle  string `json:"darkStyle"`
	Enabled    bool   `json:"enabled"`
	LightStyle string `json:"lightStyle"`
}

Ref: #/components/schemas/SystemConfigMapDto

func (*SystemConfigMapDto) Decode

func (s *SystemConfigMapDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigMapDto from json.

func (*SystemConfigMapDto) Encode

func (s *SystemConfigMapDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigMapDto) GetDarkStyle

func (s *SystemConfigMapDto) GetDarkStyle() string

GetDarkStyle returns the value of DarkStyle.

func (*SystemConfigMapDto) GetEnabled

func (s *SystemConfigMapDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigMapDto) GetLightStyle

func (s *SystemConfigMapDto) GetLightStyle() string

GetLightStyle returns the value of LightStyle.

func (*SystemConfigMapDto) MarshalJSON

func (s *SystemConfigMapDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigMapDto) SetDarkStyle

func (s *SystemConfigMapDto) SetDarkStyle(val string)

SetDarkStyle sets the value of DarkStyle.

func (*SystemConfigMapDto) SetEnabled

func (s *SystemConfigMapDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigMapDto) SetLightStyle

func (s *SystemConfigMapDto) SetLightStyle(val string)

SetLightStyle sets the value of LightStyle.

func (*SystemConfigMapDto) UnmarshalJSON

func (s *SystemConfigMapDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigMetadataDto

type SystemConfigMetadataDto struct {
	Faces SystemConfigFacesDto `json:"faces"`
}

Ref: #/components/schemas/SystemConfigMetadataDto

func (*SystemConfigMetadataDto) Decode

func (s *SystemConfigMetadataDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigMetadataDto from json.

func (*SystemConfigMetadataDto) Encode

func (s *SystemConfigMetadataDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigMetadataDto) GetFaces

GetFaces returns the value of Faces.

func (*SystemConfigMetadataDto) MarshalJSON

func (s *SystemConfigMetadataDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigMetadataDto) SetFaces

SetFaces sets the value of Faces.

func (*SystemConfigMetadataDto) UnmarshalJSON

func (s *SystemConfigMetadataDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigNewVersionCheckDto

type SystemConfigNewVersionCheckDto struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/SystemConfigNewVersionCheckDto

func (*SystemConfigNewVersionCheckDto) Decode

Decode decodes SystemConfigNewVersionCheckDto from json.

func (*SystemConfigNewVersionCheckDto) Encode

Encode implements json.Marshaler.

func (*SystemConfigNewVersionCheckDto) GetEnabled

func (s *SystemConfigNewVersionCheckDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigNewVersionCheckDto) MarshalJSON

func (s *SystemConfigNewVersionCheckDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigNewVersionCheckDto) SetEnabled

func (s *SystemConfigNewVersionCheckDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigNewVersionCheckDto) UnmarshalJSON

func (s *SystemConfigNewVersionCheckDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigNotificationsDto

type SystemConfigNotificationsDto struct {
	SMTP SystemConfigSmtpDto `json:"smtp"`
}

Ref: #/components/schemas/SystemConfigNotificationsDto

func (*SystemConfigNotificationsDto) Decode

Decode decodes SystemConfigNotificationsDto from json.

func (*SystemConfigNotificationsDto) Encode

func (s *SystemConfigNotificationsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigNotificationsDto) GetSMTP

GetSMTP returns the value of SMTP.

func (*SystemConfigNotificationsDto) MarshalJSON

func (s *SystemConfigNotificationsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigNotificationsDto) SetSMTP

SetSMTP sets the value of SMTP.

func (*SystemConfigNotificationsDto) UnmarshalJSON

func (s *SystemConfigNotificationsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigNotificationsDto) Validate

func (s *SystemConfigNotificationsDto) Validate() error

type SystemConfigOAuthDto

type SystemConfigOAuthDto struct {
	AutoLaunch              bool    `json:"autoLaunch"`
	AutoRegister            bool    `json:"autoRegister"`
	ButtonText              string  `json:"buttonText"`
	ClientId                string  `json:"clientId"`
	ClientSecret            string  `json:"clientSecret"`
	DefaultStorageQuota     float64 `json:"defaultStorageQuota"`
	Enabled                 bool    `json:"enabled"`
	IssuerUrl               string  `json:"issuerUrl"`
	MobileOverrideEnabled   bool    `json:"mobileOverrideEnabled"`
	MobileRedirectUri       string  `json:"mobileRedirectUri"`
	ProfileSigningAlgorithm string  `json:"profileSigningAlgorithm"`
	Scope                   string  `json:"scope"`
	SigningAlgorithm        string  `json:"signingAlgorithm"`
	StorageLabelClaim       string  `json:"storageLabelClaim"`
	StorageQuotaClaim       string  `json:"storageQuotaClaim"`
}

Ref: #/components/schemas/SystemConfigOAuthDto

func (*SystemConfigOAuthDto) Decode

func (s *SystemConfigOAuthDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigOAuthDto from json.

func (*SystemConfigOAuthDto) Encode

func (s *SystemConfigOAuthDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigOAuthDto) GetAutoLaunch

func (s *SystemConfigOAuthDto) GetAutoLaunch() bool

GetAutoLaunch returns the value of AutoLaunch.

func (*SystemConfigOAuthDto) GetAutoRegister

func (s *SystemConfigOAuthDto) GetAutoRegister() bool

GetAutoRegister returns the value of AutoRegister.

func (*SystemConfigOAuthDto) GetButtonText

func (s *SystemConfigOAuthDto) GetButtonText() string

GetButtonText returns the value of ButtonText.

func (*SystemConfigOAuthDto) GetClientId

func (s *SystemConfigOAuthDto) GetClientId() string

GetClientId returns the value of ClientId.

func (*SystemConfigOAuthDto) GetClientSecret

func (s *SystemConfigOAuthDto) GetClientSecret() string

GetClientSecret returns the value of ClientSecret.

func (*SystemConfigOAuthDto) GetDefaultStorageQuota

func (s *SystemConfigOAuthDto) GetDefaultStorageQuota() float64

GetDefaultStorageQuota returns the value of DefaultStorageQuota.

func (*SystemConfigOAuthDto) GetEnabled

func (s *SystemConfigOAuthDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigOAuthDto) GetIssuerUrl

func (s *SystemConfigOAuthDto) GetIssuerUrl() string

GetIssuerUrl returns the value of IssuerUrl.

func (*SystemConfigOAuthDto) GetMobileOverrideEnabled

func (s *SystemConfigOAuthDto) GetMobileOverrideEnabled() bool

GetMobileOverrideEnabled returns the value of MobileOverrideEnabled.

func (*SystemConfigOAuthDto) GetMobileRedirectUri

func (s *SystemConfigOAuthDto) GetMobileRedirectUri() string

GetMobileRedirectUri returns the value of MobileRedirectUri.

func (*SystemConfigOAuthDto) GetProfileSigningAlgorithm

func (s *SystemConfigOAuthDto) GetProfileSigningAlgorithm() string

GetProfileSigningAlgorithm returns the value of ProfileSigningAlgorithm.

func (*SystemConfigOAuthDto) GetScope

func (s *SystemConfigOAuthDto) GetScope() string

GetScope returns the value of Scope.

func (*SystemConfigOAuthDto) GetSigningAlgorithm

func (s *SystemConfigOAuthDto) GetSigningAlgorithm() string

GetSigningAlgorithm returns the value of SigningAlgorithm.

func (*SystemConfigOAuthDto) GetStorageLabelClaim

func (s *SystemConfigOAuthDto) GetStorageLabelClaim() string

GetStorageLabelClaim returns the value of StorageLabelClaim.

func (*SystemConfigOAuthDto) GetStorageQuotaClaim

func (s *SystemConfigOAuthDto) GetStorageQuotaClaim() string

GetStorageQuotaClaim returns the value of StorageQuotaClaim.

func (*SystemConfigOAuthDto) MarshalJSON

func (s *SystemConfigOAuthDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigOAuthDto) SetAutoLaunch

func (s *SystemConfigOAuthDto) SetAutoLaunch(val bool)

SetAutoLaunch sets the value of AutoLaunch.

func (*SystemConfigOAuthDto) SetAutoRegister

func (s *SystemConfigOAuthDto) SetAutoRegister(val bool)

SetAutoRegister sets the value of AutoRegister.

func (*SystemConfigOAuthDto) SetButtonText

func (s *SystemConfigOAuthDto) SetButtonText(val string)

SetButtonText sets the value of ButtonText.

func (*SystemConfigOAuthDto) SetClientId

func (s *SystemConfigOAuthDto) SetClientId(val string)

SetClientId sets the value of ClientId.

func (*SystemConfigOAuthDto) SetClientSecret

func (s *SystemConfigOAuthDto) SetClientSecret(val string)

SetClientSecret sets the value of ClientSecret.

func (*SystemConfigOAuthDto) SetDefaultStorageQuota

func (s *SystemConfigOAuthDto) SetDefaultStorageQuota(val float64)

SetDefaultStorageQuota sets the value of DefaultStorageQuota.

func (*SystemConfigOAuthDto) SetEnabled

func (s *SystemConfigOAuthDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigOAuthDto) SetIssuerUrl

func (s *SystemConfigOAuthDto) SetIssuerUrl(val string)

SetIssuerUrl sets the value of IssuerUrl.

func (*SystemConfigOAuthDto) SetMobileOverrideEnabled

func (s *SystemConfigOAuthDto) SetMobileOverrideEnabled(val bool)

SetMobileOverrideEnabled sets the value of MobileOverrideEnabled.

func (*SystemConfigOAuthDto) SetMobileRedirectUri

func (s *SystemConfigOAuthDto) SetMobileRedirectUri(val string)

SetMobileRedirectUri sets the value of MobileRedirectUri.

func (*SystemConfigOAuthDto) SetProfileSigningAlgorithm

func (s *SystemConfigOAuthDto) SetProfileSigningAlgorithm(val string)

SetProfileSigningAlgorithm sets the value of ProfileSigningAlgorithm.

func (*SystemConfigOAuthDto) SetScope

func (s *SystemConfigOAuthDto) SetScope(val string)

SetScope sets the value of Scope.

func (*SystemConfigOAuthDto) SetSigningAlgorithm

func (s *SystemConfigOAuthDto) SetSigningAlgorithm(val string)

SetSigningAlgorithm sets the value of SigningAlgorithm.

func (*SystemConfigOAuthDto) SetStorageLabelClaim

func (s *SystemConfigOAuthDto) SetStorageLabelClaim(val string)

SetStorageLabelClaim sets the value of StorageLabelClaim.

func (*SystemConfigOAuthDto) SetStorageQuotaClaim

func (s *SystemConfigOAuthDto) SetStorageQuotaClaim(val string)

SetStorageQuotaClaim sets the value of StorageQuotaClaim.

func (*SystemConfigOAuthDto) UnmarshalJSON

func (s *SystemConfigOAuthDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigOAuthDto) Validate

func (s *SystemConfigOAuthDto) Validate() error

type SystemConfigPasswordLoginDto

type SystemConfigPasswordLoginDto struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/SystemConfigPasswordLoginDto

func (*SystemConfigPasswordLoginDto) Decode

Decode decodes SystemConfigPasswordLoginDto from json.

func (*SystemConfigPasswordLoginDto) Encode

func (s *SystemConfigPasswordLoginDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigPasswordLoginDto) GetEnabled

func (s *SystemConfigPasswordLoginDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigPasswordLoginDto) MarshalJSON

func (s *SystemConfigPasswordLoginDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigPasswordLoginDto) SetEnabled

func (s *SystemConfigPasswordLoginDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigPasswordLoginDto) UnmarshalJSON

func (s *SystemConfigPasswordLoginDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigReverseGeocodingDto

type SystemConfigReverseGeocodingDto struct {
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/SystemConfigReverseGeocodingDto

func (*SystemConfigReverseGeocodingDto) Decode

Decode decodes SystemConfigReverseGeocodingDto from json.

func (*SystemConfigReverseGeocodingDto) Encode

Encode implements json.Marshaler.

func (*SystemConfigReverseGeocodingDto) GetEnabled

func (s *SystemConfigReverseGeocodingDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigReverseGeocodingDto) MarshalJSON

func (s *SystemConfigReverseGeocodingDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigReverseGeocodingDto) SetEnabled

func (s *SystemConfigReverseGeocodingDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigReverseGeocodingDto) UnmarshalJSON

func (s *SystemConfigReverseGeocodingDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigServerDto

type SystemConfigServerDto struct {
	ExternalDomain   string `json:"externalDomain"`
	LoginPageMessage string `json:"loginPageMessage"`
}

Ref: #/components/schemas/SystemConfigServerDto

func (*SystemConfigServerDto) Decode

func (s *SystemConfigServerDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigServerDto from json.

func (*SystemConfigServerDto) Encode

func (s *SystemConfigServerDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigServerDto) GetExternalDomain

func (s *SystemConfigServerDto) GetExternalDomain() string

GetExternalDomain returns the value of ExternalDomain.

func (*SystemConfigServerDto) GetLoginPageMessage

func (s *SystemConfigServerDto) GetLoginPageMessage() string

GetLoginPageMessage returns the value of LoginPageMessage.

func (*SystemConfigServerDto) MarshalJSON

func (s *SystemConfigServerDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigServerDto) SetExternalDomain

func (s *SystemConfigServerDto) SetExternalDomain(val string)

SetExternalDomain sets the value of ExternalDomain.

func (*SystemConfigServerDto) SetLoginPageMessage

func (s *SystemConfigServerDto) SetLoginPageMessage(val string)

SetLoginPageMessage sets the value of LoginPageMessage.

func (*SystemConfigServerDto) UnmarshalJSON

func (s *SystemConfigServerDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigSmtpDto

type SystemConfigSmtpDto struct {
	Enabled   bool                         `json:"enabled"`
	From      string                       `json:"from"`
	ReplyTo   string                       `json:"replyTo"`
	Transport SystemConfigSmtpTransportDto `json:"transport"`
}

Ref: #/components/schemas/SystemConfigSmtpDto

func (*SystemConfigSmtpDto) Decode

func (s *SystemConfigSmtpDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigSmtpDto from json.

func (*SystemConfigSmtpDto) Encode

func (s *SystemConfigSmtpDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigSmtpDto) GetEnabled

func (s *SystemConfigSmtpDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigSmtpDto) GetFrom

func (s *SystemConfigSmtpDto) GetFrom() string

GetFrom returns the value of From.

func (*SystemConfigSmtpDto) GetReplyTo

func (s *SystemConfigSmtpDto) GetReplyTo() string

GetReplyTo returns the value of ReplyTo.

func (*SystemConfigSmtpDto) GetTransport

GetTransport returns the value of Transport.

func (*SystemConfigSmtpDto) MarshalJSON

func (s *SystemConfigSmtpDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigSmtpDto) SetEnabled

func (s *SystemConfigSmtpDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigSmtpDto) SetFrom

func (s *SystemConfigSmtpDto) SetFrom(val string)

SetFrom sets the value of From.

func (*SystemConfigSmtpDto) SetReplyTo

func (s *SystemConfigSmtpDto) SetReplyTo(val string)

SetReplyTo sets the value of ReplyTo.

func (*SystemConfigSmtpDto) SetTransport

SetTransport sets the value of Transport.

func (*SystemConfigSmtpDto) UnmarshalJSON

func (s *SystemConfigSmtpDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigSmtpDto) Validate

func (s *SystemConfigSmtpDto) Validate() error

type SystemConfigSmtpTransportDto

type SystemConfigSmtpTransportDto struct {
	Host       string  `json:"host"`
	IgnoreCert bool    `json:"ignoreCert"`
	Password   string  `json:"password"`
	Port       float64 `json:"port"`
	Username   string  `json:"username"`
}

Ref: #/components/schemas/SystemConfigSmtpTransportDto

func (*SystemConfigSmtpTransportDto) Decode

Decode decodes SystemConfigSmtpTransportDto from json.

func (*SystemConfigSmtpTransportDto) Encode

func (s *SystemConfigSmtpTransportDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigSmtpTransportDto) GetHost

func (s *SystemConfigSmtpTransportDto) GetHost() string

GetHost returns the value of Host.

func (*SystemConfigSmtpTransportDto) GetIgnoreCert

func (s *SystemConfigSmtpTransportDto) GetIgnoreCert() bool

GetIgnoreCert returns the value of IgnoreCert.

func (*SystemConfigSmtpTransportDto) GetPassword

func (s *SystemConfigSmtpTransportDto) GetPassword() string

GetPassword returns the value of Password.

func (*SystemConfigSmtpTransportDto) GetPort

GetPort returns the value of Port.

func (*SystemConfigSmtpTransportDto) GetUsername

func (s *SystemConfigSmtpTransportDto) GetUsername() string

GetUsername returns the value of Username.

func (*SystemConfigSmtpTransportDto) MarshalJSON

func (s *SystemConfigSmtpTransportDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigSmtpTransportDto) SetHost

func (s *SystemConfigSmtpTransportDto) SetHost(val string)

SetHost sets the value of Host.

func (*SystemConfigSmtpTransportDto) SetIgnoreCert

func (s *SystemConfigSmtpTransportDto) SetIgnoreCert(val bool)

SetIgnoreCert sets the value of IgnoreCert.

func (*SystemConfigSmtpTransportDto) SetPassword

func (s *SystemConfigSmtpTransportDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*SystemConfigSmtpTransportDto) SetPort

func (s *SystemConfigSmtpTransportDto) SetPort(val float64)

SetPort sets the value of Port.

func (*SystemConfigSmtpTransportDto) SetUsername

func (s *SystemConfigSmtpTransportDto) SetUsername(val string)

SetUsername sets the value of Username.

func (*SystemConfigSmtpTransportDto) UnmarshalJSON

func (s *SystemConfigSmtpTransportDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigSmtpTransportDto) Validate

func (s *SystemConfigSmtpTransportDto) Validate() error

type SystemConfigStorageTemplateDto

type SystemConfigStorageTemplateDto struct {
	Enabled                 bool   `json:"enabled"`
	HashVerificationEnabled bool   `json:"hashVerificationEnabled"`
	Template                string `json:"template"`
}

Ref: #/components/schemas/SystemConfigStorageTemplateDto

func (*SystemConfigStorageTemplateDto) Decode

Decode decodes SystemConfigStorageTemplateDto from json.

func (*SystemConfigStorageTemplateDto) Encode

Encode implements json.Marshaler.

func (*SystemConfigStorageTemplateDto) GetEnabled

func (s *SystemConfigStorageTemplateDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigStorageTemplateDto) GetHashVerificationEnabled

func (s *SystemConfigStorageTemplateDto) GetHashVerificationEnabled() bool

GetHashVerificationEnabled returns the value of HashVerificationEnabled.

func (*SystemConfigStorageTemplateDto) GetTemplate

func (s *SystemConfigStorageTemplateDto) GetTemplate() string

GetTemplate returns the value of Template.

func (*SystemConfigStorageTemplateDto) MarshalJSON

func (s *SystemConfigStorageTemplateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigStorageTemplateDto) SetEnabled

func (s *SystemConfigStorageTemplateDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigStorageTemplateDto) SetHashVerificationEnabled

func (s *SystemConfigStorageTemplateDto) SetHashVerificationEnabled(val bool)

SetHashVerificationEnabled sets the value of HashVerificationEnabled.

func (*SystemConfigStorageTemplateDto) SetTemplate

func (s *SystemConfigStorageTemplateDto) SetTemplate(val string)

SetTemplate sets the value of Template.

func (*SystemConfigStorageTemplateDto) UnmarshalJSON

func (s *SystemConfigStorageTemplateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigTemplateStorageOptionDto

type SystemConfigTemplateStorageOptionDto struct {
	DayOptions    []string `json:"dayOptions"`
	HourOptions   []string `json:"hourOptions"`
	MinuteOptions []string `json:"minuteOptions"`
	MonthOptions  []string `json:"monthOptions"`
	PresetOptions []string `json:"presetOptions"`
	SecondOptions []string `json:"secondOptions"`
	WeekOptions   []string `json:"weekOptions"`
	YearOptions   []string `json:"yearOptions"`
}

Ref: #/components/schemas/SystemConfigTemplateStorageOptionDto

func (*SystemConfigTemplateStorageOptionDto) Decode

Decode decodes SystemConfigTemplateStorageOptionDto from json.

func (*SystemConfigTemplateStorageOptionDto) Encode

Encode implements json.Marshaler.

func (*SystemConfigTemplateStorageOptionDto) GetDayOptions

func (s *SystemConfigTemplateStorageOptionDto) GetDayOptions() []string

GetDayOptions returns the value of DayOptions.

func (*SystemConfigTemplateStorageOptionDto) GetHourOptions

func (s *SystemConfigTemplateStorageOptionDto) GetHourOptions() []string

GetHourOptions returns the value of HourOptions.

func (*SystemConfigTemplateStorageOptionDto) GetMinuteOptions

func (s *SystemConfigTemplateStorageOptionDto) GetMinuteOptions() []string

GetMinuteOptions returns the value of MinuteOptions.

func (*SystemConfigTemplateStorageOptionDto) GetMonthOptions

func (s *SystemConfigTemplateStorageOptionDto) GetMonthOptions() []string

GetMonthOptions returns the value of MonthOptions.

func (*SystemConfigTemplateStorageOptionDto) GetPresetOptions

func (s *SystemConfigTemplateStorageOptionDto) GetPresetOptions() []string

GetPresetOptions returns the value of PresetOptions.

func (*SystemConfigTemplateStorageOptionDto) GetSecondOptions

func (s *SystemConfigTemplateStorageOptionDto) GetSecondOptions() []string

GetSecondOptions returns the value of SecondOptions.

func (*SystemConfigTemplateStorageOptionDto) GetWeekOptions

func (s *SystemConfigTemplateStorageOptionDto) GetWeekOptions() []string

GetWeekOptions returns the value of WeekOptions.

func (*SystemConfigTemplateStorageOptionDto) GetYearOptions

func (s *SystemConfigTemplateStorageOptionDto) GetYearOptions() []string

GetYearOptions returns the value of YearOptions.

func (*SystemConfigTemplateStorageOptionDto) MarshalJSON

func (s *SystemConfigTemplateStorageOptionDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigTemplateStorageOptionDto) SetDayOptions

func (s *SystemConfigTemplateStorageOptionDto) SetDayOptions(val []string)

SetDayOptions sets the value of DayOptions.

func (*SystemConfigTemplateStorageOptionDto) SetHourOptions

func (s *SystemConfigTemplateStorageOptionDto) SetHourOptions(val []string)

SetHourOptions sets the value of HourOptions.

func (*SystemConfigTemplateStorageOptionDto) SetMinuteOptions

func (s *SystemConfigTemplateStorageOptionDto) SetMinuteOptions(val []string)

SetMinuteOptions sets the value of MinuteOptions.

func (*SystemConfigTemplateStorageOptionDto) SetMonthOptions

func (s *SystemConfigTemplateStorageOptionDto) SetMonthOptions(val []string)

SetMonthOptions sets the value of MonthOptions.

func (*SystemConfigTemplateStorageOptionDto) SetPresetOptions

func (s *SystemConfigTemplateStorageOptionDto) SetPresetOptions(val []string)

SetPresetOptions sets the value of PresetOptions.

func (*SystemConfigTemplateStorageOptionDto) SetSecondOptions

func (s *SystemConfigTemplateStorageOptionDto) SetSecondOptions(val []string)

SetSecondOptions sets the value of SecondOptions.

func (*SystemConfigTemplateStorageOptionDto) SetWeekOptions

func (s *SystemConfigTemplateStorageOptionDto) SetWeekOptions(val []string)

SetWeekOptions sets the value of WeekOptions.

func (*SystemConfigTemplateStorageOptionDto) SetYearOptions

func (s *SystemConfigTemplateStorageOptionDto) SetYearOptions(val []string)

SetYearOptions sets the value of YearOptions.

func (*SystemConfigTemplateStorageOptionDto) UnmarshalJSON

func (s *SystemConfigTemplateStorageOptionDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigTemplateStorageOptionDto) Validate

type SystemConfigThemeDto

type SystemConfigThemeDto struct {
	CustomCss string `json:"customCss"`
}

Ref: #/components/schemas/SystemConfigThemeDto

func (*SystemConfigThemeDto) Decode

func (s *SystemConfigThemeDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigThemeDto from json.

func (*SystemConfigThemeDto) Encode

func (s *SystemConfigThemeDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigThemeDto) GetCustomCss

func (s *SystemConfigThemeDto) GetCustomCss() string

GetCustomCss returns the value of CustomCss.

func (*SystemConfigThemeDto) MarshalJSON

func (s *SystemConfigThemeDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigThemeDto) SetCustomCss

func (s *SystemConfigThemeDto) SetCustomCss(val string)

SetCustomCss sets the value of CustomCss.

func (*SystemConfigThemeDto) UnmarshalJSON

func (s *SystemConfigThemeDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SystemConfigTrashDto

type SystemConfigTrashDto struct {
	Days    int  `json:"days"`
	Enabled bool `json:"enabled"`
}

Ref: #/components/schemas/SystemConfigTrashDto

func (*SystemConfigTrashDto) Decode

func (s *SystemConfigTrashDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigTrashDto from json.

func (*SystemConfigTrashDto) Encode

func (s *SystemConfigTrashDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigTrashDto) GetDays

func (s *SystemConfigTrashDto) GetDays() int

GetDays returns the value of Days.

func (*SystemConfigTrashDto) GetEnabled

func (s *SystemConfigTrashDto) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*SystemConfigTrashDto) MarshalJSON

func (s *SystemConfigTrashDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigTrashDto) SetDays

func (s *SystemConfigTrashDto) SetDays(val int)

SetDays sets the value of Days.

func (*SystemConfigTrashDto) SetEnabled

func (s *SystemConfigTrashDto) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*SystemConfigTrashDto) UnmarshalJSON

func (s *SystemConfigTrashDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigTrashDto) Validate

func (s *SystemConfigTrashDto) Validate() error

type SystemConfigUserDto

type SystemConfigUserDto struct {
	DeleteDelay int `json:"deleteDelay"`
}

Ref: #/components/schemas/SystemConfigUserDto

func (*SystemConfigUserDto) Decode

func (s *SystemConfigUserDto) Decode(d *jx.Decoder) error

Decode decodes SystemConfigUserDto from json.

func (*SystemConfigUserDto) Encode

func (s *SystemConfigUserDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SystemConfigUserDto) GetDeleteDelay

func (s *SystemConfigUserDto) GetDeleteDelay() int

GetDeleteDelay returns the value of DeleteDelay.

func (*SystemConfigUserDto) MarshalJSON

func (s *SystemConfigUserDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SystemConfigUserDto) SetDeleteDelay

func (s *SystemConfigUserDto) SetDeleteDelay(val int)

SetDeleteDelay sets the value of DeleteDelay.

func (*SystemConfigUserDto) UnmarshalJSON

func (s *SystemConfigUserDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SystemConfigUserDto) Validate

func (s *SystemConfigUserDto) Validate() error

type TagAssetsParams

type TagAssetsParams struct {
	ID uuid.UUID
}

TagAssetsParams is parameters of tagAssets operation.

type TagBulkAssetsDto

type TagBulkAssetsDto struct {
	AssetIds []uuid.UUID `json:"assetIds"`
	TagIds   []uuid.UUID `json:"tagIds"`
}

Ref: #/components/schemas/TagBulkAssetsDto

func (*TagBulkAssetsDto) Decode

func (s *TagBulkAssetsDto) Decode(d *jx.Decoder) error

Decode decodes TagBulkAssetsDto from json.

func (*TagBulkAssetsDto) Encode

func (s *TagBulkAssetsDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagBulkAssetsDto) GetAssetIds

func (s *TagBulkAssetsDto) GetAssetIds() []uuid.UUID

GetAssetIds returns the value of AssetIds.

func (*TagBulkAssetsDto) GetTagIds

func (s *TagBulkAssetsDto) GetTagIds() []uuid.UUID

GetTagIds returns the value of TagIds.

func (*TagBulkAssetsDto) MarshalJSON

func (s *TagBulkAssetsDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagBulkAssetsDto) SetAssetIds

func (s *TagBulkAssetsDto) SetAssetIds(val []uuid.UUID)

SetAssetIds sets the value of AssetIds.

func (*TagBulkAssetsDto) SetTagIds

func (s *TagBulkAssetsDto) SetTagIds(val []uuid.UUID)

SetTagIds sets the value of TagIds.

func (*TagBulkAssetsDto) UnmarshalJSON

func (s *TagBulkAssetsDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagBulkAssetsDto) Validate

func (s *TagBulkAssetsDto) Validate() error

type TagBulkAssetsResponseDto

type TagBulkAssetsResponseDto struct {
	Count int `json:"count"`
}

Ref: #/components/schemas/TagBulkAssetsResponseDto

func (*TagBulkAssetsResponseDto) Decode

func (s *TagBulkAssetsResponseDto) Decode(d *jx.Decoder) error

Decode decodes TagBulkAssetsResponseDto from json.

func (*TagBulkAssetsResponseDto) Encode

func (s *TagBulkAssetsResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagBulkAssetsResponseDto) GetCount

func (s *TagBulkAssetsResponseDto) GetCount() int

GetCount returns the value of Count.

func (*TagBulkAssetsResponseDto) MarshalJSON

func (s *TagBulkAssetsResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagBulkAssetsResponseDto) SetCount

func (s *TagBulkAssetsResponseDto) SetCount(val int)

SetCount sets the value of Count.

func (*TagBulkAssetsResponseDto) UnmarshalJSON

func (s *TagBulkAssetsResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TagCreateDto

type TagCreateDto struct {
	Color    OptString  `json:"color"`
	Name     string     `json:"name"`
	ParentId OptNilUUID `json:"parentId"`
}

Ref: #/components/schemas/TagCreateDto

func (*TagCreateDto) Decode

func (s *TagCreateDto) Decode(d *jx.Decoder) error

Decode decodes TagCreateDto from json.

func (*TagCreateDto) Encode

func (s *TagCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagCreateDto) GetColor

func (s *TagCreateDto) GetColor() OptString

GetColor returns the value of Color.

func (*TagCreateDto) GetName

func (s *TagCreateDto) GetName() string

GetName returns the value of Name.

func (*TagCreateDto) GetParentId

func (s *TagCreateDto) GetParentId() OptNilUUID

GetParentId returns the value of ParentId.

func (*TagCreateDto) MarshalJSON

func (s *TagCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagCreateDto) SetColor

func (s *TagCreateDto) SetColor(val OptString)

SetColor sets the value of Color.

func (*TagCreateDto) SetName

func (s *TagCreateDto) SetName(val string)

SetName sets the value of Name.

func (*TagCreateDto) SetParentId

func (s *TagCreateDto) SetParentId(val OptNilUUID)

SetParentId sets the value of ParentId.

func (*TagCreateDto) UnmarshalJSON

func (s *TagCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TagResponseDto

type TagResponseDto struct {
	Color     OptString `json:"color"`
	CreatedAt time.Time `json:"createdAt"`
	ID        string    `json:"id"`
	Name      string    `json:"name"`
	ParentId  OptString `json:"parentId"`
	UpdatedAt time.Time `json:"updatedAt"`
	Value     string    `json:"value"`
}

Ref: #/components/schemas/TagResponseDto

func (*TagResponseDto) Decode

func (s *TagResponseDto) Decode(d *jx.Decoder) error

Decode decodes TagResponseDto from json.

func (*TagResponseDto) Encode

func (s *TagResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagResponseDto) GetColor

func (s *TagResponseDto) GetColor() OptString

GetColor returns the value of Color.

func (*TagResponseDto) GetCreatedAt

func (s *TagResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*TagResponseDto) GetID

func (s *TagResponseDto) GetID() string

GetID returns the value of ID.

func (*TagResponseDto) GetName

func (s *TagResponseDto) GetName() string

GetName returns the value of Name.

func (*TagResponseDto) GetParentId

func (s *TagResponseDto) GetParentId() OptString

GetParentId returns the value of ParentId.

func (*TagResponseDto) GetUpdatedAt

func (s *TagResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*TagResponseDto) GetValue

func (s *TagResponseDto) GetValue() string

GetValue returns the value of Value.

func (*TagResponseDto) MarshalJSON

func (s *TagResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagResponseDto) SetColor

func (s *TagResponseDto) SetColor(val OptString)

SetColor sets the value of Color.

func (*TagResponseDto) SetCreatedAt

func (s *TagResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*TagResponseDto) SetID

func (s *TagResponseDto) SetID(val string)

SetID sets the value of ID.

func (*TagResponseDto) SetName

func (s *TagResponseDto) SetName(val string)

SetName sets the value of Name.

func (*TagResponseDto) SetParentId

func (s *TagResponseDto) SetParentId(val OptString)

SetParentId sets the value of ParentId.

func (*TagResponseDto) SetUpdatedAt

func (s *TagResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*TagResponseDto) SetValue

func (s *TagResponseDto) SetValue(val string)

SetValue sets the value of Value.

func (*TagResponseDto) UnmarshalJSON

func (s *TagResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TagUpdateDto

type TagUpdateDto struct {
	Color OptNilString `json:"color"`
}

Ref: #/components/schemas/TagUpdateDto

func (*TagUpdateDto) Decode

func (s *TagUpdateDto) Decode(d *jx.Decoder) error

Decode decodes TagUpdateDto from json.

func (*TagUpdateDto) Encode

func (s *TagUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagUpdateDto) GetColor

func (s *TagUpdateDto) GetColor() OptNilString

GetColor returns the value of Color.

func (*TagUpdateDto) MarshalJSON

func (s *TagUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagUpdateDto) SetColor

func (s *TagUpdateDto) SetColor(val OptNilString)

SetColor sets the value of Color.

func (*TagUpdateDto) UnmarshalJSON

func (s *TagUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TagUpsertDto

type TagUpsertDto struct {
	Tags []string `json:"tags"`
}

Ref: #/components/schemas/TagUpsertDto

func (*TagUpsertDto) Decode

func (s *TagUpsertDto) Decode(d *jx.Decoder) error

Decode decodes TagUpsertDto from json.

func (*TagUpsertDto) Encode

func (s *TagUpsertDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagUpsertDto) GetTags

func (s *TagUpsertDto) GetTags() []string

GetTags returns the value of Tags.

func (*TagUpsertDto) MarshalJSON

func (s *TagUpsertDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagUpsertDto) SetTags

func (s *TagUpsertDto) SetTags(val []string)

SetTags sets the value of Tags.

func (*TagUpsertDto) UnmarshalJSON

func (s *TagUpsertDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TagUpsertDto) Validate

func (s *TagUpsertDto) Validate() error

type TagsResponse

type TagsResponse struct {
	Enabled    bool `json:"enabled"`
	SidebarWeb bool `json:"sidebarWeb"`
}

Ref: #/components/schemas/TagsResponse

func (*TagsResponse) Decode

func (s *TagsResponse) Decode(d *jx.Decoder) error

Decode decodes TagsResponse from json.

func (*TagsResponse) Encode

func (s *TagsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagsResponse) GetEnabled

func (s *TagsResponse) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*TagsResponse) GetSidebarWeb

func (s *TagsResponse) GetSidebarWeb() bool

GetSidebarWeb returns the value of SidebarWeb.

func (*TagsResponse) MarshalJSON

func (s *TagsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagsResponse) SetEnabled

func (s *TagsResponse) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*TagsResponse) SetSidebarWeb

func (s *TagsResponse) SetSidebarWeb(val bool)

SetSidebarWeb sets the value of SidebarWeb.

func (*TagsResponse) UnmarshalJSON

func (s *TagsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TagsUpdate

type TagsUpdate struct {
	Enabled    OptBool `json:"enabled"`
	SidebarWeb OptBool `json:"sidebarWeb"`
}

Ref: #/components/schemas/TagsUpdate

func (*TagsUpdate) Decode

func (s *TagsUpdate) Decode(d *jx.Decoder) error

Decode decodes TagsUpdate from json.

func (*TagsUpdate) Encode

func (s *TagsUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TagsUpdate) GetEnabled

func (s *TagsUpdate) GetEnabled() OptBool

GetEnabled returns the value of Enabled.

func (*TagsUpdate) GetSidebarWeb

func (s *TagsUpdate) GetSidebarWeb() OptBool

GetSidebarWeb returns the value of SidebarWeb.

func (*TagsUpdate) MarshalJSON

func (s *TagsUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TagsUpdate) SetEnabled

func (s *TagsUpdate) SetEnabled(val OptBool)

SetEnabled sets the value of Enabled.

func (*TagsUpdate) SetSidebarWeb

func (s *TagsUpdate) SetSidebarWeb(val OptBool)

SetSidebarWeb sets the value of SidebarWeb.

func (*TagsUpdate) UnmarshalJSON

func (s *TagsUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TestEmailResponseDto

type TestEmailResponseDto struct {
	MessageId string `json:"messageId"`
}

Ref: #/components/schemas/TestEmailResponseDto

func (*TestEmailResponseDto) Decode

func (s *TestEmailResponseDto) Decode(d *jx.Decoder) error

Decode decodes TestEmailResponseDto from json.

func (*TestEmailResponseDto) Encode

func (s *TestEmailResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TestEmailResponseDto) GetMessageId

func (s *TestEmailResponseDto) GetMessageId() string

GetMessageId returns the value of MessageId.

func (*TestEmailResponseDto) MarshalJSON

func (s *TestEmailResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TestEmailResponseDto) SetMessageId

func (s *TestEmailResponseDto) SetMessageId(val string)

SetMessageId sets the value of MessageId.

func (*TestEmailResponseDto) UnmarshalJSON

func (s *TestEmailResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TimeBucketResponseDto

type TimeBucketResponseDto struct {
	Count      int    `json:"count"`
	TimeBucket string `json:"timeBucket"`
}

Ref: #/components/schemas/TimeBucketResponseDto

func (*TimeBucketResponseDto) Decode

func (s *TimeBucketResponseDto) Decode(d *jx.Decoder) error

Decode decodes TimeBucketResponseDto from json.

func (*TimeBucketResponseDto) Encode

func (s *TimeBucketResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TimeBucketResponseDto) GetCount

func (s *TimeBucketResponseDto) GetCount() int

GetCount returns the value of Count.

func (*TimeBucketResponseDto) GetTimeBucket

func (s *TimeBucketResponseDto) GetTimeBucket() string

GetTimeBucket returns the value of TimeBucket.

func (*TimeBucketResponseDto) MarshalJSON

func (s *TimeBucketResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TimeBucketResponseDto) SetCount

func (s *TimeBucketResponseDto) SetCount(val int)

SetCount sets the value of Count.

func (*TimeBucketResponseDto) SetTimeBucket

func (s *TimeBucketResponseDto) SetTimeBucket(val string)

SetTimeBucket sets the value of TimeBucket.

func (*TimeBucketResponseDto) UnmarshalJSON

func (s *TimeBucketResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TimeBucketSize

type TimeBucketSize string

Ref: #/components/schemas/TimeBucketSize

const (
	TimeBucketSizeDAY   TimeBucketSize = "DAY"
	TimeBucketSizeMONTH TimeBucketSize = "MONTH"
)

func (TimeBucketSize) AllValues

func (TimeBucketSize) AllValues() []TimeBucketSize

AllValues returns all TimeBucketSize values.

func (TimeBucketSize) MarshalText

func (s TimeBucketSize) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TimeBucketSize) UnmarshalText

func (s *TimeBucketSize) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TimeBucketSize) Validate

func (s TimeBucketSize) Validate() error

type ToneMapping

type ToneMapping string

Ref: #/components/schemas/ToneMapping

const (
	ToneMappingHable    ToneMapping = "hable"
	ToneMappingMobius   ToneMapping = "mobius"
	ToneMappingReinhard ToneMapping = "reinhard"
	ToneMappingDisabled ToneMapping = "disabled"
)

func (ToneMapping) AllValues

func (ToneMapping) AllValues() []ToneMapping

AllValues returns all ToneMapping values.

func (*ToneMapping) Decode

func (s *ToneMapping) Decode(d *jx.Decoder) error

Decode decodes ToneMapping from json.

func (ToneMapping) Encode

func (s ToneMapping) Encode(e *jx.Encoder)

Encode encodes ToneMapping as json.

func (ToneMapping) MarshalJSON

func (s ToneMapping) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ToneMapping) MarshalText

func (s ToneMapping) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ToneMapping) UnmarshalJSON

func (s *ToneMapping) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ToneMapping) UnmarshalText

func (s *ToneMapping) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ToneMapping) Validate

func (s ToneMapping) Validate() error

type TranscodeHWAccel

type TranscodeHWAccel string

Ref: #/components/schemas/TranscodeHWAccel

const (
	TranscodeHWAccelNvenc    TranscodeHWAccel = "nvenc"
	TranscodeHWAccelQsv      TranscodeHWAccel = "qsv"
	TranscodeHWAccelVaapi    TranscodeHWAccel = "vaapi"
	TranscodeHWAccelRkmpp    TranscodeHWAccel = "rkmpp"
	TranscodeHWAccelDisabled TranscodeHWAccel = "disabled"
)

func (TranscodeHWAccel) AllValues

func (TranscodeHWAccel) AllValues() []TranscodeHWAccel

AllValues returns all TranscodeHWAccel values.

func (*TranscodeHWAccel) Decode

func (s *TranscodeHWAccel) Decode(d *jx.Decoder) error

Decode decodes TranscodeHWAccel from json.

func (TranscodeHWAccel) Encode

func (s TranscodeHWAccel) Encode(e *jx.Encoder)

Encode encodes TranscodeHWAccel as json.

func (TranscodeHWAccel) MarshalJSON

func (s TranscodeHWAccel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TranscodeHWAccel) MarshalText

func (s TranscodeHWAccel) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TranscodeHWAccel) UnmarshalJSON

func (s *TranscodeHWAccel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TranscodeHWAccel) UnmarshalText

func (s *TranscodeHWAccel) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TranscodeHWAccel) Validate

func (s TranscodeHWAccel) Validate() error

type TranscodePolicy

type TranscodePolicy string

Ref: #/components/schemas/TranscodePolicy

const (
	TranscodePolicyAll      TranscodePolicy = "all"
	TranscodePolicyOptimal  TranscodePolicy = "optimal"
	TranscodePolicyBitrate  TranscodePolicy = "bitrate"
	TranscodePolicyRequired TranscodePolicy = "required"
	TranscodePolicyDisabled TranscodePolicy = "disabled"
)

func (TranscodePolicy) AllValues

func (TranscodePolicy) AllValues() []TranscodePolicy

AllValues returns all TranscodePolicy values.

func (*TranscodePolicy) Decode

func (s *TranscodePolicy) Decode(d *jx.Decoder) error

Decode decodes TranscodePolicy from json.

func (TranscodePolicy) Encode

func (s TranscodePolicy) Encode(e *jx.Encoder)

Encode encodes TranscodePolicy as json.

func (TranscodePolicy) MarshalJSON

func (s TranscodePolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TranscodePolicy) MarshalText

func (s TranscodePolicy) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TranscodePolicy) UnmarshalJSON

func (s *TranscodePolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TranscodePolicy) UnmarshalText

func (s *TranscodePolicy) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TranscodePolicy) Validate

func (s TranscodePolicy) Validate() error

type TrashResponseDto

type TrashResponseDto struct {
	Count int `json:"count"`
}

Ref: #/components/schemas/TrashResponseDto

func (*TrashResponseDto) Decode

func (s *TrashResponseDto) Decode(d *jx.Decoder) error

Decode decodes TrashResponseDto from json.

func (*TrashResponseDto) Encode

func (s *TrashResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TrashResponseDto) GetCount

func (s *TrashResponseDto) GetCount() int

GetCount returns the value of Count.

func (*TrashResponseDto) MarshalJSON

func (s *TrashResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TrashResponseDto) SetCount

func (s *TrashResponseDto) SetCount(val int)

SetCount sets the value of Count.

func (*TrashResponseDto) UnmarshalJSON

func (s *TrashResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) AddAssetsToAlbum

func (UnimplementedHandler) AddAssetsToAlbum(ctx context.Context, req *BulkIdsDto, params AddAssetsToAlbumParams) (r []BulkIdResponseDto, _ error)

AddAssetsToAlbum implements addAssetsToAlbum operation.

PUT /albums/{id}/assets

func (UnimplementedHandler) AddMemoryAssets

func (UnimplementedHandler) AddMemoryAssets(ctx context.Context, req *BulkIdsDto, params AddMemoryAssetsParams) (r []BulkIdResponseDto, _ error)

AddMemoryAssets implements addMemoryAssets operation.

PUT /memories/{id}/assets

func (UnimplementedHandler) AddSharedLinkAssets

func (UnimplementedHandler) AddSharedLinkAssets(ctx context.Context, req *AssetIdsDto, params AddSharedLinkAssetsParams) (r []AssetIdsResponseDto, _ error)

AddSharedLinkAssets implements addSharedLinkAssets operation.

PUT /shared-links/{id}/assets

func (UnimplementedHandler) AddUsersToAlbum

func (UnimplementedHandler) AddUsersToAlbum(ctx context.Context, req *AddUsersDto, params AddUsersToAlbumParams) (r *AlbumResponseDto, _ error)

AddUsersToAlbum implements addUsersToAlbum operation.

PUT /albums/{id}/users

func (UnimplementedHandler) BulkTagAssets

BulkTagAssets implements bulkTagAssets operation.

PUT /tags/assets

func (UnimplementedHandler) ChangePassword

ChangePassword implements changePassword operation.

POST /auth/change-password

func (UnimplementedHandler) CheckBulkUpload

CheckBulkUpload implements checkBulkUpload operation.

Checks if assets exist by checksums.

POST /assets/bulk-upload-check

func (UnimplementedHandler) CheckExistingAssets

CheckExistingAssets implements checkExistingAssets operation.

Checks if multiple assets exist on the server and returns all existing - used by background backup.

POST /assets/exist

func (UnimplementedHandler) CreateActivity

CreateActivity implements createActivity operation.

POST /activities

func (UnimplementedHandler) CreateAlbum

CreateAlbum implements createAlbum operation.

POST /albums

func (UnimplementedHandler) CreateApiKey

CreateApiKey implements createApiKey operation.

POST /api-keys

func (UnimplementedHandler) CreateJob

func (UnimplementedHandler) CreateJob(ctx context.Context, req *JobCreateDto) error

CreateJob implements createJob operation.

POST /jobs

func (UnimplementedHandler) CreateLibrary

CreateLibrary implements createLibrary operation.

POST /libraries

func (UnimplementedHandler) CreateMemory

CreateMemory implements createMemory operation.

POST /memories

func (UnimplementedHandler) CreatePartner

CreatePartner implements createPartner operation.

POST /partners/{id}

func (UnimplementedHandler) CreatePerson

CreatePerson implements createPerson operation.

POST /people

func (UnimplementedHandler) CreateProfileImage

CreateProfileImage implements createProfileImage operation.

POST /users/profile-image

CreateSharedLink implements createSharedLink operation.

POST /shared-links

func (UnimplementedHandler) CreateStack

CreateStack implements createStack operation.

POST /stacks

func (UnimplementedHandler) CreateTag

CreateTag implements createTag operation.

POST /tags

func (UnimplementedHandler) CreateUserAdmin

CreateUserAdmin implements createUserAdmin operation.

POST /admin/users

func (UnimplementedHandler) DeleteActivity

func (UnimplementedHandler) DeleteActivity(ctx context.Context, params DeleteActivityParams) error

DeleteActivity implements deleteActivity operation.

DELETE /activities/{id}

func (UnimplementedHandler) DeleteAlbum

func (UnimplementedHandler) DeleteAlbum(ctx context.Context, params DeleteAlbumParams) error

DeleteAlbum implements deleteAlbum operation.

DELETE /albums/{id}

func (UnimplementedHandler) DeleteAllSessions

func (UnimplementedHandler) DeleteAllSessions(ctx context.Context) error

DeleteAllSessions implements deleteAllSessions operation.

DELETE /sessions

func (UnimplementedHandler) DeleteApiKey

func (UnimplementedHandler) DeleteApiKey(ctx context.Context, params DeleteApiKeyParams) error

DeleteApiKey implements deleteApiKey operation.

DELETE /api-keys/{id}

func (UnimplementedHandler) DeleteAssets

DeleteAssets implements deleteAssets operation.

DELETE /assets

func (UnimplementedHandler) DeleteLibrary

func (UnimplementedHandler) DeleteLibrary(ctx context.Context, params DeleteLibraryParams) error

DeleteLibrary implements deleteLibrary operation.

DELETE /libraries/{id}

func (UnimplementedHandler) DeleteMemory

func (UnimplementedHandler) DeleteMemory(ctx context.Context, params DeleteMemoryParams) error

DeleteMemory implements deleteMemory operation.

DELETE /memories/{id}

func (UnimplementedHandler) DeleteProfileImage

func (UnimplementedHandler) DeleteProfileImage(ctx context.Context) error

DeleteProfileImage implements deleteProfileImage operation.

DELETE /users/profile-image

func (UnimplementedHandler) DeleteServerLicense

func (UnimplementedHandler) DeleteServerLicense(ctx context.Context) error

DeleteServerLicense implements deleteServerLicense operation.

DELETE /server/license

func (UnimplementedHandler) DeleteSession

func (UnimplementedHandler) DeleteSession(ctx context.Context, params DeleteSessionParams) error

DeleteSession implements deleteSession operation.

DELETE /sessions/{id}

func (UnimplementedHandler) DeleteStack

func (UnimplementedHandler) DeleteStack(ctx context.Context, params DeleteStackParams) error

DeleteStack implements deleteStack operation.

DELETE /stacks/{id}

func (UnimplementedHandler) DeleteStacks

func (UnimplementedHandler) DeleteStacks(ctx context.Context, req *BulkIdsDto) error

DeleteStacks implements deleteStacks operation.

DELETE /stacks

func (UnimplementedHandler) DeleteTag

func (UnimplementedHandler) DeleteTag(ctx context.Context, params DeleteTagParams) error

DeleteTag implements deleteTag operation.

DELETE /tags/{id}

func (UnimplementedHandler) DeleteUserAdmin

DeleteUserAdmin implements deleteUserAdmin operation.

DELETE /admin/users/{id}

func (UnimplementedHandler) DeleteUserLicense

func (UnimplementedHandler) DeleteUserLicense(ctx context.Context) error

DeleteUserLicense implements deleteUserLicense operation.

DELETE /users/me/license

func (UnimplementedHandler) DownloadArchive

DownloadArchive implements downloadArchive operation.

POST /download/archive

func (UnimplementedHandler) DownloadAsset

DownloadAsset implements downloadAsset operation.

GET /assets/{id}/original

func (UnimplementedHandler) EmptyTrash

func (UnimplementedHandler) EmptyTrash(ctx context.Context) (r *TrashResponseDto, _ error)

EmptyTrash implements emptyTrash operation.

POST /trash/empty

func (UnimplementedHandler) FinishOAuth

FinishOAuth implements finishOAuth operation.

POST /oauth/callback

func (UnimplementedHandler) FixAuditFiles

func (UnimplementedHandler) FixAuditFiles(ctx context.Context, req *FileReportFixDto) error

FixAuditFiles implements fixAuditFiles operation.

POST /reports/fix

func (UnimplementedHandler) GetAboutInfo

GetAboutInfo implements getAboutInfo operation.

GET /server/about

func (UnimplementedHandler) GetActivities

GetActivities implements getActivities operation.

GET /activities

func (UnimplementedHandler) GetActivityStatistics

GetActivityStatistics implements getActivityStatistics operation.

GET /activities/statistics

func (UnimplementedHandler) GetAdminOnboarding

func (UnimplementedHandler) GetAdminOnboarding(ctx context.Context) (r *AdminOnboardingUpdateDto, _ error)

GetAdminOnboarding implements getAdminOnboarding operation.

GET /system-metadata/admin-onboarding

func (UnimplementedHandler) GetAlbumInfo

GetAlbumInfo implements getAlbumInfo operation.

GET /albums/{id}

func (UnimplementedHandler) GetAlbumStatistics

func (UnimplementedHandler) GetAlbumStatistics(ctx context.Context) (r *AlbumStatisticsResponseDto, _ error)

GetAlbumStatistics implements getAlbumStatistics operation.

GET /albums/statistics

func (UnimplementedHandler) GetAllAlbums

func (UnimplementedHandler) GetAllAlbums(ctx context.Context, params GetAllAlbumsParams) (r []AlbumResponseDto, _ error)

GetAllAlbums implements getAllAlbums operation.

GET /albums

func (UnimplementedHandler) GetAllJobsStatus

func (UnimplementedHandler) GetAllJobsStatus(ctx context.Context) (r *AllJobStatusResponseDto, _ error)

GetAllJobsStatus implements getAllJobsStatus operation.

GET /jobs

func (UnimplementedHandler) GetAllLibraries

func (UnimplementedHandler) GetAllLibraries(ctx context.Context) (r []LibraryResponseDto, _ error)

GetAllLibraries implements getAllLibraries operation.

GET /libraries

func (UnimplementedHandler) GetAllPeople

GetAllPeople implements getAllPeople operation.

GET /people

func (UnimplementedHandler) GetAllSharedLinks(ctx context.Context) (r []SharedLinkResponseDto, _ error)

GetAllSharedLinks implements getAllSharedLinks operation.

GET /shared-links

func (UnimplementedHandler) GetAllTags

func (UnimplementedHandler) GetAllTags(ctx context.Context) (r []TagResponseDto, _ error)

GetAllTags implements getAllTags operation.

GET /tags

func (UnimplementedHandler) GetAllUserAssetsByDeviceId

func (UnimplementedHandler) GetAllUserAssetsByDeviceId(ctx context.Context, params GetAllUserAssetsByDeviceIdParams) (r []string, _ error)

GetAllUserAssetsByDeviceId implements getAllUserAssetsByDeviceId operation.

Get all asset of a device that are in the database, ID only.

GET /assets/device/{deviceId}

func (UnimplementedHandler) GetApiKey

GetApiKey implements getApiKey operation.

GET /api-keys/{id}

func (UnimplementedHandler) GetApiKeys

func (UnimplementedHandler) GetApiKeys(ctx context.Context) (r []APIKeyResponseDto, _ error)

GetApiKeys implements getApiKeys operation.

GET /api-keys

func (UnimplementedHandler) GetAssetDuplicates

func (UnimplementedHandler) GetAssetDuplicates(ctx context.Context) (r []DuplicateResponseDto, _ error)

GetAssetDuplicates implements getAssetDuplicates operation.

GET /duplicates

func (UnimplementedHandler) GetAssetInfo

GetAssetInfo implements getAssetInfo operation.

GET /assets/{id}

func (UnimplementedHandler) GetAssetStatistics

GetAssetStatistics implements getAssetStatistics operation.

GET /assets/statistics

func (UnimplementedHandler) GetAssetsByCity

func (UnimplementedHandler) GetAssetsByCity(ctx context.Context) (r []AssetResponseDto, _ error)

GetAssetsByCity implements getAssetsByCity operation.

GET /search/cities

func (UnimplementedHandler) GetAssetsByOriginalPath

func (UnimplementedHandler) GetAssetsByOriginalPath(ctx context.Context, params GetAssetsByOriginalPathParams) (r []AssetResponseDto, _ error)

GetAssetsByOriginalPath implements getAssetsByOriginalPath operation.

GET /view/folder

func (UnimplementedHandler) GetAuditDeletes

GetAuditDeletes implements getAuditDeletes operation.

GET /audit/deletes

func (UnimplementedHandler) GetAuditFiles

func (UnimplementedHandler) GetAuditFiles(ctx context.Context) (r *FileReportDto, _ error)

GetAuditFiles implements getAuditFiles operation.

GET /reports

func (UnimplementedHandler) GetConfig

func (UnimplementedHandler) GetConfig(ctx context.Context) (r *SystemConfigDto, _ error)

GetConfig implements getConfig operation.

GET /system-config

func (UnimplementedHandler) GetConfigDefaults

func (UnimplementedHandler) GetConfigDefaults(ctx context.Context) (r *SystemConfigDto, _ error)

GetConfigDefaults implements getConfigDefaults operation.

GET /system-config/defaults

func (UnimplementedHandler) GetDeltaSync

GetDeltaSync implements getDeltaSync operation.

POST /sync/delta-sync

func (UnimplementedHandler) GetDownloadInfo

GetDownloadInfo implements getDownloadInfo operation.

POST /download/info

func (UnimplementedHandler) GetExploreData

func (UnimplementedHandler) GetExploreData(ctx context.Context) (r []SearchExploreResponseDto, _ error)

GetExploreData implements getExploreData operation.

GET /search/explore

func (UnimplementedHandler) GetFaces

GetFaces implements getFaces operation.

GET /faces

func (UnimplementedHandler) GetFileChecksums

GetFileChecksums implements getFileChecksums operation.

POST /reports/checksum

func (UnimplementedHandler) GetFullSyncForUser

func (UnimplementedHandler) GetFullSyncForUser(ctx context.Context, req *AssetFullSyncDto) (r []AssetResponseDto, _ error)

GetFullSyncForUser implements getFullSyncForUser operation.

POST /sync/full-sync

func (UnimplementedHandler) GetLibrary

GetLibrary implements getLibrary operation.

GET /libraries/{id}

func (UnimplementedHandler) GetLibraryStatistics

GetLibraryStatistics implements getLibraryStatistics operation.

GET /libraries/{id}/statistics

func (UnimplementedHandler) GetMapMarkers

GetMapMarkers implements getMapMarkers operation.

GET /map/markers

func (UnimplementedHandler) GetMemory

GetMemory implements getMemory operation.

GET /memories/{id}

func (UnimplementedHandler) GetMemoryLane

GetMemoryLane implements getMemoryLane operation.

GET /assets/memory-lane

func (UnimplementedHandler) GetMyPreferences

GetMyPreferences implements getMyPreferences operation.

GET /users/me/preferences

GetMySharedLink implements getMySharedLink operation.

GET /shared-links/me

func (UnimplementedHandler) GetMyUser

GetMyUser implements getMyUser operation.

GET /users/me

func (UnimplementedHandler) GetPartners

GetPartners implements getPartners operation.

GET /partners

func (UnimplementedHandler) GetPerson

GetPerson implements getPerson operation.

GET /people/{id}

func (UnimplementedHandler) GetPersonStatistics

GetPersonStatistics implements getPersonStatistics operation.

GET /people/{id}/statistics

func (UnimplementedHandler) GetPersonThumbnail

GetPersonThumbnail implements getPersonThumbnail operation.

GET /people/{id}/thumbnail

func (UnimplementedHandler) GetProfileImage

GetProfileImage implements getProfileImage operation.

GET /users/{id}/profile-image

func (UnimplementedHandler) GetRandom deprecated

GetRandom implements getRandom operation.

This property was deprecated in v1.116.0.

Deprecated: schema marks this operation as deprecated.

GET /assets/random

func (UnimplementedHandler) GetReverseGeocodingState

func (UnimplementedHandler) GetReverseGeocodingState(ctx context.Context) (r *ReverseGeocodingStateResponseDto, _ error)

GetReverseGeocodingState implements getReverseGeocodingState operation.

GET /system-metadata/reverse-geocoding-state

func (UnimplementedHandler) GetSearchSuggestions

func (UnimplementedHandler) GetSearchSuggestions(ctx context.Context, params GetSearchSuggestionsParams) (r []string, _ error)

GetSearchSuggestions implements getSearchSuggestions operation.

GET /search/suggestions

func (UnimplementedHandler) GetServerConfig

func (UnimplementedHandler) GetServerConfig(ctx context.Context) (r *ServerConfigDto, _ error)

GetServerConfig implements getServerConfig operation.

GET /server/config

func (UnimplementedHandler) GetServerFeatures

func (UnimplementedHandler) GetServerFeatures(ctx context.Context) (r *ServerFeaturesDto, _ error)

GetServerFeatures implements getServerFeatures operation.

GET /server/features

func (UnimplementedHandler) GetServerLicense

func (UnimplementedHandler) GetServerLicense(ctx context.Context) (r GetServerLicenseRes, _ error)

GetServerLicense implements getServerLicense operation.

GET /server/license

func (UnimplementedHandler) GetServerStatistics

func (UnimplementedHandler) GetServerStatistics(ctx context.Context) (r *ServerStatsResponseDto, _ error)

GetServerStatistics implements getServerStatistics operation.

GET /server/statistics

func (UnimplementedHandler) GetServerVersion

func (UnimplementedHandler) GetServerVersion(ctx context.Context) (r *ServerVersionResponseDto, _ error)

GetServerVersion implements getServerVersion operation.

GET /server/version

func (UnimplementedHandler) GetSessions

func (UnimplementedHandler) GetSessions(ctx context.Context) (r []SessionResponseDto, _ error)

GetSessions implements getSessions operation.

GET /sessions

func (UnimplementedHandler) GetSharedLinkById

GetSharedLinkById implements getSharedLinkById operation.

GET /shared-links/{id}

func (UnimplementedHandler) GetStack

GetStack implements getStack operation.

GET /stacks/{id}

func (UnimplementedHandler) GetStorage

GetStorage implements getStorage operation.

GET /server/storage

func (UnimplementedHandler) GetStorageTemplateOptions

func (UnimplementedHandler) GetStorageTemplateOptions(ctx context.Context) (r *SystemConfigTemplateStorageOptionDto, _ error)

GetStorageTemplateOptions implements getStorageTemplateOptions operation.

GET /system-config/storage-template-options

func (UnimplementedHandler) GetSupportedMediaTypes

func (UnimplementedHandler) GetSupportedMediaTypes(ctx context.Context) (r *ServerMediaTypesResponseDto, _ error)

GetSupportedMediaTypes implements getSupportedMediaTypes operation.

GET /server/media-types

func (UnimplementedHandler) GetTagById

func (UnimplementedHandler) GetTagById(ctx context.Context, params GetTagByIdParams) (r *TagResponseDto, _ error)

GetTagById implements getTagById operation.

GET /tags/{id}

func (UnimplementedHandler) GetTheme

GetTheme implements getTheme operation.

GET /server/theme

func (UnimplementedHandler) GetTimeBucket

func (UnimplementedHandler) GetTimeBucket(ctx context.Context, params GetTimeBucketParams) (r []AssetResponseDto, _ error)

GetTimeBucket implements getTimeBucket operation.

GET /timeline/bucket

func (UnimplementedHandler) GetTimeBuckets

GetTimeBuckets implements getTimeBuckets operation.

GET /timeline/buckets

func (UnimplementedHandler) GetUniqueOriginalPaths

func (UnimplementedHandler) GetUniqueOriginalPaths(ctx context.Context) (r []string, _ error)

GetUniqueOriginalPaths implements getUniqueOriginalPaths operation.

GET /view/folder/unique-paths

func (UnimplementedHandler) GetUser

GetUser implements getUser operation.

GET /users/{id}

func (UnimplementedHandler) GetUserAdmin

GetUserAdmin implements getUserAdmin operation.

GET /admin/users/{id}

func (UnimplementedHandler) GetUserLicense

func (UnimplementedHandler) GetUserLicense(ctx context.Context) (r *LicenseResponseDto, _ error)

GetUserLicense implements getUserLicense operation.

GET /users/me/license

func (UnimplementedHandler) GetUserPreferencesAdmin

GetUserPreferencesAdmin implements getUserPreferencesAdmin operation.

GET /admin/users/{id}/preferences

func (UnimplementedHandler) GetVersionHistory

GetVersionHistory implements getVersionHistory operation.

GET /server/version-history

func (UnimplementedHandler) LinkOAuthAccount

func (UnimplementedHandler) LinkOAuthAccount(ctx context.Context, req *OAuthCallbackDto) (r *UserAdminResponseDto, _ error)

LinkOAuthAccount implements linkOAuthAccount operation.

POST /oauth/link

func (UnimplementedHandler) Login

Login implements login operation.

POST /auth/login

func (UnimplementedHandler) Logout

Logout implements logout operation.

POST /auth/logout

func (UnimplementedHandler) MergePerson

MergePerson implements mergePerson operation.

POST /people/{id}/merge

func (UnimplementedHandler) PingServer

PingServer implements pingServer operation.

GET /server/ping

func (UnimplementedHandler) PlayAssetVideo

PlayAssetVideo implements playAssetVideo operation.

GET /assets/{id}/video/playback

func (UnimplementedHandler) ReassignFaces

ReassignFaces implements reassignFaces operation.

PUT /people/{id}/reassign

func (UnimplementedHandler) ReassignFacesById

func (UnimplementedHandler) ReassignFacesById(ctx context.Context, req *FaceDto, params ReassignFacesByIdParams) (r *PersonResponseDto, _ error)

ReassignFacesById implements reassignFacesById operation.

PUT /faces/{id}

func (UnimplementedHandler) RedirectOAuthToMobile

func (UnimplementedHandler) RedirectOAuthToMobile(ctx context.Context) error

RedirectOAuthToMobile implements redirectOAuthToMobile operation.

GET /oauth/mobile-redirect

func (UnimplementedHandler) RemoveAssetFromAlbum

func (UnimplementedHandler) RemoveAssetFromAlbum(ctx context.Context, req *BulkIdsDto, params RemoveAssetFromAlbumParams) (r []BulkIdResponseDto, _ error)

RemoveAssetFromAlbum implements removeAssetFromAlbum operation.

DELETE /albums/{id}/assets

func (UnimplementedHandler) RemoveMemoryAssets

func (UnimplementedHandler) RemoveMemoryAssets(ctx context.Context, req *BulkIdsDto, params RemoveMemoryAssetsParams) (r []BulkIdResponseDto, _ error)

RemoveMemoryAssets implements removeMemoryAssets operation.

DELETE /memories/{id}/assets

func (UnimplementedHandler) RemovePartner

func (UnimplementedHandler) RemovePartner(ctx context.Context, params RemovePartnerParams) error

RemovePartner implements removePartner operation.

DELETE /partners/{id}

func (UnimplementedHandler) RemoveSharedLink(ctx context.Context, params RemoveSharedLinkParams) error

RemoveSharedLink implements removeSharedLink operation.

DELETE /shared-links/{id}

func (UnimplementedHandler) RemoveSharedLinkAssets

func (UnimplementedHandler) RemoveSharedLinkAssets(ctx context.Context, req *AssetIdsDto, params RemoveSharedLinkAssetsParams) (r []AssetIdsResponseDto, _ error)

RemoveSharedLinkAssets implements removeSharedLinkAssets operation.

DELETE /shared-links/{id}/assets

func (UnimplementedHandler) RemoveUserFromAlbum

func (UnimplementedHandler) RemoveUserFromAlbum(ctx context.Context, params RemoveUserFromAlbumParams) error

RemoveUserFromAlbum implements removeUserFromAlbum operation.

DELETE /albums/{id}/user/{userId}

func (UnimplementedHandler) ReplaceAsset

ReplaceAsset implements replaceAsset operation.

Replace the asset with new file, without changing its id.

PUT /assets/{id}/original

func (UnimplementedHandler) RestoreAssets

func (UnimplementedHandler) RestoreAssets(ctx context.Context, req *BulkIdsDto) (r *TrashResponseDto, _ error)

RestoreAssets implements restoreAssets operation.

POST /trash/restore/assets

func (UnimplementedHandler) RestoreTrash

func (UnimplementedHandler) RestoreTrash(ctx context.Context) (r *TrashResponseDto, _ error)

RestoreTrash implements restoreTrash operation.

POST /trash/restore

func (UnimplementedHandler) RestoreUserAdmin

RestoreUserAdmin implements restoreUserAdmin operation.

POST /admin/users/{id}/restore

func (UnimplementedHandler) ReverseGeocode

ReverseGeocode implements reverseGeocode operation.

GET /map/reverse-geocode

func (UnimplementedHandler) RunAssetJobs

func (UnimplementedHandler) RunAssetJobs(ctx context.Context, req *AssetJobsDto) error

RunAssetJobs implements runAssetJobs operation.

POST /assets/jobs

func (UnimplementedHandler) ScanLibrary

func (UnimplementedHandler) ScanLibrary(ctx context.Context, params ScanLibraryParams) error

ScanLibrary implements scanLibrary operation.

POST /libraries/{id}/scan

func (UnimplementedHandler) SearchMemories

func (UnimplementedHandler) SearchMemories(ctx context.Context) (r []MemoryResponseDto, _ error)

SearchMemories implements searchMemories operation.

GET /memories

func (UnimplementedHandler) SearchMetadata

SearchMetadata implements searchMetadata operation.

POST /search/metadata

func (UnimplementedHandler) SearchPerson

SearchPerson implements searchPerson operation.

GET /search/person

func (UnimplementedHandler) SearchPlaces

SearchPlaces implements searchPlaces operation.

GET /search/places

func (UnimplementedHandler) SearchRandom

func (UnimplementedHandler) SearchRandom(ctx context.Context, req *RandomSearchDto) (r []AssetResponseDto, _ error)

SearchRandom implements searchRandom operation.

POST /search/random

func (UnimplementedHandler) SearchSmart

SearchSmart implements searchSmart operation.

POST /search/smart

func (UnimplementedHandler) SearchStacks

func (UnimplementedHandler) SearchStacks(ctx context.Context, params SearchStacksParams) (r []StackResponseDto, _ error)

SearchStacks implements searchStacks operation.

GET /stacks

func (UnimplementedHandler) SearchUsers

func (UnimplementedHandler) SearchUsers(ctx context.Context) (r []UserResponseDto, _ error)

SearchUsers implements searchUsers operation.

GET /users

func (UnimplementedHandler) SearchUsersAdmin

SearchUsersAdmin implements searchUsersAdmin operation.

GET /admin/users

func (UnimplementedHandler) SendJobCommand

func (UnimplementedHandler) SendJobCommand(ctx context.Context, req *JobCommandDto, params SendJobCommandParams) (r *JobStatusDto, _ error)

SendJobCommand implements sendJobCommand operation.

PUT /jobs/{id}

func (UnimplementedHandler) SendTestEmail

SendTestEmail implements sendTestEmail operation.

POST /notifications/test-email

func (UnimplementedHandler) SetServerLicense

func (UnimplementedHandler) SetServerLicense(ctx context.Context, req *LicenseKeyDto) (r *LicenseResponseDto, _ error)

SetServerLicense implements setServerLicense operation.

PUT /server/license

func (UnimplementedHandler) SetUserLicense

func (UnimplementedHandler) SetUserLicense(ctx context.Context, req *LicenseKeyDto) (r *LicenseResponseDto, _ error)

SetUserLicense implements setUserLicense operation.

PUT /users/me/license

func (UnimplementedHandler) SignUpAdmin

SignUpAdmin implements signUpAdmin operation.

POST /auth/admin-sign-up

func (UnimplementedHandler) StartOAuth

StartOAuth implements startOAuth operation.

POST /oauth/authorize

func (UnimplementedHandler) TagAssets

TagAssets implements tagAssets operation.

PUT /tags/{id}/assets

func (UnimplementedHandler) UnlinkOAuthAccount

func (UnimplementedHandler) UnlinkOAuthAccount(ctx context.Context) (r *UserAdminResponseDto, _ error)

UnlinkOAuthAccount implements unlinkOAuthAccount operation.

POST /oauth/unlink

func (UnimplementedHandler) UntagAssets

UntagAssets implements untagAssets operation.

DELETE /tags/{id}/assets

func (UnimplementedHandler) UpdateAdminOnboarding

func (UnimplementedHandler) UpdateAdminOnboarding(ctx context.Context, req *AdminOnboardingUpdateDto) error

UpdateAdminOnboarding implements updateAdminOnboarding operation.

POST /system-metadata/admin-onboarding

func (UnimplementedHandler) UpdateAlbumInfo

UpdateAlbumInfo implements updateAlbumInfo operation.

PATCH /albums/{id}

func (UnimplementedHandler) UpdateAlbumUser

UpdateAlbumUser implements updateAlbumUser operation.

PUT /albums/{id}/user/{userId}

func (UnimplementedHandler) UpdateApiKey

UpdateApiKey implements updateApiKey operation.

PUT /api-keys/{id}

func (UnimplementedHandler) UpdateAsset

UpdateAsset implements updateAsset operation.

PUT /assets/{id}

func (UnimplementedHandler) UpdateAssets

UpdateAssets implements updateAssets operation.

PUT /assets

func (UnimplementedHandler) UpdateConfig

func (UnimplementedHandler) UpdateConfig(ctx context.Context, req *SystemConfigDto) (r *SystemConfigDto, _ error)

UpdateConfig implements updateConfig operation.

PUT /system-config

func (UnimplementedHandler) UpdateLibrary

UpdateLibrary implements updateLibrary operation.

PUT /libraries/{id}

func (UnimplementedHandler) UpdateMemory

UpdateMemory implements updateMemory operation.

PUT /memories/{id}

func (UnimplementedHandler) UpdateMyPreferences

UpdateMyPreferences implements updateMyPreferences operation.

PUT /users/me/preferences

func (UnimplementedHandler) UpdateMyUser

UpdateMyUser implements updateMyUser operation.

PUT /users/me

func (UnimplementedHandler) UpdatePartner

UpdatePartner implements updatePartner operation.

PUT /partners/{id}

func (UnimplementedHandler) UpdatePeople

UpdatePeople implements updatePeople operation.

PUT /people

func (UnimplementedHandler) UpdatePerson

UpdatePerson implements updatePerson operation.

PUT /people/{id}

UpdateSharedLink implements updateSharedLink operation.

PATCH /shared-links/{id}

func (UnimplementedHandler) UpdateStack

UpdateStack implements updateStack operation.

PUT /stacks/{id}

func (UnimplementedHandler) UpdateTag

UpdateTag implements updateTag operation.

PUT /tags/{id}

func (UnimplementedHandler) UpdateUserAdmin

UpdateUserAdmin implements updateUserAdmin operation.

PUT /admin/users/{id}

func (UnimplementedHandler) UpdateUserPreferencesAdmin

UpdateUserPreferencesAdmin implements updateUserPreferencesAdmin operation.

PUT /admin/users/{id}/preferences

func (UnimplementedHandler) UploadAsset

UploadAsset implements uploadAsset operation.

POST /assets

func (UnimplementedHandler) UpsertTags

func (UnimplementedHandler) UpsertTags(ctx context.Context, req *TagUpsertDto) (r []TagResponseDto, _ error)

UpsertTags implements upsertTags operation.

PUT /tags

func (UnimplementedHandler) Validate

Validate implements validate operation.

POST /libraries/{id}/validate

func (UnimplementedHandler) ValidateAccessToken

func (UnimplementedHandler) ValidateAccessToken(ctx context.Context) (r *ValidateAccessTokenResponseDto, _ error)

ValidateAccessToken implements validateAccessToken operation.

POST /auth/validateToken

func (UnimplementedHandler) ViewAsset

func (UnimplementedHandler) ViewAsset(ctx context.Context, params ViewAssetParams) (r ViewAssetOK, _ error)

ViewAsset implements viewAsset operation.

GET /assets/{id}/thumbnail

type UntagAssetsParams

type UntagAssetsParams struct {
	ID uuid.UUID
}

UntagAssetsParams is parameters of untagAssets operation.

type UpdateAdminOnboardingNoContent

type UpdateAdminOnboardingNoContent struct{}

UpdateAdminOnboardingNoContent is response for UpdateAdminOnboarding operation.

type UpdateAlbumDto

type UpdateAlbumDto struct {
	AlbumName             OptString     `json:"albumName"`
	AlbumThumbnailAssetId OptUUID       `json:"albumThumbnailAssetId"`
	Description           OptString     `json:"description"`
	IsActivityEnabled     OptBool       `json:"isActivityEnabled"`
	Order                 OptAssetOrder `json:"order"`
}

Ref: #/components/schemas/UpdateAlbumDto

func (*UpdateAlbumDto) Decode

func (s *UpdateAlbumDto) Decode(d *jx.Decoder) error

Decode decodes UpdateAlbumDto from json.

func (*UpdateAlbumDto) Encode

func (s *UpdateAlbumDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateAlbumDto) GetAlbumName

func (s *UpdateAlbumDto) GetAlbumName() OptString

GetAlbumName returns the value of AlbumName.

func (*UpdateAlbumDto) GetAlbumThumbnailAssetId

func (s *UpdateAlbumDto) GetAlbumThumbnailAssetId() OptUUID

GetAlbumThumbnailAssetId returns the value of AlbumThumbnailAssetId.

func (*UpdateAlbumDto) GetDescription

func (s *UpdateAlbumDto) GetDescription() OptString

GetDescription returns the value of Description.

func (*UpdateAlbumDto) GetIsActivityEnabled

func (s *UpdateAlbumDto) GetIsActivityEnabled() OptBool

GetIsActivityEnabled returns the value of IsActivityEnabled.

func (*UpdateAlbumDto) GetOrder

func (s *UpdateAlbumDto) GetOrder() OptAssetOrder

GetOrder returns the value of Order.

func (*UpdateAlbumDto) MarshalJSON

func (s *UpdateAlbumDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAlbumDto) SetAlbumName

func (s *UpdateAlbumDto) SetAlbumName(val OptString)

SetAlbumName sets the value of AlbumName.

func (*UpdateAlbumDto) SetAlbumThumbnailAssetId

func (s *UpdateAlbumDto) SetAlbumThumbnailAssetId(val OptUUID)

SetAlbumThumbnailAssetId sets the value of AlbumThumbnailAssetId.

func (*UpdateAlbumDto) SetDescription

func (s *UpdateAlbumDto) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*UpdateAlbumDto) SetIsActivityEnabled

func (s *UpdateAlbumDto) SetIsActivityEnabled(val OptBool)

SetIsActivityEnabled sets the value of IsActivityEnabled.

func (*UpdateAlbumDto) SetOrder

func (s *UpdateAlbumDto) SetOrder(val OptAssetOrder)

SetOrder sets the value of Order.

func (*UpdateAlbumDto) UnmarshalJSON

func (s *UpdateAlbumDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateAlbumDto) Validate

func (s *UpdateAlbumDto) Validate() error

type UpdateAlbumInfoParams

type UpdateAlbumInfoParams struct {
	ID uuid.UUID
}

UpdateAlbumInfoParams is parameters of updateAlbumInfo operation.

type UpdateAlbumUserDto

type UpdateAlbumUserDto struct {
	Role AlbumUserRole `json:"role"`
}

Ref: #/components/schemas/UpdateAlbumUserDto

func (*UpdateAlbumUserDto) Decode

func (s *UpdateAlbumUserDto) Decode(d *jx.Decoder) error

Decode decodes UpdateAlbumUserDto from json.

func (*UpdateAlbumUserDto) Encode

func (s *UpdateAlbumUserDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateAlbumUserDto) GetRole

func (s *UpdateAlbumUserDto) GetRole() AlbumUserRole

GetRole returns the value of Role.

func (*UpdateAlbumUserDto) MarshalJSON

func (s *UpdateAlbumUserDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAlbumUserDto) SetRole

func (s *UpdateAlbumUserDto) SetRole(val AlbumUserRole)

SetRole sets the value of Role.

func (*UpdateAlbumUserDto) UnmarshalJSON

func (s *UpdateAlbumUserDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateAlbumUserDto) Validate

func (s *UpdateAlbumUserDto) Validate() error

type UpdateAlbumUserOK

type UpdateAlbumUserOK struct{}

UpdateAlbumUserOK is response for UpdateAlbumUser operation.

type UpdateAlbumUserParams

type UpdateAlbumUserParams struct {
	ID     uuid.UUID
	UserId string
}

UpdateAlbumUserParams is parameters of updateAlbumUser operation.

type UpdateApiKeyParams

type UpdateApiKeyParams struct {
	ID uuid.UUID
}

UpdateApiKeyParams is parameters of updateApiKey operation.

type UpdateAssetDto

type UpdateAssetDto struct {
	DateTimeOriginal OptString  `json:"dateTimeOriginal"`
	Description      OptString  `json:"description"`
	IsArchived       OptBool    `json:"isArchived"`
	IsFavorite       OptBool    `json:"isFavorite"`
	Latitude         OptFloat64 `json:"latitude"`
	LivePhotoVideoId OptNilUUID `json:"livePhotoVideoId"`
	Longitude        OptFloat64 `json:"longitude"`
	Rating           OptFloat64 `json:"rating"`
}

Ref: #/components/schemas/UpdateAssetDto

func (*UpdateAssetDto) Decode

func (s *UpdateAssetDto) Decode(d *jx.Decoder) error

Decode decodes UpdateAssetDto from json.

func (*UpdateAssetDto) Encode

func (s *UpdateAssetDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateAssetDto) GetDateTimeOriginal

func (s *UpdateAssetDto) GetDateTimeOriginal() OptString

GetDateTimeOriginal returns the value of DateTimeOriginal.

func (*UpdateAssetDto) GetDescription

func (s *UpdateAssetDto) GetDescription() OptString

GetDescription returns the value of Description.

func (*UpdateAssetDto) GetIsArchived

func (s *UpdateAssetDto) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*UpdateAssetDto) GetIsFavorite

func (s *UpdateAssetDto) GetIsFavorite() OptBool

GetIsFavorite returns the value of IsFavorite.

func (*UpdateAssetDto) GetLatitude

func (s *UpdateAssetDto) GetLatitude() OptFloat64

GetLatitude returns the value of Latitude.

func (*UpdateAssetDto) GetLivePhotoVideoId

func (s *UpdateAssetDto) GetLivePhotoVideoId() OptNilUUID

GetLivePhotoVideoId returns the value of LivePhotoVideoId.

func (*UpdateAssetDto) GetLongitude

func (s *UpdateAssetDto) GetLongitude() OptFloat64

GetLongitude returns the value of Longitude.

func (*UpdateAssetDto) GetRating

func (s *UpdateAssetDto) GetRating() OptFloat64

GetRating returns the value of Rating.

func (*UpdateAssetDto) MarshalJSON

func (s *UpdateAssetDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateAssetDto) SetDateTimeOriginal

func (s *UpdateAssetDto) SetDateTimeOriginal(val OptString)

SetDateTimeOriginal sets the value of DateTimeOriginal.

func (*UpdateAssetDto) SetDescription

func (s *UpdateAssetDto) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*UpdateAssetDto) SetIsArchived

func (s *UpdateAssetDto) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*UpdateAssetDto) SetIsFavorite

func (s *UpdateAssetDto) SetIsFavorite(val OptBool)

SetIsFavorite sets the value of IsFavorite.

func (*UpdateAssetDto) SetLatitude

func (s *UpdateAssetDto) SetLatitude(val OptFloat64)

SetLatitude sets the value of Latitude.

func (*UpdateAssetDto) SetLivePhotoVideoId

func (s *UpdateAssetDto) SetLivePhotoVideoId(val OptNilUUID)

SetLivePhotoVideoId sets the value of LivePhotoVideoId.

func (*UpdateAssetDto) SetLongitude

func (s *UpdateAssetDto) SetLongitude(val OptFloat64)

SetLongitude sets the value of Longitude.

func (*UpdateAssetDto) SetRating

func (s *UpdateAssetDto) SetRating(val OptFloat64)

SetRating sets the value of Rating.

func (*UpdateAssetDto) UnmarshalJSON

func (s *UpdateAssetDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UpdateAssetDto) Validate

func (s *UpdateAssetDto) Validate() error

type UpdateAssetParams

type UpdateAssetParams struct {
	ID uuid.UUID
}

UpdateAssetParams is parameters of updateAsset operation.

type UpdateAssetsNoContent

type UpdateAssetsNoContent struct{}

UpdateAssetsNoContent is response for UpdateAssets operation.

type UpdateLibraryDto

type UpdateLibraryDto struct {
	ExclusionPatterns []string  `json:"exclusionPatterns"`
	ImportPaths       []string  `json:"importPaths"`
	Name              OptString `json:"name"`
}

Ref: #/components/schemas/UpdateLibraryDto

func (*UpdateLibraryDto) Decode

func (s *UpdateLibraryDto) Decode(d *jx.Decoder) error

Decode decodes UpdateLibraryDto from json.

func (*UpdateLibraryDto) Encode

func (s *UpdateLibraryDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdateLibraryDto) GetExclusionPatterns

func (s *UpdateLibraryDto) GetExclusionPatterns() []string

GetExclusionPatterns returns the value of ExclusionPatterns.

func (*UpdateLibraryDto) GetImportPaths

func (s *UpdateLibraryDto) GetImportPaths() []string

GetImportPaths returns the value of ImportPaths.

func (*UpdateLibraryDto) GetName

func (s *UpdateLibraryDto) GetName() OptString

GetName returns the value of Name.

func (*UpdateLibraryDto) MarshalJSON

func (s *UpdateLibraryDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdateLibraryDto) SetExclusionPatterns

func (s *UpdateLibraryDto) SetExclusionPatterns(val []string)

SetExclusionPatterns sets the value of ExclusionPatterns.

func (*UpdateLibraryDto) SetImportPaths

func (s *UpdateLibraryDto) SetImportPaths(val []string)

SetImportPaths sets the value of ImportPaths.

func (*UpdateLibraryDto) SetName

func (s *UpdateLibraryDto) SetName(val OptString)

SetName sets the value of Name.

func (*UpdateLibraryDto) UnmarshalJSON

func (s *UpdateLibraryDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdateLibraryParams

type UpdateLibraryParams struct {
	ID uuid.UUID
}

UpdateLibraryParams is parameters of updateLibrary operation.

type UpdateMemoryParams

type UpdateMemoryParams struct {
	ID uuid.UUID
}

UpdateMemoryParams is parameters of updateMemory operation.

type UpdatePartnerDto

type UpdatePartnerDto struct {
	InTimeline bool `json:"inTimeline"`
}

Ref: #/components/schemas/UpdatePartnerDto

func (*UpdatePartnerDto) Decode

func (s *UpdatePartnerDto) Decode(d *jx.Decoder) error

Decode decodes UpdatePartnerDto from json.

func (*UpdatePartnerDto) Encode

func (s *UpdatePartnerDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UpdatePartnerDto) GetInTimeline

func (s *UpdatePartnerDto) GetInTimeline() bool

GetInTimeline returns the value of InTimeline.

func (*UpdatePartnerDto) MarshalJSON

func (s *UpdatePartnerDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UpdatePartnerDto) SetInTimeline

func (s *UpdatePartnerDto) SetInTimeline(val bool)

SetInTimeline sets the value of InTimeline.

func (*UpdatePartnerDto) UnmarshalJSON

func (s *UpdatePartnerDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UpdatePartnerParams

type UpdatePartnerParams struct {
	ID uuid.UUID
}

UpdatePartnerParams is parameters of updatePartner operation.

type UpdatePersonParams

type UpdatePersonParams struct {
	ID uuid.UUID
}

UpdatePersonParams is parameters of updatePerson operation.

type UpdateSharedLinkParams

type UpdateSharedLinkParams struct {
	ID uuid.UUID
}

UpdateSharedLinkParams is parameters of updateSharedLink operation.

type UpdateStackParams

type UpdateStackParams struct {
	ID uuid.UUID
}

UpdateStackParams is parameters of updateStack operation.

type UpdateTagParams

type UpdateTagParams struct {
	ID uuid.UUID
}

UpdateTagParams is parameters of updateTag operation.

type UpdateUserAdminParams

type UpdateUserAdminParams struct {
	ID uuid.UUID
}

UpdateUserAdminParams is parameters of updateUserAdmin operation.

type UpdateUserPreferencesAdminParams

type UpdateUserPreferencesAdminParams struct {
	ID uuid.UUID
}

UpdateUserPreferencesAdminParams is parameters of updateUserPreferencesAdmin operation.

type UploadAssetParams

type UploadAssetParams struct {
	Key OptString
	// Sha1 checksum that can be used for duplicate detection before the file is uploaded.
	XImmichChecksum OptString
}

UploadAssetParams is parameters of uploadAsset operation.

type UsageByUserDto

type UsageByUserDto struct {
	Photos           int      `json:"photos"`
	QuotaSizeInBytes NilInt64 `json:"quotaSizeInBytes"`
	Usage            int64    `json:"usage"`
	UserId           string   `json:"userId"`
	UserName         string   `json:"userName"`
	Videos           int      `json:"videos"`
}

Ref: #/components/schemas/UsageByUserDto

func (*UsageByUserDto) Decode

func (s *UsageByUserDto) Decode(d *jx.Decoder) error

Decode decodes UsageByUserDto from json.

func (*UsageByUserDto) Encode

func (s *UsageByUserDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UsageByUserDto) GetPhotos

func (s *UsageByUserDto) GetPhotos() int

GetPhotos returns the value of Photos.

func (*UsageByUserDto) GetQuotaSizeInBytes

func (s *UsageByUserDto) GetQuotaSizeInBytes() NilInt64

GetQuotaSizeInBytes returns the value of QuotaSizeInBytes.

func (*UsageByUserDto) GetUsage

func (s *UsageByUserDto) GetUsage() int64

GetUsage returns the value of Usage.

func (*UsageByUserDto) GetUserId

func (s *UsageByUserDto) GetUserId() string

GetUserId returns the value of UserId.

func (*UsageByUserDto) GetUserName

func (s *UsageByUserDto) GetUserName() string

GetUserName returns the value of UserName.

func (*UsageByUserDto) GetVideos

func (s *UsageByUserDto) GetVideos() int

GetVideos returns the value of Videos.

func (*UsageByUserDto) MarshalJSON

func (s *UsageByUserDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UsageByUserDto) SetPhotos

func (s *UsageByUserDto) SetPhotos(val int)

SetPhotos sets the value of Photos.

func (*UsageByUserDto) SetQuotaSizeInBytes

func (s *UsageByUserDto) SetQuotaSizeInBytes(val NilInt64)

SetQuotaSizeInBytes sets the value of QuotaSizeInBytes.

func (*UsageByUserDto) SetUsage

func (s *UsageByUserDto) SetUsage(val int64)

SetUsage sets the value of Usage.

func (*UsageByUserDto) SetUserId

func (s *UsageByUserDto) SetUserId(val string)

SetUserId sets the value of UserId.

func (*UsageByUserDto) SetUserName

func (s *UsageByUserDto) SetUserName(val string)

SetUserName sets the value of UserName.

func (*UsageByUserDto) SetVideos

func (s *UsageByUserDto) SetVideos(val int)

SetVideos sets the value of Videos.

func (*UsageByUserDto) UnmarshalJSON

func (s *UsageByUserDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UserAdminCreateDto

type UserAdminCreateDto struct {
	Email                string       `json:"email"`
	Name                 string       `json:"name"`
	Notify               OptBool      `json:"notify"`
	Password             string       `json:"password"`
	QuotaSizeInBytes     OptNilInt64  `json:"quotaSizeInBytes"`
	ShouldChangePassword OptBool      `json:"shouldChangePassword"`
	StorageLabel         OptNilString `json:"storageLabel"`
}

Ref: #/components/schemas/UserAdminCreateDto

func (*UserAdminCreateDto) Decode

func (s *UserAdminCreateDto) Decode(d *jx.Decoder) error

Decode decodes UserAdminCreateDto from json.

func (*UserAdminCreateDto) Encode

func (s *UserAdminCreateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserAdminCreateDto) GetEmail

func (s *UserAdminCreateDto) GetEmail() string

GetEmail returns the value of Email.

func (*UserAdminCreateDto) GetName

func (s *UserAdminCreateDto) GetName() string

GetName returns the value of Name.

func (*UserAdminCreateDto) GetNotify

func (s *UserAdminCreateDto) GetNotify() OptBool

GetNotify returns the value of Notify.

func (*UserAdminCreateDto) GetPassword

func (s *UserAdminCreateDto) GetPassword() string

GetPassword returns the value of Password.

func (*UserAdminCreateDto) GetQuotaSizeInBytes

func (s *UserAdminCreateDto) GetQuotaSizeInBytes() OptNilInt64

GetQuotaSizeInBytes returns the value of QuotaSizeInBytes.

func (*UserAdminCreateDto) GetShouldChangePassword

func (s *UserAdminCreateDto) GetShouldChangePassword() OptBool

GetShouldChangePassword returns the value of ShouldChangePassword.

func (*UserAdminCreateDto) GetStorageLabel

func (s *UserAdminCreateDto) GetStorageLabel() OptNilString

GetStorageLabel returns the value of StorageLabel.

func (*UserAdminCreateDto) MarshalJSON

func (s *UserAdminCreateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserAdminCreateDto) SetEmail

func (s *UserAdminCreateDto) SetEmail(val string)

SetEmail sets the value of Email.

func (*UserAdminCreateDto) SetName

func (s *UserAdminCreateDto) SetName(val string)

SetName sets the value of Name.

func (*UserAdminCreateDto) SetNotify

func (s *UserAdminCreateDto) SetNotify(val OptBool)

SetNotify sets the value of Notify.

func (*UserAdminCreateDto) SetPassword

func (s *UserAdminCreateDto) SetPassword(val string)

SetPassword sets the value of Password.

func (*UserAdminCreateDto) SetQuotaSizeInBytes

func (s *UserAdminCreateDto) SetQuotaSizeInBytes(val OptNilInt64)

SetQuotaSizeInBytes sets the value of QuotaSizeInBytes.

func (*UserAdminCreateDto) SetShouldChangePassword

func (s *UserAdminCreateDto) SetShouldChangePassword(val OptBool)

SetShouldChangePassword sets the value of ShouldChangePassword.

func (*UserAdminCreateDto) SetStorageLabel

func (s *UserAdminCreateDto) SetStorageLabel(val OptNilString)

SetStorageLabel sets the value of StorageLabel.

func (*UserAdminCreateDto) UnmarshalJSON

func (s *UserAdminCreateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserAdminCreateDto) Validate

func (s *UserAdminCreateDto) Validate() error

type UserAdminDeleteDto

type UserAdminDeleteDto struct {
	Force OptBool `json:"force"`
}

Ref: #/components/schemas/UserAdminDeleteDto

func (*UserAdminDeleteDto) Decode

func (s *UserAdminDeleteDto) Decode(d *jx.Decoder) error

Decode decodes UserAdminDeleteDto from json.

func (*UserAdminDeleteDto) Encode

func (s *UserAdminDeleteDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserAdminDeleteDto) GetForce

func (s *UserAdminDeleteDto) GetForce() OptBool

GetForce returns the value of Force.

func (*UserAdminDeleteDto) MarshalJSON

func (s *UserAdminDeleteDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserAdminDeleteDto) SetForce

func (s *UserAdminDeleteDto) SetForce(val OptBool)

SetForce sets the value of Force.

func (*UserAdminDeleteDto) UnmarshalJSON

func (s *UserAdminDeleteDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UserAdminResponseDto

type UserAdminResponseDto struct {
	AvatarColor          UserAvatarColor                `json:"avatarColor"`
	CreatedAt            time.Time                      `json:"createdAt"`
	DeletedAt            NilDateTime                    `json:"deletedAt"`
	Email                string                         `json:"email"`
	ID                   string                         `json:"id"`
	IsAdmin              bool                           `json:"isAdmin"`
	License              NilUserAdminResponseDtoLicense `json:"license"`
	Name                 string                         `json:"name"`
	OauthId              string                         `json:"oauthId"`
	ProfileChangedAt     time.Time                      `json:"profileChangedAt"`
	ProfileImagePath     string                         `json:"profileImagePath"`
	QuotaSizeInBytes     NilInt64                       `json:"quotaSizeInBytes"`
	QuotaUsageInBytes    NilInt64                       `json:"quotaUsageInBytes"`
	ShouldChangePassword bool                           `json:"shouldChangePassword"`
	Status               UserStatus                     `json:"status"`
	StorageLabel         NilString                      `json:"storageLabel"`
	UpdatedAt            time.Time                      `json:"updatedAt"`
}

Ref: #/components/schemas/UserAdminResponseDto

func (*UserAdminResponseDto) Decode

func (s *UserAdminResponseDto) Decode(d *jx.Decoder) error

Decode decodes UserAdminResponseDto from json.

func (*UserAdminResponseDto) Encode

func (s *UserAdminResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserAdminResponseDto) GetAvatarColor

func (s *UserAdminResponseDto) GetAvatarColor() UserAvatarColor

GetAvatarColor returns the value of AvatarColor.

func (*UserAdminResponseDto) GetCreatedAt

func (s *UserAdminResponseDto) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*UserAdminResponseDto) GetDeletedAt

func (s *UserAdminResponseDto) GetDeletedAt() NilDateTime

GetDeletedAt returns the value of DeletedAt.

func (*UserAdminResponseDto) GetEmail

func (s *UserAdminResponseDto) GetEmail() string

GetEmail returns the value of Email.

func (*UserAdminResponseDto) GetID

func (s *UserAdminResponseDto) GetID() string

GetID returns the value of ID.

func (*UserAdminResponseDto) GetIsAdmin

func (s *UserAdminResponseDto) GetIsAdmin() bool

GetIsAdmin returns the value of IsAdmin.

func (*UserAdminResponseDto) GetLicense

GetLicense returns the value of License.

func (*UserAdminResponseDto) GetName

func (s *UserAdminResponseDto) GetName() string

GetName returns the value of Name.

func (*UserAdminResponseDto) GetOauthId

func (s *UserAdminResponseDto) GetOauthId() string

GetOauthId returns the value of OauthId.

func (*UserAdminResponseDto) GetProfileChangedAt

func (s *UserAdminResponseDto) GetProfileChangedAt() time.Time

GetProfileChangedAt returns the value of ProfileChangedAt.

func (*UserAdminResponseDto) GetProfileImagePath

func (s *UserAdminResponseDto) GetProfileImagePath() string

GetProfileImagePath returns the value of ProfileImagePath.

func (*UserAdminResponseDto) GetQuotaSizeInBytes

func (s *UserAdminResponseDto) GetQuotaSizeInBytes() NilInt64

GetQuotaSizeInBytes returns the value of QuotaSizeInBytes.

func (*UserAdminResponseDto) GetQuotaUsageInBytes

func (s *UserAdminResponseDto) GetQuotaUsageInBytes() NilInt64

GetQuotaUsageInBytes returns the value of QuotaUsageInBytes.

func (*UserAdminResponseDto) GetShouldChangePassword

func (s *UserAdminResponseDto) GetShouldChangePassword() bool

GetShouldChangePassword returns the value of ShouldChangePassword.

func (*UserAdminResponseDto) GetStatus

func (s *UserAdminResponseDto) GetStatus() UserStatus

GetStatus returns the value of Status.

func (*UserAdminResponseDto) GetStorageLabel

func (s *UserAdminResponseDto) GetStorageLabel() NilString

GetStorageLabel returns the value of StorageLabel.

func (*UserAdminResponseDto) GetUpdatedAt

func (s *UserAdminResponseDto) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*UserAdminResponseDto) MarshalJSON

func (s *UserAdminResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserAdminResponseDto) SetAvatarColor

func (s *UserAdminResponseDto) SetAvatarColor(val UserAvatarColor)

SetAvatarColor sets the value of AvatarColor.

func (*UserAdminResponseDto) SetCreatedAt

func (s *UserAdminResponseDto) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*UserAdminResponseDto) SetDeletedAt

func (s *UserAdminResponseDto) SetDeletedAt(val NilDateTime)

SetDeletedAt sets the value of DeletedAt.

func (*UserAdminResponseDto) SetEmail

func (s *UserAdminResponseDto) SetEmail(val string)

SetEmail sets the value of Email.

func (*UserAdminResponseDto) SetID

func (s *UserAdminResponseDto) SetID(val string)

SetID sets the value of ID.

func (*UserAdminResponseDto) SetIsAdmin

func (s *UserAdminResponseDto) SetIsAdmin(val bool)

SetIsAdmin sets the value of IsAdmin.

func (*UserAdminResponseDto) SetLicense

SetLicense sets the value of License.

func (*UserAdminResponseDto) SetName

func (s *UserAdminResponseDto) SetName(val string)

SetName sets the value of Name.

func (*UserAdminResponseDto) SetOauthId

func (s *UserAdminResponseDto) SetOauthId(val string)

SetOauthId sets the value of OauthId.

func (*UserAdminResponseDto) SetProfileChangedAt

func (s *UserAdminResponseDto) SetProfileChangedAt(val time.Time)

SetProfileChangedAt sets the value of ProfileChangedAt.

func (*UserAdminResponseDto) SetProfileImagePath

func (s *UserAdminResponseDto) SetProfileImagePath(val string)

SetProfileImagePath sets the value of ProfileImagePath.

func (*UserAdminResponseDto) SetQuotaSizeInBytes

func (s *UserAdminResponseDto) SetQuotaSizeInBytes(val NilInt64)

SetQuotaSizeInBytes sets the value of QuotaSizeInBytes.

func (*UserAdminResponseDto) SetQuotaUsageInBytes

func (s *UserAdminResponseDto) SetQuotaUsageInBytes(val NilInt64)

SetQuotaUsageInBytes sets the value of QuotaUsageInBytes.

func (*UserAdminResponseDto) SetShouldChangePassword

func (s *UserAdminResponseDto) SetShouldChangePassword(val bool)

SetShouldChangePassword sets the value of ShouldChangePassword.

func (*UserAdminResponseDto) SetStatus

func (s *UserAdminResponseDto) SetStatus(val UserStatus)

SetStatus sets the value of Status.

func (*UserAdminResponseDto) SetStorageLabel

func (s *UserAdminResponseDto) SetStorageLabel(val NilString)

SetStorageLabel sets the value of StorageLabel.

func (*UserAdminResponseDto) SetUpdatedAt

func (s *UserAdminResponseDto) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*UserAdminResponseDto) UnmarshalJSON

func (s *UserAdminResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserAdminResponseDto) Validate

func (s *UserAdminResponseDto) Validate() error

type UserAdminResponseDtoLicense

type UserAdminResponseDtoLicense struct {
	ActivatedAt   time.Time `json:"activatedAt"`
	ActivationKey string    `json:"activationKey"`
	LicenseKey    string    `json:"licenseKey"`
}

func (*UserAdminResponseDtoLicense) Decode

Decode decodes UserAdminResponseDtoLicense from json.

func (*UserAdminResponseDtoLicense) Encode

func (s *UserAdminResponseDtoLicense) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserAdminResponseDtoLicense) GetActivatedAt

func (s *UserAdminResponseDtoLicense) GetActivatedAt() time.Time

GetActivatedAt returns the value of ActivatedAt.

func (*UserAdminResponseDtoLicense) GetActivationKey

func (s *UserAdminResponseDtoLicense) GetActivationKey() string

GetActivationKey returns the value of ActivationKey.

func (*UserAdminResponseDtoLicense) GetLicenseKey

func (s *UserAdminResponseDtoLicense) GetLicenseKey() string

GetLicenseKey returns the value of LicenseKey.

func (*UserAdminResponseDtoLicense) MarshalJSON

func (s *UserAdminResponseDtoLicense) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserAdminResponseDtoLicense) SetActivatedAt

func (s *UserAdminResponseDtoLicense) SetActivatedAt(val time.Time)

SetActivatedAt sets the value of ActivatedAt.

func (*UserAdminResponseDtoLicense) SetActivationKey

func (s *UserAdminResponseDtoLicense) SetActivationKey(val string)

SetActivationKey sets the value of ActivationKey.

func (*UserAdminResponseDtoLicense) SetLicenseKey

func (s *UserAdminResponseDtoLicense) SetLicenseKey(val string)

SetLicenseKey sets the value of LicenseKey.

func (*UserAdminResponseDtoLicense) UnmarshalJSON

func (s *UserAdminResponseDtoLicense) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UserAdminUpdateDto

type UserAdminUpdateDto struct {
	Email                OptString    `json:"email"`
	Name                 OptString    `json:"name"`
	Password             OptString    `json:"password"`
	QuotaSizeInBytes     OptNilInt64  `json:"quotaSizeInBytes"`
	ShouldChangePassword OptBool      `json:"shouldChangePassword"`
	StorageLabel         OptNilString `json:"storageLabel"`
}

Ref: #/components/schemas/UserAdminUpdateDto

func (*UserAdminUpdateDto) Decode

func (s *UserAdminUpdateDto) Decode(d *jx.Decoder) error

Decode decodes UserAdminUpdateDto from json.

func (*UserAdminUpdateDto) Encode

func (s *UserAdminUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserAdminUpdateDto) GetEmail

func (s *UserAdminUpdateDto) GetEmail() OptString

GetEmail returns the value of Email.

func (*UserAdminUpdateDto) GetName

func (s *UserAdminUpdateDto) GetName() OptString

GetName returns the value of Name.

func (*UserAdminUpdateDto) GetPassword

func (s *UserAdminUpdateDto) GetPassword() OptString

GetPassword returns the value of Password.

func (*UserAdminUpdateDto) GetQuotaSizeInBytes

func (s *UserAdminUpdateDto) GetQuotaSizeInBytes() OptNilInt64

GetQuotaSizeInBytes returns the value of QuotaSizeInBytes.

func (*UserAdminUpdateDto) GetShouldChangePassword

func (s *UserAdminUpdateDto) GetShouldChangePassword() OptBool

GetShouldChangePassword returns the value of ShouldChangePassword.

func (*UserAdminUpdateDto) GetStorageLabel

func (s *UserAdminUpdateDto) GetStorageLabel() OptNilString

GetStorageLabel returns the value of StorageLabel.

func (*UserAdminUpdateDto) MarshalJSON

func (s *UserAdminUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserAdminUpdateDto) SetEmail

func (s *UserAdminUpdateDto) SetEmail(val OptString)

SetEmail sets the value of Email.

func (*UserAdminUpdateDto) SetName

func (s *UserAdminUpdateDto) SetName(val OptString)

SetName sets the value of Name.

func (*UserAdminUpdateDto) SetPassword

func (s *UserAdminUpdateDto) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*UserAdminUpdateDto) SetQuotaSizeInBytes

func (s *UserAdminUpdateDto) SetQuotaSizeInBytes(val OptNilInt64)

SetQuotaSizeInBytes sets the value of QuotaSizeInBytes.

func (*UserAdminUpdateDto) SetShouldChangePassword

func (s *UserAdminUpdateDto) SetShouldChangePassword(val OptBool)

SetShouldChangePassword sets the value of ShouldChangePassword.

func (*UserAdminUpdateDto) SetStorageLabel

func (s *UserAdminUpdateDto) SetStorageLabel(val OptNilString)

SetStorageLabel sets the value of StorageLabel.

func (*UserAdminUpdateDto) UnmarshalJSON

func (s *UserAdminUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserAdminUpdateDto) Validate

func (s *UserAdminUpdateDto) Validate() error

type UserAvatarColor

type UserAvatarColor string

Ref: #/components/schemas/UserAvatarColor

const (
	UserAvatarColorPrimary UserAvatarColor = "primary"
	UserAvatarColorPink    UserAvatarColor = "pink"
	UserAvatarColorRed     UserAvatarColor = "red"
	UserAvatarColorYellow  UserAvatarColor = "yellow"
	UserAvatarColorBlue    UserAvatarColor = "blue"
	UserAvatarColorGreen   UserAvatarColor = "green"
	UserAvatarColorPurple  UserAvatarColor = "purple"
	UserAvatarColorOrange  UserAvatarColor = "orange"
	UserAvatarColorGray    UserAvatarColor = "gray"
	UserAvatarColorAmber   UserAvatarColor = "amber"
)

func (UserAvatarColor) AllValues

func (UserAvatarColor) AllValues() []UserAvatarColor

AllValues returns all UserAvatarColor values.

func (*UserAvatarColor) Decode

func (s *UserAvatarColor) Decode(d *jx.Decoder) error

Decode decodes UserAvatarColor from json.

func (UserAvatarColor) Encode

func (s UserAvatarColor) Encode(e *jx.Encoder)

Encode encodes UserAvatarColor as json.

func (UserAvatarColor) MarshalJSON

func (s UserAvatarColor) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserAvatarColor) MarshalText

func (s UserAvatarColor) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserAvatarColor) UnmarshalJSON

func (s *UserAvatarColor) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserAvatarColor) UnmarshalText

func (s *UserAvatarColor) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserAvatarColor) Validate

func (s UserAvatarColor) Validate() error

type UserPreferencesResponseDto

type UserPreferencesResponseDto struct {
	Avatar             AvatarResponse             `json:"avatar"`
	Download           DownloadResponse           `json:"download"`
	EmailNotifications EmailNotificationsResponse `json:"emailNotifications"`
	Folders            FoldersResponse            `json:"folders"`
	Memories           MemoriesResponse           `json:"memories"`
	People             PeopleResponse             `json:"people"`
	Purchase           PurchaseResponse           `json:"purchase"`
	Ratings            RatingsResponse            `json:"ratings"`
	Tags               TagsResponse               `json:"tags"`
}

Ref: #/components/schemas/UserPreferencesResponseDto

func (*UserPreferencesResponseDto) Decode

Decode decodes UserPreferencesResponseDto from json.

func (*UserPreferencesResponseDto) Encode

func (s *UserPreferencesResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserPreferencesResponseDto) GetAvatar

GetAvatar returns the value of Avatar.

func (*UserPreferencesResponseDto) GetDownload

GetDownload returns the value of Download.

func (*UserPreferencesResponseDto) GetEmailNotifications

func (s *UserPreferencesResponseDto) GetEmailNotifications() EmailNotificationsResponse

GetEmailNotifications returns the value of EmailNotifications.

func (*UserPreferencesResponseDto) GetFolders

GetFolders returns the value of Folders.

func (*UserPreferencesResponseDto) GetMemories

GetMemories returns the value of Memories.

func (*UserPreferencesResponseDto) GetPeople

GetPeople returns the value of People.

func (*UserPreferencesResponseDto) GetPurchase

GetPurchase returns the value of Purchase.

func (*UserPreferencesResponseDto) GetRatings

GetRatings returns the value of Ratings.

func (*UserPreferencesResponseDto) GetTags

GetTags returns the value of Tags.

func (*UserPreferencesResponseDto) MarshalJSON

func (s *UserPreferencesResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserPreferencesResponseDto) SetAvatar

func (s *UserPreferencesResponseDto) SetAvatar(val AvatarResponse)

SetAvatar sets the value of Avatar.

func (*UserPreferencesResponseDto) SetDownload

func (s *UserPreferencesResponseDto) SetDownload(val DownloadResponse)

SetDownload sets the value of Download.

func (*UserPreferencesResponseDto) SetEmailNotifications

func (s *UserPreferencesResponseDto) SetEmailNotifications(val EmailNotificationsResponse)

SetEmailNotifications sets the value of EmailNotifications.

func (*UserPreferencesResponseDto) SetFolders

func (s *UserPreferencesResponseDto) SetFolders(val FoldersResponse)

SetFolders sets the value of Folders.

func (*UserPreferencesResponseDto) SetMemories

func (s *UserPreferencesResponseDto) SetMemories(val MemoriesResponse)

SetMemories sets the value of Memories.

func (*UserPreferencesResponseDto) SetPeople

func (s *UserPreferencesResponseDto) SetPeople(val PeopleResponse)

SetPeople sets the value of People.

func (*UserPreferencesResponseDto) SetPurchase

func (s *UserPreferencesResponseDto) SetPurchase(val PurchaseResponse)

SetPurchase sets the value of Purchase.

func (*UserPreferencesResponseDto) SetRatings

func (s *UserPreferencesResponseDto) SetRatings(val RatingsResponse)

SetRatings sets the value of Ratings.

func (*UserPreferencesResponseDto) SetTags

func (s *UserPreferencesResponseDto) SetTags(val TagsResponse)

SetTags sets the value of Tags.

func (*UserPreferencesResponseDto) UnmarshalJSON

func (s *UserPreferencesResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserPreferencesResponseDto) Validate

func (s *UserPreferencesResponseDto) Validate() error

type UserPreferencesUpdateDto

type UserPreferencesUpdateDto struct {
	Avatar             OptAvatarUpdate             `json:"avatar"`
	Download           OptDownloadUpdate           `json:"download"`
	EmailNotifications OptEmailNotificationsUpdate `json:"emailNotifications"`
	Folders            OptFoldersUpdate            `json:"folders"`
	Memories           OptMemoriesUpdate           `json:"memories"`
	People             OptPeopleUpdate             `json:"people"`
	Purchase           OptPurchaseUpdate           `json:"purchase"`
	Ratings            OptRatingsUpdate            `json:"ratings"`
	Tags               OptTagsUpdate               `json:"tags"`
}

Ref: #/components/schemas/UserPreferencesUpdateDto

func (*UserPreferencesUpdateDto) Decode

func (s *UserPreferencesUpdateDto) Decode(d *jx.Decoder) error

Decode decodes UserPreferencesUpdateDto from json.

func (*UserPreferencesUpdateDto) Encode

func (s *UserPreferencesUpdateDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserPreferencesUpdateDto) GetAvatar

GetAvatar returns the value of Avatar.

func (*UserPreferencesUpdateDto) GetDownload

GetDownload returns the value of Download.

func (*UserPreferencesUpdateDto) GetEmailNotifications

func (s *UserPreferencesUpdateDto) GetEmailNotifications() OptEmailNotificationsUpdate

GetEmailNotifications returns the value of EmailNotifications.

func (*UserPreferencesUpdateDto) GetFolders

GetFolders returns the value of Folders.

func (*UserPreferencesUpdateDto) GetMemories

GetMemories returns the value of Memories.

func (*UserPreferencesUpdateDto) GetPeople

GetPeople returns the value of People.

func (*UserPreferencesUpdateDto) GetPurchase

GetPurchase returns the value of Purchase.

func (*UserPreferencesUpdateDto) GetRatings

GetRatings returns the value of Ratings.

func (*UserPreferencesUpdateDto) GetTags

GetTags returns the value of Tags.

func (*UserPreferencesUpdateDto) MarshalJSON

func (s *UserPreferencesUpdateDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserPreferencesUpdateDto) SetAvatar

func (s *UserPreferencesUpdateDto) SetAvatar(val OptAvatarUpdate)

SetAvatar sets the value of Avatar.

func (*UserPreferencesUpdateDto) SetDownload

func (s *UserPreferencesUpdateDto) SetDownload(val OptDownloadUpdate)

SetDownload sets the value of Download.

func (*UserPreferencesUpdateDto) SetEmailNotifications

func (s *UserPreferencesUpdateDto) SetEmailNotifications(val OptEmailNotificationsUpdate)

SetEmailNotifications sets the value of EmailNotifications.

func (*UserPreferencesUpdateDto) SetFolders

func (s *UserPreferencesUpdateDto) SetFolders(val OptFoldersUpdate)

SetFolders sets the value of Folders.

func (*UserPreferencesUpdateDto) SetMemories

func (s *UserPreferencesUpdateDto) SetMemories(val OptMemoriesUpdate)

SetMemories sets the value of Memories.

func (*UserPreferencesUpdateDto) SetPeople

func (s *UserPreferencesUpdateDto) SetPeople(val OptPeopleUpdate)

SetPeople sets the value of People.

func (*UserPreferencesUpdateDto) SetPurchase

func (s *UserPreferencesUpdateDto) SetPurchase(val OptPurchaseUpdate)

SetPurchase sets the value of Purchase.

func (*UserPreferencesUpdateDto) SetRatings

func (s *UserPreferencesUpdateDto) SetRatings(val OptRatingsUpdate)

SetRatings sets the value of Ratings.

func (*UserPreferencesUpdateDto) SetTags

func (s *UserPreferencesUpdateDto) SetTags(val OptTagsUpdate)

SetTags sets the value of Tags.

func (*UserPreferencesUpdateDto) UnmarshalJSON

func (s *UserPreferencesUpdateDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserPreferencesUpdateDto) Validate

func (s *UserPreferencesUpdateDto) Validate() error

type UserResponseDto

type UserResponseDto struct {
	AvatarColor      UserAvatarColor `json:"avatarColor"`
	Email            string          `json:"email"`
	ID               string          `json:"id"`
	Name             string          `json:"name"`
	ProfileChangedAt time.Time       `json:"profileChangedAt"`
	ProfileImagePath string          `json:"profileImagePath"`
}

Ref: #/components/schemas/UserResponseDto

func (*UserResponseDto) Decode

func (s *UserResponseDto) Decode(d *jx.Decoder) error

Decode decodes UserResponseDto from json.

func (*UserResponseDto) Encode

func (s *UserResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserResponseDto) GetAvatarColor

func (s *UserResponseDto) GetAvatarColor() UserAvatarColor

GetAvatarColor returns the value of AvatarColor.

func (*UserResponseDto) GetEmail

func (s *UserResponseDto) GetEmail() string

GetEmail returns the value of Email.

func (*UserResponseDto) GetID

func (s *UserResponseDto) GetID() string

GetID returns the value of ID.

func (*UserResponseDto) GetName

func (s *UserResponseDto) GetName() string

GetName returns the value of Name.

func (*UserResponseDto) GetProfileChangedAt

func (s *UserResponseDto) GetProfileChangedAt() time.Time

GetProfileChangedAt returns the value of ProfileChangedAt.

func (*UserResponseDto) GetProfileImagePath

func (s *UserResponseDto) GetProfileImagePath() string

GetProfileImagePath returns the value of ProfileImagePath.

func (*UserResponseDto) MarshalJSON

func (s *UserResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserResponseDto) SetAvatarColor

func (s *UserResponseDto) SetAvatarColor(val UserAvatarColor)

SetAvatarColor sets the value of AvatarColor.

func (*UserResponseDto) SetEmail

func (s *UserResponseDto) SetEmail(val string)

SetEmail sets the value of Email.

func (*UserResponseDto) SetID

func (s *UserResponseDto) SetID(val string)

SetID sets the value of ID.

func (*UserResponseDto) SetName

func (s *UserResponseDto) SetName(val string)

SetName sets the value of Name.

func (*UserResponseDto) SetProfileChangedAt

func (s *UserResponseDto) SetProfileChangedAt(val time.Time)

SetProfileChangedAt sets the value of ProfileChangedAt.

func (*UserResponseDto) SetProfileImagePath

func (s *UserResponseDto) SetProfileImagePath(val string)

SetProfileImagePath sets the value of ProfileImagePath.

func (*UserResponseDto) UnmarshalJSON

func (s *UserResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserResponseDto) Validate

func (s *UserResponseDto) Validate() error

type UserStatus

type UserStatus string

Ref: #/components/schemas/UserStatus

const (
	UserStatusActive   UserStatus = "active"
	UserStatusRemoving UserStatus = "removing"
	UserStatusDeleted  UserStatus = "deleted"
)

func (UserStatus) AllValues

func (UserStatus) AllValues() []UserStatus

AllValues returns all UserStatus values.

func (*UserStatus) Decode

func (s *UserStatus) Decode(d *jx.Decoder) error

Decode decodes UserStatus from json.

func (UserStatus) Encode

func (s UserStatus) Encode(e *jx.Encoder)

Encode encodes UserStatus as json.

func (UserStatus) MarshalJSON

func (s UserStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserStatus) MarshalText

func (s UserStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserStatus) UnmarshalJSON

func (s *UserStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserStatus) UnmarshalText

func (s *UserStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserStatus) Validate

func (s UserStatus) Validate() error

type UserUpdateMeDto

type UserUpdateMeDto struct {
	Email    OptString `json:"email"`
	Name     OptString `json:"name"`
	Password OptString `json:"password"`
}

Ref: #/components/schemas/UserUpdateMeDto

func (*UserUpdateMeDto) Decode

func (s *UserUpdateMeDto) Decode(d *jx.Decoder) error

Decode decodes UserUpdateMeDto from json.

func (*UserUpdateMeDto) Encode

func (s *UserUpdateMeDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserUpdateMeDto) GetEmail

func (s *UserUpdateMeDto) GetEmail() OptString

GetEmail returns the value of Email.

func (*UserUpdateMeDto) GetName

func (s *UserUpdateMeDto) GetName() OptString

GetName returns the value of Name.

func (*UserUpdateMeDto) GetPassword

func (s *UserUpdateMeDto) GetPassword() OptString

GetPassword returns the value of Password.

func (*UserUpdateMeDto) MarshalJSON

func (s *UserUpdateMeDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserUpdateMeDto) SetEmail

func (s *UserUpdateMeDto) SetEmail(val OptString)

SetEmail sets the value of Email.

func (*UserUpdateMeDto) SetName

func (s *UserUpdateMeDto) SetName(val OptString)

SetName sets the value of Name.

func (*UserUpdateMeDto) SetPassword

func (s *UserUpdateMeDto) SetPassword(val OptString)

SetPassword sets the value of Password.

func (*UserUpdateMeDto) UnmarshalJSON

func (s *UserUpdateMeDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidateAccessTokenResponseDto

type ValidateAccessTokenResponseDto struct {
	AuthStatus bool `json:"authStatus"`
}

Ref: #/components/schemas/ValidateAccessTokenResponseDto

func (*ValidateAccessTokenResponseDto) Decode

Decode decodes ValidateAccessTokenResponseDto from json.

func (*ValidateAccessTokenResponseDto) Encode

Encode implements json.Marshaler.

func (*ValidateAccessTokenResponseDto) GetAuthStatus

func (s *ValidateAccessTokenResponseDto) GetAuthStatus() bool

GetAuthStatus returns the value of AuthStatus.

func (*ValidateAccessTokenResponseDto) MarshalJSON

func (s *ValidateAccessTokenResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidateAccessTokenResponseDto) SetAuthStatus

func (s *ValidateAccessTokenResponseDto) SetAuthStatus(val bool)

SetAuthStatus sets the value of AuthStatus.

func (*ValidateAccessTokenResponseDto) UnmarshalJSON

func (s *ValidateAccessTokenResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidateLibraryDto

type ValidateLibraryDto struct {
	ExclusionPatterns []string `json:"exclusionPatterns"`
	ImportPaths       []string `json:"importPaths"`
}

Ref: #/components/schemas/ValidateLibraryDto

func (*ValidateLibraryDto) Decode

func (s *ValidateLibraryDto) Decode(d *jx.Decoder) error

Decode decodes ValidateLibraryDto from json.

func (*ValidateLibraryDto) Encode

func (s *ValidateLibraryDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ValidateLibraryDto) GetExclusionPatterns

func (s *ValidateLibraryDto) GetExclusionPatterns() []string

GetExclusionPatterns returns the value of ExclusionPatterns.

func (*ValidateLibraryDto) GetImportPaths

func (s *ValidateLibraryDto) GetImportPaths() []string

GetImportPaths returns the value of ImportPaths.

func (*ValidateLibraryDto) MarshalJSON

func (s *ValidateLibraryDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidateLibraryDto) SetExclusionPatterns

func (s *ValidateLibraryDto) SetExclusionPatterns(val []string)

SetExclusionPatterns sets the value of ExclusionPatterns.

func (*ValidateLibraryDto) SetImportPaths

func (s *ValidateLibraryDto) SetImportPaths(val []string)

SetImportPaths sets the value of ImportPaths.

func (*ValidateLibraryDto) UnmarshalJSON

func (s *ValidateLibraryDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidateLibraryImportPathResponseDto

type ValidateLibraryImportPathResponseDto struct {
	ImportPath string    `json:"importPath"`
	IsValid    bool      `json:"isValid"`
	Message    OptString `json:"message"`
}

Ref: #/components/schemas/ValidateLibraryImportPathResponseDto

func (*ValidateLibraryImportPathResponseDto) Decode

Decode decodes ValidateLibraryImportPathResponseDto from json.

func (*ValidateLibraryImportPathResponseDto) Encode

Encode implements json.Marshaler.

func (*ValidateLibraryImportPathResponseDto) GetImportPath

func (s *ValidateLibraryImportPathResponseDto) GetImportPath() string

GetImportPath returns the value of ImportPath.

func (*ValidateLibraryImportPathResponseDto) GetIsValid

GetIsValid returns the value of IsValid.

func (*ValidateLibraryImportPathResponseDto) GetMessage

GetMessage returns the value of Message.

func (*ValidateLibraryImportPathResponseDto) MarshalJSON

func (s *ValidateLibraryImportPathResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidateLibraryImportPathResponseDto) SetImportPath

func (s *ValidateLibraryImportPathResponseDto) SetImportPath(val string)

SetImportPath sets the value of ImportPath.

func (*ValidateLibraryImportPathResponseDto) SetIsValid

func (s *ValidateLibraryImportPathResponseDto) SetIsValid(val bool)

SetIsValid sets the value of IsValid.

func (*ValidateLibraryImportPathResponseDto) SetMessage

SetMessage sets the value of Message.

func (*ValidateLibraryImportPathResponseDto) UnmarshalJSON

func (s *ValidateLibraryImportPathResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidateLibraryResponseDto

type ValidateLibraryResponseDto struct {
	ImportPaths []ValidateLibraryImportPathResponseDto `json:"importPaths"`
}

Ref: #/components/schemas/ValidateLibraryResponseDto

func (*ValidateLibraryResponseDto) Decode

Decode decodes ValidateLibraryResponseDto from json.

func (*ValidateLibraryResponseDto) Encode

func (s *ValidateLibraryResponseDto) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ValidateLibraryResponseDto) GetImportPaths

GetImportPaths returns the value of ImportPaths.

func (*ValidateLibraryResponseDto) MarshalJSON

func (s *ValidateLibraryResponseDto) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ValidateLibraryResponseDto) SetImportPaths

SetImportPaths sets the value of ImportPaths.

func (*ValidateLibraryResponseDto) UnmarshalJSON

func (s *ValidateLibraryResponseDto) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ValidateParams

type ValidateParams struct {
	ID uuid.UUID
}

ValidateParams is parameters of validate operation.

type VideoCodec

type VideoCodec string

Ref: #/components/schemas/VideoCodec

const (
	VideoCodecH264 VideoCodec = "h264"
	VideoCodecHevc VideoCodec = "hevc"
	VideoCodecVp9  VideoCodec = "vp9"
	VideoCodecAv1  VideoCodec = "av1"
)

func (VideoCodec) AllValues

func (VideoCodec) AllValues() []VideoCodec

AllValues returns all VideoCodec values.

func (*VideoCodec) Decode

func (s *VideoCodec) Decode(d *jx.Decoder) error

Decode decodes VideoCodec from json.

func (VideoCodec) Encode

func (s VideoCodec) Encode(e *jx.Encoder)

Encode encodes VideoCodec as json.

func (VideoCodec) MarshalJSON

func (s VideoCodec) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VideoCodec) MarshalText

func (s VideoCodec) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VideoCodec) UnmarshalJSON

func (s *VideoCodec) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VideoCodec) UnmarshalText

func (s *VideoCodec) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VideoCodec) Validate

func (s VideoCodec) Validate() error

type VideoContainer

type VideoContainer string

Ref: #/components/schemas/VideoContainer

const (
	VideoContainerMov  VideoContainer = "mov"
	VideoContainerMP4  VideoContainer = "mp4"
	VideoContainerOgg  VideoContainer = "ogg"
	VideoContainerWebm VideoContainer = "webm"
)

func (VideoContainer) AllValues

func (VideoContainer) AllValues() []VideoContainer

AllValues returns all VideoContainer values.

func (*VideoContainer) Decode

func (s *VideoContainer) Decode(d *jx.Decoder) error

Decode decodes VideoContainer from json.

func (VideoContainer) Encode

func (s VideoContainer) Encode(e *jx.Encoder)

Encode encodes VideoContainer as json.

func (VideoContainer) MarshalJSON

func (s VideoContainer) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VideoContainer) MarshalText

func (s VideoContainer) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VideoContainer) UnmarshalJSON

func (s *VideoContainer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VideoContainer) UnmarshalText

func (s *VideoContainer) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VideoContainer) Validate

func (s VideoContainer) Validate() error

type ViewAssetOK

type ViewAssetOK struct {
	Data io.Reader
}

func (ViewAssetOK) Read

func (s ViewAssetOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type ViewAssetParams

type ViewAssetParams struct {
	ID   uuid.UUID
	Key  OptString
	Size OptAssetMediaSize
}

ViewAssetParams is parameters of viewAsset operation.

Jump to

Keyboard shortcuts

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