Created
January 23, 2020 06:36
-
-
Save jaekwonpark/5e0a04eaeb6d4f5143b49769afd95847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Generated file petstore/v1.a1/defaultapi/defaultapi_model.go. Product version: 1.0.0-SNAPSHOT | |
* | |
* Part of the Petstore API project | |
* | |
* (c) 2020 Nutanix Inc. All rights reserved | |
* | |
*/ | |
package defaultapi | |
import ( | |
import1 "common/v1.a1/response" | |
) | |
type Category struct { | |
Id *int64 `json:"id,omitempty"` | |
Name *string `json:"name,omitempty"` | |
} | |
type IntVal struct { | |
IntVal *int32 `json:"int_val,omitempty"` | |
} | |
type Pet struct { | |
Category *Category `json:"category,omitempty"` | |
Id *int64 `json:"id,omitempty"` | |
Name *string `json:"name"` | |
PhotoFiles *[]string `json:"photo_files,omitempty"` | |
Point *Point `json:"point,omitempty"` | |
Status *string `json:"status,omitempty"` | |
Tags *[]Tag `json:"tags,omitempty"` | |
} | |
type PetApiResponse struct { | |
Data *OneOfPetstoreV1A1DefaultapiPetApiResponseData `json:"data,omitempty"` | |
Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` | |
} | |
type Point struct { | |
TimestampEpoch *int32 `json:"timestamp_epoch,omitempty"` | |
Value *OneOfPetstoreV1A1DefaultapiPointValue `json:"value,omitempty"` | |
} | |
type StrVal struct { | |
StrVal *string `json:"str_val,omitempty"` | |
} | |
type Tag struct { | |
Id *int64 `json:"id,omitempty"` | |
Name *string `json:"name,omitempty"` | |
} | |
type Url struct { | |
Url *string `json:"url,omitempty"` | |
} | |
type UrlApiResponse struct { | |
Data *OneOfPetstoreV1A1DefaultapiUrlApiResponseData `json:"data,omitempty"` | |
Metadata *import1.ApiResponseMetadata `json:"metadata,omitempty"` | |
} | |
type OneOfPetstoreV1A1DefaultapiPointValue interface { | |
OneOfPetstoreV1A1DefaultapiPointValue() | |
} | |
func (*StrVal) OneOfPetstoreV1A1DefaultapiPointValue() {} | |
func (*IntVal) OneOfPetstoreV1A1DefaultapiPointValue() {} | |
type OneOfPetstoreV1A1DefaultapiUrlApiResponseData interface { | |
OneOfPetstoreV1A1DefaultapiUrlApiResponseData() | |
} | |
func (*Url) OneOfPetstoreV1A1DefaultapiUrlApiResponseData() {} | |
type OneOfPetstoreV1A1DefaultapiPetApiResponseData interface { | |
OneOfPetstoreV1A1DefaultapiPetApiResponseData() | |
} | |
func (*Pet) OneOfPetstoreV1A1DefaultapiPetApiResponseData() {} | |
type common.v1.a1.response.ApiResponseMetadata interface { | |
common.v1.a1.response.ApiResponseMetadata() | |
} | |
func (*Pet) common.v1.a1.response.ApiResponseMetadata() {} | |
type common.v1.a1.response.ApiResponseMetadata interface { | |
common.v1.a1.response.ApiResponseMetadata() | |
} | |
func (*Url) common.v1.a1.response.ApiResponseMetadata() {} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment