Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Refvem committed Mar 21, 2018
0 parents commit 7082595
Show file tree
Hide file tree
Showing 329 changed files with 46,591 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof
23 changes: 23 additions & 0 deletions .swagger-codegen-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Swagger Codegen Ignore
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
1 change: 1 addition & 0 deletions .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.3.1
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: go

install:
- go get -d -v .

script:
- go build -v ./

482 changes: 482 additions & 0 deletions README.md

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions account.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Bitbucket API
*
* Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
*
* API version: 2.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/

package bitbucket

import (
"time"
)

type Account struct {

Type_ string `json:"type"`

Links *AccountLinks `json:"links,omitempty"`

Username string `json:"username,omitempty"`

DisplayName string `json:"display_name,omitempty"`

Website string `json:"website,omitempty"`

CreatedOn time.Time `json:"created_on,omitempty"`

Uuid string `json:"uuid,omitempty"`
}
26 changes: 26 additions & 0 deletions account_links.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Bitbucket API
*
* Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
*
* API version: 2.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/

package bitbucket

type AccountLinks struct {

Self *MilestoneLinksSelf `json:"self,omitempty"`

Html *MilestoneLinksSelf `json:"html,omitempty"`

Avatar *MilestoneLinksSelf `json:"avatar,omitempty"`

Followers *MilestoneLinksSelf `json:"followers,omitempty"`

Following *MilestoneLinksSelf `json:"following,omitempty"`

Repositories *MilestoneLinksSelf `json:"repositories,omitempty"`
}
Loading

0 comments on commit 7082595

Please sign in to comment.