models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BusinessContentManagementProjectTemplate    = "com.atlassian.jira-core-project-templates:jira-core-simplified-content-management"
	BusinessDocumentApprovalProjectTemplate     = "com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval"
	BusinessLeadTrackingProjectTemplate         = "com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking"
	BusinessProcessControlProjectTemplate       = "com.atlassian.jira-core-project-templates:jira-core-simplified-process-control"
	BusinessProcurementProjectTemplate          = "com.atlassian.jira-core-project-templates:jira-core-simplified-procurement"
	BusinessProjectManagementProjectTemplate    = "com.atlassian.jira-core-project-templates:jira-core-simplified-project-management"
	BusinessRecruitmentProjectTemplate          = "com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment"
	BusinessTaskTrackingProjectTemplate         = "com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking"
	ITSMServiceDeskProjectTemplate              = "com.atlassian.servicedesk:simplified-it-service-desk"
	ITSMInternalServiceDeskProjectTemplate      = "com.atlassian.servicedesk:simplified-internal-service-desk"
	ITSMExternalServiceDeskProjectTemplate      = "com.atlassian.servicedesk:simplified-external-service-desk"
	SoftwareTeamManagedKanbanProjectTemplate    = "com.pyxis.greenhopper.jira:gh-simplified-agility-kanban"
	SoftwareTeamManagedScrumProjectTemplate     = "com.pyxis.greenhopper.jira:gh-simplified-agility-scrum"
	SoftwareCompanyManagedKanbanProjectTemplate = "com.pyxis.greenhopper.jira:gh-simplified-kanban-classic"
	SoftwareCompanyManagedScrumProjectTemplate  = "com.pyxis.greenhopper.jira:gh-simplified-scrum-classic"
)
View Source
const (
	DateFormatJira = "2006-01-02T15:04:05.999-0700"
)

Variables

View Source
var (
	ErrNoAdminOrganizationError = errors.New("admin: no organization id set")
	ErrNoAdminDomainIDError     = errors.New("admin: no domain id set")
	ErrNoEventIDError           = errors.New("admin: no event id set")
	ErrNoAdminPolicyError       = errors.New("admin: no organization policy id set")
	ErrNoAdminDirectoryIDError  = errors.New("admin: no directory id set")
	ErrNoAdminGroupIDError      = errors.New("admin: no group id set")
	ErrNoAdminGroupNameError    = errors.New("admin: no group name set")
	ErrNoAdminUserIDError       = errors.New("admin: no user id set")
	ErrNoAdminAccountIDError    = errors.New("admin: no account id set")
	ErrNoAdminUserTokenError    = errors.New("admin: no user token id set")

	ErrNoCustomerMailError        = errors.New("sm: no customer mail set")
	ErrNoCustomerDisplayNameError = errors.New("sm: no customer display name set")
	ErrNoKBQueryError             = errors.New("sm: no knowledge base query set")
	ErrNoOrganizationNameError    = errors.New("sm: no organization name set")
	ErrNoOrganizationIDError      = errors.New("sm: no organization id set")
	ErrNoCommentBodyError         = errors.New("sm/jira: no comment body set")
	ErrNoServiceDeskIDError       = errors.New("sm: no service desk id set")
	ErrNoQueueIDError             = errors.New("sm: no service desk queue id set")
	ErrNoRequestTypeIDError       = errors.New("sm: no request type id set")
	ErrNoFileNameError            = errors.New("sm: no file name set")
	ErrNoFileReaderError          = errors.New("sm: no io.Reader set")
	ErrNoCustomRequestFieldsError = errors.New("sm: no customer request fields set")
	ErrNoSLAMetricIDError         = errors.New("sm: no sla metric id set")

	ErrNoContentIDError             = errors.New("confluence: no content id set")
	ErrNoCQLError                   = errors.New("confluence: no CQL query set")
	ErrNoContentTypeError           = errors.New("confluence: no content type set")
	ErrInvalidContentTypeError      = errors.New("confluence: invalid content type: (page, comment, attachment)")
	ValidContentTypes               = []string{"page", "comment", "attachment"}
	ErrNoContentLabelError          = errors.New("confluence: no content label set")
	ErrNoContentPropertyError       = errors.New("confluence: no content property set")
	ErrNoSpaceNameError             = errors.New("confluence: no space name set")
	ErrNoSpaceKeyError              = errors.New("confluence: no space key set")
	ErrNoContentRestrictionKeyError = errors.New("confluence: no content restriction operation key set")
	ErrNoConfluenceGroupError       = errors.New("confluence: no group id or name set")
	ErrNoLabelNameError             = errors.New("confluence: no label name set")

	ErrNoBoardIDError  = errors.New("agile: no board id set")
	ErrNoFilterIDError = errors.New("agile: no filter id set")
	ErrNoEpicIDError   = errors.New("agile: no epic id set")
	ErrNoSprintIDError = errors.New("agile: no sprint id set")

	ErrNoApplicationRoleError              = errors.New("jira: no application role key set")
	ErrNoDashboardIDError                  = errors.New("jira: no dashboard id set")
	ErrNoGroupNameError                    = errors.New("jira: no group name set")
	ErrNoGroupIDError                      = errors.New("jira: no group name set")
	ErrNoIssueKeyOrIDError                 = errors.New("jira: no issue key/id set")
	ErrNoIssueSchemeError                  = errors.New("jira: no jira.IssueScheme set")
	ErrNoTransitionIDError                 = errors.New("jira: no transition id set")
	ErrNoAttachmentIDError                 = errors.New("jira: no attachment id set")
	ErrNoAttachmentNameError               = errors.New("jira: no attachment filename set")
	ErrNoReaderError                       = errors.New("jira: no reader set")
	ErrNoCommentIDError                    = errors.New("jira: no comment id set")
	ErrNoProjectIDError                    = errors.New("jira: no project id set")
	ErrNoProjectIDOrKeyError               = errors.New("jira: no project id or key set")
	ErrNoProjectRoleIDError                = errors.New("jira: no project role id set")
	ErrNoProjectCategoryIDError            = errors.New("jira: no project category id set")
	ErrNoPropertyKeyError                  = errors.New("jira: no property key set")
	ErrNoProjectFeatureKeyError            = errors.New("jira: no project feature key set")
	ErrNoFieldIDError                      = errors.New("jira: no field id set")
	ErrNoWorkflowStatusesError             = errors.New("jira: no workflow statuses set")
	ErrNoWorkflowScopeError                = errors.New("jira: no workflow scope set")
	ErrNoFieldContextIDError               = errors.New("jira: no field context id set")
	ErrNoIssueTypesError                   = errors.New("jira: no issue types id's set")
	ErrNoProjectsError                     = errors.New("jira: no projects set")
	ErrNoContextOptionIDError              = errors.New("jira: no field context option id set")
	ErrNoTypeIDError                       = errors.New("jira: no link id set")
	ErrNoLinkTypeIDError                   = errors.New("jira: no link type id set")
	ErrNoPriorityIDError                   = errors.New("jira: no priority id set")
	ErrNoResolutionIDError                 = errors.New("jira: no resolution id set")
	ErrNoJQLError                          = errors.New("jira: no sql set")
	ErrNoIssueTypeIDError                  = errors.New("jira: no issue type id set")
	ErrNoIssueTypeScreenSchemeIDError      = errors.New("jira: no issue type screen scheme id set")
	ErrNoScreenSchemeIDError               = errors.New("jira: no screen scheme id set")
	ErrNoAccountIDError                    = errors.New("jira: no account id set")
	ErrNoWorklogIDError                    = errors.New("jira: no worklog id set")
	ErrNpWorklogsError                     = errors.New("jira: no worklog's id set")
	ErrNoPermissionSchemeIDError           = errors.New("jira: no permission scheme id set")
	ErrNoPermissionGrantIDError            = errors.New("jira: no permission grant id set")
	ErrNoComponentIDError                  = errors.New("jira: no component id set")
	ErrProjectTypeKeyError                 = errors.New("jira: no project type key set")
	ErrNoProjectNameError                  = errors.New("jira: no project name set")
	ErrNoVersionIDError                    = errors.New("jira: no version id set")
	ErrNoScreenNameError                   = errors.New("jira: no screen name set")
	ErrNoScreenTabNameError                = errors.New("jira: no screen tab name set")
	ErrNoAccountSliceError                 = errors.New("jira: no account id's set")
	ErrNoProjectKeySliceError              = errors.New("jira: no project key's set")
	ErrNoWorkflowIDError                   = errors.New("jira: no workflow id set")
	ErrNoWorkflowSchemeIDError             = errors.New("jira: no workflow scheme id set")
	ErrNoScreenIDError                     = errors.New("jira: no screen id set")
	ErrNoScreenTabIDError                  = errors.New("jira: no screen tab id set")
	ErrNoFieldConfigurationNameError       = errors.New("jira: no field configuration name set")
	ErrNoFieldConfigurationIDError         = errors.New("jira: no field configuration id set")
	ErrNoFieldConfigurationSchemeNameError = errors.New("jira: no field configuration scheme name set")
	ErrNoFieldConfigurationSchemeIDError   = errors.New("jira: no field configuration scheme id set")
	ErrNoVersionProvided                   = errors.New("client: no module version set")
	ErrNoIssueTypeSchemeIDError            = errors.New("jira: no issue type scheme id set")
	ErrNoTaskIDError                       = errors.New("atlassian: no task id set")
	ErrNoApprovalIDError                   = errors.New("jira: no approval id set")

	ErrInvalidStatusCodeError = errors.New("client: invalid http response status, please refer the response.body for more details")
	ErrNilPayloadError        = errors.New("client: please provide the necessary payload struct")
	ErrNonPayloadPointerError = errors.New("client: please provide a valid payload struct pointer (&)")
)

Functions

This section is empty.

Types

type AdminOrganizationPageScheme

type AdminOrganizationPageScheme struct {
	Data  []*OrganizationModelScheme `json:"data,omitempty"`
	Links *LinkPageModelScheme       `json:"links,omitempty"`
}

type AdminOrganizationScheme

type AdminOrganizationScheme struct {
	Data *OrganizationModelScheme `json:"data,omitempty"`
}

type AdminOrganizationUserScheme

type AdminOrganizationUserScheme struct {
	AccountID      string                           `json:"account_id,omitempty"`
	AccountType    string                           `json:"account_type,omitempty"`
	AccountStatus  string                           `json:"account_status,omitempty"`
	Name           string                           `json:"name,omitempty"`
	Picture        string                           `json:"picture,omitempty"`
	Email          string                           `json:"email,omitempty"`
	AccessBillable bool                             `json:"access_billable,omitempty"`
	LastActive     string                           `json:"last_active,omitempty"`
	ProductAccess  []*OrganizationUserProductScheme `json:"product_access,omitempty"`
	Links          *LinkSelfModelScheme             `json:"links,omitempty"`
}

type AdminUserAccountScheme

type AdminUserAccountScheme struct {
	AccountID       string                          `json:"account_id,omitempty"`
	Name            string                          `json:"name,omitempty"`
	Nickname        string                          `json:"nickname,omitempty"`
	ZoneInfo        string                          `json:"zoneinfo,omitempty"`
	Locale          string                          `json:"locale,omitempty"`
	Email           string                          `json:"email,omitempty"`
	Picture         string                          `json:"picture,omitempty"`
	AccountType     string                          `json:"account_type,omitempty"`
	AccountStatus   string                          `json:"account_status,omitempty"`
	EmailVerified   bool                            `json:"email_verified,omitempty"`
	ExtendedProfile *AdminUserExtendedProfileScheme `json:"extended_profile"`
	PrivacySettings *AdminUserPrivacySettingsScheme `json:"privacy_settings"`
}

type AdminUserExtendedProfileScheme

type AdminUserExtendedProfileScheme struct {
	JobTitle string `json:"job_title,omitempty"`
	TeamType string `json:"team_type,omitempty"`
}

type AdminUserPermissionGrantReasonScheme

type AdminUserPermissionGrantReasonScheme struct {
	Key string `json:"key,omitempty"`
}

type AdminUserPermissionGrantScheme

type AdminUserPermissionGrantScheme struct {
	Allowed bool                                  `json:"allowed,omitempty"`
	Reason  *AdminUserPermissionGrantReasonScheme `json:"reason,omitempty"`
}

type AdminUserPermissionProfileScheme

type AdminUserPermissionProfileScheme struct {
	Name                        *AdminUserPermissionGrantScheme `json:"name,omitempty"`
	Nickname                    *AdminUserPermissionGrantScheme `json:"nickname,omitempty"`
	Zoneinfo                    *AdminUserPermissionGrantScheme `json:"zoneinfo,omitempty"`
	Locale                      *AdminUserPermissionGrantScheme `json:"locale,omitempty"`
	ExtendedProfilePhoneNumber  *AdminUserPermissionGrantScheme `json:"extended_profile.phone_number,omitempty"`
	ExtendedProfileJobTitle     *AdminUserPermissionGrantScheme `json:"extended_profile.job_title,omitempty"`
	ExtendedProfileOrganization *AdminUserPermissionGrantScheme `json:"extended_profile.organization,omitempty"`
	ExtendedProfileDepartment   *AdminUserPermissionGrantScheme `json:"extended_profile.department,omitempty"`
	ExtendedProfileLocation     *AdminUserPermissionGrantScheme `json:"extended_profile.location,omitempty"`
	ExtendedProfileTeamType     *AdminUserPermissionGrantScheme `json:"extended_profile.team_type,omitempty"`
}

type AdminUserPermissionScheme

type AdminUserPermissionScheme struct {
	EmailSet            *AdminUserPermissionGrantScheme   `json:"email.set,omitempty"`
	LifecycleEnablement *AdminUserPermissionGrantScheme   `json:"lifecycle.enablement,omitempty"`
	Profile             *AdminUserPermissionProfileScheme `json:"profile,omitempty"`
	ProfileWrite        *AdminUserPermissionProfileScheme `json:"profile.write,omitempty"`
	ProfileRead         *AdminUserPermissionGrantScheme   `json:"profile.read,omitempty"`
	LinkedAccountsRead  *AdminUserPermissionGrantScheme   `json:"linkedAccounts.read,omitempty"`
	APITokenRead        *AdminUserPermissionGrantScheme   `json:"apiToken.read,omitempty"`
	APITokenDelete      *AdminUserPermissionGrantScheme   `json:"apiToken.delete,omitempty"`
	Avatar              *AdminUserPermissionGrantScheme   `json:"avatar,omitempty"`
	PrivacySet          *AdminUserPermissionGrantScheme   `json:"privacy.set,omitempty"`
	SessionRead         *AdminUserPermissionGrantScheme   `json:"session.read,omitempty"`
}

type AdminUserPrivacySettingsScheme

type AdminUserPrivacySettingsScheme struct {
	Name                        string `json:"name,omitempty"`
	Nickname                    string `json:"nickname,omitempty"`
	Picture                     string `json:"picture,omitempty"`
	ExtendedProfileJobTitle     string `json:"extended_profile.job_title,omitempty"`
	ExtendedProfileDepartment   string `json:"extended_profile.department,omitempty"`
	ExtendedProfileOrganization string `json:"extended_profile.organization,omitempty"`
	ExtendedProfileLocation     string `json:"extended_profile.location,omitempty"`
	ZoneInfo                    string `json:"zoneinfo,omitempty"`
	Email                       string `json:"email,omitempty"`
	ExtendedProfilePhoneNumber  string `json:"extended_profile.phone_number,omitempty"`
	ExtendedProfileTeamType     string `json:"extended_profile.team_type,omitempty"`
}

type AdminUserScheme

type AdminUserScheme struct {
	Account *AdminUserAccountScheme `json:"account,omitempty"`
}

type ApplicationRoleScheme

type ApplicationRoleScheme struct {
	Key                  string   `json:"key,omitempty"`
	Groups               []string `json:"groups,omitempty"`
	Name                 string   `json:"name,omitempty"`
	DefaultGroups        []string `json:"defaultGroups,omitempty"`
	SelectedByDefault    bool     `json:"selectedByDefault,omitempty"`
	Defined              bool     `json:"defined,omitempty"`
	NumberOfSeats        int      `json:"numberOfSeats,omitempty"`
	RemainingSeats       int      `json:"remainingSeats,omitempty"`
	UserCount            int      `json:"userCount,omitempty"`
	UserCountDescription string   `json:"userCountDescription,omitempty"`
	HasUnlimitedSeats    bool     `json:"hasUnlimitedSeats,omitempty"`
	Platform             bool     `json:"platform,omitempty"`
}

type ApproverLinkScheme

type ApproverLinkScheme struct {
	JiraRest   string           `json:"jiraRest,omitempty"`
	AvatarUrls *AvatarURLScheme `json:"avatarUrls,omitempty"`
	Self       string           `json:"self,omitempty"`
}

type ApproverScheme

type ApproverScheme struct {
	AccountID    string              `json:"accountId,omitempty"`
	Name         string              `json:"name,omitempty"`
	Key          string              `json:"key,omitempty"`
	EmailAddress string              `json:"emailAddress,omitempty"`
	DisplayName  string              `json:"displayName,omitempty"`
	Active       bool                `json:"active,omitempty"`
	TimeZone     string              `json:"timeZone,omitempty"`
	Links        *ApproverLinkScheme `json:"_links,omitempty"`
}

type ArticleContentScheme

type ArticleContentScheme struct {
	IframeSrc string `json:"iframeSrc,omitempty"`
}

type ArticlePageLinkScheme

type ArticlePageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type ArticlePageScheme

type ArticlePageScheme struct {
	Size       int                    `json:"size,omitempty"`
	Start      int                    `json:"start,omitempty"`
	Limit      int                    `json:"limit,omitempty"`
	IsLastPage bool                   `json:"isLastPage,omitempty"`
	Values     []*ArticleScheme       `json:"values,omitempty"`
	Expands    []string               `json:"_expands,omitempty"`
	Links      *ArticlePageLinkScheme `json:"_links,omitempty"`
}

type ArticleScheme

type ArticleScheme struct {
	Title   string                `json:"title,omitempty"`
	Excerpt string                `json:"excerpt,omitempty"`
	Source  *ArticleSourceScheme  `json:"source,omitempty"`
	Content *ArticleContentScheme `json:"content,omitempty"`
}

type ArticleSourceScheme

type ArticleSourceScheme struct {
	Type string `json:"type,omitempty"`
}

type AttachmentHumanMetadataEntryScheme

type AttachmentHumanMetadataEntryScheme struct {
	Path      string `json:"path,omitempty"`
	Index     int    `json:"index,omitempty"`
	Size      string `json:"size,omitempty"`
	MediaType string `json:"mediaType,omitempty"`
	Label     string `json:"label,omitempty"`
}

type AttachmentHumanMetadataScheme

type AttachmentHumanMetadataScheme struct {
	ID              int                                   `json:"id,omitempty"`
	Name            string                                `json:"name,omitempty"`
	Entries         []*AttachmentHumanMetadataEntryScheme `json:"entries,omitempty"`
	TotalEntryCount int                                   `json:"totalEntryCount,omitempty"`
	MediaType       string                                `json:"mediaType,omitempty"`
}

type AttachmentMetadataScheme

type AttachmentMetadataScheme struct {
	ID        int         `json:"id,omitempty"`
	Self      string      `json:"self,omitempty"`
	Filename  string      `json:"filename,omitempty"`
	Author    *UserScheme `json:"author,omitempty"`
	Created   string      `json:"created,omitempty"`
	Size      int         `json:"size,omitempty"`
	MimeType  string      `json:"mimeType,omitempty"`
	Content   string      `json:"content,omitempty"`
	Thumbnail string      `json:"thumbnail,omitempty"`
}

type AttachmentScheme

type AttachmentScheme struct {
	Self      string      `json:"self,omitempty"`
	ID        string      `json:"id,omitempty"`
	Filename  string      `json:"filename,omitempty"`
	Author    *UserScheme `json:"author,omitempty"`
	Created   string      `json:"created,omitempty"`
	Size      int         `json:"size,omitempty"`
	MimeType  string      `json:"mimeType,omitempty"`
	Content   string      `json:"content,omitempty"`
	Thumbnail string      `json:"thumbnail,omitempty"`
}

type AttachmentSettingScheme

type AttachmentSettingScheme struct {
	Enabled     bool `json:"enabled,omitempty"`
	UploadLimit int  `json:"uploadLimit,omitempty"`
}

type AttributeScheme

type AttributeScheme struct {
	Name          string                `json:"name,omitempty"`
	Type          string                `json:"type,omitempty"`
	MultiValued   bool                  `json:"multiValued,omitempty"`
	Description   string                `json:"description,omitempty"`
	Required      bool                  `json:"required,omitempty"`
	CaseExact     bool                  `json:"caseExact,omitempty"`
	Mutability    string                `json:"mutability,omitempty"`
	Returned      string                `json:"returned,omitempty"`
	Uniqueness    string                `json:"uniqueness,omitempty"`
	SubAttributes []*SubAttributeScheme `json:"subAttributes,omitempty"`
}

type AuditRecordAssociatedItemScheme

type AuditRecordAssociatedItemScheme struct {
	ID         string `json:"id,omitempty"`
	Name       string `json:"name,omitempty"`
	TypeName   string `json:"typeName,omitempty"`
	ParentID   string `json:"parentId,omitempty"`
	ParentName string `json:"parentName,omitempty"`
}

type AuditRecordChangedValueScheme

type AuditRecordChangedValueScheme struct {
	FieldName   string `json:"fieldName,omitempty"`
	ChangedFrom string `json:"changedFrom,omitempty"`
	ChangedTo   string `json:"changedTo,omitempty"`
}

type AuditRecordGetOptions

type AuditRecordGetOptions struct {
	Filter string
	From   time.Time
	To     time.Time
}

type AuditRecordObjectItemScheme

type AuditRecordObjectItemScheme struct {
	ID         string `json:"id,omitempty"`
	Name       string `json:"name,omitempty"`
	TypeName   string `json:"typeName,omitempty"`
	ParentID   string `json:"parentId,omitempty"`
	ParentName string `json:"parentName,omitempty"`
}

type AuditRecordPageScheme

type AuditRecordPageScheme struct {
	Offset  int                  `json:"offset,omitempty"`
	Limit   int                  `json:"limit,omitempty"`
	Total   int                  `json:"total,omitempty"`
	Records []*AuditRecordScheme `json:"records,omitempty"`
}

type AuditRecordScheme

type AuditRecordScheme struct {
	ID              int                                `json:"id,omitempty"`
	Summary         string                             `json:"summary,omitempty"`
	RemoteAddress   string                             `json:"remoteAddress,omitempty"`
	AuthorKey       string                             `json:"authorKey,omitempty"`
	Created         string                             `json:"created,omitempty"`
	Category        string                             `json:"category,omitempty"`
	EventSource     string                             `json:"eventSource,omitempty"`
	Description     string                             `json:"description,omitempty"`
	ObjectItem      *AuditRecordObjectItemScheme       `json:"objectItem,omitempty"`
	ChangedValues   []*AuditRecordChangedValueScheme   `json:"changedValues,omitempty"`
	AssociatedItems []*AuditRecordAssociatedItemScheme `json:"associatedItems,omitempty"`
}

type AvailableScreenFieldScheme

type AvailableScreenFieldScheme struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type AvatarURLScheme

type AvatarURLScheme struct {
	Four8X48  string `json:"48x48,omitempty"`
	Two4X24   string `json:"24x24,omitempty"`
	One6X16   string `json:"16x16,omitempty"`
	Three2X32 string `json:"32x32,omitempty"`
}

type BoardColumnConfigurationScheme

type BoardColumnConfigurationScheme struct {
	Columns        []*BoardColumnScheme `json:"columns,omitempty"`
	ConstraintType string               `json:"constraintType,omitempty"`
}

type BoardColumnScheme

type BoardColumnScheme struct {
	Name     string                     `json:"name,omitempty"`
	Statuses []*BoardColumnStatusScheme `json:"statuses,omitempty"`
}

type BoardColumnStatusScheme

type BoardColumnStatusScheme struct {
	ID   string `json:"id,omitempty"`
	Self string `json:"self,omitempty"`
}

type BoardConfigurationScheme

type BoardConfigurationScheme struct {
	ID           int                             `json:"id,omitempty"`
	Name         string                          `json:"name,omitempty"`
	Type         string                          `json:"type,omitempty"`
	Self         string                          `json:"self,omitempty"`
	Location     *BoardLocationScheme            `json:"location,omitempty"`
	Filter       *BoardFilterScheme              `json:"filter,omitempty"`
	ColumnConfig *BoardColumnConfigurationScheme `json:"columnConfig,omitempty"`
	Estimation   *BoardEstimationScheme          `json:"estimation,omitempty"`
	Ranking      *BoardRankingScheme             `json:"ranking,omitempty"`
}

type BoardEpicPageScheme

type BoardEpicPageScheme struct {
	MaxResults int                `json:"maxResults,omitempty"`
	StartAt    int                `json:"startAt,omitempty"`
	IsLast     bool               `json:"isLast,omitempty"`
	Values     []*BoardEpicScheme `json:"values,omitempty"`
}

type BoardEpicScheme

type BoardEpicScheme struct {
	ID      int    `json:"id,omitempty"`
	Key     string `json:"key,omitempty"`
	Self    string `json:"self,omitempty"`
	Name    string `json:"name,omitempty"`
	Summary string `json:"summary,omitempty"`
	Color   struct {
		Key string `json:"key,omitempty"`
	} `json:"color,omitempty"`
	Done bool `json:"done,omitempty"`
}

type BoardEstimationFieldScheme

type BoardEstimationFieldScheme struct {
	FieldID     string `json:"fieldId,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
}

type BoardEstimationScheme

type BoardEstimationScheme struct {
	Type  string                      `json:"type,omitempty"`
	Field *BoardEstimationFieldScheme `json:"field,omitempty"`
}

type BoardFilterScheme

type BoardFilterScheme struct {
	ID   string `json:"id,omitempty"`
	Self string `json:"self,omitempty"`
}

type BoardIssuePageScheme

type BoardIssuePageScheme struct {
	Expand     string           `json:"expand,omitempty"`
	StartAt    int              `json:"startAt,omitempty"`
	MaxResults int              `json:"maxResults,omitempty"`
	Total      int              `json:"total,omitempty"`
	Issues     []*IssueSchemeV2 `json:"issues,omitempty"`
}

type BoardLocationScheme

type BoardLocationScheme struct {
	ProjectID      int    `json:"projectId,omitempty"`
	DisplayName    string `json:"displayName,omitempty"`
	ProjectName    string `json:"projectName,omitempty"`
	ProjectKey     string `json:"projectKey,omitempty"`
	ProjectTypeKey string `json:"projectTypeKey,omitempty"`
	AvatarURI      string `json:"avatarURI,omitempty"`
	Name           string `json:"name,omitempty"`
}

type BoardMovementPayloadScheme

type BoardMovementPayloadScheme struct {
	Issues            []string `json:"issues,omitempty"`
	RankBeforeIssue   string   `json:"rankBeforeIssue,omitempty"`
	RankAfterIssue    string   `json:"rankAfterIssue,omitempty"`
	RankCustomFieldID int      `json:"rankCustomFieldId,omitempty"`
}

type BoardPageScheme

type BoardPageScheme struct {
	MaxResults int            `json:"maxResults"`
	StartAt    int            `json:"startAt"`
	Total      int            `json:"total"`
	IsLast     bool           `json:"isLast"`
	Values     []*BoardScheme `json:"values"`
}

type BoardPayloadLocationScheme

type BoardPayloadLocationScheme struct {
	Type           string `json:"type,omitempty"`
	ProjectKeyOrID string `json:"projectKeyOrId,omitempty"`
}

type BoardPayloadScheme

type BoardPayloadScheme struct {
	Name     string                      `json:"name,omitempty"`
	Type     string                      `json:"type,omitempty"`
	FilterID int                         `json:"filterId,omitempty"`
	Location *BoardPayloadLocationScheme `json:"location,omitempty"`
}

type BoardProjectCategoryScheme

type BoardProjectCategoryScheme struct {
	Self        string `json:"self,omitempty"`
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type BoardProjectInsightScheme

type BoardProjectInsightScheme struct {
	TotalIssueCount     int    `json:"totalIssueCount,omitempty"`
	LastIssueUpdateTime string `json:"lastIssueUpdateTime,omitempty"`
}

type BoardProjectPageScheme

type BoardProjectPageScheme struct {
	MaxResults int                   `json:"maxResults,omitempty"`
	StartAt    int                   `json:"startAt,omitempty"`
	Total      int                   `json:"total,omitempty"`
	IsLast     bool                  `json:"isLast,omitempty"`
	Values     []*BoardProjectScheme `json:"values,omitempty"`
}

type BoardProjectScheme

type BoardProjectScheme struct {
	Self            string                      `json:"self,omitempty"`
	ID              string                      `json:"id,omitempty"`
	Key             string                      `json:"key,omitempty"`
	Name            string                      `json:"name,omitempty"`
	ProjectCategory *BoardProjectCategoryScheme `json:"projectCategory,omitempty"`
	Simplified      bool                        `json:"simplified,omitempty"`
	Style           string                      `json:"style,omitempty"`
	Insight         *BoardProjectInsightScheme  `json:"insight,omitempty"`
}

type BoardRankingScheme

type BoardRankingScheme struct {
	RankCustomFieldID int `json:"rankCustomFieldId,omitempty"`
}

type BoardScheme

type BoardScheme struct {
	ID       int                  `json:"id,omitempty"`
	Self     string               `json:"self,omitempty"`
	Name     string               `json:"name,omitempty"`
	Type     string               `json:"type,omitempty"`
	Location *BoardLocationScheme `json:"location,omitempty"`
}

type BoardSprintPageScheme

type BoardSprintPageScheme struct {
	MaxResults int                  `json:"maxResults,omitempty"`
	StartAt    int                  `json:"startAt,omitempty"`
	IsLast     bool                 `json:"isLast,omitempty"`
	Total      int                  `json:"total,omitempty"`
	Values     []*BoardSprintScheme `json:"values,omitempty"`
}

type BoardSprintScheme

type BoardSprintScheme struct {
	ID            int       `json:"id,omitempty"`
	Self          string    `json:"self,omitempty"`
	State         string    `json:"state,omitempty"`
	Name          string    `json:"name,omitempty"`
	StartDate     time.Time `json:"startDate,omitempty"`
	EndDate       time.Time `json:"endDate,omitempty"`
	CompleteDate  time.Time `json:"completeDate,omitempty"`
	OriginBoardID int       `json:"originBoardId,omitempty"`
	Goal          string    `json:"goal,omitempty"`
}

type BoardVersionPageScheme

type BoardVersionPageScheme struct {
	MaxResults int                   `json:"maxResults,omitempty"`
	StartAt    int                   `json:"startAt,omitempty"`
	IsLast     bool                  `json:"isLast,omitempty"`
	Values     []*BoardVersionScheme `json:"values,omitempty"`
}

type BoardVersionScheme

type BoardVersionScheme struct {
	Self        string    `json:"self,omitempty"`
	ID          int       `json:"id,omitempty"`
	ProjectID   int       `json:"projectId,omitempty"`
	Name        string    `json:"name,omitempty"`
	Description string    `json:"description,omitempty"`
	Archived    bool      `json:"archived,omitempty"`
	Released    bool      `json:"released,omitempty"`
	ReleaseDate time.Time `json:"releaseDate,omitempty"`
}

type BodyNodeScheme

type BodyNodeScheme struct {
	Value          string `json:"value,omitempty"`
	Representation string `json:"representation,omitempty"`
}

type BodyScheme

type BodyScheme struct {
	View                *BodyNodeScheme `json:"view"`
	ExportView          *BodyNodeScheme `json:"export_view"`
	StyledView          *BodyNodeScheme `json:"styled_view"`
	Storage             *BodyNodeScheme `json:"storage"`
	Editor2             *BodyNodeScheme `json:"editor2"`
	AnonymousExportView *BodyNodeScheme `json:"anonymous_export_view"`
}

type BulkGroupScheme

type BulkGroupScheme struct {
	MaxResults int  `json:"maxResults,omitempty"`
	StartAt    int  `json:"startAt,omitempty"`
	Total      int  `json:"total,omitempty"`
	IsLast     bool `json:"isLast,omitempty"`
	Values     []struct {
		Name    string `json:"name,omitempty"`
		GroupID string `json:"groupId,omitempty"`
	} `json:"values,omitempty"`
}

type BulkIssueSchemeV2

type BulkIssueSchemeV2 struct {
	Issues []*IssueSchemeV2 `json:"issues,omitempty"`
}

type BulkIssueSchemeV3

type BulkIssueSchemeV3 struct {
	Issues []*IssueScheme `json:"issues,omitempty"`
}

type BulkProjectPermissionsScheme

type BulkProjectPermissionsScheme struct {
	Issues      []int    `json:"issues"`
	Projects    []int    `json:"projects"`
	Permissions []string `json:"permissions"`
}

type ChangedWorklogPageScheme

type ChangedWorklogPageScheme struct {
	Since    int                     `json:"since,omitempty"`
	Until    int                     `json:"until,omitempty"`
	Self     string                  `json:"self,omitempty"`
	NextPage string                  `json:"nextPage,omitempty"`
	LastPage bool                    `json:"lastPage,omitempty"`
	Values   []*ChangedWorklogScheme `json:"values,omitempty"`
}

type ChangedWorklogPropertyScheme

type ChangedWorklogPropertyScheme struct {
	Key string `json:"key,omitempty"`
}

type ChangedWorklogScheme

type ChangedWorklogScheme struct {
	WorklogID   int                             `json:"worklogId,omitempty"`
	UpdatedTime int                             `json:"updatedTime,omitempty"`
	Properties  []*ChangedWorklogPropertyScheme `json:"properties,omitempty"`
}

type CheckPermissionScheme

type CheckPermissionScheme struct {
	Subject   *PermissionSubjectScheme `json:"subject,omitempty"`
	Operation string                   `json:"operation,omitempty"`
}

type ChildTypeScheme

type ChildTypeScheme struct {
	Value bool `json:"value,omitempty"`
	Links struct {
		Self string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
}

type ChildTypesScheme

type ChildTypesScheme struct {
	Attachment *ChildTypeScheme `json:"attachment,omitempty"`
	Comment    *ChildTypeScheme `json:"comment,omitempty"`
	Page       *ChildTypeScheme `json:"page,omitempty"`
}

type CommentNodeScheme

type CommentNodeScheme struct {
	Version int                    `json:"version,omitempty"`
	Type    string                 `json:"type,omitempty"`
	Content []*CommentNodeScheme   `json:"content,omitempty"`
	Text    string                 `json:"text,omitempty"`
	Attrs   map[string]interface{} `json:"attrs,omitempty"`
	Marks   []*MarkScheme          `json:"marks,omitempty"`
}

func (*CommentNodeScheme) AppendNode

func (n *CommentNodeScheme) AppendNode(node *CommentNodeScheme)

type CommentPayloadScheme

type CommentPayloadScheme struct {
	Visibility *CommentVisibilityScheme `json:"visibility,omitempty"`
	Body       *CommentNodeScheme       `json:"body,omitempty"`
}

type CommentPayloadSchemeV2

type CommentPayloadSchemeV2 struct {
	Visibility *CommentVisibilityScheme `json:"visibility,omitempty"`
	Body       string                   `json:"body,omitempty"`
}

type CommentVisibilityScheme

type CommentVisibilityScheme struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type ComponentCountScheme

type ComponentCountScheme struct {
	Self       string `json:"self,omitempty"`
	IssueCount int    `json:"issueCount,omitempty"`
}

type ComponentPayloadScheme

type ComponentPayloadScheme struct {
	IsAssigneeTypeValid bool   `json:"isAssigneeTypeValid,omitempty"`
	Name                string `json:"name,omitempty"`
	Description         string `json:"description,omitempty"`
	Project             string `json:"project,omitempty"`
	AssigneeType        string `json:"assigneeType,omitempty"`
	LeadAccountID       string `json:"leadAccountId,omitempty"`
}

type ComponentScheme

type ComponentScheme struct {
	Self                string      `json:"self,omitempty"`
	ID                  string      `json:"id,omitempty"`
	Name                string      `json:"name,omitempty"`
	Description         string      `json:"description,omitempty"`
	Lead                *UserScheme `json:"lead,omitempty"`
	LeadUserName        string      `json:"leadUserName,omitempty"`
	AssigneeType        string      `json:"assigneeType,omitempty"`
	Assignee            *UserScheme `json:"assignee,omitempty"`
	RealAssigneeType    string      `json:"realAssigneeType,omitempty"`
	RealAssignee        *UserScheme `json:"realAssignee,omitempty"`
	IsAssigneeTypeValid bool        `json:"isAssigneeTypeValid,omitempty"`
	Project             string      `json:"project,omitempty"`
	ProjectID           int         `json:"projectId,omitempty"`
}

type ContainerSummaryScheme

type ContainerSummaryScheme struct {
	Title      string `json:"title,omitempty"`
	DisplayURL string `json:"displayUrl,omitempty"`
}

type ContentArchiveIDPayloadScheme

type ContentArchiveIDPayloadScheme struct {
	ID int `json:"id,omitempty"`
}

type ContentArchivePayloadScheme

type ContentArchivePayloadScheme struct {
	Pages []*ContentArchiveIDPayloadScheme `json:"pages,omitempty"`
}

type ContentArchiveResultScheme

type ContentArchiveResultScheme struct {
	ID    string `json:"id"`
	Links struct {
		Status string `json:"status"`
	} `json:"links"`
}

type ContentChildrenScheme

type ContentChildrenScheme struct {
	Attachment *ContentPageScheme `json:"attachment,omitempty"`
	Comments   *ContentPageScheme `json:"comment,omitempty"`
	Page       *ContentPageScheme `json:"page,omitempty"`
	Links      *LinkScheme        `json:"_links,omitempty"`
}

type ContentExtensionScheme

type ContentExtensionScheme struct {
	MediaType            string `json:"mediaType,omitempty"`
	FileSize             int    `json:"fileSize,omitempty"`
	Comment              string `json:"comment,omitempty"`
	MediaTypeDescription string `json:"mediaTypeDescription,omitempty"`
	FileID               string `json:"fileId,omitempty"`
}

type ContentHistoryContributorsScheme

type ContentHistoryContributorsScheme struct {
	Publishers *VersionCollaboratorsScheme `json:"publishers,omitempty"`
}

type ContentHistoryScheme

type ContentHistoryScheme struct {
	Latest          bool                              `json:"latest,omitempty"`
	CreatedBy       *ContentUserScheme                `json:"createdBy,omitempty"`
	CreatedDate     string                            `json:"createdDate,omitempty"`
	LastUpdated     *ContentVersionScheme             `json:"lastUpdated,omitempty"`
	PreviousVersion *ContentVersionScheme             `json:"previousVersion,omitempty"`
	Contributors    *ContentHistoryContributorsScheme `json:"contributors,omitempty"`
	NextVersion     *ContentVersionScheme             `json:"nextVersion,omitempty"`
	Expandable      *ExpandableScheme                 `json:"_expandable,omitempty"`
	Links           *LinkScheme                       `json:"_links,omitempty"`
}

type ContentLabelPageScheme

type ContentLabelPageScheme struct {
	Results []*ContentLabelScheme `json:"results,omitempty"`
	Start   int                   `json:"start,omitempty"`
	Limit   int                   `json:"limit,omitempty"`
	Size    int                   `json:"size,omitempty"`
}

type ContentLabelPayloadScheme

type ContentLabelPayloadScheme struct {
	Prefix string `json:"prefix,omitempty"`
	Name   string `json:"name,omitempty"`
}

type ContentLabelScheme

type ContentLabelScheme struct {
	Prefix string `json:"prefix,omitempty"`
	Name   string `json:"name,omitempty"`
	ID     string `json:"id,omitempty"`
	Label  string `json:"label,omitempty"`
}

type ContentPageScheme

type ContentPageScheme struct {
	Results []*ContentScheme `json:"results"`
	Start   int              `json:"start"`
	Limit   int              `json:"limit"`
	Size    int              `json:"size"`
	Links   *LinkScheme      `json:"_links"`
}

type ContentPropertyPageScheme

type ContentPropertyPageScheme struct {
	Results []*ContentPropertyScheme `json:"results,omitempty"`
	Start   int                      `json:"start,omitempty"`
	Limit   int                      `json:"limit,omitempty"`
	Size    int                      `json:"size,omitempty"`
}

type ContentPropertyPayloadScheme

type ContentPropertyPayloadScheme struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type ContentPropertyScheme

type ContentPropertyScheme struct {
	ID         string                        `json:"id,omitempty"`
	Key        string                        `json:"key,omitempty"`
	Value      interface{}                   `json:"value,omitempty"`
	Version    *ContentPropertyVersionScheme `json:"version,omitempty"`
	Expandable struct {
		Content              string `json:"content,omitempty"`
		AdditionalProperties string `json:"additionalProperties,omitempty"`
	} `json:"_expandable,omitempty"`
}

type ContentPropertyVersionScheme

type ContentPropertyVersionScheme struct {
	When                string `json:"when,omitempty"`
	Message             string `json:"message,omitempty"`
	Number              int    `json:"number,omitempty"`
	MinorEdit           bool   `json:"minorEdit,omitempty"`
	ContentTypeModified bool   `json:"contentTypeModified,omitempty"`
}

type ContentRestoreParamsPayloadScheme

type ContentRestoreParamsPayloadScheme struct {
	VersionNumber int    `json:"versionNumber,omitempty"`
	Message       string `json:"message,omitempty"`
	RestoreTitle  bool   `json:"restoreTitle,omitempty"`
}

type ContentRestorePayloadScheme

type ContentRestorePayloadScheme struct {
	OperationKey string                             `json:"operationKey,omitempty"`
	Params       *ContentRestoreParamsPayloadScheme `json:"params,omitempty"`
}

type ContentRestrictionByOperationScheme

type ContentRestrictionByOperationScheme struct {
	OperationType *ContentRestrictionScheme `json:"operationType,omitempty"`
}

type ContentRestrictionDetailScheme

type ContentRestrictionDetailScheme struct {
	User  *UserPermissionScheme  `json:"user,omitempty"`
	Group *GroupPermissionScheme `json:"group,omitempty"`
}

type ContentRestrictionExpandableScheme

type ContentRestrictionExpandableScheme struct {
	Restrictions string `json:"restrictions,omitempty"`
	Content      string `json:"content,omitempty"`
}

type ContentRestrictionPageScheme

type ContentRestrictionPageScheme struct {
	Start            int                         `json:"start,omitempty"`
	Limit            int                         `json:"limit,omitempty"`
	Size             int                         `json:"size,omitempty"`
	RestrictionsHash string                      `json:"restrictionsHash,omitempty"`
	Results          []*ContentRestrictionScheme `json:"results,omitempty"`
}

type ContentRestrictionRestrictionUpdateScheme

type ContentRestrictionRestrictionUpdateScheme struct {
	Group []*SpaceGroupScheme  `json:"group,omitempty"`
	User  []*ContentUserScheme `json:"user,omitempty"`
}

type ContentRestrictionScheme

type ContentRestrictionScheme struct {
	Operation    string                              `json:"operation,omitempty"`
	Restrictions *ContentRestrictionDetailScheme     `json:"restrictions,omitempty"`
	Content      *ContentScheme                      `json:"content,omitempty"`
	Expandable   *ContentRestrictionExpandableScheme `json:"_expandable,omitempty"`
}

type ContentRestrictionUpdatePayloadScheme

type ContentRestrictionUpdatePayloadScheme struct {
	Results []*ContentRestrictionUpdateScheme `json:"results,omitempty"`
}

type ContentRestrictionUpdateScheme

type ContentRestrictionUpdateScheme struct {
	Operation    string                                     `json:"operation,omitempty"`
	Restrictions *ContentRestrictionRestrictionUpdateScheme `json:"restrictions,omitempty"`
	Content      *ContentScheme                             `json:"content,omitempty"`
}

type ContentScheme

type ContentScheme struct {
	ID         string                  `json:"id,omitempty"`
	Type       string                  `json:"type,omitempty"`
	Status     string                  `json:"status,omitempty"`
	Title      string                  `json:"title,omitempty"`
	Expandable *ExpandableScheme       `json:"_expandable,omitempty"`
	Links      *LinkScheme             `json:"_links,omitempty"`
	ChildTypes *ChildTypesScheme       `json:"childTypes,omitempty"`
	Space      *SpaceScheme            `json:"space,omitempty"`
	Metadata   *MetadataScheme         `json:"metadata,omitempty"`
	Operations []*OperationScheme      `json:"operations,omitempty"`
	Body       *BodyScheme             `json:"body,omitempty"`
	Version    *ContentVersionScheme   `json:"version,omitempty"`
	Extensions *ContentExtensionScheme `json:"extensions,omitempty"`
	Ancestors  []*ContentScheme        `json:"ancestors,omitempty"`
	History    *ContentHistoryScheme   `json:"history,omitempty"`
}

type ContentTaskScheme

type ContentTaskScheme struct {
	ID    string          `json:"id,omitempty"`
	Links *TaskLinkScheme `json:"links,omitempty"`
}

type ContentUserDetailScheme

type ContentUserDetailScheme struct {
	Business *UserBusinessDetailScheme `json:"business,omitempty"`
	Personal *UserPersonalDetailScheme `json:"personal,omitempty"`
}

type ContentUserScheme

type ContentUserScheme struct {
	Type           string                   `json:"type,omitempty"`
	Username       string                   `json:"username,omitempty"`
	UserKey        string                   `json:"userKey,omitempty"`
	AccountID      string                   `json:"accountId,omitempty"`
	AccountType    string                   `json:"accountType,omitempty"`
	Email          string                   `json:"email,omitempty"`
	PublicName     string                   `json:"publicName,omitempty"`
	ProfilePicture *ProfilePictureScheme    `json:"profilePicture,omitempty"`
	DisplayName    string                   `json:"displayName,omitempty"`
	Operations     []*OperationScheme       `json:"operations,omitempty"`
	Details        *ContentUserDetailScheme `json:"details,omitempty"`
	PersonalSpace  *SpaceScheme             `json:"personalSpace,omitempty"`
	Expandable     *ExpandableScheme        `json:"_expandable,omitempty"`
	Links          *LinkScheme              `json:"_links,omitempty"`
}

type ContentVersionPageScheme

type ContentVersionPageScheme struct {
	Results []*ContentVersionScheme `json:"results,omitempty"`
	Start   int                     `json:"start,omitempty"`
	Limit   int                     `json:"limit,omitempty"`
	Size    int                     `json:"size,omitempty"`
}

type ContentVersionScheme

type ContentVersionScheme struct {
	By            *ContentUserScheme          `json:"by,omitempty"`
	Number        int                         `json:"number,omitempty"`
	When          string                      `json:"when,omitempty"`
	FriendlyWhen  string                      `json:"friendlyWhen,omitempty"`
	Message       string                      `json:"message,omitempty"`
	MinorEdit     bool                        `json:"minorEdit,omitempty"`
	Content       *ContentScheme              `json:"content,omitempty"`
	Collaborators *VersionCollaboratorsScheme `json:"collaborators,omitempty"`
	Expandable    struct {
		Content       string `json:"content"`
		Collaborators string `json:"collaborators"`
	} `json:"_expandable"`
	ContentTypeModified bool `json:"contentTypeModified"`
}

type CopyOptionsScheme

type CopyOptionsScheme struct {
	CopyAttachments    bool                       `json:"copyAttachments,omitempty"`
	CopyPermissions    bool                       `json:"copyPermissions,omitempty"`
	CopyProperties     bool                       `json:"copyProperties,omitempty"`
	CopyLabels         bool                       `json:"copyLabels,omitempty"`
	CopyCustomContents bool                       `json:"copyCustomContents,omitempty"`
	DestinationPageID  string                     `json:"destinationPageId,omitempty"`
	TitleOptions       *CopyTitleOptionScheme     `json:"titleOptions,omitempty"`
	Destination        *CopyPageDestinationScheme `json:"destination,omitempty"`
	PageTitle          string                     `json:"pageTitle,omitempty"`
	Body               *CopyPageBodyScheme        `json:"body,omitempty"`
}

type CopyPageBodyScheme

type CopyPageBodyScheme struct {
	Storage *BodyNodeScheme `json:"storage"`
	Editor2 *BodyNodeScheme `json:"editor2"`
}

type CopyPageDestinationScheme

type CopyPageDestinationScheme struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type CopyTitleOptionScheme

type CopyTitleOptionScheme struct {
	Prefix  string `json:"prefix,omitempty"`
	Replace string `json:"replace,omitempty"`
	Search  string `json:"search,omitempty"`
}

type CreateCustomerRequestPayloadScheme

type CreateCustomerRequestPayloadScheme struct {
	RequestParticipants []string `json:"requestParticipants,omitempty"`
	ServiceDeskID       string   `json:"serviceDeskId,omitempty"`
	RequestTypeID       string   `json:"requestTypeId,omitempty"`
}

func (*CreateCustomerRequestPayloadScheme) MergeFields

func (c *CreateCustomerRequestPayloadScheme) MergeFields(fields *CustomerRequestFields) (map[string]interface{}, error)

type CreateSpaceDescriptionPlainScheme

type CreateSpaceDescriptionPlainScheme struct {
	Value          string `json:"value"`
	Representation string `json:"representation"`
}

type CreateSpaceDescriptionScheme

type CreateSpaceDescriptionScheme struct {
	Plain *CreateSpaceDescriptionPlainScheme `json:"plain"`
}

type CreateSpaceScheme

type CreateSpaceScheme struct {
	Key              string                        `json:"key,omitempty"`
	Name             string                        `json:"name,omitempty"`
	Description      *CreateSpaceDescriptionScheme `json:"description,omitempty"`
	AnonymousAccess  bool                          `json:"anonymousAccess,omitempty"`
	UnlicensedAccess bool                          `json:"unlicensedAccess,omitempty"`
}

type CustomFieldContextOptionPageScheme

type CustomFieldContextOptionPageScheme struct {
	Self       string                            `json:"self,omitempty"`
	NextPage   string                            `json:"nextPage,omitempty"`
	MaxResults int                               `json:"maxResults,omitempty"`
	StartAt    int                               `json:"startAt,omitempty"`
	Total      int                               `json:"total,omitempty"`
	IsLast     bool                              `json:"isLast,omitempty"`
	Values     []*CustomFieldContextOptionScheme `json:"values,omitempty"`
}

type CustomFieldContextOptionScheme

type CustomFieldContextOptionScheme struct {
	ID       string `json:"id,omitempty"`
	Value    string `json:"value,omitempty"`
	Disabled bool   `json:"disabled"`
	OptionID string `json:"optionId,omitempty"`
}

type CustomFieldContextPageScheme

type CustomFieldContextPageScheme struct {
	MaxResults int                   `json:"maxResults,omitempty"`
	StartAt    int                   `json:"startAt,omitempty"`
	Total      int                   `json:"total,omitempty"`
	IsLast     bool                  `json:"isLast,omitempty"`
	Values     []*FieldContextScheme `json:"values,omitempty"`
}

type CustomFieldContextProjectMappingPageScheme

type CustomFieldContextProjectMappingPageScheme struct {
	Self       string                                         `json:"self,omitempty"`
	NextPage   string                                         `json:"nextPage,omitempty"`
	MaxResults int                                            `json:"maxResults,omitempty"`
	StartAt    int                                            `json:"startAt,omitempty"`
	Total      int                                            `json:"total,omitempty"`
	IsLast     bool                                           `json:"isLast,omitempty"`
	Values     []*CustomFieldContextProjectMappingValueScheme `json:"values,omitempty"`
}

type CustomFieldContextProjectMappingValueScheme

type CustomFieldContextProjectMappingValueScheme struct {
	ContextID       string `json:"contextId,omitempty"`
	ProjectID       string `json:"projectId,omitempty"`
	IsGlobalContext bool   `json:"isGlobalContext,omitempty"`
}

type CustomFieldDefaultValuePageScheme

type CustomFieldDefaultValuePageScheme struct {
	MaxResults int                              `json:"maxResults,omitempty"`
	StartAt    int                              `json:"startAt,omitempty"`
	Total      int                              `json:"total,omitempty"`
	IsLast     bool                             `json:"isLast,omitempty"`
	Values     []*CustomFieldDefaultValueScheme `json:"values,omitempty"`
}

type CustomFieldDefaultValueScheme

type CustomFieldDefaultValueScheme struct {
	ContextID         string   `json:"contextId,omitempty"`
	OptionID          string   `json:"optionId,omitempty"`
	CascadingOptionID string   `json:"cascadingOptionId,omitempty"`
	OptionIDs         []string `json:"optionIds,omitempty"`
	Type              string   `json:"type,omitempty"`
}

type CustomFieldScheme

type CustomFieldScheme struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	FieldType   string `json:"type,omitempty"`
	SearcherKey string `json:"searcherKey,omitempty"`
}

type CustomFields

type CustomFields struct{ Fields []map[string]interface{} }

func (*CustomFields) Cascading

func (c *CustomFields) Cascading(customFieldID, parent, child string) (err error)

func (*CustomFields) CheckBox

func (c *CustomFields) CheckBox(customFieldID string, options []string) (err error)

func (*CustomFields) Date

func (c *CustomFields) Date(customFieldID string, dateTimeValue time.Time) (err error)

func (*CustomFields) DateTime

func (c *CustomFields) DateTime(customFieldID string, dateValue time.Time) (err error)

func (*CustomFields) Group

func (c *CustomFields) Group(customFieldID, group string) (err error)

func (*CustomFields) Groups

func (c *CustomFields) Groups(customFieldID string, groups []string) (err error)

func (*CustomFields) MultiSelect

func (c *CustomFields) MultiSelect(customFieldID string, options []string) (err error)

func (*CustomFields) Number

func (c *CustomFields) Number(customFieldID string, numberValue float64) (err error)

func (*CustomFields) RadioButton

func (c *CustomFields) RadioButton(customFieldID, button string) (err error)

func (*CustomFields) Select

func (c *CustomFields) Select(customFieldID string, option string) (err error)

func (*CustomFields) Text

func (c *CustomFields) Text(customFieldID, textValue string) (err error)

func (*CustomFields) URL

func (c *CustomFields) URL(customFieldID, URL string) (err error)

func (*CustomFields) User

func (c *CustomFields) User(customFieldID string, accountID string) (err error)

func (*CustomFields) Users

func (c *CustomFields) Users(customFieldID string, accountIDs []string) (err error)

type CustomerApprovalLinkScheme

type CustomerApprovalLinkScheme struct {
	Self string `json:"self"`
}

type CustomerApprovalPageLinkScheme

type CustomerApprovalPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type CustomerApprovalPageScheme

type CustomerApprovalPageScheme struct {
	Size       int                             `json:"size,omitempty"`
	Start      int                             `json:"start,omitempty"`
	Limit      int                             `json:"limit,omitempty"`
	IsLastPage bool                            `json:"isLastPage,omitempty"`
	Values     []*CustomerApprovalScheme       `json:"values,omitempty"`
	Expands    []string                        `json:"_expands,omitempty"`
	Links      *CustomerApprovalPageLinkScheme `json:"_links,omitempty"`
}

type CustomerApprovalScheme

type CustomerApprovalScheme struct {
	ID                string                      `json:"id,omitempty"`
	Name              string                      `json:"name,omitempty"`
	FinalDecision     string                      `json:"finalDecision,omitempty"`
	CanAnswerApproval bool                        `json:"canAnswerApproval,omitempty"`
	Approvers         []*CustomerApproveScheme    `json:"approvers,omitempty"`
	CreatedDate       *CustomerRequestDateScheme  `json:"createdDate,omitempty"`
	CompletedDate     *CustomerRequestDateScheme  `json:"completedDate,omitempty"`
	Links             *CustomerApprovalLinkScheme `json:"_links,omitempty"`
}

type CustomerApproveScheme

type CustomerApproveScheme struct {
	Approver         *ApproverScheme `json:"approver,omitempty"`
	ApproverDecision string          `json:"approverDecision,omitempty"`
}

type CustomerFeedbackCommentScheme

type CustomerFeedbackCommentScheme struct {
	Body string `json:"body,omitempty"`
}

type CustomerFeedbackScheme

type CustomerFeedbackScheme struct {
	Type    string                         `json:"type,omitempty"`
	Rating  int                            `json:"rating,omitempty"`
	Comment *CustomerFeedbackCommentScheme `json:"comment,omitempty"`
}

type CustomerLinkScheme

type CustomerLinkScheme struct {
	JiraRest   string           `json:"jiraRest"`
	AvatarUrls *AvatarURLScheme `json:"avatarUrls"`
	Self       string           `json:"self"`
}

type CustomerPageLinksScheme

type CustomerPageLinksScheme struct {
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type CustomerPageScheme

type CustomerPageScheme struct {
	Expands    []interface{}            `json:"_expands,omitempty"`
	Size       int                      `json:"size,omitempty"`
	Start      int                      `json:"start,omitempty"`
	Limit      int                      `json:"limit,omitempty"`
	IsLastPage bool                     `json:"isLastPage,omitempty"`
	Links      *CustomerPageLinksScheme `json:"_links,omitempty"`
	Values     []*CustomerScheme        `json:"values,omitempty"`
}

type CustomerRequestCurrentStatusScheme

type CustomerRequestCurrentStatusScheme struct {
	Status         string `json:"status,omitempty"`
	StatusCategory string `json:"statusCategory,omitempty"`
	StatusDate     struct {
	} `json:"statusDate,omitempty"`
}

type CustomerRequestDateScheme

type CustomerRequestDateScheme struct {
	Iso8601     string `json:"iso8601,omitempty"`
	Jira        string `json:"jira,omitempty"`
	Friendly    string `json:"friendly,omitempty"`
	EpochMillis int    `json:"epochMillis,omitempty"`
}

type CustomerRequestFields

type CustomerRequestFields struct{ Fields []map[string]interface{} }

func (*CustomerRequestFields) Attachments

func (c *CustomerRequestFields) Attachments(attachments []string) error

func (*CustomerRequestFields) Cascading

func (c *CustomerRequestFields) Cascading(customFieldID, parent, child string) (err error)

func (*CustomerRequestFields) CheckBox

func (c *CustomerRequestFields) CheckBox(customFieldID string, options []string) (err error)

func (*CustomerRequestFields) Components

func (c *CustomerRequestFields) Components(components []string) error

func (*CustomerRequestFields) Date

func (c *CustomerRequestFields) Date(customFieldID string, dateTimeValue time.Time) (err error)

func (*CustomerRequestFields) DateTime

func (c *CustomerRequestFields) DateTime(customFieldID string, dateValue time.Time) (err error)

func (*CustomerRequestFields) Group

func (c *CustomerRequestFields) Group(customFieldID, group string) (err error)

func (*CustomerRequestFields) Groups

func (c *CustomerRequestFields) Groups(customFieldID string, groups []string) (err error)

func (*CustomerRequestFields) Labels

func (c *CustomerRequestFields) Labels(labels []string) error

func (*CustomerRequestFields) MultiSelect

func (c *CustomerRequestFields) MultiSelect(customFieldID string, options []string) (err error)

func (*CustomerRequestFields) Number

func (c *CustomerRequestFields) Number(customFieldID string, numberValue float64) (err error)

func (*CustomerRequestFields) RadioButton

func (c *CustomerRequestFields) RadioButton(customFieldID, button string) (err error)

func (*CustomerRequestFields) Select

func (c *CustomerRequestFields) Select(customFieldID string, option string) (err error)

func (*CustomerRequestFields) Text

func (c *CustomerRequestFields) Text(customFieldID, textValue string) (err error)

func (*CustomerRequestFields) URL

func (c *CustomerRequestFields) URL(customFieldID, URL string) (err error)

func (*CustomerRequestFields) User

func (c *CustomerRequestFields) User(customFieldID string, accountID string) (err error)

func (*CustomerRequestFields) Users

func (c *CustomerRequestFields) Users(customFieldID string, accountIDs []string) (err error)

type CustomerRequestLinksScheme

type CustomerRequestLinksScheme struct {
	Self     string `json:"self,omitempty"`
	JiraRest string `json:"jiraRest,omitempty"`
	Web      string `json:"web,omitempty"`
	Agent    string `json:"agent,omitempty"`
}

type CustomerRequestPageScheme

type CustomerRequestPageScheme struct {
	Size       int                          `json:"size,omitempty"`
	Start      int                          `json:"start,omitempty"`
	Limit      int                          `json:"limit,omitempty"`
	IsLastPage bool                         `json:"isLastPage,omitempty"`
	Values     []*CustomerRequestScheme     `json:"values,omitempty"`
	Expands    []string                     `json:"_expands,omitempty"`
	Links      *CustomerRequestsLinksScheme `json:"_links,omitempty"`
}

type CustomerRequestReporterScheme

type CustomerRequestReporterScheme struct {
	AccountID    string `json:"accountId,omitempty"`
	Name         string `json:"name,omitempty"`
	Key          string `json:"key,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
	DisplayName  string `json:"displayName,omitempty"`
	Active       bool   `json:"active,omitempty"`
	TimeZone     string `json:"timeZone,omitempty"`
}

