/
model_authorization_code.go
39 lines (38 loc) · 1.58 KB
/
model_authorization_code.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* API Manager API v1.3
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 1.3.0
* Contact: support@axway.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package apimgr
// AuthorizationCode struct for AuthorizationCode
type AuthorizationCode struct {
// An identifier
Id string `json:"id,omitempty"`
// Schema title
Title string `json:"title,omitempty"`
// Description of the Schema
Description string `json:"description,omitempty"`
// The format ex: int32, int64, float, double, byte, binary, date, date-time or password
Format string `json:"format,omitempty"`
// Specifies if the parameter is required
Required []string `json:"required,omitempty"`
// Not used beacause our model does not support inline nested types
Properties map[string]SchemaObject `json:"properties,omitempty"`
Items SchemaObject `json:"items,omitempty"`
// if the schema is an array specifies the items type
Example map[string]interface{} `json:"example,omitempty"`
Discriminator string `json:"discriminator,omitempty"`
TokenRequestEndpoint TokenRequestEndpoint `json:"tokenRequestEndpoint,omitempty"`
TokenEndpoint TokenEndpoint `json:"tokenEndpoint,omitempty"`
// A Reference to a definition on definitions object
Ref string `json:"$ref,omitempty"`
// Default value for this schema if it is applicable
Default map[string]interface{} `json:"default,omitempty"`
// The type ex: array , boolean, integer , null , number, object, string
Type string `json:"type,omitempty"`
Enum []string `json:"enum,omitempty"`
}