Versions in this module Expand all Collapse all v0 v0.0.1 Oct 9, 2024 Changes in this version + var ContextAccessToken = contextKey("accesstoken") + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + func IsNil(i interface{}) bool + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + DefaultApi *DefaultApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiApiRhTrexV1DinosaursGetRequest struct + ApiService *DefaultApiService + func (r ApiApiRhTrexV1DinosaursGetRequest) Execute() (*DinosaurList, *http.Response, error) + func (r ApiApiRhTrexV1DinosaursGetRequest) Fields(fields string) ApiApiRhTrexV1DinosaursGetRequest + func (r ApiApiRhTrexV1DinosaursGetRequest) OrderBy(orderBy string) ApiApiRhTrexV1DinosaursGetRequest + func (r ApiApiRhTrexV1DinosaursGetRequest) Page(page int32) ApiApiRhTrexV1DinosaursGetRequest + func (r ApiApiRhTrexV1DinosaursGetRequest) Search(search string) ApiApiRhTrexV1DinosaursGetRequest + func (r ApiApiRhTrexV1DinosaursGetRequest) Size(size int32) ApiApiRhTrexV1DinosaursGetRequest + type ApiApiRhTrexV1DinosaursIdGetRequest struct + ApiService *DefaultApiService + func (r ApiApiRhTrexV1DinosaursIdGetRequest) Execute() (*Dinosaur, *http.Response, error) + type ApiApiRhTrexV1DinosaursIdPatchRequest struct + ApiService *DefaultApiService + func (r ApiApiRhTrexV1DinosaursIdPatchRequest) DinosaurPatchRequest(dinosaurPatchRequest DinosaurPatchRequest) ApiApiRhTrexV1DinosaursIdPatchRequest + func (r ApiApiRhTrexV1DinosaursIdPatchRequest) Execute() (*Dinosaur, *http.Response, error) + type ApiApiRhTrexV1DinosaursPostRequest struct + ApiService *DefaultApiService + func (r ApiApiRhTrexV1DinosaursPostRequest) Dinosaur(dinosaur Dinosaur) ApiApiRhTrexV1DinosaursPostRequest + func (r ApiApiRhTrexV1DinosaursPostRequest) Execute() (*Dinosaur, *http.Response, error) + type BasicAuth struct + Password string + UserName string + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type DefaultApiService service + func (a *DefaultApiService) ApiRhTrexV1DinosaursGet(ctx context.Context) ApiApiRhTrexV1DinosaursGetRequest + func (a *DefaultApiService) ApiRhTrexV1DinosaursGetExecute(r ApiApiRhTrexV1DinosaursGetRequest) (*DinosaurList, *http.Response, error) + func (a *DefaultApiService) ApiRhTrexV1DinosaursIdGet(ctx context.Context, id string) ApiApiRhTrexV1DinosaursIdGetRequest + func (a *DefaultApiService) ApiRhTrexV1DinosaursIdGetExecute(r ApiApiRhTrexV1DinosaursIdGetRequest) (*Dinosaur, *http.Response, error) + func (a *DefaultApiService) ApiRhTrexV1DinosaursIdPatch(ctx context.Context, id string) ApiApiRhTrexV1DinosaursIdPatchRequest + func (a *DefaultApiService) ApiRhTrexV1DinosaursIdPatchExecute(r ApiApiRhTrexV1DinosaursIdPatchRequest) (*Dinosaur, *http.Response, error) + func (a *DefaultApiService) ApiRhTrexV1DinosaursPost(ctx context.Context) ApiApiRhTrexV1DinosaursPostRequest + func (a *DefaultApiService) ApiRhTrexV1DinosaursPostExecute(r ApiApiRhTrexV1DinosaursPostRequest) (*Dinosaur, *http.Response, error) + type Dinosaur struct + CreatedAt *time.Time + Href *string + Id *string + Kind *string + Species *string + UpdatedAt *time.Time + func NewDinosaur() *Dinosaur + func NewDinosaurWithDefaults() *Dinosaur + func (o *Dinosaur) GetCreatedAt() time.Time + func (o *Dinosaur) GetCreatedAtOk() (*time.Time, bool) + func (o *Dinosaur) GetHref() string + func (o *Dinosaur) GetHrefOk() (*string, bool) + func (o *Dinosaur) GetId() string + func (o *Dinosaur) GetIdOk() (*string, bool) + func (o *Dinosaur) GetKind() string + func (o *Dinosaur) GetKindOk() (*string, bool) + func (o *Dinosaur) GetSpecies() string + func (o *Dinosaur) GetSpeciesOk() (*string, bool) + func (o *Dinosaur) GetUpdatedAt() time.Time + func (o *Dinosaur) GetUpdatedAtOk() (*time.Time, bool) + func (o *Dinosaur) HasCreatedAt() bool + func (o *Dinosaur) HasHref() bool + func (o *Dinosaur) HasId() bool + func (o *Dinosaur) HasKind() bool + func (o *Dinosaur) HasSpecies() bool + func (o *Dinosaur) HasUpdatedAt() bool + func (o *Dinosaur) SetCreatedAt(v time.Time) + func (o *Dinosaur) SetHref(v string) + func (o *Dinosaur) SetId(v string) + func (o *Dinosaur) SetKind(v string) + func (o *Dinosaur) SetSpecies(v string) + func (o *Dinosaur) SetUpdatedAt(v time.Time) + func (o Dinosaur) MarshalJSON() ([]byte, error) + func (o Dinosaur) ToMap() (map[string]interface{}, error) + type DinosaurAllOf struct + CreatedAt *time.Time + Species *string + UpdatedAt *time.Time + func NewDinosaurAllOf() *DinosaurAllOf + func NewDinosaurAllOfWithDefaults() *DinosaurAllOf + func (o *DinosaurAllOf) GetCreatedAt() time.Time + func (o *DinosaurAllOf) GetCreatedAtOk() (*time.Time, bool) + func (o *DinosaurAllOf) GetSpecies() string + func (o *DinosaurAllOf) GetSpeciesOk() (*string, bool) + func (o *DinosaurAllOf) GetUpdatedAt() time.Time + func (o *DinosaurAllOf) GetUpdatedAtOk() (*time.Time, bool) + func (o *DinosaurAllOf) HasCreatedAt() bool + func (o *DinosaurAllOf) HasSpecies() bool + func (o *DinosaurAllOf) HasUpdatedAt() bool + func (o *DinosaurAllOf) SetCreatedAt(v time.Time) + func (o *DinosaurAllOf) SetSpecies(v string) + func (o *DinosaurAllOf) SetUpdatedAt(v time.Time) + func (o DinosaurAllOf) MarshalJSON() ([]byte, error) + func (o DinosaurAllOf) ToMap() (map[string]interface{}, error) + type DinosaurList struct + Items []Dinosaur + Kind string + Page int32 + Size int32 + Total int32 + func NewDinosaurList(kind string, page int32, size int32, total int32, items []Dinosaur) *DinosaurList + func NewDinosaurListWithDefaults() *DinosaurList + func (o *DinosaurList) GetItems() []Dinosaur + func (o *DinosaurList) GetItemsOk() ([]Dinosaur, bool) + func (o *DinosaurList) GetKind() string + func (o *DinosaurList) GetKindOk() (*string, bool) + func (o *DinosaurList) GetPage() int32 + func (o *DinosaurList) GetPageOk() (*int32, bool) + func (o *DinosaurList) GetSize() int32 + func (o *DinosaurList) GetSizeOk() (*int32, bool) + func (o *DinosaurList) GetTotal() int32 + func (o *DinosaurList) GetTotalOk() (*int32, bool) + func (o *DinosaurList) SetItems(v []Dinosaur) + func (o *DinosaurList) SetKind(v string) + func (o *DinosaurList) SetPage(v int32) + func (o *DinosaurList) SetSize(v int32) + func (o *DinosaurList) SetTotal(v int32) + func (o DinosaurList) MarshalJSON() ([]byte, error) + func (o DinosaurList) ToMap() (map[string]interface{}, error) + type DinosaurListAllOf struct + Items []Dinosaur + func NewDinosaurListAllOf() *DinosaurListAllOf + func NewDinosaurListAllOfWithDefaults() *DinosaurListAllOf + func (o *DinosaurListAllOf) GetItems() []Dinosaur + func (o *DinosaurListAllOf) GetItemsOk() ([]Dinosaur, bool) + func (o *DinosaurListAllOf) HasItems() bool + func (o *DinosaurListAllOf) SetItems(v []Dinosaur) + func (o DinosaurListAllOf) MarshalJSON() ([]byte, error) + func (o DinosaurListAllOf) ToMap() (map[string]interface{}, error) + type DinosaurPatchRequest struct + Species *string + func NewDinosaurPatchRequest() *DinosaurPatchRequest + func NewDinosaurPatchRequestWithDefaults() *DinosaurPatchRequest + func (o *DinosaurPatchRequest) GetSpecies() string + func (o *DinosaurPatchRequest) GetSpeciesOk() (*string, bool) + func (o *DinosaurPatchRequest) HasSpecies() bool + func (o *DinosaurPatchRequest) SetSpecies(v string) + func (o DinosaurPatchRequest) MarshalJSON() ([]byte, error) + func (o DinosaurPatchRequest) ToMap() (map[string]interface{}, error) + type Error struct + Code *string + Href *string + Id *string + Kind *string + OperationId *string + Reason *string + func NewError() *Error + func NewErrorWithDefaults() *Error + func (o *Error) GetCode() string + func (o *Error) GetCodeOk() (*string, bool) + func (o *Error) GetHref() string + func (o *Error) GetHrefOk() (*string, bool) + func (o *Error) GetId() string + func (o *Error) GetIdOk() (*string, bool) + func (o *Error) GetKind() string + func (o *Error) GetKindOk() (*string, bool) + func (o *Error) GetOperationId() string + func (o *Error) GetOperationIdOk() (*string, bool) + func (o *Error) GetReason() string + func (o *Error) GetReasonOk() (*string, bool) + func (o *Error) HasCode() bool + func (o *Error) HasHref() bool + func (o *Error) HasId() bool + func (o *Error) HasKind() bool + func (o *Error) HasOperationId() bool + func (o *Error) HasReason() bool + func (o *Error) SetCode(v string) + func (o *Error) SetHref(v string) + func (o *Error) SetId(v string) + func (o *Error) SetKind(v string) + func (o *Error) SetOperationId(v string) + func (o *Error) SetReason(v string) + func (o Error) MarshalJSON() ([]byte, error) + func (o Error) ToMap() (map[string]interface{}, error) + type ErrorAllOf struct + Code *string + OperationId *string + Reason *string + func NewErrorAllOf() *ErrorAllOf + func NewErrorAllOfWithDefaults() *ErrorAllOf + func (o *ErrorAllOf) GetCode() string + func (o *ErrorAllOf) GetCodeOk() (*string, bool) + func (o *ErrorAllOf) GetOperationId() string + func (o *ErrorAllOf) GetOperationIdOk() (*string, bool) + func (o *ErrorAllOf) GetReason() string + func (o *ErrorAllOf) GetReasonOk() (*string, bool) + func (o *ErrorAllOf) HasCode() bool + func (o *ErrorAllOf) HasOperationId() bool + func (o *ErrorAllOf) HasReason() bool + func (o *ErrorAllOf) SetCode(v string) + func (o *ErrorAllOf) SetOperationId(v string) + func (o *ErrorAllOf) SetReason(v string) + func (o ErrorAllOf) MarshalJSON() ([]byte, error) + func (o ErrorAllOf) ToMap() (map[string]interface{}, error) + type ErrorList struct + Items []Error + Kind string + Page int32 + Size int32 + Total int32 + func NewErrorList(kind string, page int32, size int32, total int32, items []Error) *ErrorList + func NewErrorListWithDefaults() *ErrorList + func (o *ErrorList) GetItems() []Error + func (o *ErrorList) GetItemsOk() ([]Error, bool) + func (o *ErrorList) GetKind() string + func (o *ErrorList) GetKindOk() (*string, bool) + func (o *ErrorList) GetPage() int32 + func (o *ErrorList) GetPageOk() (*int32, bool) + func (o *ErrorList) GetSize() int32 + func (o *ErrorList) GetSizeOk() (*int32, bool) + func (o *ErrorList) GetTotal() int32 + func (o *ErrorList) GetTotalOk() (*int32, bool) + func (o *ErrorList) SetItems(v []Error) + func (o *ErrorList) SetKind(v string) + func (o *ErrorList) SetPage(v int32) + func (o *ErrorList) SetSize(v int32) + func (o *ErrorList) SetTotal(v int32) + func (o ErrorList) MarshalJSON() ([]byte, error) + func (o ErrorList) ToMap() (map[string]interface{}, error) + type ErrorListAllOf struct + Items []Error + func NewErrorListAllOf() *ErrorListAllOf + func NewErrorListAllOfWithDefaults() *ErrorListAllOf + func (o *ErrorListAllOf) GetItems() []Error + func (o *ErrorListAllOf) GetItemsOk() ([]Error, bool) + func (o *ErrorListAllOf) HasItems() bool + func (o *ErrorListAllOf) SetItems(v []Error) + func (o ErrorListAllOf) MarshalJSON() ([]byte, error) + func (o ErrorListAllOf) ToMap() (map[string]interface{}, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type List struct + Kind string + Page int32 + Size int32 + Total int32 + func NewList(kind string, page int32, size int32, total int32) *List + func NewListWithDefaults() *List + func (o *List) GetKind() string + func (o *List) GetKindOk() (*string, bool) + func (o *List) GetPage() int32 + func (o *List) GetPageOk() (*int32, bool) + func (o *List) GetSize() int32 + func (o *List) GetSizeOk() (*int32, bool) + func (o *List) GetTotal() int32 + func (o *List) GetTotalOk() (*int32, bool) + func (o *List) SetKind(v string) + func (o *List) SetPage(v int32) + func (o *List) SetSize(v int32) + func (o *List) SetTotal(v int32) + func (o List) MarshalJSON() ([]byte, error) + func (o List) ToMap() (map[string]interface{}, error) + type MappedNullable interface + ToMap func() (map[string]interface{}, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableDinosaur struct + func NewNullableDinosaur(val *Dinosaur) *NullableDinosaur + func (v *NullableDinosaur) Set(val *Dinosaur) + func (v *NullableDinosaur) UnmarshalJSON(src []byte) error + func (v *NullableDinosaur) Unset() + func (v NullableDinosaur) Get() *Dinosaur + func (v NullableDinosaur) IsSet() bool + func (v NullableDinosaur) MarshalJSON() ([]byte, error) + type NullableDinosaurAllOf struct + func NewNullableDinosaurAllOf(val *DinosaurAllOf) *NullableDinosaurAllOf + func (v *NullableDinosaurAllOf) Set(val *DinosaurAllOf) + func (v *NullableDinosaurAllOf) UnmarshalJSON(src []byte) error + func (v *NullableDinosaurAllOf) Unset() + func (v NullableDinosaurAllOf) Get() *DinosaurAllOf + func (v NullableDinosaurAllOf) IsSet() bool + func (v NullableDinosaurAllOf) MarshalJSON() ([]byte, error) + type NullableDinosaurList struct + func NewNullableDinosaurList(val *DinosaurList) *NullableDinosaurList + func (v *NullableDinosaurList) Set(val *DinosaurList) + func (v *NullableDinosaurList) UnmarshalJSON(src []byte) error + func (v *NullableDinosaurList) Unset() + func (v NullableDinosaurList) Get() *DinosaurList + func (v NullableDinosaurList) IsSet() bool + func (v NullableDinosaurList) MarshalJSON() ([]byte, error) + type NullableDinosaurListAllOf struct + func NewNullableDinosaurListAllOf(val *DinosaurListAllOf) *NullableDinosaurListAllOf + func (v *NullableDinosaurListAllOf) Set(val *DinosaurListAllOf) + func (v *NullableDinosaurListAllOf) UnmarshalJSON(src []byte) error + func (v *NullableDinosaurListAllOf) Unset() + func (v NullableDinosaurListAllOf) Get() *DinosaurListAllOf + func (v NullableDinosaurListAllOf) IsSet() bool + func (v NullableDinosaurListAllOf) MarshalJSON() ([]byte, error) + type NullableDinosaurPatchRequest struct + func NewNullableDinosaurPatchRequest(val *DinosaurPatchRequest) *NullableDinosaurPatchRequest + func (v *NullableDinosaurPatchRequest) Set(val *DinosaurPatchRequest) + func (v *NullableDinosaurPatchRequest) UnmarshalJSON(src []byte) error + func (v *NullableDinosaurPatchRequest) Unset() + func (v NullableDinosaurPatchRequest) Get() *DinosaurPatchRequest + func (v NullableDinosaurPatchRequest) IsSet() bool + func (v NullableDinosaurPatchRequest) MarshalJSON() ([]byte, error) + type NullableError struct + func NewNullableError(val *Error) *NullableError + func (v *NullableError) Set(val *Error) + func (v *NullableError) UnmarshalJSON(src []byte) error + func (v *NullableError) Unset() + func (v NullableError) Get() *Error + func (v NullableError) IsSet() bool + func (v NullableError) MarshalJSON() ([]byte, error) + type NullableErrorAllOf struct + func NewNullableErrorAllOf(val *ErrorAllOf) *NullableErrorAllOf + func (v *NullableErrorAllOf) Set(val *ErrorAllOf) + func (v *NullableErrorAllOf) UnmarshalJSON(src []byte) error + func (v *NullableErrorAllOf) Unset() + func (v NullableErrorAllOf) Get() *ErrorAllOf + func (v NullableErrorAllOf) IsSet() bool + func (v NullableErrorAllOf) MarshalJSON() ([]byte, error) + type NullableErrorList struct + func NewNullableErrorList(val *ErrorList) *NullableErrorList + func (v *NullableErrorList) Set(val *ErrorList) + func (v *NullableErrorList) UnmarshalJSON(src []byte) error + func (v *NullableErrorList) Unset() + func (v NullableErrorList) Get() *ErrorList + func (v NullableErrorList) IsSet() bool + func (v NullableErrorList) MarshalJSON() ([]byte, error) + type NullableErrorListAllOf struct + func NewNullableErrorListAllOf(val *ErrorListAllOf) *NullableErrorListAllOf + func (v *NullableErrorListAllOf) Set(val *ErrorListAllOf) + func (v *NullableErrorListAllOf) UnmarshalJSON(src []byte) error + func (v *NullableErrorListAllOf) Unset() + func (v NullableErrorListAllOf) Get() *ErrorListAllOf + func (v NullableErrorListAllOf) IsSet() bool + func (v NullableErrorListAllOf) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableList struct + func NewNullableList(val *List) *NullableList + func (v *NullableList) Set(val *List) + func (v *NullableList) UnmarshalJSON(src []byte) error + func (v *NullableList) Unset() + func (v NullableList) Get() *List + func (v NullableList) IsSet() bool + func (v NullableList) MarshalJSON() ([]byte, error) + type NullableObjectReference struct + func NewNullableObjectReference(val *ObjectReference) *NullableObjectReference + func (v *NullableObjectReference) Set(val *ObjectReference) + func (v *NullableObjectReference) UnmarshalJSON(src []byte) error + func (v *NullableObjectReference) Unset() + func (v NullableObjectReference) Get() *ObjectReference + func (v NullableObjectReference) IsSet() bool + func (v NullableObjectReference) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type ObjectReference struct + Href *string + Id *string + Kind *string + func NewObjectReference() *ObjectReference + func NewObjectReferenceWithDefaults() *ObjectReference + func (o *ObjectReference) GetHref() string + func (o *ObjectReference) GetHrefOk() (*string, bool) + func (o *ObjectReference) GetId() string + func (o *ObjectReference) GetIdOk() (*string, bool) + func (o *ObjectReference) GetKind() string + func (o *ObjectReference) GetKindOk() (*string, bool) + func (o *ObjectReference) HasHref() bool + func (o *ObjectReference) HasId() bool + func (o *ObjectReference) HasKind() bool + func (o *ObjectReference) SetHref(v string) + func (o *ObjectReference) SetId(v string) + func (o *ObjectReference) SetKind(v string) + func (o ObjectReference) MarshalJSON() ([]byte, error) + func (o ObjectReference) ToMap() (map[string]interface{}, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string