mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
49 lines
885 B
Go
49 lines
885 B
Go
|
package model
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
|
||
|
"github.com/caos/zitadel/internal/model"
|
||
|
)
|
||
|
|
||
|
type LabelPolicyView struct {
|
||
|
AggregateID string
|
||
|
PrimaryColor string
|
||
|
SecondaryColor string
|
||
|
Default bool
|
||
|
|
||
|
CreationDate time.Time
|
||
|
ChangeDate time.Time
|
||
|
Sequence uint64
|
||
|
}
|
||
|
|
||
|
type LabelPolicySearchRequest struct {
|
||
|
Offset uint64
|
||
|
Limit uint64
|
||
|
SortingColumn LabelPolicySearchKey
|
||
|
Asc bool
|
||
|
Queries []*LabelPolicySearchQuery
|
||
|
}
|
||
|
|
||
|
type LabelPolicySearchKey int32
|
||
|
|
||
|
const (
|
||
|
LabelPolicySearchKeyUnspecified LabelPolicySearchKey = iota
|
||
|
LabelPolicySearchKeyAggregateID
|
||
|
)
|
||
|
|
||
|
type LabelPolicySearchQuery struct {
|
||
|
Key LabelPolicySearchKey
|
||
|
Method model.SearchMethod
|
||
|
Value interface{}
|
||
|
}
|
||
|
|
||
|
type LabelPolicySearchResponse struct {
|
||
|
Offset uint64
|
||
|
Limit uint64
|
||
|
TotalResult uint64
|
||
|
Result []*LabelPolicyView
|
||
|
Sequence uint64
|
||
|
Timestamp time.Time
|
||
|
}
|