type CustomerRequestRequestFieldValueScheme

type CustomerRequestRequestFieldValueScheme struct {
	FieldID string `json:"fieldId,omitempty"`
	Label   string `json:"label,omitempty"`
}

type CustomerRequestScheme

type CustomerRequestScheme struct {
	IssueID            string                                    `json:"issueId,omitempty"`
	IssueKey           string                                    `json:"issueKey,omitempty"`
	RequestTypeID      string                                    `json:"requestTypeId,omitempty"`
	RequestType        *CustomerRequestTypeScheme                `json:"requestType,omitempty"`
	ServiceDeskID      string                                    `json:"serviceDeskId,omitempty"`
	ServiceDesk        *CustomerRequestServiceDeskScheme         `json:"serviceDesk,omitempty"`
	CreatedDate        *CustomerRequestDateScheme                `json:"createdDate,omitempty"`
	Reporter           *CustomerRequestReporterScheme            `json:"reporter,omitempty"`
	RequestFieldValues []*CustomerRequestRequestFieldValueScheme `json:"requestFieldValues,omitempty"`
	CurrentStatus      *CustomerRequestCurrentStatusScheme       `json:"currentStatus,omitempty"`
	Expands            []string                                  `json:"_expands,omitempty"`
	Links              *CustomerRequestLinksScheme               `json:"_links,omitempty"`
}

type CustomerRequestServiceDeskScheme

type CustomerRequestServiceDeskScheme struct {
	ID          string `json:"id,omitempty"`
	ProjectID   string `json:"projectId,omitempty"`
	ProjectName string `json:"projectName,omitempty"`
	ProjectKey  string `json:"projectKey,omitempty"`
}

type CustomerRequestTransitionPageLinkScheme

type CustomerRequestTransitionPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type CustomerRequestTransitionPageScheme

type CustomerRequestTransitionPageScheme struct {
	Size       int                                      `json:"size,omitempty"`
	Start      int                                      `json:"start,omitempty"`
	Limit      int                                      `json:"limit,omitempty"`
	IsLastPage bool                                     `json:"isLastPage,omitempty"`
	Values     []*CustomerRequestTransitionScheme       `json:"values,omitempty"`
	Expands    []string                                 `json:"_expands,omitempty"`
	Links      *CustomerRequestTransitionPageLinkScheme `json:"_links,omitempty"`
}

type CustomerRequestTransitionScheme

type CustomerRequestTransitionScheme struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type CustomerRequestTypeScheme

type CustomerRequestTypeScheme struct {
	ID            string   `json:"id,omitempty"`
	Name          string   `json:"name,omitempty"`
	Description   string   `json:"description,omitempty"`
	HelpText      string   `json:"helpText,omitempty"`
	IssueTypeID   string   `json:"issueTypeId,omitempty"`
	ServiceDeskID string   `json:"serviceDeskId,omitempty"`
	GroupIds      []string `json:"groupIds,omitempty"`
}

type CustomerRequestsLinksScheme

type CustomerRequestsLinksScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type CustomerScheme

type CustomerScheme struct {
	AccountID    string              `json:"accountId,omitempty"`
	Name         string              `json:"name,omitempty"`
	Key          string              `json:"key,omitempty"`
	EmailAddress string              `json:"emailAddress,omitempty"`
	DisplayName  string              `json:"displayName,omitempty"`
	Active       bool                `json:"active,omitempty"`
	TimeZone     string              `json:"timeZone,omitempty"`
	Links        *CustomerLinkScheme `json:"_links,omitempty"`
}

type DashboardPageScheme

type DashboardPageScheme struct {
	StartAt    int                `json:"startAt,omitempty"`
	MaxResults int                `json:"maxResults,omitempty"`
	Total      int                `json:"total,omitempty"`
	Dashboards []*DashboardScheme `json:"dashboards,omitempty"`
}

type DashboardPayloadScheme

type DashboardPayloadScheme struct {
	Name             string                   `json:"name,omitempty"`
	Description      string                   `json:"description,omitempty"`
	SharePermissions []*SharePermissionScheme `json:"sharePermissions,omitempty"`
	EditPermissions  []*SharePermissionScheme `json:"editPermissions,omitempty"`
}

type DashboardScheme

type DashboardScheme struct {
	ID               string                   `json:"id,omitempty"`
	IsFavourite      bool                     `json:"isFavourite,omitempty"`
	Name             string                   `json:"name,omitempty"`
	Owner            *UserScheme              `json:"owner,omitempty"`
	Popularity       int                      `json:"popularity,omitempty"`
	Rank             int                      `json:"rank,omitempty"`
	Self             string                   `json:"self,omitempty"`
	SharePermissions []*SharePermissionScheme `json:"sharePermissions,omitempty"`
	EditPermission   []*SharePermissionScheme `json:"editPermissions,omitempty"`
	View             string                   `json:"view,omitempty"`
}

type DashboardSearchOptionsScheme

type DashboardSearchOptionsScheme struct {
	DashboardName       string
	OwnerAccountID      string
	GroupPermissionName string
	OrderBy             string
	Expand              []string
}

type DashboardSearchPageScheme

type DashboardSearchPageScheme struct {
	Self       string             `json:"self,omitempty"`
	MaxResults int                `json:"maxResults,omitempty"`
	StartAt    int                `json:"startAt,omitempty"`
	Total      int                `json:"total,omitempty"`
	IsLast     bool               `json:"isLast,omitempty"`
	Values     []*DashboardScheme `json:"values,omitempty"`
}

type EntityPropertyScheme

