package client

const (
	BitbucketServerProviderType                 = "bitbucketServerProvider"
	BitbucketServerProviderFieldAnnotations     = "annotations"
	BitbucketServerProviderFieldCreated         = "created"
	BitbucketServerProviderFieldCreatorID       = "creatorId"
	BitbucketServerProviderFieldLabels          = "labels"
	BitbucketServerProviderFieldName            = "name"
	BitbucketServerProviderFieldOwnerReferences = "ownerReferences"
	BitbucketServerProviderFieldProjectID       = "projectId"
	BitbucketServerProviderFieldRedirectURL     = "redirectUrl"
	BitbucketServerProviderFieldRemoved         = "removed"
	BitbucketServerProviderFieldType            = "type"
	BitbucketServerProviderFieldUUID            = "uuid"
)

type BitbucketServerProvider struct {
	Annotations     map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	Created         string            `json:"created,omitempty" yaml:"created,omitempty"`
	CreatorID       string            `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
	Labels          map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name            string            `json:"name,omitempty" yaml:"name,omitempty"`
	OwnerReferences []OwnerReference  `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	ProjectID       string            `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	RedirectURL     string            `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
	Removed         string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	Type            string            `json:"type,omitempty" yaml:"type,omitempty"`
	UUID            string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}
