update generated data files

This commit is contained in:
Cory Bennett
2017-08-27 19:41:49 -07:00
parent 21add544dc
commit c89f11d5b5
80 changed files with 940 additions and 179 deletions
+4
View File
@@ -123,3 +123,7 @@ export JIRACLOUD=1
prove:
chmod -R g-rwx,o-rwx $(GNUPGHOME)
OSHT_VERBOSE=1 prove -v
generate:
cd schemas && ./fetch-schemas.py
grep -h slipscheme jiradata/*.go | grep json | sort | uniq | awk -F\/\/ '{print $$2}' | while read cmd; do $$cmd; done
Generated
+1 -1
View File
@@ -17,7 +17,7 @@ imports:
subpackages:
- generic
- name: github.com/coryb/figtree
version: 405935ba249b758f31f4ca2132c4fed7702cc622
version: a2b3fe20e721fd0b946cb5d5c434d667c22b480e
- name: github.com/coryb/oreo
version: b59de1c7ff7fe9e084278487f69a07cb667de9b3
- name: github.com/fatih/camelcase
+3 -3
View File
@@ -236,11 +236,11 @@ func GetIssueCreateMetaProject(ua HttpClient, endpoint string, projectKey string
}
// https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-getCreateIssueMeta
func (j *Jira) GetIssueCreateMetaIssueType(projectKey, issueTypeName string) (*jiradata.CreateMetaIssueType, error) {
func (j *Jira) GetIssueCreateMetaIssueType(projectKey, issueTypeName string) (*jiradata.IssueType, error) {
return GetIssueCreateMetaIssueType(j.UA, j.Endpoint, projectKey, issueTypeName)
}
func GetIssueCreateMetaIssueType(ua HttpClient, endpoint string, projectKey, issueTypeName string) (*jiradata.CreateMetaIssueType, error) {
func GetIssueCreateMetaIssueType(ua HttpClient, endpoint string, projectKey, issueTypeName string) (*jiradata.IssueType, error) {
uri := fmt.Sprintf("%s/rest/api/2/issue/createmeta?projectKeys=%s&issuetypeNames=%s&expand=projects.issuetypes.fields", endpoint, projectKey, issueTypeName)
resp, err := ua.GetJSON(uri)
if err != nil {
@@ -256,7 +256,7 @@ func GetIssueCreateMetaIssueType(ua HttpClient, endpoint string, projectKey, iss
}
for _, project := range results.Projects {
if project.Key == projectKey {
for _, issueType := range project.Issuetypes {
for _, issueType := range project.IssueTypes {
if issueType.Name == issueTypeName {
return issueType, nil
}
+3 -3
View File
@@ -61,8 +61,8 @@ func CmdCreateUsage(cmd *kingpin.CmdClause, opts *CreateOptions) error {
// will parse the edited document as YAML and submit the document to jira.
func CmdCreate(o *oreo.Client, opts *CreateOptions) error {
type templateInput struct {
Meta *jiradata.CreateMetaIssueType `yaml:"meta" json:"meta"`
Overrides map[string]string `yaml:"overrides" json:"overrides"`
Meta *jiradata.IssueType `yaml:"meta" json:"meta"`
Overrides map[string]string `yaml:"overrides" json:"overrides"`
}
if err := defaultIssueType(o, opts.Endpoint.Value, &opts.Project, &opts.IssueType); err != nil {
@@ -113,7 +113,7 @@ func defaultIssueType(o *oreo.Client, endpoint string, project, issuetype *strin
issueTypes := map[string]bool{}
for _, issuetype := range projectMeta.Issuetypes {
for _, issuetype := range projectMeta.IssueTypes {
issueTypes[issuetype.Name] = true
}
+3 -3
View File
@@ -63,9 +63,9 @@ func CmdSubtaskUsage(cmd *kingpin.CmdClause, opts *SubtaskOptions) error {
// will parse the edited document as YAML and submit the document to jira.
func CmdSubtask(o *oreo.Client, opts *SubtaskOptions) error {
type templateInput struct {
Meta *jiradata.CreateMetaIssueType `yaml:"meta" json:"meta"`
Overrides map[string]string `yaml:"overrides" json:"overrides"`
Parent *jiradata.Issue `yaml:"parent" json:"parent"`
Meta *jiradata.IssueType `yaml:"meta" json:"meta"`
Overrides map[string]string `yaml:"overrides" json:"overrides"`
Parent *jiradata.Issue `yaml:"parent" json:"parent"`
}
parent, err := jira.GetIssue(o, opts.Endpoint.Value, opts.Issue, nil)
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/AuthParams.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/AuthParams.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/AuthSuccess.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/AuthSuccess.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+2 -2
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -48,7 +48,7 @@ package jiradata
type ChangeItem struct {
Field string `json:"field,omitempty" yaml:"field,omitempty"`
FieldID string `json:"fieldId,omitempty" yaml:"fieldId,omitempty"`
Fieldtype string `json:"fieldtype,omitempty" yaml:"fieldtype,omitempty"`
FieldType string `json:"fieldtype,omitempty" yaml:"fieldtype,omitempty"`
From string `json:"from,omitempty" yaml:"from,omitempty"`
FromString string `json:"fromString,omitempty" yaml:"fromString,omitempty"`
To string `json:"to,omitempty" yaml:"to,omitempty"`
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/Field.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Field.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/LinkIssueRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/CreateMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/CreateMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+2 -2
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/CreateMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -165,7 +165,7 @@ type CreateMetaProject struct {
AvatarUrls map[string]string `json:"avatarUrls,omitempty" yaml:"avatarUrls,omitempty"`
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
ID string `json:"id,omitempty" yaml:"id,omitempty"`
Issuetypes Issuetypes `json:"issuetypes,omitempty" yaml:"issuetypes,omitempty"`
IssueTypes IssueTypes `json:"issuetypes,omitempty" yaml:"issuetypes,omitempty"`
Key string `json:"key,omitempty" yaml:"key,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Self string `json:"self,omitempty" yaml:"self,omitempty"`
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/CurrentUser.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/CurrentUser.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/ErrorCollection.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/ErrorCollection.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -3
View File
@@ -1,8 +1,6 @@
package jiradata
import (
"strings"
)
import "strings"
// Error is needed to make ErrorCollection implement the error interface
func (e ErrorCollection) Error() string {
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/ErrorCollection.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/ErrorCollection.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/Field.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Field.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/IssueUpdate.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/IssueUpdate.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/IssueUpdate.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+2 -2
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -15,4 +15,4 @@ package jiradata
// "title": "Included Fields",
// "type": "object"
// }
type IncludedFields map[string]string
type IncludedFields map[string]interface{}
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/IssueCreateResponse.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/IssueCreateResponse.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/LinkIssueRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/IssueLinkTypes.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/IssueLinkTypes.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/LinkIssueRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/IssueUpdate.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+5 -82
View File
@@ -5,17 +5,17 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
// Issuetypes defined from schema:
// IssueTypes defined from schema:
// {
// "title": "issuetypes",
// "title": "issueTypes",
// "type": "array",
// "items": {
// "title": "Create Meta Issue Type",
// "title": "Issue Type",
// "type": "object",
// "properties": {
// "avatarId": {
@@ -26,83 +26,6 @@ package jiradata
// "title": "description",
// "type": "string"
// },
// "expand": {
// "title": "expand",
// "type": "string"
// },
// "fields": {
// "title": "fields",
// "type": "object",
// "patternProperties": {
// ".+": {
// "title": "Field Meta",
// "type": "object",
// "properties": {
// "allowedValues": {
// "title": "allowedValues",
// "type": "array",
// "items": {}
// },
// "autoCompleteUrl": {
// "title": "autoCompleteUrl",
// "type": "string"
// },
// "defaultValue": {
// "title": "defaultValue"
// },
// "hasDefaultValue": {
// "title": "hasDefaultValue",
// "type": "boolean"
// },
// "key": {
// "title": "key",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "operations": {
// "title": "operations",
// "type": "array",
// "items": {
// "type": "string"
// }
// },
// "required": {
// "title": "required",
// "type": "boolean"
// },
// "schema": {
// "title": "Json Type",
// "type": "object",
// "properties": {
// "custom": {
// "title": "custom",
// "type": "string"
// },
// "customId": {
// "title": "customId",
// "type": "integer"
// },
// "items": {
// "title": "items",
// "type": "string"
// },
// "system": {
// "title": "system",
// "type": "string"
// },
// "type": {
// "title": "type",
// "type": "string"
// }
// }
// }
// }
// }
// }
// },
// "iconUrl": {
// "title": "iconUrl",
// "type": "string"
@@ -126,4 +49,4 @@ package jiradata
// }
// }
// }
type Issuetypes []*CreateMetaIssueType
type IssueTypes []*IssueType
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/LinkIssueRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/CurrentUser.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/CurrentUser.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/LinkIssueRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+615
View File
@@ -0,0 +1,615 @@
package jiradata
/////////////////////////////////////////////////////////////////////////
// This Code is Generated by SlipScheme Project:
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
// Project defined from schema:
// {
// "title": "Project",
// "id": "https://docs.atlassian.com/jira/REST/schema/project#",
// "type": "object",
// "definitions": {
// "simple-list-wrapper": {
// "title": "Simple List Wrapper",
// "type": "object",
// "properties": {
// "items": {
// "type": "array",
// "items": {
// "title": "Group",
// "type": "object",
// "properties": {
// "name": {
// "type": "string"
// },
// "self": {
// "type": "string"
// }
// }
// }
// },
// "max-results": {
// "type": "integer"
// },
// "size": {
// "type": "integer"
// }
// }
// },
// "user": {
// "title": "User",
// "type": "object",
// "properties": {
// "accountId": {
// "type": "string"
// },
// "active": {
// "type": "boolean"
// },
// "applicationRoles": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "avatarUrls": {
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "displayName": {
// "type": "string"
// },
// "emailAddress": {
// "type": "string"
// },
// "expand": {
// "type": "string"
// },
// "groups": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "key": {
// "type": "string"
// },
// "locale": {
// "type": "string"
// },
// "name": {
// "type": "string"
// },
// "self": {
// "type": "string"
// },
// "timeZone": {
// "type": "string"
// }
// }
// }
// },
// "properties": {
// "assigneeType": {
// "title": "assigneeType",
// "type": "string"
// },
// "avatarUrls": {
// "title": "avatarUrls",
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "components": {
// "title": "components",
// "type": "array",
// "items": {
// "title": "Component",
// "type": "object",
// "properties": {
// "assignee": {
// "title": "User",
// "type": "object",
// "properties": {
// "accountId": {
// "type": "string"
// },
// "active": {
// "type": "boolean"
// },
// "applicationRoles": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "avatarUrls": {
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "displayName": {
// "type": "string"
// },
// "emailAddress": {
// "type": "string"
// },
// "expand": {
// "type": "string"
// },
// "groups": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "key": {
// "type": "string"
// },
// "locale": {
// "type": "string"
// },
// "name": {
// "type": "string"
// },
// "self": {
// "type": "string"
// },
// "timeZone": {
// "type": "string"
// }
// }
// },
// "assigneeType": {
// "title": "assigneeType",
// "type": "string"
// },
// "description": {
// "title": "description",
// "type": "string"
// },
// "id": {
// "title": "id",
// "type": "string"
// },
// "isAssigneeTypeValid": {
// "title": "isAssigneeTypeValid",
// "type": "boolean"
// },
// "lead": {
// "title": "User",
// "type": "object",
// "properties": {
// "accountId": {
// "type": "string"
// },
// "active": {
// "type": "boolean"
// },
// "applicationRoles": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "avatarUrls": {
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "displayName": {
// "type": "string"
// },
// "emailAddress": {
// "type": "string"
// },
// "expand": {
// "type": "string"
// },
// "groups": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "key": {
// "type": "string"
// },
// "locale": {
// "type": "string"
// },
// "name": {
// "type": "string"
// },
// "self": {
// "type": "string"
// },
// "timeZone": {
// "type": "string"
// }
// }
// },
// "leadUserName": {
// "title": "leadUserName",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "project": {
// "title": "project",
// "type": "string"
// },
// "projectId": {
// "title": "projectId",
// "type": "integer"
// },
// "realAssignee": {
// "title": "User",
// "type": "object",
// "properties": {
// "accountId": {
// "type": "string"
// },
// "active": {
// "type": "boolean"
// },
// "applicationRoles": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "avatarUrls": {
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "displayName": {
// "type": "string"
// },
// "emailAddress": {
// "type": "string"
// },
// "expand": {
// "type": "string"
// },
// "groups": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "key": {
// "type": "string"
// },
// "locale": {
// "type": "string"
// },
// "name": {
// "type": "string"
// },
// "self": {
// "type": "string"
// },
// "timeZone": {
// "type": "string"
// }
// }
// },
// "realAssigneeType": {
// "title": "realAssigneeType",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// }
// }
// }
// },
// "description": {
// "title": "description",
// "type": "string"
// },
// "email": {
// "title": "email",
// "type": "string"
// },
// "expand": {
// "title": "expand",
// "type": "string"
// },
// "id": {
// "title": "id",
// "type": "string"
// },
// "issueTypes": {
// "title": "issueTypes",
// "type": "array",
// "items": {
// "title": "Issue Type",
// "type": "object",
// "properties": {
// "avatarId": {
// "title": "avatarId",
// "type": "integer"
// },
// "description": {
// "title": "description",
// "type": "string"
// },
// "iconUrl": {
// "title": "iconUrl",
// "type": "string"
// },
// "id": {
// "title": "id",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// },
// "subtask": {
// "title": "subtask",
// "type": "boolean"
// }
// }
// }
// },
// "key": {
// "title": "key",
// "type": "string"
// },
// "lead": {
// "title": "User",
// "type": "object",
// "properties": {
// "accountId": {
// "type": "string"
// },
// "active": {
// "type": "boolean"
// },
// "applicationRoles": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "avatarUrls": {
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "displayName": {
// "type": "string"
// },
// "emailAddress": {
// "type": "string"
// },
// "expand": {
// "type": "string"
// },
// "groups": {
// "$ref": "#/definitions/simple-list-wrapper"
// },
// "key": {
// "type": "string"
// },
// "locale": {
// "type": "string"
// },
// "name": {
// "type": "string"
// },
// "self": {
// "type": "string"
// },
// "timeZone": {
// "type": "string"
// }
// }
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "projectCategory": {
// "title": "Project Category",
// "type": "object",
// "properties": {
// "description": {
// "title": "description",
// "type": "string"
// },
// "id": {
// "title": "id",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// }
// }
// },
// "projectKeys": {
// "title": "projectKeys",
// "type": "array",
// "items": {
// "type": "string"
// }
// },
// "projectTypeKey": {
// "title": "projectTypeKey",
// "type": "string"
// },
// "roles": {
// "title": "roles",
// "type": "object",
// "patternProperties": {
// ".+": {
// "type": "string"
// }
// }
// },
// "self": {
// "title": "self",
// "type": "string"
// },
// "url": {
// "title": "url",
// "type": "string"
// },
// "versions": {
// "title": "versions",
// "type": "array",
// "items": {
// "title": "Version",
// "type": "object",
// "properties": {
// "archived": {
// "title": "archived",
// "type": "boolean"
// },
// "description": {
// "title": "description",
// "type": "string"
// },
// "expand": {
// "title": "expand",
// "type": "string"
// },
// "id": {
// "title": "id",
// "type": "string"
// },
// "moveUnfixedIssuesTo": {
// "title": "moveUnfixedIssuesTo",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "operations": {
// "title": "operations",
// "type": "array",
// "items": {
// "title": "Simple Link",
// "type": "object",
// "properties": {
// "href": {
// "title": "href",
// "type": "string"
// },
// "iconClass": {
// "title": "iconClass",
// "type": "string"
// },
// "id": {
// "title": "id",
// "type": "string"
// },
// "label": {
// "title": "label",
// "type": "string"
// },
// "styleClass": {
// "title": "styleClass",
// "type": "string"
// },
// "title": {
// "title": "title",
// "type": "string"
// },
// "weight": {
// "title": "weight",
// "type": "integer"
// }
// }
// }
// },
// "overdue": {
// "title": "overdue",
// "type": "boolean"
// },
// "project": {
// "title": "project",
// "type": "string"
// },
// "projectId": {
// "title": "projectId",
// "type": "integer"
// },
// "released": {
// "title": "released",
// "type": "boolean"
// },
// "remotelinks": {
// "title": "remotelinks",
// "type": "array",
// "items": {
// "title": "Remote Entity Link",
// "type": "object",
// "properties": {
// "link": {
// "title": "link"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// }
// }
// }
// },
// "self": {
// "title": "self",
// "type": "string"
// },
// "userReleaseDate": {
// "title": "userReleaseDate",
// "type": "string"
// },
// "userStartDate": {
// "title": "userStartDate",
// "type": "string"
// }
// }
// }
// }
// }
// }
type Project struct {
AssigneeType string `json:"assigneeType,omitempty" yaml:"assigneeType,omitempty"`
AvatarUrls map[string]string `json:"avatarUrls,omitempty" yaml:"avatarUrls,omitempty"`
Components Components `json:"components,omitempty" yaml:"components,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Email string `json:"email,omitempty" yaml:"email,omitempty"`
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
ID string `json:"id,omitempty" yaml:"id,omitempty"`
IssueTypes IssueTypes `json:"issueTypes,omitempty" yaml:"issueTypes,omitempty"`
Key string `json:"key,omitempty" yaml:"key,omitempty"`
Lead *User `json:"lead,omitempty" yaml:"lead,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
ProjectCategory *ProjectCategory `json:"projectCategory,omitempty" yaml:"projectCategory,omitempty"`
ProjectKeys ProjectKeys `json:"projectKeys,omitempty" yaml:"projectKeys,omitempty"`
ProjectTypeKey string `json:"projectTypeKey,omitempty" yaml:"projectTypeKey,omitempty"`
Roles map[string]string `json:"roles,omitempty" yaml:"roles,omitempty"`
Self string `json:"self,omitempty" yaml:"self,omitempty"`
URL string `json:"url,omitempty" yaml:"url,omitempty"`
Versions Versions `json:"versions,omitempty" yaml:"versions,omitempty"`
}
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/CreateMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchRequest.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchRequest.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/AuthSuccess.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/AuthSuccess.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+10 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -31,6 +31,10 @@ package jiradata
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// },
// "statusCategory": {
// "title": "Status Category",
// "type": "object",
@@ -50,6 +54,10 @@ package jiradata
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// }
// }
// },
@@ -64,6 +72,7 @@ type Status struct {
IconURL string `json:"iconUrl,omitempty" yaml:"iconUrl,omitempty"`
ID string `json:"id,omitempty" yaml:"id,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Self string `json:"self,omitempty" yaml:"self,omitempty"`
StatusCategory *StatusCategory `json:"statusCategory,omitempty" yaml:"statusCategory,omitempty"`
StatusColor string `json:"statusColor,omitempty" yaml:"statusColor,omitempty"`
}
+6 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -30,6 +30,10 @@ package jiradata
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// }
// }
// }
@@ -38,4 +42,5 @@ type StatusCategory struct {
ID int `json:"id,omitempty" yaml:"id,omitempty"`
Key string `json:"key,omitempty" yaml:"key,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Self string `json:"self,omitempty" yaml:"self,omitempty"`
}
+14 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -15,6 +15,10 @@ package jiradata
// "title": "Transition",
// "type": "object",
// "properties": {
// "expand": {
// "title": "expand",
// "type": "string"
// },
// "fields": {
// "title": "fields",
// "type": "object",
@@ -120,6 +124,10 @@ package jiradata
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// },
// "statusCategory": {
// "title": "Status Category",
// "type": "object",
@@ -139,6 +147,10 @@ package jiradata
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// }
// }
// },
@@ -151,6 +163,7 @@ package jiradata
// }
// }
type Transition struct {
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
Fields FieldMetaMap `json:"fields,omitempty" yaml:"fields,omitempty"`
HasScreen bool `json:"hasScreen,omitempty" yaml:"hasScreen,omitempty"`
ID string `json:"id,omitempty" yaml:"id,omitempty"`
+35 -3
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -31,33 +31,65 @@ package jiradata
// "type": "object",
// "properties": {
// "allowedValues": {
// "title": "allowedValues",
// "type": "array",
// "items": {}
// },
// "autoCompleteUrl": {
// "title": "autoCompleteUrl",
// "type": "string"
// },
// "defaultValue": {},
// "defaultValue": {
// "title": "defaultValue"
// },
// "hasDefaultValue": {
// "title": "hasDefaultValue",
// "type": "boolean"
// },
// "key": {
// "title": "key",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "operations": {
// "title": "operations",
// "type": "array",
// "items": {
// "type": "string"
// }
// },
// "required": {
// "title": "required",
// "type": "boolean"
// },
// "schema": {
// "$ref": "#/definitions/json-type"
// "title": "Json Type",
// "type": "object",
// "properties": {
// "custom": {
// "title": "custom",
// "type": "string"
// },
// "customId": {
// "title": "customId",
// "type": "integer"
// },
// "items": {
// "title": "items",
// "type": "string"
// },
// "system": {
// "title": "system",
// "type": "string"
// },
// "type": {
// "title": "type",
// "type": "string"
// }
// }
// }
// }
// }
+4 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -overwrite ../schemas/TransitionsMeta.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/TransitionsMeta.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -48,6 +48,9 @@ package jiradata
// "title": "autoCompleteUrl",
// "type": "string"
// },
// "defaultValue": {
// "title": "defaultValue"
// },
// "hasDefaultValue": {
// "title": "hasDefaultValue",
// "type": "boolean"
+1 -10
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
@@ -16,15 +16,12 @@ package jiradata
// "type": "object",
// "properties": {
// "accountId": {
// "title": "accountId",
// "type": "string"
// },
// "active": {
// "title": "active",
// "type": "boolean"
// },
// "avatarUrls": {
// "title": "avatarUrls",
// "type": "object",
// "patternProperties": {
// ".+": {
@@ -33,27 +30,21 @@ package jiradata
// }
// },
// "displayName": {
// "title": "displayName",
// "type": "string"
// },
// "emailAddress": {
// "title": "emailAddress",
// "type": "string"
// },
// "key": {
// "title": "key",
// "type": "string"
// },
// "name": {
// "title": "name",
// "type": "string"
// },
// "self": {
// "title": "self",
// "type": "string"
// },
// "timeZone": {
// "title": "timeZone",
// "type": "string"
// }
// }
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/Project.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/SearchResults.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -5,7 +5,7 @@ package jiradata
// https://github.com/coryb/slipscheme
//
// Generated with command:
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
// slipscheme -dir jiradata -pkg jiradata -overwrite schemas/WorklogWithPagination.json
/////////////////////////////////////////////////////////////////////////
// DO NOT EDIT //
/////////////////////////////////////////////////////////////////////////
+160
View File
@@ -216,6 +216,14 @@ func (o ListBoolOption) String() string {
return fmt.Sprintf("%v", []BoolOption(o))
}
func (o ListBoolOption) Append(values ...bool) ListBoolOption {
results := o
for _, val := range values {
results = append(results, NewBoolOption(val))
}
return results
}
func (o ListBoolOption) Slice() []bool {
tmp := []bool{}
for _, elem := range o {
@@ -439,6 +447,14 @@ func (o ListByteOption) String() string {
return fmt.Sprintf("%v", []ByteOption(o))
}
func (o ListByteOption) Append(values ...byte) ListByteOption {
results := o
for _, val := range values {
results = append(results, NewByteOption(val))
}
return results
}
func (o ListByteOption) Slice() []byte {
tmp := []byte{}
for _, elem := range o {
@@ -662,6 +678,14 @@ func (o ListComplex128Option) String() string {
return fmt.Sprintf("%v", []Complex128Option(o))
}
func (o ListComplex128Option) Append(values ...complex128) ListComplex128Option {
results := o
for _, val := range values {
results = append(results, NewComplex128Option(val))
}
return results
}
func (o ListComplex128Option) Slice() []complex128 {
tmp := []complex128{}
for _, elem := range o {
@@ -885,6 +909,14 @@ func (o ListComplex64Option) String() string {
return fmt.Sprintf("%v", []Complex64Option(o))
}
func (o ListComplex64Option) Append(values ...complex64) ListComplex64Option {
results := o
for _, val := range values {
results = append(results, NewComplex64Option(val))
}
return results
}
func (o ListComplex64Option) Slice() []complex64 {
tmp := []complex64{}
for _, elem := range o {
@@ -1108,6 +1140,14 @@ func (o ListErrorOption) String() string {
return fmt.Sprintf("%v", []ErrorOption(o))
}
func (o ListErrorOption) Append(values ...error) ListErrorOption {
results := o
for _, val := range values {
results = append(results, NewErrorOption(val))
}
return results
}
func (o ListErrorOption) Slice() []error {
tmp := []error{}
for _, elem := range o {
@@ -1331,6 +1371,14 @@ func (o ListFloat32Option) String() string {
return fmt.Sprintf("%v", []Float32Option(o))
}
func (o ListFloat32Option) Append(values ...float32) ListFloat32Option {
results := o
for _, val := range values {
results = append(results, NewFloat32Option(val))
}
return results
}
func (o ListFloat32Option) Slice() []float32 {
tmp := []float32{}
for _, elem := range o {
@@ -1554,6 +1602,14 @@ func (o ListFloat64Option) String() string {
return fmt.Sprintf("%v", []Float64Option(o))
}
func (o ListFloat64Option) Append(values ...float64) ListFloat64Option {
results := o
for _, val := range values {
results = append(results, NewFloat64Option(val))
}
return results
}
func (o ListFloat64Option) Slice() []float64 {
tmp := []float64{}
for _, elem := range o {
@@ -1777,6 +1833,14 @@ func (o ListIntOption) String() string {
return fmt.Sprintf("%v", []IntOption(o))
}
func (o ListIntOption) Append(values ...int) ListIntOption {
results := o
for _, val := range values {
results = append(results, NewIntOption(val))
}
return results
}
func (o ListIntOption) Slice() []int {
tmp := []int{}
for _, elem := range o {
@@ -2000,6 +2064,14 @@ func (o ListInt16Option) String() string {
return fmt.Sprintf("%v", []Int16Option(o))
}
func (o ListInt16Option) Append(values ...int16) ListInt16Option {
results := o
for _, val := range values {
results = append(results, NewInt16Option(val))
}
return results
}
func (o ListInt16Option) Slice() []int16 {
tmp := []int16{}
for _, elem := range o {
@@ -2223,6 +2295,14 @@ func (o ListInt32Option) String() string {
return fmt.Sprintf("%v", []Int32Option(o))
}
func (o ListInt32Option) Append(values ...int32) ListInt32Option {
results := o
for _, val := range values {
results = append(results, NewInt32Option(val))
}
return results
}
func (o ListInt32Option) Slice() []int32 {
tmp := []int32{}
for _, elem := range o {
@@ -2446,6 +2526,14 @@ func (o ListInt64Option) String() string {
return fmt.Sprintf("%v", []Int64Option(o))
}
func (o ListInt64Option) Append(values ...int64) ListInt64Option {
results := o
for _, val := range values {
results = append(results, NewInt64Option(val))
}
return results
}
func (o ListInt64Option) Slice() []int64 {
tmp := []int64{}
for _, elem := range o {
@@ -2669,6 +2757,14 @@ func (o ListInt8Option) String() string {
return fmt.Sprintf("%v", []Int8Option(o))
}
func (o ListInt8Option) Append(values ...int8) ListInt8Option {
results := o
for _, val := range values {
results = append(results, NewInt8Option(val))
}
return results
}
func (o ListInt8Option) Slice() []int8 {
tmp := []int8{}
for _, elem := range o {
@@ -2892,6 +2988,14 @@ func (o ListRuneOption) String() string {
return fmt.Sprintf("%v", []RuneOption(o))
}
func (o ListRuneOption) Append(values ...rune) ListRuneOption {
results := o
for _, val := range values {
results = append(results, NewRuneOption(val))
}
return results
}
func (o ListRuneOption) Slice() []rune {
tmp := []rune{}
for _, elem := range o {
@@ -3115,6 +3219,14 @@ func (o ListStringOption) String() string {
return fmt.Sprintf("%v", []StringOption(o))
}
func (o ListStringOption) Append(values ...string) ListStringOption {
results := o
for _, val := range values {
results = append(results, NewStringOption(val))
}
return results
}
func (o ListStringOption) Slice() []string {
tmp := []string{}
for _, elem := range o {
@@ -3338,6 +3450,14 @@ func (o ListUintOption) String() string {
return fmt.Sprintf("%v", []UintOption(o))
}
func (o ListUintOption) Append(values ...uint) ListUintOption {
results := o
for _, val := range values {
results = append(results, NewUintOption(val))
}
return results
}
func (o ListUintOption) Slice() []uint {
tmp := []uint{}
for _, elem := range o {
@@ -3561,6 +3681,14 @@ func (o ListUint16Option) String() string {
return fmt.Sprintf("%v", []Uint16Option(o))
}
func (o ListUint16Option) Append(values ...uint16) ListUint16Option {
results := o
for _, val := range values {
results = append(results, NewUint16Option(val))
}
return results
}
func (o ListUint16Option) Slice() []uint16 {
tmp := []uint16{}
for _, elem := range o {
@@ -3784,6 +3912,14 @@ func (o ListUint32Option) String() string {
return fmt.Sprintf("%v", []Uint32Option(o))
}
func (o ListUint32Option) Append(values ...uint32) ListUint32Option {
results := o
for _, val := range values {
results = append(results, NewUint32Option(val))
}
return results
}
func (o ListUint32Option) Slice() []uint32 {
tmp := []uint32{}
for _, elem := range o {
@@ -4007,6 +4143,14 @@ func (o ListUint64Option) String() string {
return fmt.Sprintf("%v", []Uint64Option(o))
}
func (o ListUint64Option) Append(values ...uint64) ListUint64Option {
results := o
for _, val := range values {
results = append(results, NewUint64Option(val))
}
return results
}
func (o ListUint64Option) Slice() []uint64 {
tmp := []uint64{}
for _, elem := range o {
@@ -4230,6 +4374,14 @@ func (o ListUint8Option) String() string {
return fmt.Sprintf("%v", []Uint8Option(o))
}
func (o ListUint8Option) Append(values ...uint8) ListUint8Option {
results := o
for _, val := range values {
results = append(results, NewUint8Option(val))
}
return results
}
func (o ListUint8Option) Slice() []uint8 {
tmp := []uint8{}
for _, elem := range o {
@@ -4453,6 +4605,14 @@ func (o ListUintptrOption) String() string {
return fmt.Sprintf("%v", []UintptrOption(o))
}
func (o ListUintptrOption) Append(values ...uintptr) ListUintptrOption {
results := o
for _, val := range values {
results = append(results, NewUintptrOption(val))
}
return results
}
func (o ListUintptrOption) Slice() []uintptr {
tmp := []uintptr{}
for _, elem := range o {
+8
View File
@@ -218,6 +218,14 @@ func (o ListRawTypeOption) String() string {
return fmt.Sprintf("%v", []RawTypeOption(o))
}
func (o ListRawTypeOption) Append(values ...RawType) ListRawTypeOption {
results := o
for _, val := range values {
results = append(results, NewRawTypeOption(val))
}
return results
}
func (o ListRawTypeOption) Slice() []RawType {
tmp := []RawType{}
for _, elem := range o {