type EntityPropertyScheme struct {
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

type EpicColorScheme

type EpicColorScheme struct {
	Key string `json:"key,omitempty"`
}

type EpicScheme

type EpicScheme struct {
	ID      int              `json:"id,omitempty"`
	Key     string           `json:"key,omitempty"`
	Self    string           `json:"self,omitempty"`
	Name    string           `json:"name,omitempty"`
	Summary string           `json:"summary,omitempty"`
	Color   *EpicColorScheme `json:"color,omitempty"`
	Done    bool             `json:"done,omitempty"`
}

type EventNotificationScheme

type EventNotificationScheme struct {
	Expand           string             `json:"expand,omitempty"`
	ID               int                `json:"id,omitempty"`
	NotificationType string             `json:"notificationType,omitempty"`
	Parameter        string             `json:"parameter,omitempty"`
	EmailAddress     string             `json:"emailAddress,omitempty"`
	Group            *GroupScheme       `json:"group,omitempty"`
	Field            *IssueFieldScheme  `json:"field,omitempty"`
	ProjectRole      *ProjectRoleScheme `json:"projectRole,omitempty"`
	User             *UserScheme        `json:"user,omitempty"`
}

type ExpandableScheme

type ExpandableScheme struct {
	Container           string `json:"container"`
	Metadata            string `json:"metadata"`
	Restrictions        string `json:"restrictions"`
	History             string `json:"history"`
	Body                string `json:"body"`
	Version             string `json:"version"`
	Descendants         string `json:"descendants"`
	Space               string `json:"space"`
	ChildTypes          string `json:"childTypes"`
	Operations          string `json:"operations"`
	SchedulePublishDate string `json:"schedulePublishDate"`
	Children            string `json:"children"`
	Ancestors           string `json:"ancestors"`
	Settings            string `json:"settings"`
	LookAndFeel         string `json:"lookAndFeel"`
	Identifiers         string `json:"identifiers"`
	Permissions         string `json:"permissions"`
	Icon                string `json:"icon"`
	Description         string `json:"description"`
	Theme               string `json:"theme"`
	Homepage            string `json:"homepage"`
	LastUpdated         string `json:"lastUpdated"`
	PreviousVersion     string `json:"previousVersion"`
	Contributors        string `json:"contributors"`
	NextVersion         string `json:"nextVersion"`
}

type FieldConfigurationIssueTypeItemPageScheme

type FieldConfigurationIssueTypeItemPageScheme struct {
	MaxResults int                                      `json:"maxResults,omitempty"`
	StartAt    int                                      `json:"startAt,omitempty"`
	Total      int                                      `json:"total,omitempty"`
	IsLast     bool                                     `json:"isLast,omitempty"`
	Values     []*FieldConfigurationIssueTypeItemScheme `json:"values,omitempty"`
}

type FieldConfigurationIssueTypeItemScheme

type FieldConfigurationIssueTypeItemScheme struct {
	FieldConfigurationSchemeID string `json:"fieldConfigurationSchemeId,omitempty"`
	IssueTypeID                string `json:"issueTypeId,omitempty"`
	FieldConfigurationID       string `json:"fieldConfigurationId,omitempty"`
}

type FieldConfigurationItemPageScheme

type FieldConfigurationItemPageScheme struct {
	MaxResults int                             `json:"maxResults,omitempty"`
	StartAt    int                             `json:"startAt,omitempty"`
	Total      int                             `json:"total,omitempty"`
	IsLast     bool                            `json:"isLast,omitempty"`
	Values     []*FieldConfigurationItemScheme `json:"values,omitempty"`
}

type FieldConfigurationItemScheme

type FieldConfigurationItemScheme struct {
	ID          string `json:"id,omitempty"`
	IsHidden    bool   `json:"isHidden,omitempty"`
	IsRequired  bool   `json:"isRequired,omitempty"`
	Description string `json:"description,omitempty"`
	Renderer    string `json:"renderer,omitempty"`
}

type FieldConfigurationPageScheme

type FieldConfigurationPageScheme struct {
	MaxResults int                         `json:"maxResults,omitempty"`
	StartAt    int                         `json:"startAt,omitempty"`
	Total      int                         `json:"total,omitempty"`
	IsLast     bool                        `json:"isLast,omitempty"`
	Values     []*FieldConfigurationScheme `json:"values,omitempty"`
}

type FieldConfigurationScheme

type FieldConfigurationScheme struct {
	ID          int    `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	IsDefault   bool   `json:"isDefault,omitempty"`
}

type FieldConfigurationSchemeAssignPayload

type FieldConfigurationSchemeAssignPayload struct {
	FieldConfigurationSchemeID string `json:"fieldConfigurationSchemeId"`
	ProjectID                  string `json:"projectId"`
}

type FieldConfigurationSchemePageScheme

type FieldConfigurationSchemePageScheme struct {
	MaxResults int                               `json:"maxResults,omitempty"`
	StartAt    int                               `json:"startAt,omitempty"`
	Total      int                               `json:"total,omitempty"`
	IsLast     bool                              `json:"isLast,omitempty"`
	Values     []*FieldConfigurationSchemeScheme `json:"values,omitempty"`
}

type FieldConfigurationSchemeProjectPageScheme

type FieldConfigurationSchemeProjectPageScheme struct {
	MaxResults int                                      `json:"maxResults,omitempty"`
	StartAt    int                                      `json:"startAt,omitempty"`
	Total      int                                      `json:"total,omitempty"`
	IsLast     bool                                     `json:"isLast,omitempty"`
	Values     []*FieldConfigurationSchemeProjectScheme `json:"values,omitempty"`
}

type FieldConfigurationSchemeProjectScheme

type FieldConfigurationSchemeProjectScheme struct {
	ProjectIds               []string                        `json:"projectIds,omitempty"`
	FieldConfigurationScheme *FieldConfigurationSchemeScheme `json:"fieldConfigurationScheme,omitempty"`
}

type FieldConfigurationSchemeScheme

type FieldConfigurationSchemeScheme struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type FieldConfigurationToIssueTypeMappingPayloadScheme

type FieldConfigurationToIssueTypeMappingPayloadScheme struct {
	Mappings []*FieldConfigurationToIssueTypeMappingScheme `json:"mappings,omitempty"`
}

type FieldConfigurationToIssueTypeMappingScheme

type FieldConfigurationToIssueTypeMappingScheme struct {
	IssueTypeID          string `json:"issueTypeId,omitempty"`
	FieldConfigurationID string `json:"fieldConfigurationId,omitempty"`
}

type FieldContextDefaultPayloadScheme

type FieldContextDefaultPayloadScheme struct {
	DefaultValues []*CustomFieldDefaultValueScheme `json:"defaultValues,omitempty"`
}

type FieldContextOptionListScheme

type FieldContextOptionListScheme struct {
	Options []*CustomFieldContextOptionScheme `json:"options,omitempty"`
}

type FieldContextOptionsScheme

type FieldContextOptionsScheme struct {
	IsAnyIssueType  bool
	IsGlobalContext bool
	ContextID       []int
}

type FieldContextPayloadScheme

type FieldContextPayloadScheme struct {
	IssueTypeIDs []int  `json:"issueTypeIds,omitempty"`
	ProjectIDs   []int  `json:"projectIds,omitempty"`
	Name         string `json:"name,omitempty"`
	Description  string `json:"description,omitempty"`
}

type FieldContextScheme

type FieldContextScheme struct {
	ID              string   `json:"id,omitempty"`
	Name            string   `json:"name,omitempty"`
	Description     string   `json:"description,omitempty"`
	IsGlobalContext bool     `json:"isGlobalContext,omitempty"`
	IsAnyIssueType  bool     `json:"isAnyIssueType,omitempty"`
	ProjectIds      []string `json:"projectIds,omitempty"`
	IssueTypeIds    []string `json:"issueTypeIds,omitempty"`
}

type FieldOptionContextParams

type FieldOptionContextParams struct {
	OptionID    int
	OnlyOptions bool
}

type FieldSearchOptionsScheme

type FieldSearchOptionsScheme struct {
	Types   []string
	IDs     []string
	Query   string
	OrderBy string
	Expand  []string
}

type FieldSearchPageScheme

type FieldSearchPageScheme struct {
	MaxResults int                 `json:"maxResults,omitempty"`
	StartAt    int                 `json:"startAt,omitempty"`
	Total      int                 `json:"total,omitempty"`
	IsLast     bool                `json:"isLast,omitempty"`
	Values     []*IssueFieldScheme `json:"values,omitempty"`
}

type FilterDetailScheme

type FilterDetailScheme struct {
	Self             string                      `json:"self,omitempty"`
	ID               string                      `json:"id,omitempty"`
	Name             string                      `json:"name,omitempty"`
	Owner            *UserScheme                 `json:"owner,omitempty"`
	Jql              string                      `json:"jql,omitempty"`
	ViewURL          string                      `json:"viewUrl,omitempty"`
	SearchURL        string                      `json:"searchUrl,omitempty"`
	Favourite        bool                        `json:"favourite,omitempty"`
	FavouritedCount  int                         `json:"favouritedCount,omitempty"`
	SharePermissions []*SharePermissionScheme    `json:"sharePermissions,omitempty"`
	Subscriptions    []*FilterSubscriptionScheme `json:"subscriptions,omitempty"`
}

type FilterPageScheme

type FilterPageScheme struct {
	Self       string          `json:"self,omitempty"`
	MaxResults int             `json:"maxResults,omitempty"`
	StartAt    int             `json:"startAt,omitempty"`
	Total      int             `json:"total,omitempty"`
	IsLast     bool            `json:"isLast,omitempty"`
	Values     []*FilterScheme `json:"values,omitempty"`
}

type FilterPayloadScheme

type FilterPayloadScheme struct {
	Name             string                   `json:"name,omitempty"`
	Description      string                   `json:"description,omitempty"`
	JQL              string                   `json:"jql,omitempty"`
	Favorite         bool                     `json:"favourite,omitempty"`
	SharePermissions []*SharePermissionScheme `json:"sharePermissions,omitempty"`
}

type FilterScheme

type FilterScheme struct {
	Self             string                        `json:"self,omitempty"`
	ID               string                        `json:"id,omitempty"`
	Name             string                        `json:"name,omitempty"`
	Owner            *UserScheme                   `json:"owner,omitempty"`
	Jql              string                        `json:"jql,omitempty"`
	ViewURL          string                        `json:"viewUrl,omitempty"`
	SearchURL        string                        `json:"searchUrl,omitempty"`
	Favourite        bool                          `json:"favourite,omitempty"`
	FavouritedCount  int                           `json:"favouritedCount,omitempty"`
	SharePermissions []*SharePermissionScheme      `json:"sharePermissions,omitempty"`
	ShareUsers       *FilterUsersScheme            `json:"sharedUsers,omitempty"`
	Subscriptions    *FilterSubscriptionPageScheme `json:"subscriptions,omitempty"`
}

type FilterSearchOptionScheme

type FilterSearchOptionScheme struct {
	Name      string
	AccountID string
	Group     string
	OrderBy   string
	ProjectID int
	IDs       []int
	Expand    []string
}

type FilterSearchPageScheme

type FilterSearchPageScheme struct {
	Self       string                `json:"self,omitempty"`
	MaxResults int                   `json:"maxResults,omitempty"`
	StartAt    int                   `json:"startAt,omitempty"`
	Total      int                   `json:"total,omitempty"`
	IsLast     bool                  `json:"isLast,omitempty"`
	Values     []*FilterDetailScheme `json:"values,omitempty"`
}

type FilterSubscriptionPageScheme

type FilterSubscriptionPageScheme struct {
	Size       int                         `json:"size,omitempty"`
	Items      []*FilterSubscriptionScheme `json:"items,omitempty"`
	MaxResults int                         `json:"max-results,omitempty"`
	StartIndex int                         `json:"start-index,omitempty"`
	EndIndex   int                         `json:"end-index,omitempty"`
}

type FilterSubscriptionScheme

type FilterSubscriptionScheme struct {
	ID    int          `json:"id,omitempty"`
	User  *UserScheme  `json:"user,omitempty"`
	Group *GroupScheme `json:"group,omitempty"`
}

type FilterUsersScheme

type FilterUsersScheme struct {
	Size       int           `json:"size,omitempty"`
	Items      []*UserScheme `json:"items,omitempty"`
	MaxResults int           `json:"max-results,omitempty"`
	StartIndex int           `json:"start-index,omitempty"`
	EndIndex   int           `json:"end-index,omitempty"`
}

type GetBoardsOptions

type GetBoardsOptions struct {
	BoardType               string
	BoardName               string
	ProjectKeyOrID          string
	AccountIDLocation       string
	ProjectIDLocation       string
	IncludePrivate          bool
	NegateLocationFiltering bool
	OrderBy                 string
	Expand                  string
	FilterID                int
}

type GetContentAttachmentsOptionsScheme

type GetContentAttachmentsOptionsScheme struct {
	Expand    []string
	FileName  string
	MediaType string
}

type GetContentOptionsScheme

type GetContentOptionsScheme struct {
	ContextType, SpaceKey string
	Title                 string
	Trigger               string
	OrderBy               string
	Status, Expand        []string
	PostingDay            time.Time
}

type GetSpacesOptionScheme

type GetSpacesOptionScheme struct {
	SpaceKeys       []string
	SpaceIDs        []int
	SpaceType       string
	Status          string
	Labels          []string
	Favorite        bool
	FavoriteUserKey string
	Expand          []string
}

type GroupBulkOptionsScheme

type GroupBulkOptionsScheme struct {
	GroupIDs   []string
	GroupNames []string
}

type GroupMemberPageScheme

type GroupMemberPageScheme struct {
	Self       string                   `json:"self,omitempty"`
	NextPage   string                   `json:"nextPage,omitempty"`
	MaxResults int                      `json:"maxResults,omitempty"`
	StartAt    int                      `json:"startAt,omitempty"`
	Total      int                      `json:"total,omitempty"`
	IsLast     bool                     `json:"isLast,omitempty"`
	Values     []*GroupUserDetailScheme `json:"values,omitempty"`
}

type GroupPermissionScheme

type GroupPermissionScheme struct {
	Results []*SpaceGroupScheme `json:"results,omitempty"`
	Size    int                 `json:"size,omitempty"`
}

type GroupScheme

type GroupScheme struct {
	Name   string               `json:"name,omitempty"`
	Self   string               `json:"self,omitempty"`
	Users  *GroupUserPageScheme `json:"users,omitempty"`
	Expand string               `json:"expand,omitempty"`
}

type GroupUserDetailScheme

type GroupUserDetailScheme struct {
	Self         string `json:"self"`
	Name         string `json:"name"`
	Key          string `json:"key"`
	AccountID    string `json:"accountId"`
	EmailAddress string `json:"emailAddress"`
	DisplayName  string `json:"displayName"`
	Active       bool   `json:"active"`
	TimeZone     string `json:"timeZone"`
	AccountType  string `json:"accountType"`
}

type GroupUserPageScheme

type GroupUserPageScheme struct {
	Size       int           `json:"size,omitempty"`
	Items      []*UserScheme `json:"items,omitempty"`
	MaxResults int           `json:"max-results,omitempty"`
	StartIndex int           `json:"start-index,omitempty"`
	EndIndex   int           `json:"end-index,omitempty"`
}

type InfoBuildDataScheme

type InfoBuildDataScheme struct {
	Iso8601     string `json:"iso8601,omitempty"`
	Jira        string `json:"jira,omitempty"`
	Friendly    string `json:"friendly,omitempty"`
	EpochMillis int64  `json:"epochMillis,omitempty"`
}

type InfoLinkScheme

type InfoLinkScheme struct {
	Self string `json:"self,omitempty"`
}

type InfoScheme

type InfoScheme struct {
	Version          string               `json:"version,omitempty"`
	PlatformVersion  string               `json:"platformVersion,omitempty"`
	BuildDate        *InfoBuildDataScheme `json:"buildDate,omitempty"`
	BuildChangeSet   string               `json:"buildChangeSet,omitempty"`
	IsLicensedForUse bool                 `json:"isLicensedForUse,omitempty"`
	Links            *InfoLinkScheme      `json:"_links,omitempty"`
}

type IssueBulkResponseErrorScheme

type IssueBulkResponseErrorScheme struct {
	Status        int `json:"status"`
	ElementErrors struct {
		ErrorMessages []string `json:"errorMessages"`
		Status        int      `json:"status"`
	} `json:"elementErrors"`
	FailedElementNumber int `json:"failedElementNumber"`
}

type IssueBulkResponseScheme

type IssueBulkResponseScheme struct {
	Issues []struct {
		ID   string `json:"id,omitempty"`
		Key  string `json:"key,omitempty"`
		Self string `json:"self,omitempty"`
	} `json:"issues,omitempty"`
	Errors []*IssueBulkResponseErrorScheme `json:"errors,omitempty"`
}

type IssueBulkSchemeV2

type IssueBulkSchemeV2 struct {
	Payload      *IssueSchemeV2
	CustomFields *CustomFields
}

type IssueBulkSchemeV3

type IssueBulkSchemeV3 struct {
	Payload      *IssueScheme
	CustomFields *CustomFields
}

type IssueChangelogAuthor

type IssueChangelogAuthor struct {
	Self         string           `json:"self,omitempty"`
	AccountID    string           `json:"accountId,omitempty"`
	EmailAddress string           `json:"emailAddress,omitempty"`
	AvatarUrls   *AvatarURLScheme `json:"avatarUrls,omitempty"`
	DisplayName  string           `json:"displayName,omitempty"`
	Active       bool             `json:"active,omitempty"`
	TimeZone     string           `json:"timeZone,omitempty"`
	AccountType  string           `json:"accountType,omitempty"`
}

type IssueChangelogHistoryItemScheme

type IssueChangelogHistoryItemScheme struct {
	Field      string `json:"field,omitempty"`
	Fieldtype  string `json:"fieldtype,omitempty"`
	FieldID    string `json:"fieldId,omitempty"`
	From       string `json:"from,omitempty"`
	FromString string `json:"fromString,omitempty"`
	To         string `json:"to,omitempty"`
	ToString   string `json:"toString,omitempty"`
}

type IssueChangelogHistoryScheme

type IssueChangelogHistoryScheme struct {
	ID      string                             `json:"id,omitempty"`
	Author  *IssueChangelogAuthor              `json:"author,omitempty"`
	Created string                             `json:"created,omitempty"`
	Items   []*IssueChangelogHistoryItemScheme `json:"items,omitempty"`
}

type IssueChangelogScheme

type IssueChangelogScheme struct {
	StartAt    int                            `json:"startAt,omitempty"`
	MaxResults int                            `json:"maxResults,omitempty"`
	Total      int                            `json:"total,omitempty"`
	Histories  []*IssueChangelogHistoryScheme `json:"histories,omitempty"`
}

type IssueCommentPageScheme

type IssueCommentPageScheme struct {
	StartAt    int                   `json:"startAt,omitempty"`
	MaxResults int                   `json:"maxResults,omitempty"`
	Total      int                   `json:"total,omitempty"`
	Comments   []*IssueCommentScheme `json:"comments,omitempty"`
}

type IssueCommentPageSchemeV2

type IssueCommentPageSchemeV2 struct {
	StartAt    int                     `json:"startAt,omitempty"`
	MaxResults int                     `json:"maxResults,omitempty"`
	Total      int                     `json:"total,omitempty"`
	Comments   []*IssueCommentSchemeV2 `json:"comments,omitempty"`
}

type IssueCommentScheme

type IssueCommentScheme struct {
	Self         string                   `json:"self,omitempty"`
	ID           string                   `json:"id,omitempty"`
	Author       *UserScheme              `json:"author,omitempty"`
	RenderedBody string                   `json:"renderedBody,omitempty"`
	Body         *CommentNodeScheme       `json:"body,omitempty"`
	JSDPublic    bool                     `json:"jsdPublic,omitempty"`
	UpdateAuthor *UserScheme              `json:"updateAuthor,omitempty"`
	Created      string                   `json:"created,omitempty"`
	Updated      string                   `json:"updated,omitempty"`
	Visibility   *CommentVisibilityScheme `json:"visibility,omitempty"`
}

type IssueCommentSchemeV2

type IssueCommentSchemeV2 struct {
	Self         string                   `json:"self,omitempty"`
	ID           string                   `json:"id,omitempty"`
	Body         string                   `json:"body,omitempty"`
	RenderedBody string                   `json:"renderedBody,omitempty"`
	Author       *UserScheme              `json:"author,omitempty"`
	JSDPublic    bool                     `json:"jsdPublic,omitempty"`
	UpdateAuthor *UserScheme              `json:"updateAuthor,omitempty"`
	Created      string                   `json:"created,omitempty"`
	Updated      string                   `json:"updated,omitempty"`
	Visibility   *CommentVisibilityScheme `json:"visibility,omitempty"`
}

type IssueFieldLastUsedScheme

type IssueFieldLastUsedScheme struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type IssueFieldSchemaScheme

type IssueFieldSchemaScheme struct {
	Type     string `json:"type,omitempty"`
	Items    string `json:"items,omitempty"`
	System   string `json:"system,omitempty"`
	Custom   string `json:"custom,omitempty"`
	CustomID int    `json:"customId,omitempty"`
}

type IssueFieldScheme

type IssueFieldScheme struct {
	ID            string                         `json:"id,omitempty"`
	Key           string                         `json:"key,omitempty"`
	Name          string                         `json:"name,omitempty"`
	Custom        bool                           `json:"custom,omitempty"`
	Orderable     bool                           `json:"orderable,omitempty"`
	Navigable     bool                           `json:"navigable,omitempty"`
	Searchable    bool                           `json:"searchable,omitempty"`
	ClauseNames   []string                       `json:"clauseNames,omitempty"`
	Scope         *TeamManagedProjectScopeScheme `json:"scope,omitempty"`
	Schema        *IssueFieldSchemaScheme        `json:"schema,omitempty"`
	Description   string                         `json:"description,omitempty"`
	IsLocked      bool                           `json:"isLocked,omitempty"`
	SearcherKey   string                         `json:"searcherKey,omitempty"`
	ScreensCount  int                            `json:"screensCount,omitempty"`
	ContextsCount int                            `json:"contextsCount,omitempty"`
	LastUsed      *IssueFieldLastUsedScheme      `json:"lastUsed,omitempty"`
}

type IssueFieldsScheme

type IssueFieldsScheme struct {
	Parent                   *ParentScheme           `json:"parent,omitempty"`
	IssueType                *IssueTypeScheme        `json:"issuetype,omitempty"`
	IssueLinks               []*IssueLinkScheme      `json:"issuelinks,omitempty"`
	Watcher                  *IssueWatcherScheme     `json:"watches,omitempty"`
	Votes                    *IssueVoteScheme        `json:"votes,omitempty"`
	Versions                 []*VersionScheme        `json:"versions,omitempty"`
	Project                  *ProjectScheme          `json:"project,omitempty"`
	FixVersions              []*VersionScheme        `json:"fixVersions,omitempty"`
	Priority                 *PriorityScheme         `json:"priority,omitempty"`
	Components               []*ComponentScheme      `json:"components,omitempty"`
	Creator                  *UserScheme             `json:"creator,omitempty"`
	Reporter                 *UserScheme             `json:"reporter,omitempty"`
	Assignee                 *UserScheme             `json:"assignee,omitempty"`
	Resolution               *ResolutionScheme       `json:"resolution,omitempty"`
	Resolutiondate           string                  `json:"resolutiondate,omitempty"`
	Workratio                int                     `json:"workratio,omitempty"`
	StatusCategoryChangeDate string                  `json:"statuscategorychangedate,omitempty"`
	LastViewed               string                  `json:"lastViewed,omitempty"`
	Summary                  string                  `json:"summary,omitempty"`
	Created                  string                  `json:"created,omitempty"`
	Updated                  string                  `json:"updated,omitempty"`
	Labels                   []string                `json:"labels,omitempty"`
	Status                   *StatusScheme           `json:"status,omitempty"`
	Description              *CommentNodeScheme      `json:"description,omitempty"`
	Comment                  *IssueCommentPageScheme `json:"comment,omitempty"`
	Subtasks                 []*IssueScheme          `json:"subtasks,omitempty"`
	Security                 *SecurityScheme         `json:"security,omitempty"`
	Attachment               []*AttachmentScheme     `json:"attachment,omitempty"`
}

type IssueFieldsSchemeV2

type IssueFieldsSchemeV2 struct {
	Parent                   *ParentScheme             `json:"parent,omitempty"`
	IssueType                *IssueTypeScheme          `json:"issuetype,omitempty"`
	IssueLinks               []*IssueLinkScheme        `json:"issuelinks,omitempty"`
	Watcher                  *IssueWatcherScheme       `json:"watches,omitempty"`
	Votes                    *IssueVoteScheme          `json:"votes,omitempty"`
	Versions                 []*VersionScheme          `json:"versions,omitempty"`
	Project                  *ProjectScheme            `json:"project,omitempty"`
	FixVersions              []*VersionScheme          `json:"fixVersions,omitempty"`
	Priority                 *PriorityScheme           `json:"priority,omitempty"`
	Components               []*ComponentScheme        `json:"components,omitempty"`
	Creator                  *UserScheme               `json:"creator,omitempty"`
	Reporter                 *UserScheme               `json:"reporter,omitempty"`
	Assignee                 *UserScheme               `json:"assignee,omitempty"`
	Resolution               *ResolutionScheme         `json:"resolution,omitempty"`
	Resolutiondate           string                    `json:"resolutiondate,omitempty"`
	Workratio                int                       `json:"workratio,omitempty"`
	StatusCategoryChangeDate string                    `json:"statuscategorychangedate,omitempty"`
	LastViewed               string                    `json:"lastViewed,omitempty"`
	Summary                  string                    `json:"summary,omitempty"`
	Created                  string                    `json:"created,omitempty"`
	Updated                  string                    `json:"updated,omitempty"`
	Labels                   []string                  `json:"labels,omitempty"`
	Status                   *StatusScheme             `json:"status,omitempty"`
	Description              string                    `json:"description,omitempty"`
	Comment                  *IssueCommentPageSchemeV2 `json:"comment,omitempty"`
	Subtasks                 []*IssueScheme            `json:"subtasks,omitempty"`
	Security                 *SecurityScheme           `json:"security,omitempty"`
}

type IssueLabelsScheme

type IssueLabelsScheme struct {
	MaxResults int      `json:"maxResults"`
	StartAt    int      `json:"startAt"`
	Total      int      `json:"total"`
	IsLast     bool     `json:"isLast"`
	Values     []string `json:"values"`
}

type IssueLinkFieldScheme

type IssueLinkFieldScheme struct {
	IssueLinks []*IssueLinkScheme `json:"issuelinks,omitempty"`
}

type IssueLinkFieldsScheme

type IssueLinkFieldsScheme struct {
	IssueType                *IssueTypeScheme    `json:"issuetype,omitempty"`
	IssueLinks               []*IssueLinkScheme  `json:"issuelinks,omitempty"`
	Watcher                  *IssueWatcherScheme `json:"watches,omitempty"`
	Votes                    *IssueVoteScheme    `json:"votes,omitempty"`
	Versions                 []*VersionScheme    `json:"versions,omitempty"`
	Project                  *ProjectScheme      `json:"project,omitempty"`
	FixVersions              []*VersionScheme    `json:"fixVersions,omitempty"`
	Priority                 *PriorityScheme     `json:"priority,omitempty"`
	Components               []*ComponentScheme  `json:"components,omitempty"`
	Creator                  *UserScheme         `json:"creator,omitempty"`
	Reporter                 *UserScheme         `json:"reporter,omitempty"`
	Assignee                 *UserScheme         `json:"assignee,omitempty"`
	Resolution               *ResolutionScheme   `json:"resolution,omitempty"`
	Resolutiondate           string              `json:"resolutiondate,omitempty"`
	Workratio                int                 `json:"workratio,omitempty"`
	StatusCategoryChangeDate string              `json:"statuscategorychangedate,omitempty"`
	LastViewed               string              `json:"lastViewed,omitempty"`
	Summary                  string              `json:"summary,omitempty"`
	Created                  string              `json:"created,omitempty"`
	Updated                  string              `json:"updated,omitempty"`
	Labels                   []string            `json:"labels,omitempty"`
	Status                   *StatusScheme       `json:"status,omitempty"`
	Security                 *SecurityScheme     `json:"security,omitempty"`
}

type IssueLinkPageScheme

type IssueLinkPageScheme struct {
	Expand string                `json:"expand,omitempty"`
	ID     string                `json:"id,omitempty"`
	Self   string                `json:"self,omitempty"`
	Key    string                `json:"key,omitempty"`
	Fields *IssueLinkFieldScheme `json:"fields,omitempty"`
}

type IssueLinkScheme

type IssueLinkScheme struct {
	ID           string             `json:"id,omitempty"`
	Type         *LinkTypeScheme    `json:"type,omitempty"`
	InwardIssue  *LinkedIssueScheme `json:"inwardIssue,omitempty"`
	OutwardIssue *LinkedIssueScheme `json:"outwardIssue,omitempty"`
}

type IssueLinkTypeScheme

type IssueLinkTypeScheme struct {
	ID      string `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Inward  string `json:"inward,omitempty"`
	Outward string `json:"outward,omitempty"`
	Self    string `json:"self,omitempty"`
}

type IssueLinkTypeSearchScheme

type IssueLinkTypeSearchScheme struct {
	IssueLinkTypes []*LinkTypeScheme `json:"issueLinkTypes,omitempty"`
}

type IssueMatchesPageScheme

type IssueMatchesPageScheme struct {
	Matches []*IssueMatchesScheme `json:"matches,omitempty"`
}

type IssueMatchesScheme

type IssueMatchesScheme struct {
	MatchedIssues []int    `json:"matchedIssues,omitempty"`
	Errors        []string `json:"errors,omitempty"`
}

type IssueMetadataCreateOptions

type IssueMetadataCreateOptions struct {
	ProjectIDs     []string
	ProjectKeys    []string
	IssueTypeIDs   []string
	IssueTypeNames []string
	Expand         string
}

type IssueMoveOptionsV2

type IssueMoveOptionsV2 struct {
	Fields       *IssueSchemeV2
	CustomFields *CustomFields
	Operations   *UpdateOperations
}

type IssueMoveOptionsV3

type IssueMoveOptionsV3 struct {
	Fields       *IssueScheme
	CustomFields *CustomFields
	Operations   *UpdateOperations
}

type IssueNotifyGroupScheme

type IssueNotifyGroupScheme struct {
	Name string `json:"name,omitempty"`
}

type IssueNotifyOptionsScheme

type IssueNotifyOptionsScheme struct {
	HTMLBody string                     `json:"htmlBody,omitempty"`
	Subject  string                     `json:"subject,omitempty"`
	TextBody string                     `json:"textBody,omitempty"`
	To       *IssueNotifyToScheme       `json:"to,omitempty"`
	Restrict *IssueNotifyRestrictScheme `json:"restrict,omitempty"`
}

type IssueNotifyPermissionScheme

type IssueNotifyPermissionScheme struct {
	ID  string `json:"id,omitempty"`
	Key string `json:"key,omitempty"`
}

type IssueNotifyRestrictScheme

type IssueNotifyRestrictScheme struct {
	Groups      []*IssueNotifyGroupScheme      `json:"groups,omitempty"`
	Permissions []*IssueNotifyPermissionScheme `json:"permissions,omitempty"`
}

type IssueNotifyToScheme

type IssueNotifyToScheme struct {
	Reporter bool                      `json:"reporter,omitempty"`
	Assignee bool                      `json:"assignee,omitempty"`
	Watchers bool                      `json:"watchers,omitempty"`
	Voters   bool                      `json:"voters,omitempty"`
	Users    []*IssueNotifyUserScheme  `json:"users,omitempty"`
	Groups   []*IssueNotifyGroupScheme `json:"groups,omitempty"`
}

type IssueNotifyUserScheme

type IssueNotifyUserScheme struct {
	AccountID string `json:"accountId,omitempty"`
}

type IssueOptionScheme

type IssueOptionScheme struct {
	JQL           string
	ValidateQuery bool
	Fields        []string
	Expand        []string
}

type IssueResponseScheme

type IssueResponseScheme struct {
	ID   string `json:"id,omitempty"`
	Key  string `json:"key,omitempty"`
	Self string `json:"self,omitempty"`
}

type IssueScheme

type IssueScheme struct {
	ID          string                   `json:"id,omitempty"`
	Key         string                   `json:"key,omitempty"`
	Self        string                   `json:"self,omitempty"`
	Transitions []*IssueTransitionScheme `json:"transitions,omitempty"`
	Changelog   *IssueChangelogScheme    `json:"changelog,omitempty"`
	Fields      *IssueFieldsScheme       `json:"fields,omitempty"`
}

func (*IssueScheme) MergeCustomFields

func (i *IssueScheme) MergeCustomFields(fields *CustomFields) (result map[string]interface{}, err error)

func (*IssueScheme) MergeOperations

func (i *IssueScheme) MergeOperations(operations *UpdateOperations) (result map[string]interface{}, err error)

func (*IssueScheme) ToMap

func (i *IssueScheme) ToMap() (result map[string]interface{}, err error)

type IssueSchemeV2

type IssueSchemeV2 struct {
	ID          string                   `json:"id,omitempty"`
	Key         string                   `json:"key,omitempty"`
	Self        string                   `json:"self,omitempty"`
	Transitions []*IssueTransitionScheme `json:"transitions,omitempty"`
	Changelog   *IssueChangelogScheme    `json:"changelog,omitempty"`
	Fields      *IssueFieldsSchemeV2     `json:"fields,omitempty"`
}

func (*IssueSchemeV2) MergeCustomFields

func (i *IssueSchemeV2) MergeCustomFields(fields *CustomFields) (result map[string]interface{}, err error)

func (*IssueSchemeV2) MergeOperations

func (i *IssueSchemeV2) MergeOperations(operations *UpdateOperations) (result map[string]interface{}, err error)

func (*IssueSchemeV2) ToMap

func (i *IssueSchemeV2) ToMap() (result map[string]interface{}, err error)

type IssueSearchCheckPayloadScheme

type IssueSearchCheckPayloadScheme struct {
	IssueIds []int    `json:"issueIds,omitempty"`
	JQLs     []string `json:"jqls,omitempty"`
}

type IssueSearchScheme

type IssueSearchScheme struct {
	Expand          string         `json:"expand,omitempty"`
	StartAt         int            `json:"startAt,omitempty"`
	MaxResults      int            `json:"maxResults,omitempty"`
	Total           int            `json:"total,omitempty"`
	Issues          []*IssueScheme `json:"issues,omitempty"`
	WarningMessages []string       `json:"warningMessages,omitempty"`
}

type IssueSearchSchemeV2

type IssueSearchSchemeV2 struct {
	Expand          string           `json:"expand,omitempty"`
	StartAt         int              `json:"startAt,omitempty"`
	MaxResults      int              `json:"maxResults,omitempty"`
	Total           int              `json:"total,omitempty"`
	Issues          []*IssueSchemeV2 `json:"issues,omitempty"`
	WarningMessages []string         `json:"warningMessages,omitempty"`
}

type IssueSecurityLevelScheme

type IssueSecurityLevelScheme struct {
	Self        string `json:"self,omitempty"`
	ID          string `json:"id,omitempty"`
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
}

type IssueSecurityLevelsScheme

type IssueSecurityLevelsScheme struct {
	Levels []*IssueSecurityLevelScheme `json:"levels,omitempty"`
}

type IssueTransitionScheme

type IssueTransitionScheme struct {
	ID            string        `json:"id,omitempty"`
	Name          string        `json:"name,omitempty"`
	To            *StatusScheme `json:"to,omitempty"`
	HasScreen     bool          `json:"hasScreen,omitempty"`
	IsGlobal      bool          `json:"isGlobal,omitempty"`
	IsInitial     bool          `json:"isInitial,omitempty"`
	IsAvailable   bool          `json:"isAvailable,omitempty"`
	IsConditional bool          `json:"isConditional,omitempty"`
	IsLooped      bool          `json:"isLooped,omitempty"`
}

type IssueTransitionsScheme

type IssueTransitionsScheme struct {
	Expand      string                   `json:"expand,omitempty"`
	Transitions []*IssueTransitionScheme `json:"transitions,omitempty"`
}

type IssueTypePayloadScheme

type IssueTypePayloadScheme struct {
	Name           string `json:"name,omitempty"`
	Description    string `json:"description,omitempty"`
	Type           string `json:"type,omitempty"`
	HierarchyLevel int    `json:"hierarchyLevel,omitempty"`
	AvatarID       int    `json:"avatarId,omitempty"`
}

type IssueTypeProjectScreenSchemePageScheme

type IssueTypeProjectScreenSchemePageScheme struct {
	Self       string                                 `json:"self,omitempty"`
	NextPage   string                                 `json:"nextPage,omitempty"`
	MaxResults int                                    `json:"maxResults,omitempty"`
	StartAt    int                                    `json:"startAt,omitempty"`
	Total      int                                    `json:"total,omitempty"`
	IsLast     bool                                   `json:"isLast,omitempty"`
	Values     []*IssueTypeScreenSchemesProjectScheme `json:"values,omitempty"`
}

type IssueTypeScheme

type IssueTypeScheme struct {
	Self           string                `json:"self,omitempty"`
	ID             string                `json:"id,omitempty"`
	Description    string                `json:"description,omitempty"`
	IconURL        string                `json:"iconUrl,omitempty"`
	Name           string                `json:"name,omitempty"`
	Subtask        bool                  `json:"subtask,omitempty"`
	AvatarID       int                   `json:"avatarId,omitempty"`
	EntityID       string                `json:"entityId,omitempty"`
	HierarchyLevel int                   `json:"hierarchyLevel,omitempty"`
	Scope          *IssueTypeScopeScheme `json:"scope,omitempty"`
}

type IssueTypeSchemeItemPageScheme

type IssueTypeSchemeItemPageScheme struct {
	MaxResults int                             `json:"maxResults,omitempty"`
	StartAt    int                             `json:"startAt,omitempty"`
	Total      int                             `json:"total,omitempty"`
	IsLast     bool                            `json:"isLast,omitempty"`
	Values     []*IssueTypeSchemeMappingScheme `json:"values,omitempty"`
}

type IssueTypeSchemeMappingScheme

type IssueTypeSchemeMappingScheme struct {
	IssueTypeSchemeID string `json:"issueTypeSchemeId,omitempty"`
	IssueTypeID       string `json:"issueTypeId,omitempty"`
}

type IssueTypeSchemePageScheme

type IssueTypeSchemePageScheme struct {
	Self       string                   `json:"self,omitempty"`
	NextPage   string                   `json:"nextPage,omitempty"`
	MaxResults int                      `json:"maxResults,omitempty"`
	StartAt    int                      `json:"startAt,omitempty"`
	Total      int                      `json:"total,omitempty"`
	IsLast     bool                     `json:"isLast,omitempty"`
	Values     []*IssueTypeSchemeScheme `json:"values,omitempty"`
}

type IssueTypeSchemePayloadScheme

type IssueTypeSchemePayloadScheme struct {
	DefaultIssueTypeID string   `json:"defaultIssueTypeId,omitempty"`
	IssueTypeIds       []string `json:"issueTypeIds,omitempty"`
	Name               string   `json:"name,omitempty"`
	Description        string   `json:"description,omitempty"`
}

type IssueTypeSchemeProjectsScheme

type IssueTypeSchemeProjectsScheme struct {
	IssueTypeScheme *IssueTypeSchemeScheme `json:"issueTypeScheme,omitempty"`
	ProjectIds      []string               `json:"projectIds,omitempty"`
}

type IssueTypeSchemeScheme

type IssueTypeSchemeScheme struct {
	ID                 string `json:"id,omitempty"`
	Name               string `json:"name,omitempty"`
	Description        string `json:"description,omitempty"`
	DefaultIssueTypeID string `json:"defaultIssueTypeId,omitempty"`
	IsDefault          bool   `json:"isDefault,omitempty"`
}

type IssueTypeScopeScheme

type IssueTypeScopeScheme struct {
	Type    string         `json:"type,omitempty"`
	Project *ProjectScheme `json:"project,omitempty"`
}

type IssueTypeScreenSchemeByProjectPageScheme

type IssueTypeScreenSchemeByProjectPageScheme struct {
	MaxResults int                    `json:"maxResults,omitempty"`
	StartAt    int                    `json:"startAt,omitempty"`
	Total      int                    `json:"total,omitempty"`
	IsLast     bool                   `json:"isLast,omitempty"`
	Values     []*ProjectDetailScheme `json:"values,omitempty"`
}

type IssueTypeScreenSchemeItemScheme

type IssueTypeScreenSchemeItemScheme struct {
	IssueTypeScreenSchemeID string `json:"issueTypeScreenSchemeId,omitempty"`
	IssueTypeID             string `json:"issueTypeId,omitempty"`
	ScreenSchemeID          string `json:"screenSchemeId,omitempty"`
}

type IssueTypeScreenSchemeMappingPayloadScheme

type IssueTypeScreenSchemeMappingPayloadScheme struct {
	IssueTypeID    string `json:"issueTypeId,omitempty"`
	ScreenSchemeID string `json:"screenSchemeId,omitempty"`
}

type IssueTypeScreenSchemeMappingScheme

type IssueTypeScreenSchemeMappingScheme struct {
	Self       string                             `json:"self,omitempty"`
	NextPage   string                             `json:"nextPage,omitempty"`
	MaxResults int                                `json:"maxResults,omitempty"`
	StartAt    int                                `json:"startAt,omitempty"`
	Total      int                                `json:"total,omitempty"`
	IsLast     bool                               `json:"isLast,omitempty"`
	Values     []*IssueTypeScreenSchemeItemScheme `json:"values,omitempty"`
}

type IssueTypeScreenSchemePageScheme

type IssueTypeScreenSchemePageScheme struct {
	Self       string                         `json:"self,omitempty"`
	NextPage   string                         `json:"nextPage,omitempty"`
	MaxResults int                            `json:"maxResults,omitempty"`
	StartAt    int                            `json:"startAt,omitempty"`
	Total      int                            `json:"total,omitempty"`
	IsLast     bool                           `json:"isLast,omitempty"`
	Values     []*IssueTypeScreenSchemeScheme `json:"values,omitempty"`
}

type IssueTypeScreenSchemePayloadScheme

type IssueTypeScreenSchemePayloadScheme struct {
	Name              string                                       `json:"name,omitempty"`
	Description       string                                       `json:"description,omitempty"`
	IssueTypeMappings []*IssueTypeScreenSchemeMappingPayloadScheme `json:"issueTypeMappings,omitempty"`
}

type IssueTypeScreenSchemeScheme

type IssueTypeScreenSchemeScheme struct {
	ID          string               `json:"id,omitempty"`
	Name        string               `json:"name,omitempty"`
	Description string               `json:"description,omitempty"`
	Projects    *ProjectSearchScheme `json:"projects,omitempty"`
}

type IssueTypeScreenSchemesProjectScheme

type IssueTypeScreenSchemesProjectScheme struct {
	IssueTypeScreenScheme *IssueTypeScreenSchemeScheme `json:"issueTypeScreenScheme,omitempty"`
	ProjectIds            []string                     `json:"projectIds,omitempty"`
}

type IssueTypeScreenScreenCreatedScheme

type IssueTypeScreenScreenCreatedScheme struct {
	ID string `json:"id"`
}

type IssueTypeToContextMappingPageScheme

type IssueTypeToContextMappingPageScheme struct {
	MaxResults int                                     `json:"maxResults,omitempty"`
	StartAt    int                                     `json:"startAt,omitempty"`
	Total      int                                     `json:"total,omitempty"`
	IsLast     bool                                    `json:"isLast,omitempty"`
	Values     []*IssueTypeToContextMappingValueScheme `json:"values"`
}

type IssueTypeToContextMappingValueScheme

type IssueTypeToContextMappingValueScheme struct {
	ContextID      string `json:"contextId"`
	IsAnyIssueType bool   `json:"isAnyIssueType,omitempty"`
	IssueTypeID    string `json:"issueTypeId,omitempty"`
}

type IssueVoteScheme

type IssueVoteScheme struct {
	Self     string        `json:"self,omitempty"`
	Votes    int           `json:"votes,omitempty"`
	HasVoted bool          `json:"hasVoted,omitempty"`
	Voters   []*UserScheme `json:"voters,omitempty"`
}

type IssueWatcherScheme

type IssueWatcherScheme struct {
	Self       string              `json:"self,omitempty"`
	IsWatching bool                `json:"isWatching,omitempty"`
	WatchCount int                 `json:"watchCount,omitempty"`
	Watchers   []*UserDetailScheme `json:"watchers,omitempty"`
}

type IssueWorklogPageScheme

type IssueWorklogPageScheme struct {
	StartAt    int                   `json:"startAt,omitempty"`
	MaxResults int                   `json:"maxResults,omitempty"`
	Total      int                   `json:"total,omitempty"`
	Worklogs   []*IssueWorklogScheme `json:"worklogs,omitempty"`
}

type IssueWorklogScheme

type IssueWorklogScheme struct {
	Self             string                        `json:"self,omitempty"`
	Author           *UserDetailScheme             `json:"author,omitempty"`
	UpdateAuthor     *UserDetailScheme             `json:"updateAuthor,omitempty"`
	Created          string                        `json:"created,omitempty"`
	Updated          string                        `json:"updated,omitempty"`
	Visibility       *IssueWorklogVisibilityScheme `json:"visibility,omitempty"`
	Started          string                        `json:"started,omitempty"`
	TimeSpent        string                        `json:"timeSpent,omitempty"`
	TimeSpentSeconds int                           `json:"timeSpentSeconds,omitempty"`
	ID               string                        `json:"id,omitempty"`
	IssueID          string                        `json:"issueId,omitempty"`
}

type IssueWorklogVisibilityScheme

type IssueWorklogVisibilityScheme struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type LabelAssociatedContentPageScheme

type LabelAssociatedContentPageScheme struct {
	Results []*LabelAssociatedContentScheme `json:"results,omitempty"`
	Start   int                             `json:"start,omitempty"`
	Limit   int                             `json:"limit,omitempty"`
	Size    int                             `json:"size,omitempty"`
}

type LabelAssociatedContentScheme

type LabelAssociatedContentScheme struct {
	ContentType string `json:"contentType,omitempty"`
	ContentID   int    `json:"contentId,omitempty"`
	Title       string `json:"title,omitempty"`
}

type LabelDetailsScheme

type LabelDetailsScheme struct {
	Label              *ContentLabelScheme               `json:"label"`
	AssociatedContents *LabelAssociatedContentPageScheme `json:"associatedContents"`
}

type LabelValueScheme

type LabelValueScheme struct {
	Prefix string `json:"prefix,omitempty"`
	Name   string `json:"name,omitempty"`
	ID     string `json:"id,omitempty"`
	Label  string `json:"label,omitempty"`
}

type LabelsScheme

type LabelsScheme struct {
	Results []*LabelValueScheme `json:"results,omitempty"`
	Start   int                 `json:"start,omitempty"`
	Limit   int                 `json:"limit,omitempty"`
	Size    int                 `json:"size,omitempty"`
	Links   *LinkScheme         `json:"_links,omitempty"`
}

type LinkPageModelScheme

type LinkPageModelScheme struct {
	Self string `json:"self,omitempty"`
	Prev string `json:"prev,omitempty"`
	Next string `json:"next,omitempty"`
}

type LinkPayloadSchemeV2

type LinkPayloadSchemeV2 struct {
	Comment      *CommentPayloadSchemeV2 `json:"comment,omitempty"`
	InwardIssue  *LinkedIssueScheme      `json:"inwardIssue,omitempty"`
	OutwardIssue *LinkedIssueScheme      `json:"outwardIssue,omitempty"`
	Type         *LinkTypeScheme         `json:"type,omitempty"`
}

type LinkPayloadSchemeV3

type LinkPayloadSchemeV3 struct {
	Comment      *CommentPayloadScheme `json:"comment,omitempty"`
	InwardIssue  *LinkedIssueScheme    `json:"inwardIssue,omitempty"`
	OutwardIssue *LinkedIssueScheme    `json:"outwardIssue,omitempty"`
	Type         *LinkTypeScheme       `json:"type,omitempty"`
}

type LinkScheme

type LinkScheme struct {
	Base       string `json:"base,omitempty"`
	Context    string `json:"context,omitempty"`
	Self       string `json:"self,omitempty"`
	Tinyui     string `json:"tinyui,omitempty"`
	Editui     string `json:"editui,omitempty"`
	Webui      string `json:"webui,omitempty"`
	Download   string `json:"download,omitempty"`
	Next       string `json:"next"`
	Collection string `json:"collection"`
}

type LinkSelfModelScheme

type LinkSelfModelScheme struct {
	Self string `json:"self,omitempty"`
}

type LinkTypeScheme

type LinkTypeScheme struct {
	Self    string `json:"self,omitempty"`
	ID      string `json:"id,omitempty"`
	Name    string `json:"name,omitempty"`
	Inward  string `json:"inward,omitempty"`
	Outward string `json:"outward,omitempty"`
}

type LinkedIssueScheme

type LinkedIssueScheme struct {
	ID     string                 `json:"id,omitempty"`
	Key    string                 `json:"key,omitempty"`
	Self   string                 `json:"self,omitempty"`
	Fields *IssueLinkFieldsScheme `json:"fields,omitempty"`
}

type LongTaskDetailsScheme

type LongTaskDetailsScheme struct {
	DestinationID        string `json:"destinationId,omitempty"`
	DestinationURL       string `json:"destinationUrl,omitempty"`
	TotalPageNeedToCopy  int    `json:"totalPageNeedToCopy,omitempty"`
	AdditionalProperties string `json:"additionalProperties,omitempty"`
}

type LongTaskMessageScheme

type LongTaskMessageScheme struct {
	Translation string   `json:"translation,omitempty"`
	Args        []string `json:"args,omitempty"`
}

type LongTaskNameScheme

type LongTaskNameScheme struct {
	Key string `json:"key,omitempty"`
}

type LongTaskPageScheme

type LongTaskPageScheme struct {
	Results []*LongTaskScheme `json:"results,omitempty"`
	Start   int               `json:"start,omitempty"`
	Limit   int               `json:"limit,omitempty"`
	Size    int               `json:"size,omitempty"`
}

type LongTaskScheme

type LongTaskScheme struct {
	ID                 string                   `json:"id,omitempty"`
	Name               *LongTaskNameScheme      `json:"name,omitempty"`
	ElapsedTime        int                      `json:"elapsedTime,omitempty"`
	PercentageComplete int                      `json:"percentageComplete,omitempty"`
	Successful         bool                     `json:"successful,omitempty"`
	Finished           bool                     `json:"finished,omitempty"`
	Messages           []*LongTaskMessageScheme `json:"messages,omitempty"`
	Status             string                   `json:"status,omitempty"`
	Errors             []*LongTaskMessageScheme `json:"errors,omitempty"`
	AdditionalDetails  *LongTaskDetailsScheme   `json:"additionalDetails,omitempty"`
}

type MarkScheme

type MarkScheme struct {
	Type  string                 `json:"type,omitempty"`
	Attrs map[string]interface{} `json:"attrs,omitempty"`
}

type MetadataScheme

type MetadataScheme struct {
	Labels     *LabelsScheme     `json:"labels"`
	Expandable *ExpandableScheme `json:"_expandable,omitempty"`
	MediaType  string            `json:"mediaType,omitempty"`
}

type NewIssueTypeSchemeScheme

type NewIssueTypeSchemeScheme struct {
	IssueTypeSchemeID string `json:"issueTypeSchemeId"`
}

type NewProjectCreatedScheme

type NewProjectCreatedScheme struct {
	Self string `json:"self"`
	ID   int    `json:"id"`
	Key  string `json:"key"`
}

type NotificationEventScheme

type NotificationEventScheme struct {
	ID            int                      `json:"id,omitempty"`
	Name          string                   `json:"name,omitempty"`
	Description   string                   `json:"description,omitempty"`
	TemplateEvent *NotificationEventScheme `json:"templateEvent,omitempty"`
}

type NotificationSchemeScheme

type NotificationSchemeScheme struct {
	Expand                   string                                  `json:"expand,omitempty"`
	ID                       int                                     `json:"id,omitempty"`
	Self                     string                                  `json:"self,omitempty"`
	Name                     string                                  `json:"name,omitempty"`
	Description              string                                  `json:"description,omitempty"`
	NotificationSchemeEvents []*ProjectNotificationSchemeEventScheme `json:"notificationSchemeEvents,omitempty"`
	Scope                    *TeamManagedProjectScopeScheme          `json:"scope,omitempty"`
}

type OperationPermissionScheme

type OperationPermissionScheme struct {
	Operation  string `json:"operation,omitempty"`
	TargetType string `json:"targetType,omitempty"`
}

type OperationScheme

type OperationScheme struct {
	Operation  string `json:"operation,omitempty"`
	TargetType string `json:"targetType,omitempty"`
}

type OrderFieldOptionPayloadScheme

type OrderFieldOptionPayloadScheme struct {
	After                string   `json:"after,omitempty"`
	Position             string   `json:"position,omitempty"`
	CustomFieldOptionIds []string `json:"customFieldOptionIds,omitempty"`
}

type OrganizationDomainDataScheme

type OrganizationDomainDataScheme struct {
	ID         string `json:"id"`
	Type       string `json:"type"`
	Attributes struct {
		Name  string `json:"name"`
		Claim struct {
			Type   string `json:"type"`
			Status string `json:"status"`
		} `json:"claim"`
	} `json:"attributes"`
	Links struct {
		Self string `json:"self"`
	} `json:"links"`
}

type OrganizationDomainModelScheme

type OrganizationDomainModelScheme struct {
	ID         string `json:"id,omitempty"`
	Type       string `json:"type,omitempty"`
	Attributes struct {
		Name  string `json:"name,omitempty"`
		Claim struct {
			Type   string `json:"type,omitempty"`
			Status string `json:"status,omitempty"`
		} `json:"claim,omitempty"`
	} `json:"attributes,omitempty"`
	Links *LinkSelfModelScheme `json:"links,omitempty"`
}

type OrganizationDomainPageScheme

type OrganizationDomainPageScheme struct {
	Data  []*OrganizationDomainModelScheme `json:"data,omitempty"`
	Links *LinkPageModelScheme             `json:"links,omitempty"`
}

type OrganizationDomainScheme

type OrganizationDomainScheme struct {
	Data *OrganizationDomainDataScheme `json:"data"`
}

type OrganizationEventActionModelAttributesScheme

type OrganizationEventActionModelAttributesScheme struct {
	DisplayName      string `json:"displayName,omitempty"`
	GroupDisplayName string `json:"groupDisplayName,omitempty"`
}

type OrganizationEventActionModelScheme

type OrganizationEventActionModelScheme struct {
	ID         string                                        `json:"id,omitempty"`
	Type       string                                        `json:"type,omitempty"`
	Attributes *OrganizationEventActionModelAttributesScheme `json:"attributes,omitempty"`
}

type OrganizationEventActionScheme

type OrganizationEventActionScheme struct {
	Data []*OrganizationEventActionModelScheme `json:"data,omitempty"`
}

type OrganizationEventActorModel

type OrganizationEventActorModel struct {
	ID    string               `json:"id,omitempty"`
	Name  string               `json:"name,omitempty"`
	Links *LinkSelfModelScheme `json:"links,omitempty"`
}

type OrganizationEventLocationModel

type OrganizationEventLocationModel struct {
	IP  string `json:"ip,omitempty"`
	Geo string `json:"geo,omitempty"`
}

type OrganizationEventModelAttributesScheme

type OrganizationEventModelAttributesScheme struct {
	Time      string                          `json:"time,omitempty"`
	Action    string                          `json:"action,omitempty"`
	Actor     *OrganizationEventActorModel    `json:"actor,omitempty"`
	Context   []*OrganizationEventObjectModel `json:"context,omitempty"`
	Container []*OrganizationEventObjectModel `json:"container,omitempty"`
	Location  *OrganizationEventLocationModel `json:"location,omitempty"`
}

type OrganizationEventModelScheme

type OrganizationEventModelScheme struct {
	ID         string                                  `json:"id,omitempty"`
	Type       string                                  `json:"type,omitempty"`
	Attributes *OrganizationEventModelAttributesScheme `json:"attributes,omitempty"`
	Links      *LinkSelfModelScheme                    `json:"links,omitempty"`
}

type OrganizationEventObjectModel

type OrganizationEventObjectModel struct {
	ID    string `json:"id,omitempty"`
	Type  string `json:"type,omitempty"`
	Links struct {
		Self string `json:"self,omitempty"`
		Alt  string `json:"alt,omitempty"`
	} `json:"links,omitempty"`
}

type OrganizationEventOptScheme

type OrganizationEventOptScheme struct {
	Q      string    //Single query term for searching events.
	From   time.Time //The earliest date and time of the event represented as a UNIX epoch time.
	To     time.Time //The latest date and time of the event represented as a UNIX epoch time.
	Action string    //A query filter that returns events of a specific action type.
}

type OrganizationEventPageScheme

type OrganizationEventPageScheme struct {
	Data  []*OrganizationEventModelScheme `json:"data,omitempty"`
	Links *LinkPageModelScheme            `json:"links,omitempty"`
	Meta  struct {
		Next     string `json:"next,omitempty"`
		PageSize int    `json:"page_size,omitempty"`
	} `json:"meta,omitempty"`
}

type OrganizationEventScheme

type OrganizationEventScheme struct {
	Data *OrganizationEventModelScheme `json:"data,omitempty"`
}

type OrganizationModelAttribute

type OrganizationModelAttribute struct {
	Name string `json:"name,omitempty"`
}

type OrganizationModelRelationships

type OrganizationModelRelationships struct {
	Domains *OrganizationModelSchemes `json:"domains,omitempty"`
	Users   *OrganizationModelSchemes `json:"users,omitempty"`
}

type OrganizationModelScheme

type OrganizationModelScheme struct {
	ID            string                          `json:"id,omitempty"`
	Type          string                          `json:"type,omitempty"`
	Attributes    *OrganizationModelAttribute     `json:"attributes,omitempty"`
	Relationships *OrganizationModelRelationships `json:"relationships,omitempty"`
	Links         *LinkSelfModelScheme            `json:"links,omitempty"`
}

type OrganizationModelSchemes

type OrganizationModelSchemes struct {
	Links struct {
		Related string `json:"related,omitempty"`
	} `json:"links,omitempty"`
}

type OrganizationPageLinkScheme

type OrganizationPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type OrganizationPageScheme

type OrganizationPageScheme struct {
	Size       int                         `json:"size,omitempty"`
	Start      int                         `json:"start,omitempty"`
	Limit      int                         `json:"limit,omitempty"`
	IsLastPage bool                        `json:"isLastPage,omitempty"`
	Values     []*OrganizationScheme       `json:"values,omitempty"`
	Expands    []string                    `json:"_expands,omitempty"`
	Links      *OrganizationPageLinkScheme `json:"_links,omitempty"`
}

type OrganizationPolicyAttributes

type OrganizationPolicyAttributes struct {
	Type      string                        `json:"type,omitempty"`
	Name      string                        `json:"name,omitempty"`
	Status    string                        `json:"status,omitempty"`
	Resources []*OrganizationPolicyResource `json:"resources,omitempty"`
	CreatedAt time.Time                     `json:"createdAt,omitempty"`
	UpdatedAt time.Time                     `json:"updatedAt,omitempty"`
}

type OrganizationPolicyData

type OrganizationPolicyData struct {
	ID         string                        `json:"id,omitempty"`
	Type       string                        `json:"type,omitempty"`
	Attributes *OrganizationPolicyAttributes `json:"attributes,omitempty"`
}

type OrganizationPolicyPageScheme

type OrganizationPolicyPageScheme struct {
	Data  []*OrganizationPolicyData `json:"data"`
	Links *LinkPageModelScheme      `json:"links"`
	Meta  struct {
		Next     string `json:"next"`
		PageSize int    `json:"page_size"`
	} `json:"meta"`
}

type OrganizationPolicyResource

type OrganizationPolicyResource struct {
	ID                string `json:"id,omitempty"`
	ApplicationStatus string `json:"applicationStatus,omitempty"`
}

type OrganizationPolicyScheme

type OrganizationPolicyScheme struct {
	Data OrganizationPolicyData `json:"data"`
}

type OrganizationScheme

type OrganizationScheme struct {
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	Links struct {
		Self string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
}

type OrganizationUserLinkScheme

type OrganizationUserLinkScheme struct {
	Self     string `json:"self,omitempty"`
	JiraRest string `json:"jiraRest,omitempty"`
}

type OrganizationUserPageScheme

type OrganizationUserPageScheme struct {
	Data  []*AdminOrganizationUserScheme `json:"data,omitempty"`
	Links *LinkPageModelScheme           `json:"links,omitempty"`
	Meta  struct {
		Total int `json:"total,omitempty"`
	} `json:"meta,omitempty"`
}

type OrganizationUserProductScheme

type OrganizationUserProductScheme struct {
	Key        string `json:"key,omitempty"`
	Name       string `json:"name,omitempty"`
	URL        string `json:"url,omitempty"`
	LastActive string `json:"last_active,omitempty"`
}

type OrganizationUserScheme

type OrganizationUserScheme struct {
	AccountID    string                      `json:"accountId,omitempty"`
	Name         string                      `json:"name,omitempty"`
	Key          string                      `json:"key,omitempty"`
	EmailAddress string                      `json:"emailAddress,omitempty"`
	DisplayName  string                      `json:"displayName,omitempty"`
	Active       bool                        `json:"active,omitempty"`
	TimeZone     string                      `json:"timeZone,omitempty"`
	Links        *OrganizationUserLinkScheme `json:"_links,omitempty"`
}

type OrganizationUsersPageLinkScheme

type OrganizationUsersPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type OrganizationUsersPageScheme

type OrganizationUsersPageScheme struct {
	Size       int                              `json:"size,omitempty"`
	Start      int                              `json:"start,omitempty"`
	Limit      int                              `json:"limit,omitempty"`
	IsLastPage bool                             `json:"isLastPage,omitempty"`
	Values     []*OrganizationUserScheme        `json:"values,omitempty"`
	Expands    []string                         `json:"_expands,omitempty"`
	Links      *OrganizationUsersPageLinkScheme `json:"_links,omitempty"`
}

type ParentFieldsScheme

type ParentFieldsScheme struct {
	Summary string        `json:"summary,omitempty"`
	Status  *StatusScheme `json:"status,omitempty"`
}

type ParentScheme

type ParentScheme struct {
	ID     string              `json:"id,omitempty"`
	Key    string              `json:"key,omitempty"`
	Self   string              `json:"self,omitempty"`
	Fields *ParentFieldsScheme `json:"fields,omitempty"`
}

type PermissionCheckMessageScheme

type PermissionCheckMessageScheme struct {
	Translation string `json:"translation"`
	Args        []struct {
	} `json:"args"`
}

type PermissionCheckPayload

type PermissionCheckPayload struct {
	GlobalPermissions  []string                        `json:"globalPermissions,omitempty"`
	AccountID          string                          `json:"accountId,omitempty"`
	ProjectPermissions []*BulkProjectPermissionsScheme `json:"projectPermissions,omitempty"`
}

type PermissionCheckResponseScheme

type PermissionCheckResponseScheme struct {
	HasPermission bool                            `json:"hasPermission"`
	Errors        []*PermissionCheckMessageScheme `json:"errors,omitempty"`
}

type PermissionFilterPayloadScheme

type PermissionFilterPayloadScheme struct {
	Type          string `json:"type,omitempty"`
	ProjectID     string `json:"projectId,omitempty"`
	GroupName     string `json:"groupname,omitempty"`
	ProjectRoleID string `json:"projectRoleId,omitempty"`
}

type PermissionGrantHolderScheme

type PermissionGrantHolderScheme struct {
	Type      string `json:"type,omitempty"`
	Parameter string `json:"parameter,omitempty"`
	Expand    string `json:"expand,omitempty"`
}

type PermissionGrantPayloadScheme

type PermissionGrantPayloadScheme struct {
	Holder     *PermissionGrantHolderScheme `json:"holder,omitempty"`
	Permission string                       `json:"permission,omitempty"`
}

type PermissionGrantScheme

type PermissionGrantScheme struct {
	ID         int                          `json:"id,omitempty"`
	Self       string                       `json:"self,omitempty"`
	Holder     *PermissionGrantHolderScheme `json:"holder,omitempty"`
	Permission string                       `json:"permission,omitempty"`
}

type PermissionGrantsScheme

type PermissionGrantsScheme struct {
	ProjectPermissions []*ProjectPermissionGrantsScheme `json:"projectPermissions,omitempty"`
	GlobalPermissions  []string                         `json:"globalPermissions,omitempty"`
}

type PermissionScheme

type PermissionScheme struct {
	Key         string `json:"key,omitempty"`
	Name        string `json:"name,omitempty"`
	Type        string `json:"type,omitempty"`
	Description string `json:"description,omitempty"`
}

type PermissionSchemeGrantsScheme

type PermissionSchemeGrantsScheme struct {
	Permissions []*PermissionGrantScheme `json:"permissions,omitempty"`
	Expand      string                   `json:"expand,omitempty"`
}

type PermissionSchemePageScheme

type PermissionSchemePageScheme struct {
	PermissionSchemes []*PermissionSchemeScheme `json:"permissionSchemes,omitempty"`
}

type PermissionSchemeScheme

type PermissionSchemeScheme struct {
	Expand      string                         `json:"expand,omitempty"`
	ID          int                            `json:"id,omitempty"`
	Self        string                         `json:"self,omitempty"`
	Name        string                         `json:"name,omitempty"`
	Description string                         `json:"description,omitempty"`
	Permissions []*PermissionGrantScheme       `json:"permissions,omitempty"`
	Scope       *TeamManagedProjectScopeScheme `json:"scope,omitempty"`
}

type PermissionScopeItemScheme

type PermissionScopeItemScheme struct {
	Self            string                 `json:"self,omitempty"`
	ID              string                 `json:"id,omitempty"`
	Key             string                 `json:"key,omitempty"`
	Name            string                 `json:"name,omitempty"`
	ProjectTypeKey  string                 `json:"projectTypeKey,omitempty"`
	Simplified      bool                   `json:"simplified,omitempty"`
	ProjectCategory *ProjectCategoryScheme `json:"projectCategory,omitempty"`
}

type PermissionSubjectScheme

type PermissionSubjectScheme struct {
	Identifier string `json:"identifier,omitempty"`
	Type       string `json:"type,omitempty"`
}

type PermittedProjectsScheme

type PermittedProjectsScheme struct {
	Projects []*ProjectIdentifierScheme `json:"projects,omitempty"`
}

type PriorityScheme

type PriorityScheme struct {
	Self        string `json:"self,omitempty"`
	StatusColor string `json:"statusColor,omitempty"`
	Description string `json:"description,omitempty"`
	IconURL     string `json:"iconUrl,omitempty"`
	Name        string `json:"name,omitempty"`
	ID          string `json:"id,omitempty"`
}

type ProfilePictureScheme

type ProfilePictureScheme struct {
	Path      string `json:"path,omitempty"`
	Width     int    `json:"width,omitempty"`
	Height    int    `json:"height,omitempty"`
	IsDefault bool   `json:"isDefault,omitempty"`
}

type ProjectCategoryPayloadScheme

type ProjectCategoryPayloadScheme struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type ProjectCategoryScheme

type ProjectCategoryScheme struct {
	Self        string `json:"self,omitempty"`
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type ProjectDetailScheme

type ProjectDetailScheme struct {
	Self            string                 `json:"self,omitempty"`
	ID              string                 `json:"id,omitempty"`
	Key             string                 `json:"key,omitempty"`
	Name            string                 `json:"name,omitempty"`
	ProjectTypeKey  string                 `json:"projectTypeKey,omitempty"`
	Simplified      bool                   `json:"simplified,omitempty"`
	ProjectCategory *ProjectCategoryScheme `json:"projectCategory,omitempty"`
}

type ProjectFeatureScheme

type ProjectFeatureScheme struct {
	ProjectID            int      `json:"projectId,omitempty"`
	State                string   `json:"state,omitempty"`
	ToggleLocked         bool     `json:"toggleLocked,omitempty"`
	Feature              string   `json:"feature,omitempty"`
	Prerequisites        []string `json:"prerequisites,omitempty"`
	LocalisedName        string   `json:"localisedName,omitempty"`
	LocalisedDescription string   `json:"localisedDescription,omitempty"`
	ImageURI             string   `json:"imageUri,omitempty"`
}

type ProjectFeaturesScheme

type ProjectFeaturesScheme struct {
	Features []*ProjectFeatureScheme `json:"features,omitempty"`
}

type ProjectHierarchyIssueTypeScheme

type ProjectHierarchyIssueTypeScheme struct {
	ID       int    `json:"id,omitempty"`
	EntityID string `json:"entityId,omitempty"`
	Name     string `json:"name,omitempty"`
	AvatarID int    `json:"avatarId,omitempty"`
}

type ProjectHierarchyScheme

type ProjectHierarchyScheme struct {
	EntityID   string                             `json:"entityId,omitempty"`
	Level      int                                `json:"level,omitempty"`
	Name       string                             `json:"name,omitempty"`
	IssueTypes []*ProjectHierarchyIssueTypeScheme `json:"issueTypes,omitempty"`
}

type ProjectIdentifierScheme

type ProjectIdentifierScheme struct {
	ID  int    `json:"id,omitempty"`
	Key string `json:"key,omitempty"`
}

type ProjectInsightScheme

type ProjectInsightScheme struct {
	TotalIssueCount     int    `json:"totalIssueCount,omitempty"`
	LastIssueUpdateTime string `json:"lastIssueUpdateTime,omitempty"`
}

type ProjectIssueTypeSchemePageScheme

type ProjectIssueTypeSchemePageScheme struct {
	MaxResults int                              `json:"maxResults"`
	StartAt    int                              `json:"startAt"`
	Total      int                              `json:"total"`
	IsLast     bool                             `json:"isLast"`
	Values     []*IssueTypeSchemeProjectsScheme `json:"values"`
}

type ProjectIssueTypesScheme

type ProjectIssueTypesScheme struct {
	Project    *ProjectScheme `json:"project,omitempty"`
	IssueTypes []string       `json:"issueTypes,omitempty"`
}

type ProjectNotificationSchemeEventScheme

type ProjectNotificationSchemeEventScheme struct {
	Event         *NotificationEventScheme   `json:"event,omitempty"`
	Notifications []*EventNotificationScheme `json:"notifications,omitempty"`
}

type ProjectPayloadScheme

type ProjectPayloadScheme struct {
	NotificationScheme  int    `json:"notificationScheme"`
	Description         string `json:"description"`
	LeadAccountID       string `json:"leadAccountId"`
	URL                 string `json:"url"`
	ProjectTemplateKey  string `json:"projectTemplateKey"`
	AvatarID            int    `json:"avatarId"`
	IssueSecurityScheme int    `json:"issueSecurityScheme"`
	Name                string `json:"name"`
	PermissionScheme    int    `json:"permissionScheme"`
	AssigneeType        string `json:"assigneeType"`
	ProjectTypeKey      string `json:"projectTypeKey"`
	Key                 string `json:"key"`
	CategoryID          int    `json:"categoryId"`
}

type ProjectPermissionGrantsScheme

type ProjectPermissionGrantsScheme struct {
	Permission string `json:"permission,omitempty"`
	Issues     []int  `json:"issues,omitempty"`
	Projects   []int  `json:"projects,omitempty"`
}

type ProjectPropertyPageScheme

type ProjectPropertyPageScheme struct {
	Keys []*ProjectPropertyScheme `json:"keys,omitempty"`
}

type ProjectPropertyScheme

type ProjectPropertyScheme struct {
	Self string `json:"self,omitempty"`
	Key  string `json:"key,omitempty"`
}

type ProjectRequestTypePageLinkScheme

type ProjectRequestTypePageLinkScheme struct {
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type ProjectRequestTypePageScheme

type ProjectRequestTypePageScheme struct {
	Expands    []string                          `json:"_expands,omitempty"`
	Size       int                               `json:"size,omitempty"`
	Start      int                               `json:"start,omitempty"`
	Limit      int                               `json:"limit,omitempty"`
	IsLastPage bool                              `json:"isLastPage,omitempty"`
	Values     []*RequestTypeScheme              `json:"values,omitempty"`
	Links      *ProjectRequestTypePageLinkScheme `json:"_links,omitempty"`
}

type ProjectRoleDetailScheme

type ProjectRoleDetailScheme struct {
	Self             string                         `json:"self,omitempty"`
	Name             string                         `json:"name,omitempty"`
	ID               int                            `json:"id,omitempty"`
	Description      string                         `json:"description,omitempty"`
	Admin            bool                           `json:"admin,omitempty"`
	Scope            *TeamManagedProjectScopeScheme `json:"scope,omitempty"`
	RoleConfigurable bool                           `json:"roleConfigurable,omitempty"`
	TranslatedName   string                         `json:"translatedName,omitempty"`
	Default          bool                           `json:"default,omitempty"`
}

type ProjectRolePayloadScheme

type ProjectRolePayloadScheme struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type ProjectRoleScheme

type ProjectRoleScheme struct {
	Self             string                         `json:"self,omitempty"`
	Name             string                         `json:"name,omitempty"`
	ID               int                            `json:"id,omitempty"`
	Description      string                         `json:"description,omitempty"`
	Actors           []*RoleActorScheme             `json:"actors,omitempty"`
	Scope            *TeamManagedProjectScopeScheme `json:"scope,omitempty"`
	TranslatedName   string                         `json:"translatedName,omitempty"`
	CurrentUserRole  bool                           `json:"currentUserRole,omitempty"`
	Admin            bool                           `json:"admin,omitempty"`
	RoleConfigurable bool                           `json:"roleConfigurable,omitempty"`
	Default          bool                           `json:"default,omitempty"`
}

type ProjectRolesScheme

type ProjectRolesScheme struct {
	AtlassianAddonsProjectAccess string `json:"atlassian-addons-project-access,omitempty"`
	ServiceDeskTeam              string `json:"Service Desk Team,omitempty"`
	ServiceDeskCustomers         string `json:"Service Desk Customers,omitempty"`
	Administrators               string `json:"Administrators,omitempty"`
}

type ProjectScheme

type ProjectScheme struct {
	Expand            string                 `json:"expand,omitempty"`
	Self              string                 `json:"self,omitempty"`
	ID                string                 `json:"id,omitempty"`
	Key               string                 `json:"key,omitempty"`
	Description       string                 `json:"description,omitempty"`
	URL               string                 `json:"url,omitempty"`
	Email             string                 `json:"email,omitempty"`
	AssigneeType      string                 `json:"assigneeType,omitempty"`
	Name              string                 `json:"name,omitempty"`
	ProjectTypeKey    string                 `json:"projectTypeKey,omitempty"`
	Simplified        bool                   `json:"simplified,omitempty"`
	Style             string                 `json:"style,omitempty"`
	Favourite         bool                   `json:"favourite,omitempty"`
	IsPrivate         bool                   `json:"isPrivate,omitempty"`
	UUID              string                 `json:"uuid,omitempty"`
	Lead              *UserScheme            `json:"lead,omitempty"`
	Components        []*ComponentScheme     `json:"components,omitempty"`
	IssueTypes        []*IssueTypeScheme     `json:"issueTypes,omitempty"`
	Versions          []*VersionScheme       `json:"versions,omitempty"`
	Roles             *ProjectRolesScheme    `json:"roles,omitempty"`
	AvatarUrls        *AvatarURLScheme       `json:"avatarUrls,omitempty"`
	ProjectKeys       []string               `json:"projectKeys,omitempty"`
	Insight           *ProjectInsightScheme  `json:"insight,omitempty"`
	Category          *ProjectCategoryScheme `json:"projectCategory,omitempty"`
	Deleted           bool                   `json:"deleted,omitempty"`
	RetentionTillDate string                 `json:"retentionTillDate,omitempty"`
	DeletedDate       string                 `json:"deletedDate,omitempty"`
	DeletedBy         *UserScheme            `json:"deletedBy,omitempty"`
	Archived          bool                   `json:"archived,omitempty"`
	ArchivedDate      string                 `json:"archivedDate,omitempty"`
	ArchivedBy        *UserScheme            `json:"archivedBy,omitempty"`
}

type ProjectSearchOptionsScheme

type ProjectSearchOptionsScheme struct {
	OrderBy        string
	Query          string
	Action         string
	ProjectKeyType string
	CategoryID     int
	Expand         []string
}

type ProjectSearchScheme

type ProjectSearchScheme struct {
	Self       string           `json:"self,omitempty"`
	NextPage   string           `json:"nextPage,omitempty"`
	MaxResults int              `json:"maxResults,omitempty"`
	StartAt    int              `json:"startAt,omitempty"`
	Total      int              `json:"total,omitempty"`
	IsLast     bool             `json:"isLast,omitempty"`
	Values     []*ProjectScheme `json:"values,omitempty"`
}

type ProjectStatusDetailsScheme

type ProjectStatusDetailsScheme struct {
	Self           string                `json:"self,omitempty"`
	Description    string                `json:"description,omitempty"`
	IconURL        string                `json:"iconUrl,omitempty"`
	Name           string                `json:"name,omitempty"`
	ID             string                `json:"id,omitempty"`
	StatusCategory *StatusCategoryScheme `json:"statusCategory,omitempty"`
}

type ProjectStatusPageScheme

type ProjectStatusPageScheme struct {
	Self     string                        `json:"self,omitempty"`
	ID       string                        `json:"id,omitempty"`
	Name     string                        `json:"name,omitempty"`
	Subtask  bool                          `json:"subtask,omitempty"`
	Statuses []*ProjectStatusDetailsScheme `json:"statuses,omitempty"`
}

type ProjectTypeScheme

type ProjectTypeScheme struct {
	Key                string `json:"key"`
	FormattedKey       string `json:"formattedKey"`
	DescriptionI18NKey string `json:"descriptionI18nKey"`
	Icon               string `json:"icon"`
	Color              string `json:"color"`
}

type ProjectUpdateScheme

type ProjectUpdateScheme struct {
	NotificationScheme  int    `json:"notificationScheme,omitempty"`
	Description         string `json:"description,omitempty"`
	Lead                string `json:"lead,omitempty"`
	URL                 string `json:"url,omitempty"`
	ProjectTemplateKey  string `json:"projectTemplateKey,omitempty"`
	AvatarID            int    `json:"avatarId,omitempty"`
	IssueSecurityScheme int    `json:"issueSecurityScheme,omitempty"`
	Name                string `json:"name,omitempty"`
	PermissionScheme    int    `json:"permissionScheme,omitempty"`
	AssigneeType        string `json:"assigneeType,omitempty"`
	ProjectTypeKey      string `json:"projectTypeKey,omitempty"`
	Key                 string `json:"key,omitempty"`
	CategoryID          int    `json:"categoryId,omitempty"`
}

type ProjectValidationMessageScheme

type ProjectValidationMessageScheme struct {
	ErrorMessages []string `json:"errorMessages"`
	Errors        struct {
		ProjectKey string `json:"projectKey"`
	} `json:"errors"`
}

type RequestAttachmentCreationCommentScheme

type RequestAttachmentCreationCommentScheme struct {
	Expands []string                   `json:"_expands,omitempty"`
	ID      string                     `json:"id,omitempty"`
	Body    string                     `json:"body,omitempty"`
	Public  bool                       `json:"public,omitempty"`
	Author  RequestAuthorScheme        `json:"author,omitempty"`
	Created *CustomerRequestDateScheme `json:"created,omitempty"`
	Links   struct {
		Self string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
}

type RequestAttachmentCreationScheme

type RequestAttachmentCreationScheme struct {
	Comment     *RequestAttachmentCreationCommentScheme `json:"comment,omitempty"`
	Attachments *RequestAttachmentPageScheme            `json:"attachments,omitempty"`
}

type RequestAttachmentLinkScheme

type RequestAttachmentLinkScheme struct {
	Self      string `json:"self,omitempty"`
	JiraRest  string `json:"jiraRest,omitempty"`
	Content   string `json:"content,omitempty"`
	Thumbnail string `json:"thumbnail,omitempty"`
}

type RequestAttachmentPageLinkScheme

type RequestAttachmentPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type RequestAttachmentPageScheme

type RequestAttachmentPageScheme struct {
	Size       int                              `json:"size,omitempty"`
	Start      int                              `json:"start,omitempty"`
	Limit      int                              `json:"limit,omitempty"`
	IsLastPage bool                             `json:"isLastPage,omitempty"`
	Values     []*RequestAttachmentScheme       `json:"values,omitempty"`
	Expands    []string                         `json:"_expands,omitempty"`
	Links      *RequestAttachmentPageLinkScheme `json:"_links,omitempty"`
}

type RequestAttachmentScheme

type RequestAttachmentScheme struct {
	Filename string                       `json:"filename,omitempty"`
	Author   *RequestAuthorScheme         `json:"author,omitempty"`
	Created  *CustomerRequestDateScheme   `json:"created,omitempty"`
	Size     int                          `json:"size,omitempty"`
	MimeType string                       `json:"mimeType,omitempty"`
	Links    *RequestAttachmentLinkScheme `json:"_links,omitempty"`
}

type RequestAuthorScheme

type RequestAuthorScheme struct {
	AccountID    string `json:"accountId,omitempty"`
	Name         string `json:"name,omitempty"`
	Key          string `json:"key,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
	DisplayName  string `json:"displayName,omitempty"`
	Active       bool   `json:"active,omitempty"`
	TimeZone     string `json:"timeZone,omitempty"`
}

type RequestCommentLinkScheme

type RequestCommentLinkScheme struct {
	Self string `json:"self"`
}

type RequestCommentPageLinkScheme

type RequestCommentPageLinkScheme struct {
	Self    string `json:"self"`
	Base    string `json:"base"`
	Context string `json:"context"`
	Next    string `json:"next"`
	Prev    string `json:"prev"`
}

type RequestCommentPageScheme

type RequestCommentPageScheme struct {
	Size       int                           `json:"size"`
	Start      int                           `json:"start"`
	Limit      int                           `json:"limit"`
	IsLastPage bool                          `json:"isLastPage"`
	Values     []*RequestCommentScheme       `json:"values"`
	Expands    []string                      `json:"_expands"`
	Links      *RequestCommentPageLinkScheme `json:"_links"`
}

type RequestCommentRenderScheme

type RequestCommentRenderScheme struct {
	HTML string `json:"html"`
}

type RequestCommentScheme

type RequestCommentScheme struct {
	ID           string                       `json:"id,omitempty"`
	Body         string                       `json:"body,omitempty"`
	RenderedBody *RequestCommentRenderScheme  `json:"renderedBody,omitempty"`
	Author       *RequestAuthorScheme         `json:"author,omitempty"`
	Created      *CustomerRequestDateScheme   `json:"created,omitempty"`
	Attachments  *RequestAttachmentPageScheme `json:"attachments,omitempty"`
	Expands      []string                     `json:"_expands,omitempty"`
	Public       bool                         `json:"public,omitempty"`
	Links        *RequestCommentLinkScheme    `json:"_links,omitempty"`
}

type RequestParticipantLinkScheme

type RequestParticipantLinkScheme struct {
	Self     string `json:"self,omitempty"`
	JiraRest string `json:"jiraRest,omitempty"`
}

type RequestParticipantPageLinkScheme

type RequestParticipantPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type RequestParticipantPageScheme

type RequestParticipantPageScheme struct {
	Size       int                               `json:"size,omitempty"`
	Start      int                               `json:"start,omitempty"`
	Limit      int                               `json:"limit,omitempty"`
	IsLastPage bool                              `json:"isLastPage,omitempty"`
	Values     []*RequestParticipantScheme       `json:"values,omitempty"`
	Expands    []string                          `json:"_expands,omitempty"`
	Links      *RequestParticipantPageLinkScheme `json:"_links,omitempty"`
}

type RequestParticipantScheme

type RequestParticipantScheme struct {
	AccountID    string                        `json:"accountId,omitempty"`
	Name         string                        `json:"name,omitempty"`
	Key          string                        `json:"key,omitempty"`
	EmailAddress string                        `json:"emailAddress,omitempty"`
	DisplayName  string                        `json:"displayName,omitempty"`
	Active       bool                          `json:"active,omitempty"`
	TimeZone     string                        `json:"timeZone,omitempty"`
	Links        *RequestParticipantLinkScheme `json:"_links,omitempty"`
}

type RequestSLALinkScheme

type RequestSLALinkScheme struct {
	Self string `json:"self,omitempty"`
}

type RequestSLAOngoingCycleScheme

type RequestSLAOngoingCycleScheme struct {
	Breached            bool `json:"breached,omitempty"`
	Paused              bool `json:"paused,omitempty"`
	WithinCalendarHours bool `json:"withinCalendarHours,omitempty"`
}

type RequestSLAPageLinkScheme

type RequestSLAPageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type RequestSLAPageScheme

type RequestSLAPageScheme struct {
	Size       int                       `json:"size,omitempty"`
	Start      int                       `json:"start,omitempty"`
	Limit      int                       `json:"limit,omitempty"`
	IsLastPage bool                      `json:"isLastPage,omitempty"`
	Values     []*RequestSLAScheme       `json:"values,omitempty"`
	Expands    []string                  `json:"_expands,omitempty"`
	Links      *RequestSLAPageLinkScheme `json:"_links,omitempty"`
}

type RequestSLAScheme

type RequestSLAScheme struct {
	ID           string                        `json:"id,omitempty"`
	Name         string                        `json:"name,omitempty"`
	OngoingCycle *RequestSLAOngoingCycleScheme `json:"ongoingCycle,omitempty"`
	Links        *RequestSLALinkScheme         `json:"_links,omitempty"`
}

type RequestTypeFieldScheme

type RequestTypeFieldScheme struct {
	FieldID       string                         `json:"fieldId,omitempty"`
	Name          string                         `json:"name,omitempty"`
	Description   string                         `json:"description,omitempty"`
	Required      bool                           `json:"required,omitempty"`
	DefaultValues []*RequestTypeFieldValueScheme `json:"defaultValues,omitempty"`
	ValidValues   []*RequestTypeFieldValueScheme `json:"validValues,omitempty"`
	JiraSchema    *RequestTypeJiraSchema         `json:"jiraSchema,omitempty"`
	Visible       bool                           `json:"visible,omitempty"`
}

type RequestTypeFieldValueScheme

type RequestTypeFieldValueScheme struct {
	Value    string        `json:"value,omitempty"`
	Label    string        `json:"label,omitempty"`
	Children []interface{} `json:"children,omitempty"`
}

type RequestTypeFieldsScheme

type RequestTypeFieldsScheme struct {
	RequestTypeFields         []*RequestTypeFieldScheme `json:"requestTypeFields,omitempty"`
	CanRaiseOnBehalfOf        bool                      `json:"canRaiseOnBehalfOf,omitempty"`
	CanAddRequestParticipants bool                      `json:"canAddRequestParticipants,omitempty"`
}

type RequestTypeJiraSchema

type RequestTypeJiraSchema struct {
	Type     string `json:"type,omitempty"`
	Items    string `json:"items,omitempty"`
	System   string `json:"system,omitempty"`
	Custom   string `json:"custom,omitempty"`
	CustomID int    `json:"customId,omitempty"`
}

type RequestTypePageLinkScheme

type RequestTypePageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type RequestTypePageScheme

type RequestTypePageScheme struct {
	Size       int                        `json:"size,omitempty"`
	Start      int                        `json:"start,omitempty"`
	Limit      int                        `json:"limit,omitempty"`
	IsLastPage bool                       `json:"isLastPage,omitempty"`
	Values     []*RequestTypeScheme       `json:"values,omitempty"`
	Expands    []string                   `json:"_expands,omitempty"`
	Links      *RequestTypePageLinkScheme `json:"_links,omitempty"`
}

type RequestTypeScheme

type RequestTypeScheme struct {
	ID            string   `json:"id,omitempty"`
	Name          string   `json:"name,omitempty"`
	Description   string   `json:"description,omitempty"`
	HelpText      string   `json:"helpText,omitempty"`
	IssueTypeID   string   `json:"issueTypeId,omitempty"`
	ServiceDeskID string   `json:"serviceDeskId,omitempty"`
	GroupIds      []string `json:"groupIds,omitempty"`
	Expands       []string `json:"_expands,omitempty"`
}

type ResolutionScheme

type ResolutionScheme struct {
	Self        string `json:"self"`
	ID          string `json:"id"`
	Description string `json:"description"`
	Name        string `json:"name"`
}

type ResourceMetaScheme

type ResourceMetaScheme struct {
	ResourceType string `json:"resourceType,omitempty"`
	Location     string `json:"location,omitempty"`
}

type ResourceScheme

type ResourceScheme struct {
	ID          string              `json:"id,omitempty"`
	Name        string              `json:"name,omitempty"`
	Description string              `json:"description,omitempty"`
	Attributes  []*AttributeScheme  `json:"attributes,omitempty"`
	Meta        *ResourceMetaScheme `json:"meta,omitempty"`
}

type ResponseScheme

type ResponseScheme struct {
	*http.Response

	Code     int
	Endpoint string
	Method   string
	Bytes    bytes.Buffer
}

type RoleActorScheme

type RoleActorScheme struct {
	ID          int                  `json:"id,omitempty"`
	DisplayName string               `json:"displayName,omitempty"`
	Type        string               `json:"type,omitempty"`
	Name        string               `json:"name,omitempty"`
	AvatarURL   string               `json:"avatarUrl,omitempty"`
	ActorGroup  *GroupScheme         `json:"actorGroup,omitempty"`
	ActorUser   *RoleActorUserScheme `json:"actorUser,omitempty"`
}

type RoleActorUserScheme

type RoleActorUserScheme struct {
	AccountID string `json:"accountId,omitempty"`
}

type SCIMEnterpriseUserInfoScheme

type SCIMEnterpriseUserInfoScheme struct {
	Organization string `json:"organization,omitempty"`
	Department   string `json:"department,omitempty"`
}

type SCIMExtensionScheme

type SCIMExtensionScheme struct {
	AtlassianAccountID string `json:"atlassianAccountId,omitempty"`
}

type SCIMGroupOperationScheme

type SCIMGroupOperationScheme struct {
	Op    string                           `json:"op,omitempty"`
	Path  string                           `json:"path,omitempty"`
	Value []*SCIMGroupOperationValueScheme `json:"value,omitempty"`
}

type SCIMGroupOperationValueScheme

type SCIMGroupOperationValueScheme struct {
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
}

type SCIMGroupPathScheme

type SCIMGroupPathScheme struct {
	Schemas    []string                    `json:"schemas,omitempty"`
	Operations []*SCIMGroupOperationScheme `json:"Operations,omitempty"`
}

type SCIMSchemaScheme

type SCIMSchemaScheme struct {
	ID          string              `json:"id,omitempty"`
	Name        string              `json:"name,omitempty"`
	Description string              `json:"description,omitempty"`
	Attributes  []*AttributeScheme  `json:"attributes,omitempty"`
	Meta        *ResourceMetaScheme `json:"meta,omitempty"`
}

type SCIMSchemasScheme

type SCIMSchemasScheme struct {
	TotalResults int               `json:"totalResults,omitempty"`
	ItemsPerPage int               `json:"itemsPerPage,omitempty"`
	StartIndex   int               `json:"startIndex,omitempty"`
	Schemas      []string          `json:"schemas,omitempty"`
	Resources    []*ResourceScheme `json:"Resources,omitempty"`
}

type SCIMUserComplexOperationScheme

type SCIMUserComplexOperationScheme struct {
	Value     string `json:"value,omitempty"`
	ValueType string `json:"type,omitempty"` // Available values (work, home, other)
	Primary   bool   `json:"primary,omitempty"`
}

type SCIMUserEmailScheme

type SCIMUserEmailScheme struct {
	Value   string `json:"value,omitempty"`
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
}

type SCIMUserGetsOptionsScheme

type SCIMUserGetsOptionsScheme struct {
	Attributes         []string
	ExcludedAttributes []string
	Filter             string
}

type SCIMUserGroupScheme

type SCIMUserGroupScheme struct {
	Type    string `json:"type,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type SCIMUserMetaScheme

type SCIMUserMetaScheme struct {
	ResourceType string `json:"resourceType,omitempty"`
	Location     string `json:"location,omitempty"`
	LastModified string `json:"lastModified,omitempty"`
	Created      string `json:"created,omitempty"`
}

type SCIMUserNameScheme

type SCIMUserNameScheme struct {
	Formatted       string `json:"formatted,omitempty"`
	FamilyName      string `json:"familyName,omitempty"`
	GivenName       string `json:"givenName,omitempty"`
	MiddleName      string `json:"middleName,omitempty"`
	HonorificPrefix string `json:"honorificPrefix,omitempty"`
	HonorificSuffix string `json:"honorificSuffix,omitempty"`
}

type SCIMUserPageScheme

type SCIMUserPageScheme struct {
	Schemas      []string          `json:"schemas,omitempty"`
	TotalResults int               `json:"totalResults,omitempty"`
	StartIndex   int               `json:"startIndex,omitempty"`
	ItemsPerPage int               `json:"itemsPerPage,omitempty"`
	Resources    []*SCIMUserScheme `json:"Resources,omitempty"`
}

type SCIMUserPhoneNumberScheme

type SCIMUserPhoneNumberScheme struct {
	Value   string `json:"value,omitempty"`
	Type    string `json:"type,omitempty"`
	Primary bool   `json:"primary,omitempty"`
}

type SCIMUserScheme

type SCIMUserScheme struct {
	ID                string                        `json:"id"`
	ExternalID        string                        `json:"externalId"`
	Meta              *SCIMUserMetaScheme           `json:"meta,omitempty"`
	Groups            []*SCIMUserGroupScheme        `json:"groups,omitempty"`
	UserName          string                        `json:"userName,omitempty"`
	Emails            []*SCIMUserEmailScheme        `json:"emails,omitempty"`
	Name              *SCIMUserNameScheme           `json:"name,omitempty"`
	DisplayName       string                        `json:"displayName,omitempty"`
	NickName          string                        `json:"nickName,omitempty"`
	Title             string                        `json:"title,omitempty"`
	PreferredLanguage string                        `json:"preferredLanguage,omitempty"`
	Department        string                        `json:"department,omitempty"`
	Organization      string                        `json:"organization,omitempty"`
	Timezone          string                        `json:"timezone,omitempty"`
	PhoneNumbers      []*SCIMUserPhoneNumberScheme  `json:"phoneNumbers,omitempty"`
	Active            bool                          `json:"active,omitempty"`
	EnterpriseInfo    *SCIMEnterpriseUserInfoScheme `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.1:User,omitempty"`
	SCIMExtension     *SCIMExtensionScheme          `json:"urn:scim:schemas:extension:atlassian-external:1.1,omitempty"`
}

type SCIMUserToPathOperationScheme

type SCIMUserToPathOperationScheme struct {
	Op    string      `json:"op,omitempty"`
	Path  string      `json:"path,omitempty"`
	Value interface{} `json:"value,omitempty"`
}

type SCIMUserToPathScheme

type SCIMUserToPathScheme struct {
	Schemas    []string                         `json:"schemas,omitempty"`
	Operations []*SCIMUserToPathOperationScheme `json:"operations,omitempty"`
}

func (*SCIMUserToPathScheme) AddBoolOperation

func (s *SCIMUserToPathScheme) AddBoolOperation(operation, path string, value bool) (err error)

func (*SCIMUserToPathScheme) AddComplexOperation

func (s *SCIMUserToPathScheme) AddComplexOperation(operation, path string, values []*SCIMUserComplexOperationScheme) (err error)

func (*SCIMUserToPathScheme) AddStringOperation

func (s *SCIMUserToPathScheme) AddStringOperation(operation, path, value string) (err error)

type SCIMUserToPathValueScheme

type SCIMUserToPathValueScheme struct {
	Array               bool   `json:"array,omitempty"`
	Null                bool   `json:"null,omitempty"`
	ValueNode           bool   `json:"valueNode,omitempty"`
	ContainerNode       bool   `json:"containerNode,omitempty"`
	MissingNode         bool   `json:"missingNode,omitempty"`
	Object              bool   `json:"object,omitempty"`
	NodeType            string `json:"nodeType,omitempty"`
	Pojo                bool   `json:"pojo,omitempty"`
	Number              bool   `json:"number,omitempty"`
	IntegralNumber      bool   `json:"integralNumber,omitempty"`
	FloatingPointNumber bool   `json:"floatingPointNumber,omitempty"`
	Short               bool   `json:"short,omitempty"`
	Int                 bool   `json:"int,omitempty"`
	Long                bool   `json:"long,omitempty"`
	Double              bool   `json:"double,omitempty"`
	BigDecimal          bool   `json:"bigDecimal,omitempty"`
	BigInteger          bool   `json:"bigInteger,omitempty"`
	Textual             bool   `json:"textual,omitempty"`
	Boolean             bool   `json:"boolean,omitempty"`
	Binary              bool   `json:"binary,omitempty"`
	Float               bool   `json:"float,omitempty"`
}

type ScimGroupMemberScheme

type ScimGroupMemberScheme struct {
	Type    string `json:"type,omitempty"`
	Value   string `json:"value,omitempty"`
	Display string `json:"display,omitempty"`
	Ref     string `json:"$ref,omitempty"`
}

type ScimGroupPageScheme

type ScimGroupPageScheme struct {
	Schemas      []string           `json:"schemas,omitempty"`
	TotalResults int                `json:"totalResults,omitempty"`
	StartIndex   int                `json:"startIndex,omitempty"`
	ItemsPerPage int                `json:"itemsPerPage,omitempty"`
	Resources    []*ScimGroupScheme `json:"Resources,omitempty"`
}

type ScimGroupScheme

type ScimGroupScheme struct {
	Schemas     []string                 `json:"schemas,omitempty"`
	ID          string                   `json:"id,omitempty"`
	ExternalID  string                   `json:"externalId,omitempty"`
	DisplayName string                   `json:"displayName,omitempty"`
	Members     []*ScimGroupMemberScheme `json:"members,omitempty"`
	Meta        *ScimMetadata            `json:"meta,omitempty"`
}

type ScimMetadata

type ScimMetadata struct {
	ResourceType string `json:"resourceType,omitempty"`
	Location     string `json:"location,omitempty"`
	LastModified string `json:"lastModified,omitempty"`
	Created      string `json:"created,omitempty"`
}

type ScreenFieldPageScheme

type ScreenFieldPageScheme struct {
	Self       string                 `json:"self,omitempty"`
	NextPage   string                 `json:"nextPage,omitempty"`
	MaxResults int                    `json:"maxResults,omitempty"`
	StartAt    int                    `json:"startAt,omitempty"`
	Total      int                    `json:"total,omitempty"`
	IsLast     bool                   `json:"isLast,omitempty"`
	Values     []*ScreenWithTabScheme `json:"values,omitempty"`
}

type ScreenScheme

type ScreenScheme struct {
	ID          int                            `json:"id,omitempty"`
	Name        string                         `json:"name,omitempty"`
	Description string                         `json:"description,omitempty"`
	Scope       *TeamManagedProjectScopeScheme `json:"scope,omitempty"`
}

type ScreenSchemePageScheme

type ScreenSchemePageScheme struct {
	Self       string                `json:"self,omitempty"`
	NextPage   string                `json:"nextPage,omitempty"`
	MaxResults int                   `json:"maxResults,omitempty"`
	StartAt    int                   `json:"startAt,omitempty"`
	Total      int                   `json:"total,omitempty"`
	IsLast     bool                  `json:"isLast,omitempty"`
	Values     []*ScreenSchemeScheme `json:"values,omitempty"`
}

type ScreenSchemeParamsScheme

type ScreenSchemeParamsScheme struct {
	IDs         []int
	QueryString string
	OrderBy     string
	Expand      []string
}

type ScreenSchemePayloadScheme

type ScreenSchemePayloadScheme struct {
	Screens     *ScreenTypesScheme `json:"screens,omitempty"`
	Name        string             `json:"name,omitempty"`
	Description string             `json:"description,omitempty"`
}

type ScreenSchemeScheme

type ScreenSchemeScheme struct {
	ID                     int                        `json:"id,omitempty"`
	Name                   string                     `json:"name,omitempty"`
	Description            string                     `json:"description,omitempty"`
	Screens                *ScreenTypesScheme         `json:"screens,omitempty"`
	IssueTypeScreenSchemes *IssueTypeSchemePageScheme `json:"issueTypeScreenSchemes,omitempty"`
}

type ScreenSearchPageScheme

type ScreenSearchPageScheme struct {
	Self       string          `json:"self,omitempty"`
	MaxResults int             `json:"maxResults,omitempty"`
	StartAt    int             `json:"startAt,omitempty"`
	Total      int             `json:"total,omitempty"`
	IsLast     bool            `json:"isLast,omitempty"`
	Values     []*ScreenScheme `json:"values,omitempty"`
}

type ScreenTabFieldScheme

type ScreenTabFieldScheme struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type ScreenTabScheme

type ScreenTabScheme struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type ScreenTypesScheme

type ScreenTypesScheme struct {
	Create  int `json:"create,omitempty"`
	Default int `json:"default,omitempty"`
	View    int `json:"view,omitempty"`
	Edit    int `json:"edit,omitempty"`
}

type ScreenWithTabScheme

type ScreenWithTabScheme struct {
	ID          int                            `json:"id,omitempty"`
	Name        string                         `json:"name,omitempty"`
	Description string                         `json:"description,omitempty"`
	Scope       *TeamManagedProjectScopeScheme `json:"scope,omitempty"`
	Tab         *ScreenTabScheme               `json:"tab,omitempty"`
}

type SearchBreadcrumbScheme

type SearchBreadcrumbScheme struct {
	Label     string `json:"label,omitempty"`
	URL       string `json:"url,omitempty"`
	Separator string `json:"separator,omitempty"`
}

type SearchContentOptions

type SearchContentOptions struct {
	Context                  string
	Cursor                   string
	Next                     bool
	Prev                     bool
	Limit                    int
	Start                    int
	IncludeArchivedSpaces    bool
	ExcludeCurrentSpaces     bool
	SitePermissionTypeFilter string
	Excerpt                  string
	Expand                   []string
}

type SearchPageLinksScheme

type SearchPageLinksScheme struct {
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Self    string `json:"self,omitempty"`
}

type SearchPageScheme

type SearchPageScheme struct {
	Results             []*SearchResultScheme  `json:"results,omitempty"`
	Start               int                    `json:"start,omitempty"`
	Limit               int                    `json:"limit,omitempty"`
	Size                int                    `json:"size,omitempty"`
	TotalSize           int                    `json:"totalSize,omitempty"`
	CqlQuery            string                 `json:"cqlQuery,omitempty"`
	SearchDuration      int                    `json:"searchDuration,omitempty"`
	ArchivedResultCount int                    `json:"archivedResultCount,omitempty"`
	Links               *SearchPageLinksScheme `json:"_links,omitempty"`
}

type SearchResultScheme

type SearchResultScheme struct {
	Content               *ContentScheme            `json:"content,omitempty"`
	User                  *ContentUserScheme        `json:"user,omitempty"`
	Space                 *SpaceScheme              `json:"space,omitempty"`
	Title                 string                    `json:"title,omitempty"`
	Excerpt               string                    `json:"excerpt,omitempty"`
	URL                   string                    `json:"url,omitempty"`
	ResultParentContainer *ContainerSummaryScheme   `json:"resultParentContainer,omitempty"`
	ResultGlobalContainer *ContainerSummaryScheme   `json:"resultGlobalContainer,omitempty"`
	Breadcrumbs           []*SearchBreadcrumbScheme `json:"breadcrumbs,omitempty"`
	EntityType            string                    `json:"entityType,omitempty"`
	IconCSSClass          string                    `json:"iconCssClass,omitempty"`
	LastModified          string                    `json:"lastModified,omitempty"`
	FriendlyLastModified  string                    `json:"friendlyLastModified,omitempty"`
	Score                 float64                   `json:"score,omitempty"`
}

type SecurityScheme

type SecurityScheme struct {
	Self        string `json:"self,omitempty"`
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type ServerHealthCheckScheme

type ServerHealthCheckScheme struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Passed      bool   `json:"passed,omitempty"`
}

type ServerInformationScheme

type ServerInformationScheme struct {
	BaseURL        string                     `json:"baseUrl,omitempty"`
	Version        string                     `json:"version,omitempty"`
	VersionNumbers []int                      `json:"versionNumbers,omitempty"`
	DeploymentType string                     `json:"deploymentType,omitempty"`
	BuildNumber    int                        `json:"buildNumber,omitempty"`
	BuildDate      string                     `json:"buildDate,omitempty"`
	ServerTime     string                     `json:"serverTime,omitempty"`
	ScmInfo        string                     `json:"scmInfo,omitempty"`
	ServerTitle    string                     `json:"serverTitle,omitempty"`
	HealthChecks   []*ServerHealthCheckScheme `json:"healthChecks,omitempty"`
}

type ServiceDeskIssueQueueScheme

type ServiceDeskIssueQueueScheme struct {
	Size       int                             `json:"size,omitempty"`
	Start      int                             `json:"start,omitempty"`
	Limit      int                             `json:"limit,omitempty"`
	IsLastPage bool                            `json:"isLastPage,omitempty"`
	Values     []*IssueSchemeV2                `json:"values,omitempty"`
	Expands    []string                        `json:"_expands,omitempty"`
	Links      *ServiceDeskQueuePageLinkScheme `json:"_links,omitempty"`
}

type ServiceDeskPageLinkScheme

type ServiceDeskPageLinkScheme struct {
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type ServiceDeskPageScheme

type ServiceDeskPageScheme struct {
	Expands    []string                   `json:"_expands,omitempty"`
	Size       int                        `json:"size,omitempty"`
	Start      int                        `json:"start,omitempty"`
	Limit      int                        `json:"limit,omitempty"`
	IsLastPage bool                       `json:"isLastPage,omitempty"`
	Links      *ServiceDeskPageLinkScheme `json:"_links,omitempty"`
	Values     []*ServiceDeskScheme       `json:"values,omitempty"`
}

type ServiceDeskQueuePageLinkScheme

type ServiceDeskQueuePageLinkScheme struct {
	Self    string `json:"self,omitempty"`
	Base    string `json:"base,omitempty"`
	Context string `json:"context,omitempty"`
	Next    string `json:"next,omitempty"`
	Prev    string `json:"prev,omitempty"`
}

type ServiceDeskQueuePageScheme

type ServiceDeskQueuePageScheme struct {
	Size       int                             `json:"size,omitempty"`
	Start      int                             `json:"start,omitempty"`
	Limit      int                             `json:"limit,omitempty"`
	IsLastPage bool                            `json:"isLastPage,omitempty"`
	Values     []*ServiceDeskQueueScheme       `json:"values,omitempty"`
	Expands    []string                        `json:"_expands,omitempty"`
	Links      *ServiceDeskQueuePageLinkScheme `json:"_links,omitempty"`
}

type ServiceDeskQueueScheme

type ServiceDeskQueueScheme struct {
	ID         string   `json:"id,omitempty"`
	Name       string   `json:"name,omitempty"`
	Jql        string   `json:"jql,omitempty"`
	Fields     []string `json:"fields,omitempty"`
	IssueCount int      `json:"issueCount,omitempty"`
}

type ServiceDeskScheme

type ServiceDeskScheme struct {
	ID          string `json:"id,omitempty"`
	ProjectID   string `json:"projectId,omitempty"`
	ProjectName string `json:"projectName,omitempty"`
	ProjectKey  string `json:"projectKey,omitempty"`
	Links       struct {
		Self string `json:"self,omitempty"`
	} `json:"_links,omitempty"`
}

type ServiceDeskTemporaryFileScheme

type ServiceDeskTemporaryFileScheme struct {
	TemporaryAttachments []*TemporaryAttachmentScheme `json:"temporaryAttachments,omitempty"`
}

type ServiceProviderConfigScheme

type ServiceProviderConfigScheme struct {
	Schemas []string `json:"schemas"`
	Patch   struct {
		Supported bool `json:"supported"`
	} `json:"patch"`
	Bulk struct {
		Supported      bool `json:"supported"`
		MaxOperations  int  `json:"maxOperations"`
		MaxPayloadSize int  `json:"maxPayloadSize"`
	} `json:"bulk"`
	Filter struct {
		MaxResults int  `json:"maxResults"`
		Supported  bool `json:"supported"`
	} `json:"filter"`
	ChangePassword struct {
		Supported bool `json:"supported"`
	} `json:"changePassword"`
	Sort struct {
		Supported bool `json:"supported"`
	} `json:"sort"`
	Etag struct {
		Supported bool `json:"supported"`
	} `json:"etag"`
	AuthenticationSchemes []struct {
		Type        string `json:"type"`
		Name        string `json:"name"`
		Description string `json:"description"`
	} `json:"authenticationSchemes"`
	Meta struct {
		Location     string    `json:"location"`
		ResourceType string    `json:"resourceType"`
		LastModified time.Time `json:"lastModified"`
		Created      time.Time `json:"created"`
	} `json:"meta"`
}

type ServiceRequestOptionScheme

type ServiceRequestOptionScheme struct {
	ApprovalStatus, RequestStatus, SearchTerm string
	OrganizationID, ServiceDeskID             int
	RequestTypeID                             int
	Expand, RequestOwnerships                 []string
}

type ShareFilterScopeScheme

type ShareFilterScopeScheme struct {
	Scope string `json:"scope"`
}

type SharePermissionScheme

type SharePermissionScheme struct {
	ID      int                `json:"id,omitempty"`
	Type    string             `json:"type,omitempty"`
	Project *ProjectScheme     `json:"project,omitempty"`
	Role    *ProjectRoleScheme `json:"role,omitempty"`
	Group   *GroupScheme       `json:"group,omitempty"`
	User    *UserDetailScheme  `json:"user,omitempty"`
}

type SpaceGroupScheme

type SpaceGroupScheme struct {
	Type  string      `json:"type,omitempty"`
	Name  string      `json:"name,omitempty"`
	ID    string      `json:"id,omitempty"`
	Links *LinkScheme `json:"_links,omitempty"`
}

type SpaceHistoryScheme

type SpaceHistoryScheme struct {
	CreatedDate string             `json:"createdDate,omitempty"`
	CreatedBy   *ContentUserScheme `json:"createdBy,omitempty"`
}

type SpaceOperationPayloadScheme

type SpaceOperationPayloadScheme struct {
	Key    string `json:"key,omitempty"`
	Target string `json:"target,omitempty"`
	Access bool   `json:"access,omitempty"`
}

type SpaceOperationScheme

type SpaceOperationScheme struct {
	Operation  string `json:"operation,omitempty"`
	TargetType string `json:"targetType,omitempty"`
}

type SpacePageScheme

type SpacePageScheme struct {
	Results []*SpaceScheme `json:"results,omitempty"`
	Start   int            `json:"start"`
	Limit   int            `json:"limit"`
	Size    int            `json:"size"`
	Links   struct {
		Base    string `json:"base"`
		Context string `json:"context"`
		Self    string `json:"self"`
	} `json:"_links"`
}

type SpacePermissionArrayPayloadScheme

type SpacePermissionArrayPayloadScheme struct {
	Subject    *PermissionSubjectScheme       `json:"subject,omitempty"`
	Operations []*SpaceOperationPayloadScheme `json:"operations,omitempty"`
}

type SpacePermissionOperationScheme

type SpacePermissionOperationScheme struct {
	Operation string `json:"operation,omitempty"`
	Target    string `json:"target,omitempty"`
	Key       string `json:"key,omitempty"`
}

type SpacePermissionPayloadScheme

type SpacePermissionPayloadScheme struct {
	Subject   *PermissionSubjectScheme        `json:"subject,omitempty"`
	Operation *SpacePermissionOperationScheme `json:"operation,omitempty"`
}

type SpacePermissionScheme

type SpacePermissionScheme struct {
	Subject          *SubjectPermissionScheme   `json:"subjects,omitempty"`
	Operation        *OperationPermissionScheme `json:"operation,omitempty"`
	AnonymousAccess  bool                       `json:"anonymousAccess,omitempty"`
	UnlicensedAccess bool                       `json:"unlicensedAccess,omitempty"`
}

type SpacePermissionV2Scheme

type SpacePermissionV2Scheme struct {
	Subject   *PermissionSubjectScheme        `json:"subject,omitempty"`
	Operation *SpacePermissionOperationScheme `json:"operation,omitempty"`
}

type SpaceScheme

type SpaceScheme struct {
	ID          int                      `json:"id,omitempty"`
	Key         string                   `json:"key,omitempty"`
	Name        string                   `json:"name,omitempty"`
	Type        string                   `json:"type,omitempty"`
	Status      string                   `json:"status,omitempty"`
	HomePage    *ContentScheme           `json:"homepage,omitempty"`
	Operations  *[]SpaceOperationScheme  `json:"operations,omitempty"`
	Permissions []*SpacePermissionScheme `json:"permissions,omitempty"`
	History     *SpaceHistoryScheme      `json:"history,omitempty"`
	Expandable  *ExpandableScheme        `json:"_expandable,omitempty"`
	Links       *LinkScheme              `json:"_links,omitempty"`
}

type SprintIssuePageScheme

type SprintIssuePageScheme struct {
	Expand     string               `json:"expand,omitempty"`
	StartAt    int                  `json:"startAt,omitempty"`
	MaxResults int                  `json:"maxResults,omitempty"`
	Total      int                  `json:"total,omitempty"`
	Issues     []*SprintIssueScheme `json:"issues,omitempty"`
}

type SprintIssueScheme

type SprintIssueScheme struct {
	Expand string `json:"expand,omitempty"`
	ID     string `json:"id,omitempty"`
	Self   string `json:"self,omitempty"`
	Key    string `json:"key,omitempty"`
}

type SprintPayloadScheme

type SprintPayloadScheme struct {
	Name          string `json:"name,omitempty"`
	StartDate     string `json:"startDate,omitempty"`
	EndDate       string `json:"endDate,omitempty"`
	OriginBoardID int    `json:"originBoardId,omitempty"`
	Goal          string `json:"goal,omitempty"`
	State         string `json:"state,omitempty"`
}

type SprintScheme

type SprintScheme struct {
	ID            int       `json:"id,omitempty"`
	Self          string    `json:"self,omitempty"`
	State         string    `json:"state,omitempty"`
	Name          string    `json:"name,omitempty"`
	StartDate     time.Time `json:"startDate,omitempty"`
	EndDate       time.Time `json:"endDate,omitempty"`
	CompleteDate  time.Time `json:"completeDate,omitempty"`
	OriginBoardID int       `json:"originBoardId,omitempty"`
	Goal          string    `json:"goal,omitempty"`
}

type StatusCategoryScheme

type StatusCategoryScheme struct {
	Self      string `json:"self,omitempty"`
	ID        int    `json:"id,omitempty"`
	Key       string `json:"key,omitempty"`
	ColorName string `json:"colorName,omitempty"`
	Name      string `json:"name,omitempty"`
}

type StatusScheme

type StatusScheme struct {
	Self           string                `json:"self,omitempty"`
	Description    string                `json:"description,omitempty"`
	IconURL        string                `json:"iconUrl,omitempty"`
	Name           string                `json:"name,omitempty"`
	ID             string                `json:"id,omitempty"`
	StatusCategory *StatusCategoryScheme `json:"statusCategory,omitempty"`
}

type SubAttributeScheme

type SubAttributeScheme struct {
	Name        string `json:"name,omitempty"`
	Type        string `json:"type,omitempty"`
	MultiValued bool   `json:"multiValued,omitempty"`
	Description string `json:"description,omitempty"`
	Required    bool   `json:"required,omitempty"`
	CaseExact   bool   `json:"caseExact,omitempty"`
	Mutability  string `json:"mutability,omitempty"`
	Returned    string `json:"returned,omitempty"`
	Uniqueness  string `json:"uniqueness,omitempty"`
}

type SubjectPermissionScheme

type SubjectPermissionScheme struct {
	User  *UserPermissionScheme  `json:"user,omitempty"`
	Group *GroupPermissionScheme `json:"group,omitempty"`
}

type TaskLinkScheme

type TaskLinkScheme struct {
	Status string `json:"status"`
}

type TaskScheme

type TaskScheme struct {
	Self           string `json:"self"`
	ID             string `json:"id"`
	Description    string `json:"description"`
	Status         string `json:"status"`
	Result         string `json:"result"`
	SubmittedBy    int    `json:"submittedBy"`
	Progress       int    `json:"progress"`
	ElapsedRuntime int    `json:"elapsedRuntime"`
	Submitted      int64  `json:"submitted"`
	Started        int64  `json:"started"`
	Finished       int64  `json:"finished"`
	LastUpdate     int64  `json:"lastUpdate"`
}

type TeamManagedProjectScopeScheme

type TeamManagedProjectScopeScheme struct {
	Type    string         `json:"type,omitempty"`
	Project *ProjectScheme `json:"project,omitempty"`
}

type TemporaryAttachmentScheme

type TemporaryAttachmentScheme struct {
	TemporaryAttachmentID string `json:"temporaryAttachmentId,omitempty"`
	FileName              string `json:"fileName,omitempty"`
}

type UpdateFieldConfigurationItemPayloadScheme

type UpdateFieldConfigurationItemPayloadScheme struct {
	FieldConfigurationItems []*FieldConfigurationItemScheme `json:"fieldConfigurationItems"`
}

type UpdateOperations

type UpdateOperations struct{ Fields []map[string]interface{} }

func (*UpdateOperations) AddArrayOperation

func (u *UpdateOperations) AddArrayOperation(customFieldID string, mapping map[string]string) (err error)

func (*UpdateOperations) AddStringOperation

func (u *UpdateOperations) AddStringOperation(customFieldID, operation, value string) (err error)

type UpdateSpaceHomepageScheme

type UpdateSpaceHomepageScheme struct {
	ID string `json:"id"`
}

type UpdateSpaceScheme

type UpdateSpaceScheme struct {
	Name        string                        `json:"name,omitempty"`
	Description *CreateSpaceDescriptionScheme `json:"description,omitempty"`
	Homepage    *UpdateSpaceHomepageScheme    `json:"homepage,omitempty"`
}

type UserApplicationRoleItemsScheme

type UserApplicationRoleItemsScheme struct {
	Key                  string   `json:"key,omitempty"`
	Groups               []string `json:"groups,omitempty"`
	Name                 string   `json:"name,omitempty"`
	DefaultGroups        []string `json:"defaultGroups,omitempty"`
	SelectedByDefault    bool     `json:"selectedByDefault,omitempty"`
	Defined              bool     `json:"defined,omitempty"`
	NumberOfSeats        int      `json:"numberOfSeats,omitempty"`
	RemainingSeats       int      `json:"remainingSeats,omitempty"`
	UserCount            int      `json:"userCount,omitempty"`
	UserCountDescription string   `json:"userCountDescription,omitempty"`
	HasUnlimitedSeats    bool     `json:"hasUnlimitedSeats,omitempty"`
	Platform             bool     `json:"platform,omitempty"`
}

type UserApplicationRolesScheme

type UserApplicationRolesScheme struct {
	Size       int                               `json:"size,omitempty"`
	Items      []*UserApplicationRoleItemsScheme `json:"items,omitempty"`
	MaxResults int                               `json:"max-results,omitempty"`
}

type UserBusinessDetailScheme

type UserBusinessDetailScheme struct {
	Position   string `json:"position,omitempty"`
	Department string `json:"department,omitempty"`
	Location   string `json:"location,omitempty"`
}

type UserDetailScheme

type UserDetailScheme struct {
	Self         string `json:"self,omitempty"`
	Name         string `json:"name,omitempty"`
	Key          string `json:"key,omitempty"`
	AccountID    string `json:"accountId,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
	DisplayName  string `json:"displayName,omitempty"`
	Active       bool   `json:"active,omitempty"`
	TimeZone     string `json:"timeZone,omitempty"`
	AccountType  string `json:"accountType,omitempty"`
}

type UserGroupScheme

type UserGroupScheme struct {
	Name string `json:"name,omitempty"`
	Self string `json:"self,omitempty"`
}

type UserGroupsScheme

type UserGroupsScheme struct {
	Size       int                `json:"size,omitempty"`
	Items      []*UserGroupScheme `json:"items,omitempty"`
	MaxResults int                `json:"max-results,omitempty"`
}

type UserPayloadScheme

type UserPayloadScheme struct {
	Password     string `json:"password,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
	DisplayName  string `json:"displayName,omitempty"`
	Notification bool   `json:"notification,omitempty"`
}

type UserPermissionScheme

type UserPermissionScheme struct {
	Results []*ContentUserScheme `json:"results,omitempty"`
	Size    int                  `json:"size,omitempty"`
}

type UserPersonalDetailScheme

type UserPersonalDetailScheme struct {
	Phone   string `json:"phone,omitempty"`
	Im      string `json:"im,omitempty"`
	Website string `json:"website,omitempty"`
	Email   string `json:"email,omitempty"`
}

type UserScheme

type UserScheme struct {
	Self             string                      `json:"self,omitempty"`
	Key              string                      `json:"key,omitempty"`
	AccountID        string                      `json:"accountId,omitempty"`
	AccountType      string                      `json:"accountType,omitempty"`
	Name             string                      `json:"name,omitempty"`
	EmailAddress     string                      `json:"emailAddress,omitempty"`
	AvatarUrls       *AvatarURLScheme            `json:"avatarUrls,omitempty"`
	DisplayName      string                      `json:"displayName,omitempty"`
	Active           bool                        `json:"active,omitempty"`
	TimeZone         string                      `json:"timeZone,omitempty"`
	Locale           string                      `json:"locale,omitempty"`
	Groups           *UserGroupsScheme           `json:"groups,omitempty"`
	ApplicationRoles *UserApplicationRolesScheme `json:"applicationRoles,omitempty"`
	Expand           string                      `json:"expand,omitempty"`
}

type UserSearchPageScheme

type UserSearchPageScheme struct {
	MaxResults int           `json:"maxResults,omitempty"`
	StartAt    int           `json:"startAt,omitempty"`
	Total      int           `json:"total,omitempty"`
	IsLast     bool          `json:"isLast,omitempty"`
	Values     []*UserScheme `json:"values,omitempty"`
}

type UserTokensScheme

type UserTokensScheme []struct {
	ID         string    `json:"id,omitempty"`
	Label      string    `json:"label,omitempty"`
	CreatedAt  time.Time `json:"createdAt,omitempty"`
	LastAccess time.Time `json:"lastAccess,omitempty"`
}

type VersionCollaboratorsScheme

type VersionCollaboratorsScheme struct {
	Users    []*ContentUserScheme `json:"users,omitempty"`
	UserKeys []string             `json:"userKeys,omitempty"`
}

type VersionGetsOptions

type VersionGetsOptions struct {
	OrderBy string
	Query   string
	Status  string
	Expand  []string
}

type VersionIssueCountCustomFieldUsageScheme

type VersionIssueCountCustomFieldUsageScheme struct {
	FieldName                          string `json:"fieldName,omitempty"`
	CustomFieldID                      int    `json:"customFieldId,omitempty"`
	IssueCountWithVersionInCustomField int    `json:"issueCountWithVersionInCustomField,omitempty"`
}

type VersionIssueCountsScheme

type VersionIssueCountsScheme struct {
	Self                                     string                                     `json:"self,omitempty"`
	IssuesFixedCount                         int                                        `json:"issuesFixedCount,omitempty"`
	IssuesAffectedCount                      int                                        `json:"issuesAffectedCount,omitempty"`
	IssueCountWithCustomFieldsShowingVersion int                                        `json:"issueCountWithCustomFieldsShowingVersion,omitempty"`
	CustomFieldUsage                         []*VersionIssueCountCustomFieldUsageScheme `json:"customFieldUsage,omitempty"`
}

type VersionIssuesStatusForFixVersionScheme

type VersionIssuesStatusForFixVersionScheme struct {
	Unmapped   int `json:"unmapped,omitempty"`
	ToDo       int `json:"toDo,omitempty"`
	InProgress int `json:"inProgress,omitempty"`
	Done       int `json:"done,omitempty"`
}

type VersionOperation

type VersionOperation struct {
	ID         string `json:"id,omitempty"`
	StyleClass string `json:"styleClass,omitempty"`
	Label      string `json:"label,omitempty"`
	Href       string `json:"href,omitempty"`
	Weight     int    `json:"weight,omitempty"`
}

type VersionPageScheme

type VersionPageScheme struct {
	Self       string           `json:"self,omitempty"`
	NextPage   string           `json:"nextPage,omitempty"`
	MaxResults int              `json:"maxResults,omitempty"`
	StartAt    int              `json:"startAt,omitempty"`
	Total      int              `json:"total,omitempty"`
	IsLast     bool             `json:"isLast,omitempty"`
	Values     []*VersionScheme `json:"values,omitempty"`
}

type VersionPayloadScheme

type VersionPayloadScheme struct {
	Archived    bool   `json:"archived,omitempty"`
	ReleaseDate string `json:"releaseDate,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	ProjectID   int    `json:"projectId,omitempty"`
	Released    bool   `json:"released,omitempty"`
	StartDate   string `json:"startDate,omitempty"`
}

type VersionScheme

type VersionScheme struct {
	Self                      string                                  `json:"self,omitempty"`
	ID                        string                                  `json:"id,omitempty"`
	Description               string                                  `json:"description,omitempty"`
	Name                      string                                  `json:"name,omitempty"`
	Archived                  bool                                    `json:"archived,omitempty"`
	Released                  bool                                    `json:"released,omitempty"`
	ReleaseDate               string                                  `json:"releaseDate,omitempty"`
	Overdue                   bool                                    `json:"overdue,omitempty"`
	UserReleaseDate           string                                  `json:"userReleaseDate,omitempty"`
	ProjectID                 int                                     `json:"projectId,omitempty"`
	Operations                []*VersionOperation                     `json:"operations,omitempty"`
	IssuesStatusForFixVersion *VersionIssuesStatusForFixVersionScheme `json:"issuesStatusForFixVersion,omitempty"`
}

type VersionUnresolvedIssuesCountScheme

type VersionUnresolvedIssuesCountScheme struct {
	Self                  string `json:"self"`
	IssuesUnresolvedCount int    `json:"issuesUnresolvedCount"`
	IssuesCount           int    `json:"issuesCount"`
}

type WorkflowCreatedResponseScheme

type WorkflowCreatedResponseScheme struct {
	Name     string `json:"name,omitempty"`
	EntityID string `json:"entityId,omitempty"`
}

type WorkflowPageScheme

type WorkflowPageScheme struct {
	Self       string            `json:"self,omitempty"`
	NextPage   string            `json:"nextPage,omitempty"`
	MaxResults int               `json:"maxResults,omitempty"`
	StartAt    int               `json:"startAt,omitempty"`
	Total      int               `json:"total,omitempty"`
	IsLast     bool              `json:"isLast,omitempty"`
	Values     []*WorkflowScheme `json:"values,omitempty"`
}

type WorkflowPayloadScheme

type WorkflowPayloadScheme struct {
	Name        string                             `json:"name,omitempty"`
	Description string                             `json:"description,omitempty"`
	Statuses    []*WorkflowTransitionScreenScheme  `json:"statuses,omitempty"`
	Transitions []*WorkflowTransitionPayloadScheme `json:"transitions,omitempty"`
}

type WorkflowPublishedIDScheme

type WorkflowPublishedIDScheme struct {
	Name     string `json:"name,omitempty"`
	EntityID string `json:"entityId,omitempty"`
}

type WorkflowScheme

type WorkflowScheme struct {
	ID          *WorkflowPublishedIDScheme  `json:"id,omitempty"`
	Transitions []*WorkflowTransitionScheme `json:"transitions,omitempty"`
	Statuses    []*WorkflowStatusScheme     `json:"statuses,omitempty"`
	Description string                      `json:"description,omitempty"`
	IsDefault   bool                        `json:"isDefault,omitempty"`
}

type WorkflowSchemeAssociationPageScheme

type WorkflowSchemeAssociationPageScheme struct {
	Values []*WorkflowSchemeAssociationsScheme `json:"values,omitempty"`
}

type WorkflowSchemeAssociationsScheme

type WorkflowSchemeAssociationsScheme struct {
	ProjectIds     []string              `json:"projectIds,omitempty"`
	WorkflowScheme *WorkflowSchemeScheme `json:"workflowScheme,omitempty"`
}

type WorkflowSchemePageScheme

type WorkflowSchemePageScheme struct {
	Self       string                  `json:"self,omitempty"`
	NextPage   string                  `json:"nextPage,omitempty"`
	MaxResults int                     `json:"maxResults,omitempty"`
	StartAt    int                     `json:"startAt,omitempty"`
	Total      int                     `json:"total,omitempty"`
	IsLast     bool                    `json:"isLast,omitempty"`
	Values     []*WorkflowSchemeScheme `json:"values,omitempty"`
}

type WorkflowSchemePayloadScheme

type WorkflowSchemePayloadScheme struct {
	DefaultWorkflow   string      `json:"defaultWorkflow,omitempty"`
	Name              string      `json:"name,omitempty"`
	Description       string      `json:"description,omitempty"`
	IssueTypeMappings interface{} `json:"issueTypeMappings,omitempty"`
}

type WorkflowSchemeScheme

type WorkflowSchemeScheme struct {
	ID                  int         `json:"id,omitempty"`
	Name                string      `json:"name,omitempty"`
	Description         string      `json:"description,omitempty"`
	DefaultWorkflow     string      `json:"defaultWorkflow,omitempty"`
	Draft               bool        `json:"draft,omitempty"`
	LastModifiedUser    *UserScheme `json:"lastModifiedUser,omitempty"`
	LastModified        string      `json:"lastModified,omitempty"`
	Self                string      `json:"self,omitempty"`
	UpdateDraftIfNeeded bool        `json:"updateDraftIfNeeded,omitempty"`
}

type WorkflowSearchOptions

type WorkflowSearchOptions struct {
	WorkflowName []string
	Expand       []string
	QueryString  string
	OrderBy      string
	IsActive     bool
}

type WorkflowStatusDetailPageScheme

type WorkflowStatusDetailPageScheme struct {
	StartAt    int                           `json:"startAt,omitempty"`
	Total      int                           `json:"total,omitempty"`
	IsLast     bool                          `json:"isLast,omitempty"`
	MaxResults int                           `json:"maxResults,omitempty"`
	Values     []*WorkflowStatusDetailScheme `json:"values,omitempty"`
	Self       string                        `json:"self,omitempty"`
	NextPage   string                        `json:"nextPage,omitempty"`
}

type WorkflowStatusDetailScheme

type WorkflowStatusDetailScheme struct {
	ID             string                     `json:"id,omitempty"`
	Name           string                     `json:"name,omitempty"`
	StatusCategory string                     `json:"statusCategory,omitempty"`
	Scope          *WorkflowStatusScopeScheme `json:"scope,omitempty"`
	Description    string                     `json:"description,omitempty"`
	Usages         []*ProjectIssueTypesScheme `json:"usages,omitempty"`
}

type WorkflowStatusNodeScheme

type WorkflowStatusNodeScheme struct {
	ID             string `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	StatusCategory string `json:"statusCategory,omitempty"`
	Description    string `json:"description,omitempty"`
}

type WorkflowStatusPayloadScheme

type WorkflowStatusPayloadScheme struct {
	Statuses []*WorkflowStatusNodeScheme `json:"statuses,omitempty"`
	Scope    *WorkflowStatusScopeScheme  `json:"scope,omitempty"`
}

type WorkflowStatusProjectScheme

type WorkflowStatusProjectScheme struct {
	ID string `json:"id,omitempty"`
}

type WorkflowStatusPropertiesScheme

type WorkflowStatusPropertiesScheme struct {
	IssueEditable bool `json:"issueEditable"`
}

type WorkflowStatusScheme

type WorkflowStatusScheme struct {
	ID         string                          `json:"id"`
	Name       string                          `json:"name"`
	Properties *WorkflowStatusPropertiesScheme `json:"properties"`
}

type WorkflowStatusScopeScheme

type WorkflowStatusScopeScheme struct {
	Type    string                       `json:"type,omitempty"`
	Project *WorkflowStatusProjectScheme `json:"project,omitempty"`
}

type WorkflowStatusSearchParams

type WorkflowStatusSearchParams struct {
	ProjectID      string
	SearchString   string
	StatusCategory string
	Expand         []string
}

type WorkflowTransitionPayloadScheme

type WorkflowTransitionPayloadScheme struct {
	Name   string                                 `json:"name,omitempty"`
	From   []string                               `json:"from,omitempty"`
	To     string                                 `json:"to,omitempty"`
	Type   string                                 `json:"type,omitempty"`
	Screen *WorkflowTransitionScreenPayloadScheme `json:"screen,omitempty"`
}

type WorkflowTransitionRuleScheme

type WorkflowTransitionRuleScheme struct {
	Type string `json:"type"`
}

type WorkflowTransitionRulesScheme

type WorkflowTransitionRulesScheme struct {
	Conditions    []*WorkflowTransitionRuleScheme `json:"conditions,omitempty"`
	Validators    []*WorkflowTransitionRuleScheme `json:"validators,omitempty"`
	PostFunctions []*WorkflowTransitionRuleScheme `json:"postFunctions,omitempty"`
}

type WorkflowTransitionScheme

type WorkflowTransitionScheme struct {
	ID          string                          `json:"id,omitempty"`
	Name        string                          `json:"name,omitempty"`
	Description string                          `json:"description,omitempty"`
	From        []string                        `json:"from,omitempty"`
	To          string                          `json:"to,omitempty"`
	Type        string                          `json:"type,omitempty"`
	Screen      *WorkflowTransitionScreenScheme `json:"screen,omitempty"`
	Rules       *WorkflowTransitionRulesScheme  `json:"rules,omitempty"`
}

type WorkflowTransitionScreenPayloadScheme

type WorkflowTransitionScreenPayloadScheme struct {
	ID string `json:"id"`
}

type WorkflowTransitionScreenScheme

type WorkflowTransitionScreenScheme struct {
	ID string `json:"id,omitempty"`
}

type WorklogOptionsScheme

type WorklogOptionsScheme struct {
	Notify               bool
	AdjustEstimate       string
	NewEstimate          string
	ReduceBy             string
	OverrideEditableFlag bool
	Expand               []string
}

type WorklogPayloadSchemeV2

type WorklogPayloadSchemeV2 struct {
	Comment          *CommentPayloadSchemeV2       `json:"comment,omitempty"`
	Visibility       *IssueWorklogVisibilityScheme `json:"visibility,omitempty"`
	Started          string                        `json:"started,omitempty"`
	TimeSpent        string                        `json:"timeSpent,omitempty"`
	TimeSpentSeconds int                           `json:"timeSpentSeconds,omitempty"`
}

type WorklogPayloadSchemeV3

type WorklogPayloadSchemeV3 struct {
	Comment          *CommentNodeScheme            `json:"comment,omitempty"`
	Visibility       *IssueWorklogVisibilityScheme `json:"visibility,omitempty"`
	Started          string                        `json:"started,omitempty"`
	TimeSpent        string                        `json:"timeSpent,omitempty"`
	TimeSpentSeconds int                           `json:"timeSpentSeconds,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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