Documentation
¶
Index ¶
- Variables
- 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
- type APIKey
- type APIResponse
- type ApiApiRhTrexV1DinosaursGetRequest
- 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
- type ApiApiRhTrexV1DinosaursIdPatchRequest
- type ApiApiRhTrexV1DinosaursPostRequest
- type BasicAuth
- type Configuration
- type DefaultApiService
- 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
- 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) MarshalJSON() ([]byte, error)
- 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) ToMap() (map[string]interface{}, error)
- type 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) MarshalJSON() ([]byte, error)
- func (o *DinosaurAllOf) SetCreatedAt(v time.Time)
- func (o *DinosaurAllOf) SetSpecies(v string)
- func (o *DinosaurAllOf) SetUpdatedAt(v time.Time)
- func (o DinosaurAllOf) ToMap() (map[string]interface{}, error)
- type 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) MarshalJSON() ([]byte, error)
- 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) ToMap() (map[string]interface{}, error)
- type DinosaurListAllOf
- func (o *DinosaurListAllOf) GetItems() []Dinosaur
- func (o *DinosaurListAllOf) GetItemsOk() ([]Dinosaur, bool)
- func (o *DinosaurListAllOf) HasItems() bool
- func (o DinosaurListAllOf) MarshalJSON() ([]byte, error)
- func (o *DinosaurListAllOf) SetItems(v []Dinosaur)
- func (o DinosaurListAllOf) ToMap() (map[string]interface{}, error)
- type DinosaurPatchRequest
- func (o *DinosaurPatchRequest) GetSpecies() string
- func (o *DinosaurPatchRequest) GetSpeciesOk() (*string, bool)
- func (o *DinosaurPatchRequest) HasSpecies() bool
- func (o DinosaurPatchRequest) MarshalJSON() ([]byte, error)
- func (o *DinosaurPatchRequest) SetSpecies(v string)
- func (o DinosaurPatchRequest) ToMap() (map[string]interface{}, error)
- type 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) MarshalJSON() ([]byte, error)
- 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) ToMap() (map[string]interface{}, error)
- type 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) MarshalJSON() ([]byte, error)
- func (o *ErrorAllOf) SetCode(v string)
- func (o *ErrorAllOf) SetOperationId(v string)
- func (o *ErrorAllOf) SetReason(v string)
- func (o ErrorAllOf) ToMap() (map[string]interface{}, error)
- type 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) MarshalJSON() ([]byte, error)
- 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) ToMap() (map[string]interface{}, error)
- type ErrorListAllOf
- func (o *ErrorListAllOf) GetItems() []Error
- func (o *ErrorListAllOf) GetItemsOk() ([]Error, bool)
- func (o *ErrorListAllOf) HasItems() bool
- func (o ErrorListAllOf) MarshalJSON() ([]byte, error)
- func (o *ErrorListAllOf) SetItems(v []Error)
- func (o ErrorListAllOf) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type 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) MarshalJSON() ([]byte, error)
- 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) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableDinosaur
- type NullableDinosaurAllOf
- func (v NullableDinosaurAllOf) Get() *DinosaurAllOf
- func (v NullableDinosaurAllOf) IsSet() bool
- func (v NullableDinosaurAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableDinosaurAllOf) Set(val *DinosaurAllOf)
- func (v *NullableDinosaurAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableDinosaurAllOf) Unset()
- type NullableDinosaurList
- func (v NullableDinosaurList) Get() *DinosaurList
- func (v NullableDinosaurList) IsSet() bool
- func (v NullableDinosaurList) MarshalJSON() ([]byte, error)
- func (v *NullableDinosaurList) Set(val *DinosaurList)
- func (v *NullableDinosaurList) UnmarshalJSON(src []byte) error
- func (v *NullableDinosaurList) Unset()
- type NullableDinosaurListAllOf
- func (v NullableDinosaurListAllOf) Get() *DinosaurListAllOf
- func (v NullableDinosaurListAllOf) IsSet() bool
- func (v NullableDinosaurListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableDinosaurListAllOf) Set(val *DinosaurListAllOf)
- func (v *NullableDinosaurListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableDinosaurListAllOf) Unset()
- type NullableDinosaurPatchRequest
- func (v NullableDinosaurPatchRequest) Get() *DinosaurPatchRequest
- func (v NullableDinosaurPatchRequest) IsSet() bool
- func (v NullableDinosaurPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDinosaurPatchRequest) Set(val *DinosaurPatchRequest)
- func (v *NullableDinosaurPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDinosaurPatchRequest) Unset()
- type NullableError
- type NullableErrorAllOf
- type NullableErrorList
- type NullableErrorListAllOf
- func (v NullableErrorListAllOf) Get() *ErrorListAllOf
- func (v NullableErrorListAllOf) IsSet() bool
- func (v NullableErrorListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableErrorListAllOf) Set(val *ErrorListAllOf)
- func (v *NullableErrorListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableErrorListAllOf) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableList
- type NullableObjectReference
- func (v NullableObjectReference) Get() *ObjectReference
- func (v NullableObjectReference) IsSet() bool
- func (v NullableObjectReference) MarshalJSON() ([]byte, error)
- func (v *NullableObjectReference) Set(val *ObjectReference)
- func (v *NullableObjectReference) UnmarshalJSON(src []byte) error
- func (v *NullableObjectReference) Unset()
- type NullableString
- type NullableTime
- type 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) MarshalJSON() ([]byte, error)
- func (o *ObjectReference) SetHref(v string)
- func (o *ObjectReference) SetId(v string)
- func (o *ObjectReference) SetKind(v string)
- func (o ObjectReference) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultApi *DefaultApiService
// contains filtered or unexported fields
}
APIClient manages communication with the rh-trex API API v0.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiApiRhTrexV1DinosaursGetRequest ¶
type ApiApiRhTrexV1DinosaursGetRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiApiRhTrexV1DinosaursGetRequest) Execute ¶
func (r ApiApiRhTrexV1DinosaursGetRequest) Execute() (*DinosaurList, *http.Response, error)
func (ApiApiRhTrexV1DinosaursGetRequest) Fields ¶
func (r ApiApiRhTrexV1DinosaursGetRequest) Fields(fields string) ApiApiRhTrexV1DinosaursGetRequest
Supplies a comma-separated list of fields to be returned. Fields of sub-structures and of arrays use <structure>.<field> notation. <stucture>.* means all field of a structure Example: For each Subscription to get id, href, plan(id and kind) and labels (all fields) ``` ocm get subscriptions --parameter fields=id,href,plan.id,plan.kind,labels.* --parameter fetchLabels=true ```
func (ApiApiRhTrexV1DinosaursGetRequest) OrderBy ¶
func (r ApiApiRhTrexV1DinosaursGetRequest) OrderBy(orderBy string) ApiApiRhTrexV1DinosaursGetRequest
Specifies the order by criteria. The syntax of this parameter is similar to the syntax of the _order by_ clause of an SQL statement, but using the names of the json attributes / column of the account. For example, in order to retrieve all accounts ordered by username: ```sql username asc ``` Or in order to retrieve all accounts ordered by username _and_ first name: ```sql username asc, firstName asc ``` If the parameter isn't provided, or if the value is empty, then no explicit ordering will be applied.
func (ApiApiRhTrexV1DinosaursGetRequest) Page ¶
func (r ApiApiRhTrexV1DinosaursGetRequest) Page(page int32) ApiApiRhTrexV1DinosaursGetRequest
Page number of record list when record list exceeds specified page size
func (ApiApiRhTrexV1DinosaursGetRequest) Search ¶
func (r ApiApiRhTrexV1DinosaursGetRequest) Search(search string) ApiApiRhTrexV1DinosaursGetRequest
Specifies the search criteria. The syntax of this parameter is similar to the syntax of the _where_ clause of an SQL statement, using the names of the json attributes / column names of the account. For example, in order to retrieve all the accounts with a username starting with `my`: ```sql username like 'my%' ``` The search criteria can also be applied on related resource. For example, in order to retrieve all the subscriptions labeled by `foo=bar`, ```sql subscription_labels.key = 'foo' and subscription_labels.value = 'bar' ``` If the parameter isn't provided, or if the value is empty, then all the accounts that the user has permission to see will be returned.
func (ApiApiRhTrexV1DinosaursGetRequest) Size ¶
func (r ApiApiRhTrexV1DinosaursGetRequest) Size(size int32) ApiApiRhTrexV1DinosaursGetRequest
Maximum number of records to return
type ApiApiRhTrexV1DinosaursIdGetRequest ¶
type ApiApiRhTrexV1DinosaursIdGetRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
type ApiApiRhTrexV1DinosaursIdPatchRequest ¶
type ApiApiRhTrexV1DinosaursIdPatchRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiApiRhTrexV1DinosaursIdPatchRequest) DinosaurPatchRequest ¶
func (r ApiApiRhTrexV1DinosaursIdPatchRequest) DinosaurPatchRequest(dinosaurPatchRequest DinosaurPatchRequest) ApiApiRhTrexV1DinosaursIdPatchRequest
Updated dinosaur data
type ApiApiRhTrexV1DinosaursPostRequest ¶
type ApiApiRhTrexV1DinosaursPostRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiApiRhTrexV1DinosaursPostRequest) Dinosaur ¶
func (r ApiApiRhTrexV1DinosaursPostRequest) Dinosaur(dinosaur Dinosaur) ApiApiRhTrexV1DinosaursPostRequest
Dinosaur data
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) ApiRhTrexV1DinosaursGet ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursGet(ctx context.Context) ApiApiRhTrexV1DinosaursGetRequest
ApiRhTrexV1DinosaursGet Returns a list of dinosaurs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexV1DinosaursGetRequest
func (*DefaultApiService) ApiRhTrexV1DinosaursGetExecute ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursGetExecute(r ApiApiRhTrexV1DinosaursGetRequest) (*DinosaurList, *http.Response, error)
Execute executes the request
@return DinosaurList
func (*DefaultApiService) ApiRhTrexV1DinosaursIdGet ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursIdGet(ctx context.Context, id string) ApiApiRhTrexV1DinosaursIdGetRequest
ApiRhTrexV1DinosaursIdGet Get an dinosaur by id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The id of record @return ApiApiRhTrexV1DinosaursIdGetRequest
func (*DefaultApiService) ApiRhTrexV1DinosaursIdGetExecute ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursIdGetExecute(r ApiApiRhTrexV1DinosaursIdGetRequest) (*Dinosaur, *http.Response, error)
Execute executes the request
@return Dinosaur
func (*DefaultApiService) ApiRhTrexV1DinosaursIdPatch ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursIdPatch(ctx context.Context, id string) ApiApiRhTrexV1DinosaursIdPatchRequest
ApiRhTrexV1DinosaursIdPatch Update an dinosaur
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The id of record @return ApiApiRhTrexV1DinosaursIdPatchRequest
func (*DefaultApiService) ApiRhTrexV1DinosaursIdPatchExecute ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursIdPatchExecute(r ApiApiRhTrexV1DinosaursIdPatchRequest) (*Dinosaur, *http.Response, error)
Execute executes the request
@return Dinosaur
func (*DefaultApiService) ApiRhTrexV1DinosaursPost ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursPost(ctx context.Context) ApiApiRhTrexV1DinosaursPostRequest
ApiRhTrexV1DinosaursPost Create a new dinosaur
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexV1DinosaursPostRequest
func (*DefaultApiService) ApiRhTrexV1DinosaursPostExecute ¶
func (a *DefaultApiService) ApiRhTrexV1DinosaursPostExecute(r ApiApiRhTrexV1DinosaursPostRequest) (*Dinosaur, *http.Response, error)
Execute executes the request
@return Dinosaur
type Dinosaur ¶
type Dinosaur struct {
Id *string `json:"id,omitempty"`
Kind *string `json:"kind,omitempty"`
Href *string `json:"href,omitempty"`
Species *string `json:"species,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Dinosaur struct for Dinosaur
func NewDinosaur ¶
func NewDinosaur() *Dinosaur
NewDinosaur instantiates a new Dinosaur object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDinosaurWithDefaults ¶
func NewDinosaurWithDefaults() *Dinosaur
NewDinosaurWithDefaults instantiates a new Dinosaur object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Dinosaur) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Dinosaur) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dinosaur) GetHrefOk ¶
GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dinosaur) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dinosaur) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dinosaur) GetSpecies ¶
GetSpecies returns the Species field value if set, zero value otherwise.
func (*Dinosaur) GetSpeciesOk ¶
GetSpeciesOk returns a tuple with the Species field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dinosaur) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Dinosaur) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dinosaur) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Dinosaur) HasSpecies ¶
HasSpecies returns a boolean if a field has been set.
func (*Dinosaur) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Dinosaur) MarshalJSON ¶
func (*Dinosaur) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Dinosaur) SetHref ¶
SetHref gets a reference to the given string and assigns it to the Href field.
func (*Dinosaur) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Dinosaur) SetSpecies ¶
SetSpecies gets a reference to the given string and assigns it to the Species field.
func (*Dinosaur) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type DinosaurAllOf ¶
type DinosaurAllOf struct {
Species *string `json:"species,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
DinosaurAllOf struct for DinosaurAllOf
func NewDinosaurAllOf ¶
func NewDinosaurAllOf() *DinosaurAllOf
NewDinosaurAllOf instantiates a new DinosaurAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDinosaurAllOfWithDefaults ¶
func NewDinosaurAllOfWithDefaults() *DinosaurAllOf
NewDinosaurAllOfWithDefaults instantiates a new DinosaurAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DinosaurAllOf) GetCreatedAt ¶
func (o *DinosaurAllOf) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DinosaurAllOf) GetCreatedAtOk ¶
func (o *DinosaurAllOf) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DinosaurAllOf) GetSpecies ¶
func (o *DinosaurAllOf) GetSpecies() string
GetSpecies returns the Species field value if set, zero value otherwise.
func (*DinosaurAllOf) GetSpeciesOk ¶
func (o *DinosaurAllOf) GetSpeciesOk() (*string, bool)
GetSpeciesOk returns a tuple with the Species field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DinosaurAllOf) GetUpdatedAt ¶
func (o *DinosaurAllOf) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DinosaurAllOf) GetUpdatedAtOk ¶
func (o *DinosaurAllOf) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DinosaurAllOf) HasCreatedAt ¶
func (o *DinosaurAllOf) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DinosaurAllOf) HasSpecies ¶
func (o *DinosaurAllOf) HasSpecies() bool
HasSpecies returns a boolean if a field has been set.
func (*DinosaurAllOf) HasUpdatedAt ¶
func (o *DinosaurAllOf) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (DinosaurAllOf) MarshalJSON ¶
func (o DinosaurAllOf) MarshalJSON() ([]byte, error)
func (*DinosaurAllOf) SetCreatedAt ¶
func (o *DinosaurAllOf) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*DinosaurAllOf) SetSpecies ¶
func (o *DinosaurAllOf) SetSpecies(v string)
SetSpecies gets a reference to the given string and assigns it to the Species field.
func (*DinosaurAllOf) SetUpdatedAt ¶
func (o *DinosaurAllOf) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (DinosaurAllOf) ToMap ¶
func (o DinosaurAllOf) ToMap() (map[string]interface{}, error)
type DinosaurList ¶
type DinosaurList struct {
Kind string `json:"kind"`
Page int32 `json:"page"`
Size int32 `json:"size"`
Total int32 `json:"total"`
Items []Dinosaur `json:"items"`
}
DinosaurList struct for DinosaurList
func NewDinosaurList ¶
func NewDinosaurList(kind string, page int32, size int32, total int32, items []Dinosaur) *DinosaurList
NewDinosaurList instantiates a new DinosaurList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDinosaurListWithDefaults ¶
func NewDinosaurListWithDefaults() *DinosaurList
NewDinosaurListWithDefaults instantiates a new DinosaurList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DinosaurList) GetItems ¶
func (o *DinosaurList) GetItems() []Dinosaur
GetItems returns the Items field value
func (*DinosaurList) GetItemsOk ¶
func (o *DinosaurList) GetItemsOk() ([]Dinosaur, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*DinosaurList) GetKind ¶
func (o *DinosaurList) GetKind() string
GetKind returns the Kind field value
func (*DinosaurList) GetKindOk ¶
func (o *DinosaurList) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*DinosaurList) GetPage ¶
func (o *DinosaurList) GetPage() int32
GetPage returns the Page field value
func (*DinosaurList) GetPageOk ¶
func (o *DinosaurList) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*DinosaurList) GetSize ¶
func (o *DinosaurList) GetSize() int32
GetSize returns the Size field value
func (*DinosaurList) GetSizeOk ¶
func (o *DinosaurList) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*DinosaurList) GetTotal ¶
func (o *DinosaurList) GetTotal() int32
GetTotal returns the Total field value
func (*DinosaurList) GetTotalOk ¶
func (o *DinosaurList) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (DinosaurList) MarshalJSON ¶
func (o DinosaurList) MarshalJSON() ([]byte, error)
func (*DinosaurList) SetItems ¶
func (o *DinosaurList) SetItems(v []Dinosaur)
SetItems sets field value
func (DinosaurList) ToMap ¶
func (o DinosaurList) ToMap() (map[string]interface{}, error)
type DinosaurListAllOf ¶
type DinosaurListAllOf struct {
Items []Dinosaur `json:"items,omitempty"`
}
DinosaurListAllOf struct for DinosaurListAllOf
func NewDinosaurListAllOf ¶
func NewDinosaurListAllOf() *DinosaurListAllOf
NewDinosaurListAllOf instantiates a new DinosaurListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDinosaurListAllOfWithDefaults ¶
func NewDinosaurListAllOfWithDefaults() *DinosaurListAllOf
NewDinosaurListAllOfWithDefaults instantiates a new DinosaurListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DinosaurListAllOf) GetItems ¶
func (o *DinosaurListAllOf) GetItems() []Dinosaur
GetItems returns the Items field value if set, zero value otherwise.
func (*DinosaurListAllOf) GetItemsOk ¶
func (o *DinosaurListAllOf) GetItemsOk() ([]Dinosaur, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DinosaurListAllOf) HasItems ¶
func (o *DinosaurListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (DinosaurListAllOf) MarshalJSON ¶
func (o DinosaurListAllOf) MarshalJSON() ([]byte, error)
func (*DinosaurListAllOf) SetItems ¶
func (o *DinosaurListAllOf) SetItems(v []Dinosaur)
SetItems gets a reference to the given []Dinosaur and assigns it to the Items field.
func (DinosaurListAllOf) ToMap ¶
func (o DinosaurListAllOf) ToMap() (map[string]interface{}, error)
type DinosaurPatchRequest ¶
type DinosaurPatchRequest struct {
Species *string `json:"species,omitempty"`
}
DinosaurPatchRequest struct for DinosaurPatchRequest
func NewDinosaurPatchRequest ¶
func NewDinosaurPatchRequest() *DinosaurPatchRequest
NewDinosaurPatchRequest instantiates a new DinosaurPatchRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDinosaurPatchRequestWithDefaults ¶
func NewDinosaurPatchRequestWithDefaults() *DinosaurPatchRequest
NewDinosaurPatchRequestWithDefaults instantiates a new DinosaurPatchRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DinosaurPatchRequest) GetSpecies ¶
func (o *DinosaurPatchRequest) GetSpecies() string
GetSpecies returns the Species field value if set, zero value otherwise.
func (*DinosaurPatchRequest) GetSpeciesOk ¶
func (o *DinosaurPatchRequest) GetSpeciesOk() (*string, bool)
GetSpeciesOk returns a tuple with the Species field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DinosaurPatchRequest) HasSpecies ¶
func (o *DinosaurPatchRequest) HasSpecies() bool
HasSpecies returns a boolean if a field has been set.
func (DinosaurPatchRequest) MarshalJSON ¶
func (o DinosaurPatchRequest) MarshalJSON() ([]byte, error)
func (*DinosaurPatchRequest) SetSpecies ¶
func (o *DinosaurPatchRequest) SetSpecies(v string)
SetSpecies gets a reference to the given string and assigns it to the Species field.
func (DinosaurPatchRequest) ToMap ¶
func (o DinosaurPatchRequest) ToMap() (map[string]interface{}, error)
type Error ¶
type Error struct {
Id *string `json:"id,omitempty"`
Kind *string `json:"kind,omitempty"`
Href *string `json:"href,omitempty"`
Code *string `json:"code,omitempty"`
Reason *string `json:"reason,omitempty"`
OperationId *string `json:"operation_id,omitempty"`
}
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetHrefOk ¶
GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetOperationId ¶
GetOperationId returns the OperationId field value if set, zero value otherwise.
func (*Error) GetOperationIdOk ¶
GetOperationIdOk returns a tuple with the OperationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetReasonOk ¶
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasOperationId ¶
HasOperationId returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Error) SetHref ¶
SetHref gets a reference to the given string and assigns it to the Href field.
func (*Error) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Error) SetOperationId ¶
SetOperationId gets a reference to the given string and assigns it to the OperationId field.
type ErrorAllOf ¶
type ErrorAllOf struct {
Code *string `json:"code,omitempty"`
Reason *string `json:"reason,omitempty"`
OperationId *string `json:"operation_id,omitempty"`
}
ErrorAllOf struct for ErrorAllOf
func NewErrorAllOf ¶
func NewErrorAllOf() *ErrorAllOf
NewErrorAllOf instantiates a new ErrorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorAllOfWithDefaults ¶
func NewErrorAllOfWithDefaults() *ErrorAllOf
NewErrorAllOfWithDefaults instantiates a new ErrorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorAllOf) GetCode ¶
func (o *ErrorAllOf) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorAllOf) GetCodeOk ¶
func (o *ErrorAllOf) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorAllOf) GetOperationId ¶
func (o *ErrorAllOf) GetOperationId() string
GetOperationId returns the OperationId field value if set, zero value otherwise.
func (*ErrorAllOf) GetOperationIdOk ¶
func (o *ErrorAllOf) GetOperationIdOk() (*string, bool)
GetOperationIdOk returns a tuple with the OperationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorAllOf) GetReason ¶
func (o *ErrorAllOf) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ErrorAllOf) GetReasonOk ¶
func (o *ErrorAllOf) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorAllOf) HasCode ¶
func (o *ErrorAllOf) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorAllOf) HasOperationId ¶
func (o *ErrorAllOf) HasOperationId() bool
HasOperationId returns a boolean if a field has been set.
func (*ErrorAllOf) HasReason ¶
func (o *ErrorAllOf) HasReason() bool
HasReason returns a boolean if a field has been set.
func (ErrorAllOf) MarshalJSON ¶
func (o ErrorAllOf) MarshalJSON() ([]byte, error)
func (*ErrorAllOf) SetCode ¶
func (o *ErrorAllOf) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*ErrorAllOf) SetOperationId ¶
func (o *ErrorAllOf) SetOperationId(v string)
SetOperationId gets a reference to the given string and assigns it to the OperationId field.
func (*ErrorAllOf) SetReason ¶
func (o *ErrorAllOf) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (ErrorAllOf) ToMap ¶
func (o ErrorAllOf) ToMap() (map[string]interface{}, error)
type ErrorList ¶
type ErrorList struct {
Kind string `json:"kind"`
Page int32 `json:"page"`
Size int32 `json:"size"`
Total int32 `json:"total"`
Items []Error `json:"items"`
}
ErrorList struct for ErrorList
func NewErrorList ¶
NewErrorList instantiates a new ErrorList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorListWithDefaults ¶
func NewErrorListWithDefaults() *ErrorList
NewErrorListWithDefaults instantiates a new ErrorList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorList) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ErrorList) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*ErrorList) GetPageOk ¶
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*ErrorList) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*ErrorList) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ErrorList) MarshalJSON ¶
type ErrorListAllOf ¶
type ErrorListAllOf struct {
Items []Error `json:"items,omitempty"`
}
ErrorListAllOf struct for ErrorListAllOf
func NewErrorListAllOf ¶
func NewErrorListAllOf() *ErrorListAllOf
NewErrorListAllOf instantiates a new ErrorListAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorListAllOfWithDefaults ¶
func NewErrorListAllOfWithDefaults() *ErrorListAllOf
NewErrorListAllOfWithDefaults instantiates a new ErrorListAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorListAllOf) GetItems ¶
func (o *ErrorListAllOf) GetItems() []Error
GetItems returns the Items field value if set, zero value otherwise.
func (*ErrorListAllOf) GetItemsOk ¶
func (o *ErrorListAllOf) GetItemsOk() ([]Error, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorListAllOf) HasItems ¶
func (o *ErrorListAllOf) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ErrorListAllOf) MarshalJSON ¶
func (o ErrorListAllOf) MarshalJSON() ([]byte, error)
func (*ErrorListAllOf) SetItems ¶
func (o *ErrorListAllOf) SetItems(v []Error)
SetItems gets a reference to the given []Error and assigns it to the Items field.
func (ErrorListAllOf) ToMap ¶
func (o ErrorListAllOf) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type List ¶
type List struct {
Kind string `json:"kind"`
Page int32 `json:"page"`
Size int32 `json:"size"`
Total int32 `json:"total"`
}
List struct for List
func NewList ¶
NewList instantiates a new List object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListWithDefaults ¶
func NewListWithDefaults() *List
NewListWithDefaults instantiates a new List object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*List) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*List) GetPageOk ¶
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*List) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*List) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (List) MarshalJSON ¶
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableDinosaur ¶
type NullableDinosaur struct {
// contains filtered or unexported fields
}
func NewNullableDinosaur ¶
func NewNullableDinosaur(val *Dinosaur) *NullableDinosaur
func (NullableDinosaur) Get ¶
func (v NullableDinosaur) Get() *Dinosaur
func (NullableDinosaur) IsSet ¶
func (v NullableDinosaur) IsSet() bool
func (NullableDinosaur) MarshalJSON ¶
func (v NullableDinosaur) MarshalJSON() ([]byte, error)
func (*NullableDinosaur) Set ¶
func (v *NullableDinosaur) Set(val *Dinosaur)
func (*NullableDinosaur) UnmarshalJSON ¶
func (v *NullableDinosaur) UnmarshalJSON(src []byte) error
func (*NullableDinosaur) Unset ¶
func (v *NullableDinosaur) Unset()
type NullableDinosaurAllOf ¶
type NullableDinosaurAllOf struct {
// contains filtered or unexported fields
}
func NewNullableDinosaurAllOf ¶
func NewNullableDinosaurAllOf(val *DinosaurAllOf) *NullableDinosaurAllOf
func (NullableDinosaurAllOf) Get ¶
func (v NullableDinosaurAllOf) Get() *DinosaurAllOf
func (NullableDinosaurAllOf) IsSet ¶
func (v NullableDinosaurAllOf) IsSet() bool
func (NullableDinosaurAllOf) MarshalJSON ¶
func (v NullableDinosaurAllOf) MarshalJSON() ([]byte, error)
func (*NullableDinosaurAllOf) Set ¶
func (v *NullableDinosaurAllOf) Set(val *DinosaurAllOf)
func (*NullableDinosaurAllOf) UnmarshalJSON ¶
func (v *NullableDinosaurAllOf) UnmarshalJSON(src []byte) error
func (*NullableDinosaurAllOf) Unset ¶
func (v *NullableDinosaurAllOf) Unset()
type NullableDinosaurList ¶
type NullableDinosaurList struct {
// contains filtered or unexported fields
}
func NewNullableDinosaurList ¶
func NewNullableDinosaurList(val *DinosaurList) *NullableDinosaurList
func (NullableDinosaurList) Get ¶
func (v NullableDinosaurList) Get() *DinosaurList
func (NullableDinosaurList) IsSet ¶
func (v NullableDinosaurList) IsSet() bool
func (NullableDinosaurList) MarshalJSON ¶
func (v NullableDinosaurList) MarshalJSON() ([]byte, error)
func (*NullableDinosaurList) Set ¶
func (v *NullableDinosaurList) Set(val *DinosaurList)
func (*NullableDinosaurList) UnmarshalJSON ¶
func (v *NullableDinosaurList) UnmarshalJSON(src []byte) error
func (*NullableDinosaurList) Unset ¶
func (v *NullableDinosaurList) Unset()
type NullableDinosaurListAllOf ¶
type NullableDinosaurListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableDinosaurListAllOf ¶
func NewNullableDinosaurListAllOf(val *DinosaurListAllOf) *NullableDinosaurListAllOf
func (NullableDinosaurListAllOf) Get ¶
func (v NullableDinosaurListAllOf) Get() *DinosaurListAllOf
func (NullableDinosaurListAllOf) IsSet ¶
func (v NullableDinosaurListAllOf) IsSet() bool
func (NullableDinosaurListAllOf) MarshalJSON ¶
func (v NullableDinosaurListAllOf) MarshalJSON() ([]byte, error)
func (*NullableDinosaurListAllOf) Set ¶
func (v *NullableDinosaurListAllOf) Set(val *DinosaurListAllOf)
func (*NullableDinosaurListAllOf) UnmarshalJSON ¶
func (v *NullableDinosaurListAllOf) UnmarshalJSON(src []byte) error
func (*NullableDinosaurListAllOf) Unset ¶
func (v *NullableDinosaurListAllOf) Unset()
type NullableDinosaurPatchRequest ¶
type NullableDinosaurPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableDinosaurPatchRequest ¶
func NewNullableDinosaurPatchRequest(val *DinosaurPatchRequest) *NullableDinosaurPatchRequest
func (NullableDinosaurPatchRequest) Get ¶
func (v NullableDinosaurPatchRequest) Get() *DinosaurPatchRequest
func (NullableDinosaurPatchRequest) IsSet ¶
func (v NullableDinosaurPatchRequest) IsSet() bool
func (NullableDinosaurPatchRequest) MarshalJSON ¶
func (v NullableDinosaurPatchRequest) MarshalJSON() ([]byte, error)
func (*NullableDinosaurPatchRequest) Set ¶
func (v *NullableDinosaurPatchRequest) Set(val *DinosaurPatchRequest)
func (*NullableDinosaurPatchRequest) UnmarshalJSON ¶
func (v *NullableDinosaurPatchRequest) UnmarshalJSON(src []byte) error
func (*NullableDinosaurPatchRequest) Unset ¶
func (v *NullableDinosaurPatchRequest) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorAllOf ¶
type NullableErrorAllOf struct {
// contains filtered or unexported fields
}
func NewNullableErrorAllOf ¶
func NewNullableErrorAllOf(val *ErrorAllOf) *NullableErrorAllOf
func (NullableErrorAllOf) Get ¶
func (v NullableErrorAllOf) Get() *ErrorAllOf
func (NullableErrorAllOf) IsSet ¶
func (v NullableErrorAllOf) IsSet() bool
func (NullableErrorAllOf) MarshalJSON ¶
func (v NullableErrorAllOf) MarshalJSON() ([]byte, error)
func (*NullableErrorAllOf) Set ¶
func (v *NullableErrorAllOf) Set(val *ErrorAllOf)
func (*NullableErrorAllOf) UnmarshalJSON ¶
func (v *NullableErrorAllOf) UnmarshalJSON(src []byte) error
func (*NullableErrorAllOf) Unset ¶
func (v *NullableErrorAllOf) Unset()
type NullableErrorList ¶
type NullableErrorList struct {
// contains filtered or unexported fields
}
func NewNullableErrorList ¶
func NewNullableErrorList(val *ErrorList) *NullableErrorList
func (NullableErrorList) Get ¶
func (v NullableErrorList) Get() *ErrorList
func (NullableErrorList) IsSet ¶
func (v NullableErrorList) IsSet() bool
func (NullableErrorList) MarshalJSON ¶
func (v NullableErrorList) MarshalJSON() ([]byte, error)
func (*NullableErrorList) Set ¶
func (v *NullableErrorList) Set(val *ErrorList)
func (*NullableErrorList) UnmarshalJSON ¶
func (v *NullableErrorList) UnmarshalJSON(src []byte) error
func (*NullableErrorList) Unset ¶
func (v *NullableErrorList) Unset()
type NullableErrorListAllOf ¶
type NullableErrorListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableErrorListAllOf ¶
func NewNullableErrorListAllOf(val *ErrorListAllOf) *NullableErrorListAllOf
func (NullableErrorListAllOf) Get ¶
func (v NullableErrorListAllOf) Get() *ErrorListAllOf
func (NullableErrorListAllOf) IsSet ¶
func (v NullableErrorListAllOf) IsSet() bool
func (NullableErrorListAllOf) MarshalJSON ¶
func (v NullableErrorListAllOf) MarshalJSON() ([]byte, error)
func (*NullableErrorListAllOf) Set ¶
func (v *NullableErrorListAllOf) Set(val *ErrorListAllOf)
func (*NullableErrorListAllOf) UnmarshalJSON ¶
func (v *NullableErrorListAllOf) UnmarshalJSON(src []byte) error
func (*NullableErrorListAllOf) Unset ¶
func (v *NullableErrorListAllOf) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableList ¶
type NullableList struct {
// contains filtered or unexported fields
}
func NewNullableList ¶
func NewNullableList(val *List) *NullableList
func (NullableList) Get ¶
func (v NullableList) Get() *List
func (NullableList) IsSet ¶
func (v NullableList) IsSet() bool
func (NullableList) MarshalJSON ¶
func (v NullableList) MarshalJSON() ([]byte, error)
func (*NullableList) Set ¶
func (v *NullableList) Set(val *List)
func (*NullableList) UnmarshalJSON ¶
func (v *NullableList) UnmarshalJSON(src []byte) error
func (*NullableList) Unset ¶
func (v *NullableList) Unset()
type NullableObjectReference ¶
type NullableObjectReference struct {
// contains filtered or unexported fields
}
func NewNullableObjectReference ¶
func NewNullableObjectReference(val *ObjectReference) *NullableObjectReference
func (NullableObjectReference) Get ¶
func (v NullableObjectReference) Get() *ObjectReference
func (NullableObjectReference) IsSet ¶
func (v NullableObjectReference) IsSet() bool
func (NullableObjectReference) MarshalJSON ¶
func (v NullableObjectReference) MarshalJSON() ([]byte, error)
func (*NullableObjectReference) Set ¶
func (v *NullableObjectReference) Set(val *ObjectReference)
func (*NullableObjectReference) UnmarshalJSON ¶
func (v *NullableObjectReference) UnmarshalJSON(src []byte) error
func (*NullableObjectReference) Unset ¶
func (v *NullableObjectReference) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ObjectReference ¶
type ObjectReference struct {
Id *string `json:"id,omitempty"`
Kind *string `json:"kind,omitempty"`
Href *string `json:"href,omitempty"`
}
ObjectReference struct for ObjectReference
func NewObjectReference ¶
func NewObjectReference() *ObjectReference
NewObjectReference instantiates a new ObjectReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectReferenceWithDefaults ¶
func NewObjectReferenceWithDefaults() *ObjectReference
NewObjectReferenceWithDefaults instantiates a new ObjectReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectReference) GetHref ¶
func (o *ObjectReference) GetHref() string
GetHref returns the Href field value if set, zero value otherwise.
func (*ObjectReference) GetHrefOk ¶
func (o *ObjectReference) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectReference) GetId ¶
func (o *ObjectReference) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ObjectReference) GetIdOk ¶
func (o *ObjectReference) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectReference) GetKind ¶
func (o *ObjectReference) GetKind() string
GetKind returns the Kind field value if set, zero value otherwise.
func (*ObjectReference) GetKindOk ¶
func (o *ObjectReference) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectReference) HasHref ¶
func (o *ObjectReference) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ObjectReference) HasId ¶
func (o *ObjectReference) HasId() bool
HasId returns a boolean if a field has been set.
func (*ObjectReference) HasKind ¶
func (o *ObjectReference) HasKind() bool
HasKind returns a boolean if a field has been set.
func (ObjectReference) MarshalJSON ¶
func (o ObjectReference) MarshalJSON() ([]byte, error)
func (*ObjectReference) SetHref ¶
func (o *ObjectReference) SetHref(v string)
SetHref gets a reference to the given string and assigns it to the Href field.
func (*ObjectReference) SetId ¶
func (o *ObjectReference) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ObjectReference) SetKind ¶
func (o *ObjectReference) SetKind(v string)
SetKind gets a reference to the given string and assigns it to the Kind field.
func (ObjectReference) ToMap ¶
func (o ObjectReference) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable