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 ApiApiRhTrexAiV1DinosaursGetRequest
- func (r ApiApiRhTrexAiV1DinosaursGetRequest) Execute() (*DinosaurList, *http.Response, error)
- func (r ApiApiRhTrexAiV1DinosaursGetRequest) Fields(fields string) ApiApiRhTrexAiV1DinosaursGetRequest
- func (r ApiApiRhTrexAiV1DinosaursGetRequest) OrderBy(orderBy string) ApiApiRhTrexAiV1DinosaursGetRequest
- func (r ApiApiRhTrexAiV1DinosaursGetRequest) Page(page int32) ApiApiRhTrexAiV1DinosaursGetRequest
- func (r ApiApiRhTrexAiV1DinosaursGetRequest) Search(search string) ApiApiRhTrexAiV1DinosaursGetRequest
- func (r ApiApiRhTrexAiV1DinosaursGetRequest) Size(size int32) ApiApiRhTrexAiV1DinosaursGetRequest
- type ApiApiRhTrexAiV1DinosaursIdGetRequest
- type ApiApiRhTrexAiV1DinosaursIdPatchRequest
- type ApiApiRhTrexAiV1DinosaursPostRequest
- type ApiApiRhTrexAiV1FossilsGetRequest
- func (r ApiApiRhTrexAiV1FossilsGetRequest) Execute() (*FossilList, *http.Response, error)
- func (r ApiApiRhTrexAiV1FossilsGetRequest) Fields(fields string) ApiApiRhTrexAiV1FossilsGetRequest
- func (r ApiApiRhTrexAiV1FossilsGetRequest) OrderBy(orderBy string) ApiApiRhTrexAiV1FossilsGetRequest
- func (r ApiApiRhTrexAiV1FossilsGetRequest) Page(page int32) ApiApiRhTrexAiV1FossilsGetRequest
- func (r ApiApiRhTrexAiV1FossilsGetRequest) Search(search string) ApiApiRhTrexAiV1FossilsGetRequest
- func (r ApiApiRhTrexAiV1FossilsGetRequest) Size(size int32) ApiApiRhTrexAiV1FossilsGetRequest
- type ApiApiRhTrexAiV1FossilsIdGetRequest
- type ApiApiRhTrexAiV1FossilsIdPatchRequest
- type ApiApiRhTrexAiV1FossilsPostRequest
- type ApiApiRhTrexAiV1ScientistsGetRequest
- func (r ApiApiRhTrexAiV1ScientistsGetRequest) Execute() (*ScientistList, *http.Response, error)
- func (r ApiApiRhTrexAiV1ScientistsGetRequest) Fields(fields string) ApiApiRhTrexAiV1ScientistsGetRequest
- func (r ApiApiRhTrexAiV1ScientistsGetRequest) OrderBy(orderBy string) ApiApiRhTrexAiV1ScientistsGetRequest
- func (r ApiApiRhTrexAiV1ScientistsGetRequest) Page(page int32) ApiApiRhTrexAiV1ScientistsGetRequest
- func (r ApiApiRhTrexAiV1ScientistsGetRequest) Search(search string) ApiApiRhTrexAiV1ScientistsGetRequest
- func (r ApiApiRhTrexAiV1ScientistsGetRequest) Size(size int32) ApiApiRhTrexAiV1ScientistsGetRequest
- type ApiApiRhTrexAiV1ScientistsIdGetRequest
- type ApiApiRhTrexAiV1ScientistsIdPatchRequest
- type ApiApiRhTrexAiV1ScientistsPostRequest
- type BasicAuth
- type Configuration
- type DefaultAPIService
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursGet(ctx context.Context) ApiApiRhTrexAiV1DinosaursGetRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursGetExecute(r ApiApiRhTrexAiV1DinosaursGetRequest) (*DinosaurList, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdGet(ctx context.Context, id string) ApiApiRhTrexAiV1DinosaursIdGetRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdGetExecute(r ApiApiRhTrexAiV1DinosaursIdGetRequest) (*Dinosaur, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdPatch(ctx context.Context, id string) ApiApiRhTrexAiV1DinosaursIdPatchRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdPatchExecute(r ApiApiRhTrexAiV1DinosaursIdPatchRequest) (*Dinosaur, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursPost(ctx context.Context) ApiApiRhTrexAiV1DinosaursPostRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursPostExecute(r ApiApiRhTrexAiV1DinosaursPostRequest) (*Dinosaur, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsGet(ctx context.Context) ApiApiRhTrexAiV1FossilsGetRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsGetExecute(r ApiApiRhTrexAiV1FossilsGetRequest) (*FossilList, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdGet(ctx context.Context, id string) ApiApiRhTrexAiV1FossilsIdGetRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdGetExecute(r ApiApiRhTrexAiV1FossilsIdGetRequest) (*Fossil, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdPatch(ctx context.Context, id string) ApiApiRhTrexAiV1FossilsIdPatchRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdPatchExecute(r ApiApiRhTrexAiV1FossilsIdPatchRequest) (*Fossil, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsPost(ctx context.Context) ApiApiRhTrexAiV1FossilsPostRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1FossilsPostExecute(r ApiApiRhTrexAiV1FossilsPostRequest) (*Fossil, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsGet(ctx context.Context) ApiApiRhTrexAiV1ScientistsGetRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsGetExecute(r ApiApiRhTrexAiV1ScientistsGetRequest) (*ScientistList, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdGet(ctx context.Context, id string) ApiApiRhTrexAiV1ScientistsIdGetRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdGetExecute(r ApiApiRhTrexAiV1ScientistsIdGetRequest) (*Scientist, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdPatch(ctx context.Context, id string) ApiApiRhTrexAiV1ScientistsIdPatchRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdPatchExecute(r ApiApiRhTrexAiV1ScientistsIdPatchRequest) (*Scientist, *http.Response, error)
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsPost(ctx context.Context) ApiApiRhTrexAiV1ScientistsPostRequest
- func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsPostExecute(r ApiApiRhTrexAiV1ScientistsPostRequest) (*Scientist, *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) 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)
- func (o *Dinosaur) UnmarshalJSON(data []byte) (err 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)
- func (o *DinosaurList) UnmarshalJSON(data []byte) (err 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) GetCreatedAt() time.Time
- func (o *Error) GetCreatedAtOk() (*time.Time, 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) GetUpdatedAt() time.Time
- func (o *Error) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Error) HasCode() bool
- func (o *Error) HasCreatedAt() 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) HasUpdatedAt() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v string)
- func (o *Error) SetCreatedAt(v time.Time)
- 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) SetUpdatedAt(v time.Time)
- func (o Error) ToMap() (map[string]interface{}, error)
- type Fossil
- func (o *Fossil) GetCreatedAt() time.Time
- func (o *Fossil) GetCreatedAtOk() (*time.Time, bool)
- func (o *Fossil) GetDiscoveryLocation() string
- func (o *Fossil) GetDiscoveryLocationOk() (*string, bool)
- func (o *Fossil) GetEstimatedAge() int32
- func (o *Fossil) GetEstimatedAgeOk() (*int32, bool)
- func (o *Fossil) GetExcavatorName() string
- func (o *Fossil) GetExcavatorNameOk() (*string, bool)
- func (o *Fossil) GetFossilType() string
- func (o *Fossil) GetFossilTypeOk() (*string, bool)
- func (o *Fossil) GetHref() string
- func (o *Fossil) GetHrefOk() (*string, bool)
- func (o *Fossil) GetId() string
- func (o *Fossil) GetIdOk() (*string, bool)
- func (o *Fossil) GetKind() string
- func (o *Fossil) GetKindOk() (*string, bool)
- func (o *Fossil) GetUpdatedAt() time.Time
- func (o *Fossil) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Fossil) HasCreatedAt() bool
- func (o *Fossil) HasEstimatedAge() bool
- func (o *Fossil) HasExcavatorName() bool
- func (o *Fossil) HasFossilType() bool
- func (o *Fossil) HasHref() bool
- func (o *Fossil) HasId() bool
- func (o *Fossil) HasKind() bool
- func (o *Fossil) HasUpdatedAt() bool
- func (o Fossil) MarshalJSON() ([]byte, error)
- func (o *Fossil) SetCreatedAt(v time.Time)
- func (o *Fossil) SetDiscoveryLocation(v string)
- func (o *Fossil) SetEstimatedAge(v int32)
- func (o *Fossil) SetExcavatorName(v string)
- func (o *Fossil) SetFossilType(v string)
- func (o *Fossil) SetHref(v string)
- func (o *Fossil) SetId(v string)
- func (o *Fossil) SetKind(v string)
- func (o *Fossil) SetUpdatedAt(v time.Time)
- func (o Fossil) ToMap() (map[string]interface{}, error)
- func (o *Fossil) UnmarshalJSON(data []byte) (err error)
- type FossilList
- func (o *FossilList) GetItems() []Fossil
- func (o *FossilList) GetItemsOk() ([]Fossil, bool)
- func (o *FossilList) GetKind() string
- func (o *FossilList) GetKindOk() (*string, bool)
- func (o *FossilList) GetPage() int32
- func (o *FossilList) GetPageOk() (*int32, bool)
- func (o *FossilList) GetSize() int32
- func (o *FossilList) GetSizeOk() (*int32, bool)
- func (o *FossilList) GetTotal() int32
- func (o *FossilList) GetTotalOk() (*int32, bool)
- func (o FossilList) MarshalJSON() ([]byte, error)
- func (o *FossilList) SetItems(v []Fossil)
- func (o *FossilList) SetKind(v string)
- func (o *FossilList) SetPage(v int32)
- func (o *FossilList) SetSize(v int32)
- func (o *FossilList) SetTotal(v int32)
- func (o FossilList) ToMap() (map[string]interface{}, error)
- func (o *FossilList) UnmarshalJSON(data []byte) (err error)
- type FossilPatchRequest
- func (o *FossilPatchRequest) GetDiscoveryLocation() string
- func (o *FossilPatchRequest) GetDiscoveryLocationOk() (*string, bool)
- func (o *FossilPatchRequest) GetEstimatedAge() int32
- func (o *FossilPatchRequest) GetEstimatedAgeOk() (*int32, bool)
- func (o *FossilPatchRequest) GetExcavatorName() string
- func (o *FossilPatchRequest) GetExcavatorNameOk() (*string, bool)
- func (o *FossilPatchRequest) GetFossilType() string
- func (o *FossilPatchRequest) GetFossilTypeOk() (*string, bool)
- func (o *FossilPatchRequest) HasDiscoveryLocation() bool
- func (o *FossilPatchRequest) HasEstimatedAge() bool
- func (o *FossilPatchRequest) HasExcavatorName() bool
- func (o *FossilPatchRequest) HasFossilType() bool
- func (o FossilPatchRequest) MarshalJSON() ([]byte, error)
- func (o *FossilPatchRequest) SetDiscoveryLocation(v string)
- func (o *FossilPatchRequest) SetEstimatedAge(v int32)
- func (o *FossilPatchRequest) SetExcavatorName(v string)
- func (o *FossilPatchRequest) SetFossilType(v string)
- func (o FossilPatchRequest) 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)
- func (o *List) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBool
- type NullableDinosaur
- 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 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 NullableFloat32
- type NullableFloat64
- type NullableFossil
- type NullableFossilList
- type NullableFossilPatchRequest
- func (v NullableFossilPatchRequest) Get() *FossilPatchRequest
- func (v NullableFossilPatchRequest) IsSet() bool
- func (v NullableFossilPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFossilPatchRequest) Set(val *FossilPatchRequest)
- func (v *NullableFossilPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFossilPatchRequest) Unset()
- 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 NullableScientist
- type NullableScientistList
- func (v NullableScientistList) Get() *ScientistList
- func (v NullableScientistList) IsSet() bool
- func (v NullableScientistList) MarshalJSON() ([]byte, error)
- func (v *NullableScientistList) Set(val *ScientistList)
- func (v *NullableScientistList) UnmarshalJSON(src []byte) error
- func (v *NullableScientistList) Unset()
- type NullableScientistPatchRequest
- func (v NullableScientistPatchRequest) Get() *ScientistPatchRequest
- func (v NullableScientistPatchRequest) IsSet() bool
- func (v NullableScientistPatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableScientistPatchRequest) Set(val *ScientistPatchRequest)
- func (v *NullableScientistPatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableScientistPatchRequest) Unset()
- type NullableString
- type NullableTime
- type ObjectReference
- func (o *ObjectReference) GetCreatedAt() time.Time
- func (o *ObjectReference) GetCreatedAtOk() (*time.Time, bool)
- 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) GetUpdatedAt() time.Time
- func (o *ObjectReference) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ObjectReference) HasCreatedAt() bool
- func (o *ObjectReference) HasHref() bool
- func (o *ObjectReference) HasId() bool
- func (o *ObjectReference) HasKind() bool
- func (o *ObjectReference) HasUpdatedAt() bool
- func (o ObjectReference) MarshalJSON() ([]byte, error)
- func (o *ObjectReference) SetCreatedAt(v time.Time)
- func (o *ObjectReference) SetHref(v string)
- func (o *ObjectReference) SetId(v string)
- func (o *ObjectReference) SetKind(v string)
- func (o *ObjectReference) SetUpdatedAt(v time.Time)
- func (o ObjectReference) ToMap() (map[string]interface{}, error)
- type Scientist
- func (o *Scientist) GetCreatedAt() time.Time
- func (o *Scientist) GetCreatedAtOk() (*time.Time, bool)
- func (o *Scientist) GetField() string
- func (o *Scientist) GetFieldOk() (*string, bool)
- func (o *Scientist) GetHref() string
- func (o *Scientist) GetHrefOk() (*string, bool)
- func (o *Scientist) GetId() string
- func (o *Scientist) GetIdOk() (*string, bool)
- func (o *Scientist) GetKind() string
- func (o *Scientist) GetKindOk() (*string, bool)
- func (o *Scientist) GetName() string
- func (o *Scientist) GetNameOk() (*string, bool)
- func (o *Scientist) GetUpdatedAt() time.Time
- func (o *Scientist) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Scientist) HasCreatedAt() bool
- func (o *Scientist) HasHref() bool
- func (o *Scientist) HasId() bool
- func (o *Scientist) HasKind() bool
- func (o *Scientist) HasUpdatedAt() bool
- func (o Scientist) MarshalJSON() ([]byte, error)
- func (o *Scientist) SetCreatedAt(v time.Time)
- func (o *Scientist) SetField(v string)
- func (o *Scientist) SetHref(v string)
- func (o *Scientist) SetId(v string)
- func (o *Scientist) SetKind(v string)
- func (o *Scientist) SetName(v string)
- func (o *Scientist) SetUpdatedAt(v time.Time)
- func (o Scientist) ToMap() (map[string]interface{}, error)
- func (o *Scientist) UnmarshalJSON(data []byte) (err error)
- type ScientistList
- func (o *ScientistList) GetItems() []Scientist
- func (o *ScientistList) GetItemsOk() ([]Scientist, bool)
- func (o *ScientistList) GetKind() string
- func (o *ScientistList) GetKindOk() (*string, bool)
- func (o *ScientistList) GetPage() int32
- func (o *ScientistList) GetPageOk() (*int32, bool)
- func (o *ScientistList) GetSize() int32
- func (o *ScientistList) GetSizeOk() (*int32, bool)
- func (o *ScientistList) GetTotal() int32
- func (o *ScientistList) GetTotalOk() (*int32, bool)
- func (o ScientistList) MarshalJSON() ([]byte, error)
- func (o *ScientistList) SetItems(v []Scientist)
- func (o *ScientistList) SetKind(v string)
- func (o *ScientistList) SetPage(v int32)
- func (o *ScientistList) SetSize(v int32)
- func (o *ScientistList) SetTotal(v int32)
- func (o ScientistList) ToMap() (map[string]interface{}, error)
- func (o *ScientistList) UnmarshalJSON(data []byte) (err error)
- type ScientistPatchRequest
- func (o *ScientistPatchRequest) GetField() string
- func (o *ScientistPatchRequest) GetFieldOk() (*string, bool)
- func (o *ScientistPatchRequest) GetName() string
- func (o *ScientistPatchRequest) GetNameOk() (*string, bool)
- func (o *ScientistPatchRequest) HasField() bool
- func (o *ScientistPatchRequest) HasName() bool
- func (o ScientistPatchRequest) MarshalJSON() ([]byte, error)
- func (o *ScientistPatchRequest) SetField(v string)
- func (o *ScientistPatchRequest) SetName(v string)
- func (o ScientistPatchRequest) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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-ai Service 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 ApiApiRhTrexAiV1DinosaursGetRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1DinosaursGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1DinosaursGetRequest) Execute ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursGetRequest) Execute() (*DinosaurList, *http.Response, error)
func (ApiApiRhTrexAiV1DinosaursGetRequest) Fields ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursGetRequest) Fields(fields string) ApiApiRhTrexAiV1DinosaursGetRequest
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) ``` curl '/api/v1/subscriptions?fields=id,href,plan.id,plan.kind,labels.*&fetchLabels=true' ```
func (ApiApiRhTrexAiV1DinosaursGetRequest) OrderBy ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursGetRequest) OrderBy(orderBy string) ApiApiRhTrexAiV1DinosaursGetRequest
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 (ApiApiRhTrexAiV1DinosaursGetRequest) Page ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursGetRequest) Page(page int32) ApiApiRhTrexAiV1DinosaursGetRequest
Page number of record list when record list exceeds specified page size
func (ApiApiRhTrexAiV1DinosaursGetRequest) Search ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursGetRequest) Search(search string) ApiApiRhTrexAiV1DinosaursGetRequest
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 (ApiApiRhTrexAiV1DinosaursGetRequest) Size ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursGetRequest) Size(size int32) ApiApiRhTrexAiV1DinosaursGetRequest
Maximum number of records to return
type ApiApiRhTrexAiV1DinosaursIdGetRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1DinosaursIdGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
type ApiApiRhTrexAiV1DinosaursIdPatchRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1DinosaursIdPatchRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1DinosaursIdPatchRequest) DinosaurPatchRequest ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursIdPatchRequest) DinosaurPatchRequest(dinosaurPatchRequest DinosaurPatchRequest) ApiApiRhTrexAiV1DinosaursIdPatchRequest
Updated dinosaur data
type ApiApiRhTrexAiV1DinosaursPostRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1DinosaursPostRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1DinosaursPostRequest) Dinosaur ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1DinosaursPostRequest) Dinosaur(dinosaur Dinosaur) ApiApiRhTrexAiV1DinosaursPostRequest
Dinosaur data
type ApiApiRhTrexAiV1FossilsGetRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1FossilsGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1FossilsGetRequest) Execute ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsGetRequest) Execute() (*FossilList, *http.Response, error)
func (ApiApiRhTrexAiV1FossilsGetRequest) Fields ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsGetRequest) Fields(fields string) ApiApiRhTrexAiV1FossilsGetRequest
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) ``` curl '/api/v1/subscriptions?fields=id,href,plan.id,plan.kind,labels.*&fetchLabels=true' ```
func (ApiApiRhTrexAiV1FossilsGetRequest) OrderBy ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsGetRequest) OrderBy(orderBy string) ApiApiRhTrexAiV1FossilsGetRequest
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 (ApiApiRhTrexAiV1FossilsGetRequest) Page ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsGetRequest) Page(page int32) ApiApiRhTrexAiV1FossilsGetRequest
Page number of record list when record list exceeds specified page size
func (ApiApiRhTrexAiV1FossilsGetRequest) Search ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsGetRequest) Search(search string) ApiApiRhTrexAiV1FossilsGetRequest
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 (ApiApiRhTrexAiV1FossilsGetRequest) Size ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsGetRequest) Size(size int32) ApiApiRhTrexAiV1FossilsGetRequest
Maximum number of records to return
type ApiApiRhTrexAiV1FossilsIdGetRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1FossilsIdGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
type ApiApiRhTrexAiV1FossilsIdPatchRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1FossilsIdPatchRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1FossilsIdPatchRequest) Execute ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsIdPatchRequest) Execute() (*Fossil, *http.Response, error)
func (ApiApiRhTrexAiV1FossilsIdPatchRequest) FossilPatchRequest ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsIdPatchRequest) FossilPatchRequest(fossilPatchRequest FossilPatchRequest) ApiApiRhTrexAiV1FossilsIdPatchRequest
Updated fossil data
type ApiApiRhTrexAiV1FossilsPostRequest ¶ added in v0.0.2
type ApiApiRhTrexAiV1FossilsPostRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1FossilsPostRequest) Execute ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsPostRequest) Execute() (*Fossil, *http.Response, error)
func (ApiApiRhTrexAiV1FossilsPostRequest) Fossil ¶ added in v0.0.2
func (r ApiApiRhTrexAiV1FossilsPostRequest) Fossil(fossil Fossil) ApiApiRhTrexAiV1FossilsPostRequest
Fossil data
type ApiApiRhTrexAiV1ScientistsGetRequest ¶ added in v0.0.5
type ApiApiRhTrexAiV1ScientistsGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1ScientistsGetRequest) Execute ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsGetRequest) Execute() (*ScientistList, *http.Response, error)
func (ApiApiRhTrexAiV1ScientistsGetRequest) Fields ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsGetRequest) Fields(fields string) ApiApiRhTrexAiV1ScientistsGetRequest
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) ``` curl '/api/v1/subscriptions?fields=id,href,plan.id,plan.kind,labels.*&fetchLabels=true' ```
func (ApiApiRhTrexAiV1ScientistsGetRequest) OrderBy ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsGetRequest) OrderBy(orderBy string) ApiApiRhTrexAiV1ScientistsGetRequest
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 (ApiApiRhTrexAiV1ScientistsGetRequest) Page ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsGetRequest) Page(page int32) ApiApiRhTrexAiV1ScientistsGetRequest
Page number of record list when record list exceeds specified page size
func (ApiApiRhTrexAiV1ScientistsGetRequest) Search ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsGetRequest) Search(search string) ApiApiRhTrexAiV1ScientistsGetRequest
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 (ApiApiRhTrexAiV1ScientistsGetRequest) Size ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsGetRequest) Size(size int32) ApiApiRhTrexAiV1ScientistsGetRequest
Maximum number of records to return
type ApiApiRhTrexAiV1ScientistsIdGetRequest ¶ added in v0.0.5
type ApiApiRhTrexAiV1ScientistsIdGetRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
type ApiApiRhTrexAiV1ScientistsIdPatchRequest ¶ added in v0.0.5
type ApiApiRhTrexAiV1ScientistsIdPatchRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1ScientistsIdPatchRequest) Execute ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsIdPatchRequest) Execute() (*Scientist, *http.Response, error)
func (ApiApiRhTrexAiV1ScientistsIdPatchRequest) ScientistPatchRequest ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsIdPatchRequest) ScientistPatchRequest(scientistPatchRequest ScientistPatchRequest) ApiApiRhTrexAiV1ScientistsIdPatchRequest
Updated scientist data
type ApiApiRhTrexAiV1ScientistsPostRequest ¶ added in v0.0.5
type ApiApiRhTrexAiV1ScientistsPostRequest struct {
ApiService *DefaultAPIService
// contains filtered or unexported fields
}
func (ApiApiRhTrexAiV1ScientistsPostRequest) Execute ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsPostRequest) Execute() (*Scientist, *http.Response, error)
func (ApiApiRhTrexAiV1ScientistsPostRequest) Scientist ¶ added in v0.0.5
func (r ApiApiRhTrexAiV1ScientistsPostRequest) Scientist(scientist Scientist) ApiApiRhTrexAiV1ScientistsPostRequest
Scientist 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) ApiRhTrexAiV1DinosaursGet ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursGet(ctx context.Context) ApiApiRhTrexAiV1DinosaursGetRequest
ApiRhTrexAiV1DinosaursGet Returns a list of dinosaurs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexAiV1DinosaursGetRequest
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursGetExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursGetExecute(r ApiApiRhTrexAiV1DinosaursGetRequest) (*DinosaurList, *http.Response, error)
Execute executes the request
@return DinosaurList
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursIdGet ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdGet(ctx context.Context, id string) ApiApiRhTrexAiV1DinosaursIdGetRequest
ApiRhTrexAiV1DinosaursIdGet 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 ApiApiRhTrexAiV1DinosaursIdGetRequest
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursIdGetExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdGetExecute(r ApiApiRhTrexAiV1DinosaursIdGetRequest) (*Dinosaur, *http.Response, error)
Execute executes the request
@return Dinosaur
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursIdPatch ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdPatch(ctx context.Context, id string) ApiApiRhTrexAiV1DinosaursIdPatchRequest
ApiRhTrexAiV1DinosaursIdPatch 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 ApiApiRhTrexAiV1DinosaursIdPatchRequest
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursIdPatchExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursIdPatchExecute(r ApiApiRhTrexAiV1DinosaursIdPatchRequest) (*Dinosaur, *http.Response, error)
Execute executes the request
@return Dinosaur
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursPost ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursPost(ctx context.Context) ApiApiRhTrexAiV1DinosaursPostRequest
ApiRhTrexAiV1DinosaursPost Create a new dinosaur
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexAiV1DinosaursPostRequest
func (*DefaultAPIService) ApiRhTrexAiV1DinosaursPostExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1DinosaursPostExecute(r ApiApiRhTrexAiV1DinosaursPostRequest) (*Dinosaur, *http.Response, error)
Execute executes the request
@return Dinosaur
func (*DefaultAPIService) ApiRhTrexAiV1FossilsGet ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsGet(ctx context.Context) ApiApiRhTrexAiV1FossilsGetRequest
ApiRhTrexAiV1FossilsGet Returns a list of fossils
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexAiV1FossilsGetRequest
func (*DefaultAPIService) ApiRhTrexAiV1FossilsGetExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsGetExecute(r ApiApiRhTrexAiV1FossilsGetRequest) (*FossilList, *http.Response, error)
Execute executes the request
@return FossilList
func (*DefaultAPIService) ApiRhTrexAiV1FossilsIdGet ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdGet(ctx context.Context, id string) ApiApiRhTrexAiV1FossilsIdGetRequest
ApiRhTrexAiV1FossilsIdGet Get an fossil 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 ApiApiRhTrexAiV1FossilsIdGetRequest
func (*DefaultAPIService) ApiRhTrexAiV1FossilsIdGetExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdGetExecute(r ApiApiRhTrexAiV1FossilsIdGetRequest) (*Fossil, *http.Response, error)
Execute executes the request
@return Fossil
func (*DefaultAPIService) ApiRhTrexAiV1FossilsIdPatch ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdPatch(ctx context.Context, id string) ApiApiRhTrexAiV1FossilsIdPatchRequest
ApiRhTrexAiV1FossilsIdPatch Update an fossil
@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 ApiApiRhTrexAiV1FossilsIdPatchRequest
func (*DefaultAPIService) ApiRhTrexAiV1FossilsIdPatchExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsIdPatchExecute(r ApiApiRhTrexAiV1FossilsIdPatchRequest) (*Fossil, *http.Response, error)
Execute executes the request
@return Fossil
func (*DefaultAPIService) ApiRhTrexAiV1FossilsPost ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsPost(ctx context.Context) ApiApiRhTrexAiV1FossilsPostRequest
ApiRhTrexAiV1FossilsPost Create a new fossil
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexAiV1FossilsPostRequest
func (*DefaultAPIService) ApiRhTrexAiV1FossilsPostExecute ¶ added in v0.0.2
func (a *DefaultAPIService) ApiRhTrexAiV1FossilsPostExecute(r ApiApiRhTrexAiV1FossilsPostRequest) (*Fossil, *http.Response, error)
Execute executes the request
@return Fossil
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsGet ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsGet(ctx context.Context) ApiApiRhTrexAiV1ScientistsGetRequest
ApiRhTrexAiV1ScientistsGet Returns a list of scientists
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexAiV1ScientistsGetRequest
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsGetExecute ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsGetExecute(r ApiApiRhTrexAiV1ScientistsGetRequest) (*ScientistList, *http.Response, error)
Execute executes the request
@return ScientistList
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsIdGet ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdGet(ctx context.Context, id string) ApiApiRhTrexAiV1ScientistsIdGetRequest
ApiRhTrexAiV1ScientistsIdGet Get an scientist 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 ApiApiRhTrexAiV1ScientistsIdGetRequest
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsIdGetExecute ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdGetExecute(r ApiApiRhTrexAiV1ScientistsIdGetRequest) (*Scientist, *http.Response, error)
Execute executes the request
@return Scientist
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsIdPatch ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdPatch(ctx context.Context, id string) ApiApiRhTrexAiV1ScientistsIdPatchRequest
ApiRhTrexAiV1ScientistsIdPatch Update an scientist
@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 ApiApiRhTrexAiV1ScientistsIdPatchRequest
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsIdPatchExecute ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsIdPatchExecute(r ApiApiRhTrexAiV1ScientistsIdPatchRequest) (*Scientist, *http.Response, error)
Execute executes the request
@return Scientist
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsPost ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsPost(ctx context.Context) ApiApiRhTrexAiV1ScientistsPostRequest
ApiRhTrexAiV1ScientistsPost Create a new scientist
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiRhTrexAiV1ScientistsPostRequest
func (*DefaultAPIService) ApiRhTrexAiV1ScientistsPostExecute ¶ added in v0.0.5
func (a *DefaultAPIService) ApiRhTrexAiV1ScientistsPostExecute(r ApiApiRhTrexAiV1ScientistsPostRequest) (*Scientist, *http.Response, error)
Execute executes the request
@return Scientist
type Dinosaur ¶
type Dinosaur struct {
Id *string `json:"id,omitempty"`
Kind *string `json:"kind,omitempty"`
Href *string `json:"href,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Species string `json:"species"`
}
Dinosaur struct for Dinosaur
func NewDinosaur ¶
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
func (*Dinosaur) GetSpeciesOk ¶
GetSpeciesOk returns a tuple with the Species field value 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) 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) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Dinosaur) UnmarshalJSON ¶
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)
func (*DinosaurList) UnmarshalJSON ¶
func (o *DinosaurList) UnmarshalJSON(data []byte) (err 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"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,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) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Error) 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 (*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) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Error) 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 (*Error) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Error) HasOperationId ¶
HasOperationId returns a boolean if a field has been set.
func (*Error) HasUpdatedAt ¶
HasUpdatedAt 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) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt 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.
func (*Error) SetReason ¶
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*Error) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type Fossil ¶ added in v0.0.2
type Fossil struct {
Id *string `json:"id,omitempty"`
Kind *string `json:"kind,omitempty"`
Href *string `json:"href,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
DiscoveryLocation string `json:"discovery_location"`
EstimatedAge *int32 `json:"estimated_age,omitempty"`
FossilType *string `json:"fossil_type,omitempty"`
ExcavatorName *string `json:"excavator_name,omitempty"`
}
Fossil struct for Fossil
func NewFossil ¶ added in v0.0.2
NewFossil instantiates a new Fossil 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 NewFossilWithDefaults ¶ added in v0.0.2
func NewFossilWithDefaults() *Fossil
NewFossilWithDefaults instantiates a new Fossil 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 (*Fossil) GetCreatedAt ¶ added in v0.0.2
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Fossil) GetCreatedAtOk ¶ added in v0.0.2
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 (*Fossil) GetDiscoveryLocation ¶ added in v0.0.2
GetDiscoveryLocation returns the DiscoveryLocation field value
func (*Fossil) GetDiscoveryLocationOk ¶ added in v0.0.2
GetDiscoveryLocationOk returns a tuple with the DiscoveryLocation field value and a boolean to check if the value has been set.
func (*Fossil) GetEstimatedAge ¶ added in v0.0.2
GetEstimatedAge returns the EstimatedAge field value if set, zero value otherwise.
func (*Fossil) GetEstimatedAgeOk ¶ added in v0.0.2
GetEstimatedAgeOk returns a tuple with the EstimatedAge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fossil) GetExcavatorName ¶ added in v0.0.2
GetExcavatorName returns the ExcavatorName field value if set, zero value otherwise.
func (*Fossil) GetExcavatorNameOk ¶ added in v0.0.2
GetExcavatorNameOk returns a tuple with the ExcavatorName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fossil) GetFossilType ¶ added in v0.0.2
GetFossilType returns the FossilType field value if set, zero value otherwise.
func (*Fossil) GetFossilTypeOk ¶ added in v0.0.2
GetFossilTypeOk returns a tuple with the FossilType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fossil) GetHref ¶ added in v0.0.2
GetHref returns the Href field value if set, zero value otherwise.
func (*Fossil) GetHrefOk ¶ added in v0.0.2
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 (*Fossil) GetId ¶ added in v0.0.2
GetId returns the Id field value if set, zero value otherwise.
func (*Fossil) GetIdOk ¶ added in v0.0.2
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 (*Fossil) GetKind ¶ added in v0.0.2
GetKind returns the Kind field value if set, zero value otherwise.
func (*Fossil) GetKindOk ¶ added in v0.0.2
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 (*Fossil) GetUpdatedAt ¶ added in v0.0.2
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Fossil) GetUpdatedAtOk ¶ added in v0.0.2
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 (*Fossil) HasCreatedAt ¶ added in v0.0.2
HasCreatedAt returns a boolean if a field has been set.
func (*Fossil) HasEstimatedAge ¶ added in v0.0.2
HasEstimatedAge returns a boolean if a field has been set.
func (*Fossil) HasExcavatorName ¶ added in v0.0.2
HasExcavatorName returns a boolean if a field has been set.
func (*Fossil) HasFossilType ¶ added in v0.0.2
HasFossilType returns a boolean if a field has been set.
func (*Fossil) HasUpdatedAt ¶ added in v0.0.2
HasUpdatedAt returns a boolean if a field has been set.
func (Fossil) MarshalJSON ¶ added in v0.0.2
func (*Fossil) SetCreatedAt ¶ added in v0.0.2
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Fossil) SetDiscoveryLocation ¶ added in v0.0.2
SetDiscoveryLocation sets field value
func (*Fossil) SetEstimatedAge ¶ added in v0.0.2
SetEstimatedAge gets a reference to the given int32 and assigns it to the EstimatedAge field.
func (*Fossil) SetExcavatorName ¶ added in v0.0.2
SetExcavatorName gets a reference to the given string and assigns it to the ExcavatorName field.
func (*Fossil) SetFossilType ¶ added in v0.0.2
SetFossilType gets a reference to the given string and assigns it to the FossilType field.
func (*Fossil) SetHref ¶ added in v0.0.2
SetHref gets a reference to the given string and assigns it to the Href field.
func (*Fossil) SetId ¶ added in v0.0.2
SetId gets a reference to the given string and assigns it to the Id field.
func (*Fossil) SetKind ¶ added in v0.0.2
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Fossil) SetUpdatedAt ¶ added in v0.0.2
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Fossil) UnmarshalJSON ¶ added in v0.0.2
type FossilList ¶ added in v0.0.2
type FossilList struct {
Kind string `json:"kind"`
Page int32 `json:"page"`
Size int32 `json:"size"`
Total int32 `json:"total"`
Items []Fossil `json:"items"`
}
FossilList struct for FossilList
func NewFossilList ¶ added in v0.0.2
NewFossilList instantiates a new FossilList 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 NewFossilListWithDefaults ¶ added in v0.0.2
func NewFossilListWithDefaults() *FossilList
NewFossilListWithDefaults instantiates a new FossilList 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 (*FossilList) GetItems ¶ added in v0.0.2
func (o *FossilList) GetItems() []Fossil
GetItems returns the Items field value
func (*FossilList) GetItemsOk ¶ added in v0.0.2
func (o *FossilList) GetItemsOk() ([]Fossil, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*FossilList) GetKind ¶ added in v0.0.2
func (o *FossilList) GetKind() string
GetKind returns the Kind field value
func (*FossilList) GetKindOk ¶ added in v0.0.2
func (o *FossilList) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*FossilList) GetPage ¶ added in v0.0.2
func (o *FossilList) GetPage() int32
GetPage returns the Page field value
func (*FossilList) GetPageOk ¶ added in v0.0.2
func (o *FossilList) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*FossilList) GetSize ¶ added in v0.0.2
func (o *FossilList) GetSize() int32
GetSize returns the Size field value
func (*FossilList) GetSizeOk ¶ added in v0.0.2
func (o *FossilList) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*FossilList) GetTotal ¶ added in v0.0.2
func (o *FossilList) GetTotal() int32
GetTotal returns the Total field value
func (*FossilList) GetTotalOk ¶ added in v0.0.2
func (o *FossilList) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (FossilList) MarshalJSON ¶ added in v0.0.2
func (o FossilList) MarshalJSON() ([]byte, error)
func (*FossilList) SetItems ¶ added in v0.0.2
func (o *FossilList) SetItems(v []Fossil)
SetItems sets field value
func (*FossilList) SetKind ¶ added in v0.0.2
func (o *FossilList) SetKind(v string)
SetKind sets field value
func (*FossilList) SetPage ¶ added in v0.0.2
func (o *FossilList) SetPage(v int32)
SetPage sets field value
func (*FossilList) SetSize ¶ added in v0.0.2
func (o *FossilList) SetSize(v int32)
SetSize sets field value
func (*FossilList) SetTotal ¶ added in v0.0.2
func (o *FossilList) SetTotal(v int32)
SetTotal sets field value
func (FossilList) ToMap ¶ added in v0.0.2
func (o FossilList) ToMap() (map[string]interface{}, error)
func (*FossilList) UnmarshalJSON ¶ added in v0.0.2
func (o *FossilList) UnmarshalJSON(data []byte) (err error)
type FossilPatchRequest ¶ added in v0.0.2
type FossilPatchRequest struct {
DiscoveryLocation *string `json:"discovery_location,omitempty"`
EstimatedAge *int32 `json:"estimated_age,omitempty"`
FossilType *string `json:"fossil_type,omitempty"`
ExcavatorName *string `json:"excavator_name,omitempty"`
}
FossilPatchRequest struct for FossilPatchRequest
func NewFossilPatchRequest ¶ added in v0.0.2
func NewFossilPatchRequest() *FossilPatchRequest
NewFossilPatchRequest instantiates a new FossilPatchRequest 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 NewFossilPatchRequestWithDefaults ¶ added in v0.0.2
func NewFossilPatchRequestWithDefaults() *FossilPatchRequest
NewFossilPatchRequestWithDefaults instantiates a new FossilPatchRequest 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 (*FossilPatchRequest) GetDiscoveryLocation ¶ added in v0.0.2
func (o *FossilPatchRequest) GetDiscoveryLocation() string
GetDiscoveryLocation returns the DiscoveryLocation field value if set, zero value otherwise.
func (*FossilPatchRequest) GetDiscoveryLocationOk ¶ added in v0.0.2
func (o *FossilPatchRequest) GetDiscoveryLocationOk() (*string, bool)
GetDiscoveryLocationOk returns a tuple with the DiscoveryLocation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FossilPatchRequest) GetEstimatedAge ¶ added in v0.0.2
func (o *FossilPatchRequest) GetEstimatedAge() int32
GetEstimatedAge returns the EstimatedAge field value if set, zero value otherwise.
func (*FossilPatchRequest) GetEstimatedAgeOk ¶ added in v0.0.2
func (o *FossilPatchRequest) GetEstimatedAgeOk() (*int32, bool)
GetEstimatedAgeOk returns a tuple with the EstimatedAge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FossilPatchRequest) GetExcavatorName ¶ added in v0.0.2
func (o *FossilPatchRequest) GetExcavatorName() string
GetExcavatorName returns the ExcavatorName field value if set, zero value otherwise.
func (*FossilPatchRequest) GetExcavatorNameOk ¶ added in v0.0.2
func (o *FossilPatchRequest) GetExcavatorNameOk() (*string, bool)
GetExcavatorNameOk returns a tuple with the ExcavatorName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FossilPatchRequest) GetFossilType ¶ added in v0.0.2
func (o *FossilPatchRequest) GetFossilType() string
GetFossilType returns the FossilType field value if set, zero value otherwise.
func (*FossilPatchRequest) GetFossilTypeOk ¶ added in v0.0.2
func (o *FossilPatchRequest) GetFossilTypeOk() (*string, bool)
GetFossilTypeOk returns a tuple with the FossilType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FossilPatchRequest) HasDiscoveryLocation ¶ added in v0.0.2
func (o *FossilPatchRequest) HasDiscoveryLocation() bool
HasDiscoveryLocation returns a boolean if a field has been set.
func (*FossilPatchRequest) HasEstimatedAge ¶ added in v0.0.2
func (o *FossilPatchRequest) HasEstimatedAge() bool
HasEstimatedAge returns a boolean if a field has been set.
func (*FossilPatchRequest) HasExcavatorName ¶ added in v0.0.2
func (o *FossilPatchRequest) HasExcavatorName() bool
HasExcavatorName returns a boolean if a field has been set.
func (*FossilPatchRequest) HasFossilType ¶ added in v0.0.2
func (o *FossilPatchRequest) HasFossilType() bool
HasFossilType returns a boolean if a field has been set.
func (FossilPatchRequest) MarshalJSON ¶ added in v0.0.2
func (o FossilPatchRequest) MarshalJSON() ([]byte, error)
func (*FossilPatchRequest) SetDiscoveryLocation ¶ added in v0.0.2
func (o *FossilPatchRequest) SetDiscoveryLocation(v string)
SetDiscoveryLocation gets a reference to the given string and assigns it to the DiscoveryLocation field.
func (*FossilPatchRequest) SetEstimatedAge ¶ added in v0.0.2
func (o *FossilPatchRequest) SetEstimatedAge(v int32)
SetEstimatedAge gets a reference to the given int32 and assigns it to the EstimatedAge field.
func (*FossilPatchRequest) SetExcavatorName ¶ added in v0.0.2
func (o *FossilPatchRequest) SetExcavatorName(v string)
SetExcavatorName gets a reference to the given string and assigns it to the ExcavatorName field.
func (*FossilPatchRequest) SetFossilType ¶ added in v0.0.2
func (o *FossilPatchRequest) SetFossilType(v string)
SetFossilType gets a reference to the given string and assigns it to the FossilType field.
func (FossilPatchRequest) ToMap ¶ added in v0.0.2
func (o FossilPatchRequest) 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 ¶
func (*List) UnmarshalJSON ¶
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 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 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 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 NullableFossil ¶ added in v0.0.2
type NullableFossil struct {
// contains filtered or unexported fields
}
func NewNullableFossil ¶ added in v0.0.2
func NewNullableFossil(val *Fossil) *NullableFossil
func (NullableFossil) Get ¶ added in v0.0.2
func (v NullableFossil) Get() *Fossil
func (NullableFossil) IsSet ¶ added in v0.0.2
func (v NullableFossil) IsSet() bool
func (NullableFossil) MarshalJSON ¶ added in v0.0.2
func (v NullableFossil) MarshalJSON() ([]byte, error)
func (*NullableFossil) Set ¶ added in v0.0.2
func (v *NullableFossil) Set(val *Fossil)
func (*NullableFossil) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableFossil) UnmarshalJSON(src []byte) error
func (*NullableFossil) Unset ¶ added in v0.0.2
func (v *NullableFossil) Unset()
type NullableFossilList ¶ added in v0.0.2
type NullableFossilList struct {
// contains filtered or unexported fields
}
func NewNullableFossilList ¶ added in v0.0.2
func NewNullableFossilList(val *FossilList) *NullableFossilList
func (NullableFossilList) Get ¶ added in v0.0.2
func (v NullableFossilList) Get() *FossilList
func (NullableFossilList) IsSet ¶ added in v0.0.2
func (v NullableFossilList) IsSet() bool
func (NullableFossilList) MarshalJSON ¶ added in v0.0.2
func (v NullableFossilList) MarshalJSON() ([]byte, error)
func (*NullableFossilList) Set ¶ added in v0.0.2
func (v *NullableFossilList) Set(val *FossilList)
func (*NullableFossilList) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableFossilList) UnmarshalJSON(src []byte) error
func (*NullableFossilList) Unset ¶ added in v0.0.2
func (v *NullableFossilList) Unset()
type NullableFossilPatchRequest ¶ added in v0.0.2
type NullableFossilPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableFossilPatchRequest ¶ added in v0.0.2
func NewNullableFossilPatchRequest(val *FossilPatchRequest) *NullableFossilPatchRequest
func (NullableFossilPatchRequest) Get ¶ added in v0.0.2
func (v NullableFossilPatchRequest) Get() *FossilPatchRequest
func (NullableFossilPatchRequest) IsSet ¶ added in v0.0.2
func (v NullableFossilPatchRequest) IsSet() bool
func (NullableFossilPatchRequest) MarshalJSON ¶ added in v0.0.2
func (v NullableFossilPatchRequest) MarshalJSON() ([]byte, error)
func (*NullableFossilPatchRequest) Set ¶ added in v0.0.2
func (v *NullableFossilPatchRequest) Set(val *FossilPatchRequest)
func (*NullableFossilPatchRequest) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableFossilPatchRequest) UnmarshalJSON(src []byte) error
func (*NullableFossilPatchRequest) Unset ¶ added in v0.0.2
func (v *NullableFossilPatchRequest) 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 NullableScientist ¶ added in v0.0.5
type NullableScientist struct {
// contains filtered or unexported fields
}
func NewNullableScientist ¶ added in v0.0.5
func NewNullableScientist(val *Scientist) *NullableScientist
func (NullableScientist) Get ¶ added in v0.0.5
func (v NullableScientist) Get() *Scientist
func (NullableScientist) IsSet ¶ added in v0.0.5
func (v NullableScientist) IsSet() bool
func (NullableScientist) MarshalJSON ¶ added in v0.0.5
func (v NullableScientist) MarshalJSON() ([]byte, error)
func (*NullableScientist) Set ¶ added in v0.0.5
func (v *NullableScientist) Set(val *Scientist)
func (*NullableScientist) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableScientist) UnmarshalJSON(src []byte) error
func (*NullableScientist) Unset ¶ added in v0.0.5
func (v *NullableScientist) Unset()
type NullableScientistList ¶ added in v0.0.5
type NullableScientistList struct {
// contains filtered or unexported fields
}
func NewNullableScientistList ¶ added in v0.0.5
func NewNullableScientistList(val *ScientistList) *NullableScientistList
func (NullableScientistList) Get ¶ added in v0.0.5
func (v NullableScientistList) Get() *ScientistList
func (NullableScientistList) IsSet ¶ added in v0.0.5
func (v NullableScientistList) IsSet() bool
func (NullableScientistList) MarshalJSON ¶ added in v0.0.5
func (v NullableScientistList) MarshalJSON() ([]byte, error)
func (*NullableScientistList) Set ¶ added in v0.0.5
func (v *NullableScientistList) Set(val *ScientistList)
func (*NullableScientistList) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableScientistList) UnmarshalJSON(src []byte) error
func (*NullableScientistList) Unset ¶ added in v0.0.5
func (v *NullableScientistList) Unset()
type NullableScientistPatchRequest ¶ added in v0.0.5
type NullableScientistPatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableScientistPatchRequest ¶ added in v0.0.5
func NewNullableScientistPatchRequest(val *ScientistPatchRequest) *NullableScientistPatchRequest
func (NullableScientistPatchRequest) Get ¶ added in v0.0.5
func (v NullableScientistPatchRequest) Get() *ScientistPatchRequest
func (NullableScientistPatchRequest) IsSet ¶ added in v0.0.5
func (v NullableScientistPatchRequest) IsSet() bool
func (NullableScientistPatchRequest) MarshalJSON ¶ added in v0.0.5
func (v NullableScientistPatchRequest) MarshalJSON() ([]byte, error)
func (*NullableScientistPatchRequest) Set ¶ added in v0.0.5
func (v *NullableScientistPatchRequest) Set(val *ScientistPatchRequest)
func (*NullableScientistPatchRequest) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableScientistPatchRequest) UnmarshalJSON(src []byte) error
func (*NullableScientistPatchRequest) Unset ¶ added in v0.0.5
func (v *NullableScientistPatchRequest) 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"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,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) GetCreatedAt ¶
func (o *ObjectReference) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ObjectReference) GetCreatedAtOk ¶
func (o *ObjectReference) 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 (*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) GetUpdatedAt ¶
func (o *ObjectReference) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ObjectReference) GetUpdatedAtOk ¶
func (o *ObjectReference) 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 (*ObjectReference) HasCreatedAt ¶
func (o *ObjectReference) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field 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) HasUpdatedAt ¶
func (o *ObjectReference) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ObjectReference) MarshalJSON ¶
func (o ObjectReference) MarshalJSON() ([]byte, error)
func (*ObjectReference) SetCreatedAt ¶
func (o *ObjectReference) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
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) SetUpdatedAt ¶
func (o *ObjectReference) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (ObjectReference) ToMap ¶
func (o ObjectReference) ToMap() (map[string]interface{}, error)
type Scientist ¶ added in v0.0.5
type Scientist struct {
Id *string `json:"id,omitempty"`
Kind *string `json:"kind,omitempty"`
Href *string `json:"href,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Name string `json:"name"`
Field string `json:"field"`
}
Scientist struct for Scientist
func NewScientist ¶ added in v0.0.5
NewScientist instantiates a new Scientist 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 NewScientistWithDefaults ¶ added in v0.0.5
func NewScientistWithDefaults() *Scientist
NewScientistWithDefaults instantiates a new Scientist 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 (*Scientist) GetCreatedAt ¶ added in v0.0.5
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Scientist) GetCreatedAtOk ¶ added in v0.0.5
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 (*Scientist) GetFieldOk ¶ added in v0.0.5
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*Scientist) GetHref ¶ added in v0.0.5
GetHref returns the Href field value if set, zero value otherwise.
func (*Scientist) GetHrefOk ¶ added in v0.0.5
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 (*Scientist) GetId ¶ added in v0.0.5
GetId returns the Id field value if set, zero value otherwise.
func (*Scientist) GetIdOk ¶ added in v0.0.5
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 (*Scientist) GetKind ¶ added in v0.0.5
GetKind returns the Kind field value if set, zero value otherwise.
func (*Scientist) GetKindOk ¶ added in v0.0.5
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 (*Scientist) GetNameOk ¶ added in v0.0.5
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Scientist) GetUpdatedAt ¶ added in v0.0.5
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Scientist) GetUpdatedAtOk ¶ added in v0.0.5
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 (*Scientist) HasCreatedAt ¶ added in v0.0.5
HasCreatedAt returns a boolean if a field has been set.
func (*Scientist) HasUpdatedAt ¶ added in v0.0.5
HasUpdatedAt returns a boolean if a field has been set.
func (Scientist) MarshalJSON ¶ added in v0.0.5
func (*Scientist) SetCreatedAt ¶ added in v0.0.5
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Scientist) SetHref ¶ added in v0.0.5
SetHref gets a reference to the given string and assigns it to the Href field.
func (*Scientist) SetId ¶ added in v0.0.5
SetId gets a reference to the given string and assigns it to the Id field.
func (*Scientist) SetKind ¶ added in v0.0.5
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Scientist) SetUpdatedAt ¶ added in v0.0.5
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Scientist) UnmarshalJSON ¶ added in v0.0.5
type ScientistList ¶ added in v0.0.5
type ScientistList struct {
Kind string `json:"kind"`
Page int32 `json:"page"`
Size int32 `json:"size"`
Total int32 `json:"total"`
Items []Scientist `json:"items"`
}
ScientistList struct for ScientistList
func NewScientistList ¶ added in v0.0.5
func NewScientistList(kind string, page int32, size int32, total int32, items []Scientist) *ScientistList
NewScientistList instantiates a new ScientistList 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 NewScientistListWithDefaults ¶ added in v0.0.5
func NewScientistListWithDefaults() *ScientistList
NewScientistListWithDefaults instantiates a new ScientistList 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 (*ScientistList) GetItems ¶ added in v0.0.5
func (o *ScientistList) GetItems() []Scientist
GetItems returns the Items field value
func (*ScientistList) GetItemsOk ¶ added in v0.0.5
func (o *ScientistList) GetItemsOk() ([]Scientist, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ScientistList) GetKind ¶ added in v0.0.5
func (o *ScientistList) GetKind() string
GetKind returns the Kind field value
func (*ScientistList) GetKindOk ¶ added in v0.0.5
func (o *ScientistList) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*ScientistList) GetPage ¶ added in v0.0.5
func (o *ScientistList) GetPage() int32
GetPage returns the Page field value
func (*ScientistList) GetPageOk ¶ added in v0.0.5
func (o *ScientistList) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*ScientistList) GetSize ¶ added in v0.0.5
func (o *ScientistList) GetSize() int32
GetSize returns the Size field value
func (*ScientistList) GetSizeOk ¶ added in v0.0.5
func (o *ScientistList) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*ScientistList) GetTotal ¶ added in v0.0.5
func (o *ScientistList) GetTotal() int32
GetTotal returns the Total field value
func (*ScientistList) GetTotalOk ¶ added in v0.0.5
func (o *ScientistList) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ScientistList) MarshalJSON ¶ added in v0.0.5
func (o ScientistList) MarshalJSON() ([]byte, error)
func (*ScientistList) SetItems ¶ added in v0.0.5
func (o *ScientistList) SetItems(v []Scientist)
SetItems sets field value
func (*ScientistList) SetKind ¶ added in v0.0.5
func (o *ScientistList) SetKind(v string)
SetKind sets field value
func (*ScientistList) SetPage ¶ added in v0.0.5
func (o *ScientistList) SetPage(v int32)
SetPage sets field value
func (*ScientistList) SetSize ¶ added in v0.0.5
func (o *ScientistList) SetSize(v int32)
SetSize sets field value
func (*ScientistList) SetTotal ¶ added in v0.0.5
func (o *ScientistList) SetTotal(v int32)
SetTotal sets field value
func (ScientistList) ToMap ¶ added in v0.0.5
func (o ScientistList) ToMap() (map[string]interface{}, error)
func (*ScientistList) UnmarshalJSON ¶ added in v0.0.5
func (o *ScientistList) UnmarshalJSON(data []byte) (err error)
type ScientistPatchRequest ¶ added in v0.0.5
type ScientistPatchRequest struct {
Name *string `json:"name,omitempty"`
Field *string `json:"field,omitempty"`
}
ScientistPatchRequest struct for ScientistPatchRequest
func NewScientistPatchRequest ¶ added in v0.0.5
func NewScientistPatchRequest() *ScientistPatchRequest
NewScientistPatchRequest instantiates a new ScientistPatchRequest 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 NewScientistPatchRequestWithDefaults ¶ added in v0.0.5
func NewScientistPatchRequestWithDefaults() *ScientistPatchRequest
NewScientistPatchRequestWithDefaults instantiates a new ScientistPatchRequest 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 (*ScientistPatchRequest) GetField ¶ added in v0.0.5
func (o *ScientistPatchRequest) GetField() string
GetField returns the Field field value if set, zero value otherwise.
func (*ScientistPatchRequest) GetFieldOk ¶ added in v0.0.5
func (o *ScientistPatchRequest) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScientistPatchRequest) GetName ¶ added in v0.0.5
func (o *ScientistPatchRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ScientistPatchRequest) GetNameOk ¶ added in v0.0.5
func (o *ScientistPatchRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScientistPatchRequest) HasField ¶ added in v0.0.5
func (o *ScientistPatchRequest) HasField() bool
HasField returns a boolean if a field has been set.
func (*ScientistPatchRequest) HasName ¶ added in v0.0.5
func (o *ScientistPatchRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (ScientistPatchRequest) MarshalJSON ¶ added in v0.0.5
func (o ScientistPatchRequest) MarshalJSON() ([]byte, error)
func (*ScientistPatchRequest) SetField ¶ added in v0.0.5
func (o *ScientistPatchRequest) SetField(v string)
SetField gets a reference to the given string and assigns it to the Field field.
func (*ScientistPatchRequest) SetName ¶ added in v0.0.5
func (o *ScientistPatchRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (ScientistPatchRequest) ToMap ¶ added in v0.0.5
func (o ScientistPatchRequest) 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
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_dinosaur.go
- model_dinosaur_list.go
- model_dinosaur_patch_request.go
- model_error.go
- model_fossil.go
- model_fossil_list.go
- model_fossil_patch_request.go
- model_list.go
- model_object_reference.go
- model_scientist.go
- model_scientist_list.go
- model_scientist_patch_request.go
- response.go
- utils.go