internal/client/models.go (40 lines of code) (raw):

// Copyright (c) HashiCorp, Inc. package client type ApiKey struct { ID int `json:"id"` AllowedPath string `json:"allowedPath"` ApiKey string `json:"apiKey"` CreatedAt string `json:"createdAt"` Creator string `json:"creator"` CreatorEmail string `json:"creatorEmail"` ExpiredAt string `json:"expiredAt"` Extra string `json:"extra"` Name string `json:"name"` Type string `json:"type"` UpdatedAt string `json:"updatedAt"` Updater string `json:"updater"` UpdaterEmail string `json:"updaterEmail"` } type ApiKeyCreate struct { AllowedPath string `json:"allowedPath"` ExpiredAt string `json:"expiredAt"` Name string `json:"name"` Type string `json:"type"` } type JsonBody struct { Causes []string `json:"causes"` Code int `json:"code"` Data string `json:"data"` Message string `json:"message"` Success bool `json:"success"` } type BitbucketServerConnection struct { ID int `json:"id"` CreatedAt string `json:"createdAt"` Endpoint string `json:"endpoint"` Name string `json:"name"` Password string `json:"password"` Proxy string `json:"proxy"` RateLimitPerHour int `json:"rateLimitPerHour"` UpdatedAt string `json:"updatedAt"` Username string `json:"username"` }