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 ApiArchiveVehicleRequest
- type ApiCreateTreeClusterRequest
- type ApiCreateTreeRequest
- type ApiCreateVehicleRequest
- type ApiCreateWateringPlanRequest
- type ApiDeleteSensorRequest
- type ApiDeleteTreeClusterRequest
- type ApiDeleteTreeRequest
- type ApiDeleteVehicleRequest
- type ApiDeleteWateringPlanRequest
- type ApiGetAllSensorDataByIdRequest
- type ApiGetAllSensorsRequest
- func (r ApiGetAllSensorsRequest) Execute() (*SensorList, *http.Response, error)
- func (r ApiGetAllSensorsRequest) Limit(limit int32) ApiGetAllSensorsRequest
- func (r ApiGetAllSensorsRequest) Page(page int32) ApiGetAllSensorsRequest
- func (r ApiGetAllSensorsRequest) Provider(provider string) ApiGetAllSensorsRequest
- type ApiGetAllTreeClustersRequest
- func (r ApiGetAllTreeClustersRequest) Execute() (*TreeClusterList, *http.Response, error)
- func (r ApiGetAllTreeClustersRequest) Limit(limit string) ApiGetAllTreeClustersRequest
- func (r ApiGetAllTreeClustersRequest) Page(page string) ApiGetAllTreeClustersRequest
- func (r ApiGetAllTreeClustersRequest) Provider(provider string) ApiGetAllTreeClustersRequest
- type ApiGetAllTreesRequest
- type ApiGetAllUsersRequest
- func (r ApiGetAllUsersRequest) Execute() (*UserList, *http.Response, error)
- func (r ApiGetAllUsersRequest) Limit(limit string) ApiGetAllUsersRequest
- func (r ApiGetAllUsersRequest) Limit2(limit2 string) ApiGetAllUsersRequest
- func (r ApiGetAllUsersRequest) Page(page string) ApiGetAllUsersRequest
- func (r ApiGetAllUsersRequest) UserIds(userIds string) ApiGetAllUsersRequest
- type ApiGetAllVehiclesRequest
- func (r ApiGetAllVehiclesRequest) Archived(archived bool) ApiGetAllVehiclesRequest
- func (r ApiGetAllVehiclesRequest) Execute() (*VehicleList, *http.Response, error)
- func (r ApiGetAllVehiclesRequest) Limit(limit int32) ApiGetAllVehiclesRequest
- func (r ApiGetAllVehiclesRequest) Page(page int32) ApiGetAllVehiclesRequest
- func (r ApiGetAllVehiclesRequest) Provider(provider string) ApiGetAllVehiclesRequest
- func (r ApiGetAllVehiclesRequest) Type_(type_ string) ApiGetAllVehiclesRequest
- type ApiGetAllWateringPlansRequest
- func (r ApiGetAllWateringPlansRequest) Execute() (*WateringPlanList, *http.Response, error)
- func (r ApiGetAllWateringPlansRequest) Limit(limit int32) ApiGetAllWateringPlansRequest
- func (r ApiGetAllWateringPlansRequest) Page(page int32) ApiGetAllWateringPlansRequest
- func (r ApiGetAllWateringPlansRequest) Provider(provider string) ApiGetAllWateringPlansRequest
- type ApiGetAppInfoRequest
- type ApiGetArchiveVehicleRequest
- type ApiGetPluginInfoRequest
- type ApiGetPluginsListRequest
- type ApiGetSensorByIdRequest
- type ApiGetTreeBySensorIdRequest
- type ApiGetTreeClusterByIdRequest
- type ApiGetTreesRequest
- type ApiGetUsersByRoleRequest
- type ApiGetVehicleByIdRequest
- type ApiGetVehicleByPlateRequest
- type ApiGetWateringPlanByIdRequest
- type ApiPluginHeartbeatRequest
- type ApiRefreshPluginTokenRequest
- type ApiRegisterPluginRequest
- type ApiUnregisterPluginRequest
- type ApiUpdateTreeClusterRequest
- type ApiUpdateTreeRequest
- type ApiUpdateVehicleRequest
- type ApiUpdateWateringPlanRequest
- type ApiV1RegionGetRequest
- type ApiV1RegionIdGetRequest
- type ApiV1UserLoginGetRequest
- type ApiV1UserLoginTokenPostRequest
- type ApiV1UserLogoutPostRequest
- type ApiV1UserPostRequest
- type ApiV1UserTokenRefreshPostRequest
- type ApiV1WateringPlanRouteGpxGpxNameGetRequest
- type ApiV1WateringPlanRoutePreviewPostRequest
- type AppInfo
- func (o *AppInfo) GetBuildTime() string
- func (o *AppInfo) GetBuildTimeOk() (*string, bool)
- func (o *AppInfo) GetGit() GitInfo
- func (o *AppInfo) GetGitOk() (*GitInfo, bool)
- func (o *AppInfo) GetGoVersion() string
- func (o *AppInfo) GetGoVersionOk() (*string, bool)
- func (o *AppInfo) GetMap() MapInfo
- func (o *AppInfo) GetMapOk() (*MapInfo, bool)
- func (o *AppInfo) GetServer() ServerInfo
- func (o *AppInfo) GetServerOk() (*ServerInfo, bool)
- func (o *AppInfo) GetVersion() string
- func (o *AppInfo) GetVersionOk() (*string, bool)
- func (o AppInfo) MarshalJSON() ([]byte, error)
- func (o *AppInfo) SetBuildTime(v string)
- func (o *AppInfo) SetGit(v GitInfo)
- func (o *AppInfo) SetGoVersion(v string)
- func (o *AppInfo) SetMap(v MapInfo)
- func (o *AppInfo) SetServer(v ServerInfo)
- func (o *AppInfo) SetVersion(v string)
- func (o AppInfo) ToMap() (map[string]interface{}, error)
- func (o *AppInfo) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type ClientToken
- func (o *ClientToken) GetAccessToken() string
- func (o *ClientToken) GetAccessTokenOk() (*string, bool)
- func (o *ClientToken) GetExpiresIn() int32
- func (o *ClientToken) GetExpiresInOk() (*int32, bool)
- func (o *ClientToken) GetExpiry() string
- func (o *ClientToken) GetExpiryOk() (*string, bool)
- func (o *ClientToken) GetIdToken() string
- func (o *ClientToken) GetIdTokenOk() (*string, bool)
- func (o *ClientToken) GetNotBeforePolicy() int32
- func (o *ClientToken) GetNotBeforePolicyOk() (*int32, bool)
- func (o *ClientToken) GetRefreshExpiresIn() int32
- func (o *ClientToken) GetRefreshExpiresInOk() (*int32, bool)
- func (o *ClientToken) GetRefreshToken() string
- func (o *ClientToken) GetRefreshTokenOk() (*string, bool)
- func (o *ClientToken) GetScope() string
- func (o *ClientToken) GetScopeOk() (*string, bool)
- func (o *ClientToken) GetSessionState() string
- func (o *ClientToken) GetSessionStateOk() (*string, bool)
- func (o *ClientToken) GetTokenType() string
- func (o *ClientToken) GetTokenTypeOk() (*string, bool)
- func (o ClientToken) MarshalJSON() ([]byte, error)
- func (o *ClientToken) SetAccessToken(v string)
- func (o *ClientToken) SetExpiresIn(v int32)
- func (o *ClientToken) SetExpiry(v string)
- func (o *ClientToken) SetIdToken(v string)
- func (o *ClientToken) SetNotBeforePolicy(v int32)
- func (o *ClientToken) SetRefreshExpiresIn(v int32)
- func (o *ClientToken) SetRefreshToken(v string)
- func (o *ClientToken) SetScope(v string)
- func (o *ClientToken) SetSessionState(v string)
- func (o *ClientToken) SetTokenType(v string)
- func (o ClientToken) ToMap() (map[string]interface{}, error)
- func (o *ClientToken) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type DrivingLicense
- type EvaluationValue
- func (o *EvaluationValue) GetConsumedWater() float32
- func (o *EvaluationValue) GetConsumedWaterOk() (*float32, bool)
- func (o *EvaluationValue) GetTreeClusterId() int32
- func (o *EvaluationValue) GetTreeClusterIdOk() (*int32, bool)
- func (o *EvaluationValue) GetWateringPlanId() int32
- func (o *EvaluationValue) GetWateringPlanIdOk() (*int32, bool)
- func (o EvaluationValue) MarshalJSON() ([]byte, error)
- func (o *EvaluationValue) SetConsumedWater(v float32)
- func (o *EvaluationValue) SetTreeClusterId(v int32)
- func (o *EvaluationValue) SetWateringPlanId(v int32)
- func (o EvaluationValue) ToMap() (map[string]interface{}, error)
- func (o *EvaluationValue) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GeoJSONLocation
- func (o *GeoJSONLocation) GetLatitude() float32
- func (o *GeoJSONLocation) GetLatitudeOk() (*float32, bool)
- func (o *GeoJSONLocation) GetLongitude() float32
- func (o *GeoJSONLocation) GetLongitudeOk() (*float32, bool)
- func (o GeoJSONLocation) MarshalJSON() ([]byte, error)
- func (o *GeoJSONLocation) SetLatitude(v float32)
- func (o *GeoJSONLocation) SetLongitude(v float32)
- func (o GeoJSONLocation) ToMap() (map[string]interface{}, error)
- func (o *GeoJSONLocation) UnmarshalJSON(data []byte) (err error)
- type GeoJSONMetadata
- func (o *GeoJSONMetadata) GetEndPoint() GeoJSONLocation
- func (o *GeoJSONMetadata) GetEndPointOk() (*GeoJSONLocation, bool)
- func (o *GeoJSONMetadata) GetStartPoint() GeoJSONLocation
- func (o *GeoJSONMetadata) GetStartPointOk() (*GeoJSONLocation, bool)
- func (o *GeoJSONMetadata) GetWateringPoint() GeoJSONLocation
- func (o *GeoJSONMetadata) GetWateringPointOk() (*GeoJSONLocation, bool)
- func (o GeoJSONMetadata) MarshalJSON() ([]byte, error)
- func (o *GeoJSONMetadata) SetEndPoint(v GeoJSONLocation)
- func (o *GeoJSONMetadata) SetStartPoint(v GeoJSONLocation)
- func (o *GeoJSONMetadata) SetWateringPoint(v GeoJSONLocation)
- func (o GeoJSONMetadata) ToMap() (map[string]interface{}, error)
- func (o *GeoJSONMetadata) UnmarshalJSON(data []byte) (err error)
- type GeoJson
- func (o *GeoJson) GetBbox() []float32
- func (o *GeoJson) GetBboxOk() ([]float32, bool)
- func (o *GeoJson) GetFeatures() []GeoJsonFeature
- func (o *GeoJson) GetFeaturesOk() ([]GeoJsonFeature, bool)
- func (o *GeoJson) GetMetadata() GeoJSONMetadata
- func (o *GeoJson) GetMetadataOk() (*GeoJSONMetadata, bool)
- func (o *GeoJson) GetType() GeoJsonType
- func (o *GeoJson) GetTypeOk() (*GeoJsonType, bool)
- func (o GeoJson) MarshalJSON() ([]byte, error)
- func (o *GeoJson) SetBbox(v []float32)
- func (o *GeoJson) SetFeatures(v []GeoJsonFeature)
- func (o *GeoJson) SetMetadata(v GeoJSONMetadata)
- func (o *GeoJson) SetType(v GeoJsonType)
- func (o GeoJson) ToMap() (map[string]interface{}, error)
- func (o *GeoJson) UnmarshalJSON(data []byte) (err error)
- type GeoJsonFeature
- func (o *GeoJsonFeature) GetBbox() []float32
- func (o *GeoJsonFeature) GetBboxOk() ([]float32, bool)
- func (o *GeoJsonFeature) GetGeometry() GeoJsonGeometry
- func (o *GeoJsonFeature) GetGeometryOk() (*GeoJsonGeometry, bool)
- func (o *GeoJsonFeature) GetProperties() map[string]map[string]interface{}
- func (o *GeoJsonFeature) GetPropertiesOk() (map[string]map[string]interface{}, bool)
- func (o *GeoJsonFeature) GetType() GeoJsonType
- func (o *GeoJsonFeature) GetTypeOk() (*GeoJsonType, bool)
- func (o GeoJsonFeature) MarshalJSON() ([]byte, error)
- func (o *GeoJsonFeature) SetBbox(v []float32)
- func (o *GeoJsonFeature) SetGeometry(v GeoJsonGeometry)
- func (o *GeoJsonFeature) SetProperties(v map[string]map[string]interface{})
- func (o *GeoJsonFeature) SetType(v GeoJsonType)
- func (o GeoJsonFeature) ToMap() (map[string]interface{}, error)
- func (o *GeoJsonFeature) UnmarshalJSON(data []byte) (err error)
- type GeoJsonGeometry
- func (o *GeoJsonGeometry) GetCoordinates() [][]float32
- func (o *GeoJsonGeometry) GetCoordinatesOk() ([][]float32, bool)
- func (o *GeoJsonGeometry) GetType() GeoJsonType
- func (o *GeoJsonGeometry) GetTypeOk() (*GeoJsonType, bool)
- func (o GeoJsonGeometry) MarshalJSON() ([]byte, error)
- func (o *GeoJsonGeometry) SetCoordinates(v [][]float32)
- func (o *GeoJsonGeometry) SetType(v GeoJsonType)
- func (o GeoJsonGeometry) ToMap() (map[string]interface{}, error)
- func (o *GeoJsonGeometry) UnmarshalJSON(data []byte) (err error)
- type GeoJsonType
- type GitInfo
- func (o *GitInfo) GetBranch() string
- func (o *GitInfo) GetBranchOk() (*string, bool)
- func (o *GitInfo) GetCommit() string
- func (o *GitInfo) GetCommitOk() (*string, bool)
- func (o *GitInfo) GetRepository() string
- func (o *GitInfo) GetRepositoryOk() (*string, bool)
- func (o GitInfo) MarshalJSON() ([]byte, error)
- func (o *GitInfo) SetBranch(v string)
- func (o *GitInfo) SetCommit(v string)
- func (o *GitInfo) SetRepository(v string)
- func (o GitInfo) ToMap() (map[string]interface{}, error)
- func (o *GitInfo) UnmarshalJSON(data []byte) (err error)
- type HTTPError
- func (o *HTTPError) GetCode() int32
- func (o *HTTPError) GetCodeOk() (*int32, bool)
- func (o *HTTPError) GetError() string
- func (o *HTTPError) GetErrorOk() (*string, bool)
- func (o *HTTPError) GetMethod() string
- func (o *HTTPError) GetMethodOk() (*string, bool)
- func (o *HTTPError) GetPath() string
- func (o *HTTPError) GetPathOk() (*string, bool)
- func (o HTTPError) MarshalJSON() ([]byte, error)
- func (o *HTTPError) SetCode(v int32)
- func (o *HTTPError) SetError(v string)
- func (o *HTTPError) SetMethod(v string)
- func (o *HTTPError) SetPath(v string)
- func (o HTTPError) ToMap() (map[string]interface{}, error)
- func (o *HTTPError) UnmarshalJSON(data []byte) (err error)
- type InfoAPIService
- type LoginResponse
- func (o *LoginResponse) GetLoginUrl() string
- func (o *LoginResponse) GetLoginUrlOk() (*string, bool)
- func (o LoginResponse) MarshalJSON() ([]byte, error)
- func (o *LoginResponse) SetLoginUrl(v string)
- func (o LoginResponse) ToMap() (map[string]interface{}, error)
- func (o *LoginResponse) UnmarshalJSON(data []byte) (err error)
- type LoginTokenRequest
- func (o *LoginTokenRequest) GetCode() string
- func (o *LoginTokenRequest) GetCodeOk() (*string, bool)
- func (o LoginTokenRequest) MarshalJSON() ([]byte, error)
- func (o *LoginTokenRequest) SetCode(v string)
- func (o LoginTokenRequest) ToMap() (map[string]interface{}, error)
- func (o *LoginTokenRequest) UnmarshalJSON(data []byte) (err error)
- type LogoutRequest
- func (o *LogoutRequest) GetRefreshToken() string
- func (o *LogoutRequest) GetRefreshTokenOk() (*string, bool)
- func (o LogoutRequest) MarshalJSON() ([]byte, error)
- func (o *LogoutRequest) SetRefreshToken(v string)
- func (o LogoutRequest) ToMap() (map[string]interface{}, error)
- func (o *LogoutRequest) UnmarshalJSON(data []byte) (err error)
- type MapInfo
- func (o *MapInfo) GetBbox() []float32
- func (o *MapInfo) GetBboxOk() ([]float32, bool)
- func (o *MapInfo) GetCenter() []float32
- func (o *MapInfo) GetCenterOk() ([]float32, bool)
- func (o MapInfo) MarshalJSON() ([]byte, error)
- func (o *MapInfo) SetBbox(v []float32)
- func (o *MapInfo) SetCenter(v []float32)
- func (o MapInfo) ToMap() (map[string]interface{}, error)
- func (o *MapInfo) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAppInfo
- type NullableBool
- type NullableClientToken
- func (v NullableClientToken) Get() *ClientToken
- func (v NullableClientToken) IsSet() bool
- func (v NullableClientToken) MarshalJSON() ([]byte, error)
- func (v *NullableClientToken) Set(val *ClientToken)
- func (v *NullableClientToken) UnmarshalJSON(src []byte) error
- func (v *NullableClientToken) Unset()
- type NullableDrivingLicense
- func (v NullableDrivingLicense) Get() *DrivingLicense
- func (v NullableDrivingLicense) IsSet() bool
- func (v NullableDrivingLicense) MarshalJSON() ([]byte, error)
- func (v *NullableDrivingLicense) Set(val *DrivingLicense)
- func (v *NullableDrivingLicense) UnmarshalJSON(src []byte) error
- func (v *NullableDrivingLicense) Unset()
- type NullableEvaluationValue
- func (v NullableEvaluationValue) Get() *EvaluationValue
- func (v NullableEvaluationValue) IsSet() bool
- func (v NullableEvaluationValue) MarshalJSON() ([]byte, error)
- func (v *NullableEvaluationValue) Set(val *EvaluationValue)
- func (v *NullableEvaluationValue) UnmarshalJSON(src []byte) error
- func (v *NullableEvaluationValue) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGeoJSONLocation
- func (v NullableGeoJSONLocation) Get() *GeoJSONLocation
- func (v NullableGeoJSONLocation) IsSet() bool
- func (v NullableGeoJSONLocation) MarshalJSON() ([]byte, error)
- func (v *NullableGeoJSONLocation) Set(val *GeoJSONLocation)
- func (v *NullableGeoJSONLocation) UnmarshalJSON(src []byte) error
- func (v *NullableGeoJSONLocation) Unset()
- type NullableGeoJSONMetadata
- func (v NullableGeoJSONMetadata) Get() *GeoJSONMetadata
- func (v NullableGeoJSONMetadata) IsSet() bool
- func (v NullableGeoJSONMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableGeoJSONMetadata) Set(val *GeoJSONMetadata)
- func (v *NullableGeoJSONMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableGeoJSONMetadata) Unset()
- type NullableGeoJson
- type NullableGeoJsonFeature
- func (v NullableGeoJsonFeature) Get() *GeoJsonFeature
- func (v NullableGeoJsonFeature) IsSet() bool
- func (v NullableGeoJsonFeature) MarshalJSON() ([]byte, error)
- func (v *NullableGeoJsonFeature) Set(val *GeoJsonFeature)
- func (v *NullableGeoJsonFeature) UnmarshalJSON(src []byte) error
- func (v *NullableGeoJsonFeature) Unset()
- type NullableGeoJsonGeometry
- func (v NullableGeoJsonGeometry) Get() *GeoJsonGeometry
- func (v NullableGeoJsonGeometry) IsSet() bool
- func (v NullableGeoJsonGeometry) MarshalJSON() ([]byte, error)
- func (v *NullableGeoJsonGeometry) Set(val *GeoJsonGeometry)
- func (v *NullableGeoJsonGeometry) UnmarshalJSON(src []byte) error
- func (v *NullableGeoJsonGeometry) Unset()
- type NullableGeoJsonType
- func (v NullableGeoJsonType) Get() *GeoJsonType
- func (v NullableGeoJsonType) IsSet() bool
- func (v NullableGeoJsonType) MarshalJSON() ([]byte, error)
- func (v *NullableGeoJsonType) Set(val *GeoJsonType)
- func (v *NullableGeoJsonType) UnmarshalJSON(src []byte) error
- func (v *NullableGeoJsonType) Unset()
- type NullableGitInfo
- type NullableHTTPError
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLoginResponse
- func (v NullableLoginResponse) Get() *LoginResponse
- func (v NullableLoginResponse) IsSet() bool
- func (v NullableLoginResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLoginResponse) Set(val *LoginResponse)
- func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLoginResponse) Unset()
- type NullableLoginTokenRequest
- func (v NullableLoginTokenRequest) Get() *LoginTokenRequest
- func (v NullableLoginTokenRequest) IsSet() bool
- func (v NullableLoginTokenRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLoginTokenRequest) Set(val *LoginTokenRequest)
- func (v *NullableLoginTokenRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLoginTokenRequest) Unset()
- type NullableLogoutRequest
- func (v NullableLogoutRequest) Get() *LogoutRequest
- func (v NullableLogoutRequest) IsSet() bool
- func (v NullableLogoutRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLogoutRequest) Set(val *LogoutRequest)
- func (v *NullableLogoutRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLogoutRequest) Unset()
- type NullableMapInfo
- type NullablePagination
- type NullablePlugin
- type NullablePluginAuth
- type NullablePluginListResponse
- func (v NullablePluginListResponse) Get() *PluginListResponse
- func (v NullablePluginListResponse) IsSet() bool
- func (v NullablePluginListResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePluginListResponse) Set(val *PluginListResponse)
- func (v *NullablePluginListResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePluginListResponse) Unset()
- type NullablePluginRegisterRequest
- func (v NullablePluginRegisterRequest) Get() *PluginRegisterRequest
- func (v NullablePluginRegisterRequest) IsSet() bool
- func (v NullablePluginRegisterRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePluginRegisterRequest) Set(val *PluginRegisterRequest)
- func (v *NullablePluginRegisterRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePluginRegisterRequest) Unset()
- type NullableRefreshTokenRequest
- func (v NullableRefreshTokenRequest) Get() *RefreshTokenRequest
- func (v NullableRefreshTokenRequest) IsSet() bool
- func (v NullableRefreshTokenRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRefreshTokenRequest) Set(val *RefreshTokenRequest)
- func (v *NullableRefreshTokenRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRefreshTokenRequest) Unset()
- type NullableRegion
- type NullableRegionList
- type NullableRouteRequest
- func (v NullableRouteRequest) Get() *RouteRequest
- func (v NullableRouteRequest) IsSet() bool
- func (v NullableRouteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRouteRequest) Set(val *RouteRequest)
- func (v *NullableRouteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRouteRequest) Unset()
- type NullableSensor
- type NullableSensorData
- type NullableSensorDataList
- func (v NullableSensorDataList) Get() *SensorDataList
- func (v NullableSensorDataList) IsSet() bool
- func (v NullableSensorDataList) MarshalJSON() ([]byte, error)
- func (v *NullableSensorDataList) Set(val *SensorDataList)
- func (v *NullableSensorDataList) UnmarshalJSON(src []byte) error
- func (v *NullableSensorDataList) Unset()
- type NullableSensorList
- type NullableSensorStatus
- func (v NullableSensorStatus) Get() *SensorStatus
- func (v NullableSensorStatus) IsSet() bool
- func (v NullableSensorStatus) MarshalJSON() ([]byte, error)
- func (v *NullableSensorStatus) Set(val *SensorStatus)
- func (v *NullableSensorStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSensorStatus) Unset()
- type NullableServerInfo
- type NullableSoilCondition
- func (v NullableSoilCondition) Get() *SoilCondition
- func (v NullableSoilCondition) IsSet() bool
- func (v NullableSoilCondition) MarshalJSON() ([]byte, error)
- func (v *NullableSoilCondition) Set(val *SoilCondition)
- func (v *NullableSoilCondition) UnmarshalJSON(src []byte) error
- func (v *NullableSoilCondition) Unset()
- type NullableString
- type NullableTime
- type NullableTree
- type NullableTreeCluster
- func (v NullableTreeCluster) Get() *TreeCluster
- func (v NullableTreeCluster) IsSet() bool
- func (v NullableTreeCluster) MarshalJSON() ([]byte, error)
- func (v *NullableTreeCluster) Set(val *TreeCluster)
- func (v *NullableTreeCluster) UnmarshalJSON(src []byte) error
- func (v *NullableTreeCluster) Unset()
- type NullableTreeClusterCreate
- func (v NullableTreeClusterCreate) Get() *TreeClusterCreate
- func (v NullableTreeClusterCreate) IsSet() bool
- func (v NullableTreeClusterCreate) MarshalJSON() ([]byte, error)
- func (v *NullableTreeClusterCreate) Set(val *TreeClusterCreate)
- func (v *NullableTreeClusterCreate) UnmarshalJSON(src []byte) error
- func (v *NullableTreeClusterCreate) Unset()
- type NullableTreeClusterInList
- func (v NullableTreeClusterInList) Get() *TreeClusterInList
- func (v NullableTreeClusterInList) IsSet() bool
- func (v NullableTreeClusterInList) MarshalJSON() ([]byte, error)
- func (v *NullableTreeClusterInList) Set(val *TreeClusterInList)
- func (v *NullableTreeClusterInList) UnmarshalJSON(src []byte) error
- func (v *NullableTreeClusterInList) Unset()
- type NullableTreeClusterList
- func (v NullableTreeClusterList) Get() *TreeClusterList
- func (v NullableTreeClusterList) IsSet() bool
- func (v NullableTreeClusterList) MarshalJSON() ([]byte, error)
- func (v *NullableTreeClusterList) Set(val *TreeClusterList)
- func (v *NullableTreeClusterList) UnmarshalJSON(src []byte) error
- func (v *NullableTreeClusterList) Unset()
- type NullableTreeClusterUpdate
- func (v NullableTreeClusterUpdate) Get() *TreeClusterUpdate
- func (v NullableTreeClusterUpdate) IsSet() bool
- func (v NullableTreeClusterUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableTreeClusterUpdate) Set(val *TreeClusterUpdate)
- func (v *NullableTreeClusterUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableTreeClusterUpdate) Unset()
- type NullableTreeCreate
- type NullableTreeList
- type NullableTreeUpdate
- type NullableUser
- type NullableUserList
- type NullableUserRegister
- func (v NullableUserRegister) Get() *UserRegister
- func (v NullableUserRegister) IsSet() bool
- func (v NullableUserRegister) MarshalJSON() ([]byte, error)
- func (v *NullableUserRegister) Set(val *UserRegister)
- func (v *NullableUserRegister) UnmarshalJSON(src []byte) error
- func (v *NullableUserRegister) Unset()
- type NullableUserRole
- type NullableUserStatus
- type NullableVehicle
- type NullableVehicleCreate
- func (v NullableVehicleCreate) Get() *VehicleCreate
- func (v NullableVehicleCreate) IsSet() bool
- func (v NullableVehicleCreate) MarshalJSON() ([]byte, error)
- func (v *NullableVehicleCreate) Set(val *VehicleCreate)
- func (v *NullableVehicleCreate) UnmarshalJSON(src []byte) error
- func (v *NullableVehicleCreate) Unset()
- type NullableVehicleList
- func (v NullableVehicleList) Get() *VehicleList
- func (v NullableVehicleList) IsSet() bool
- func (v NullableVehicleList) MarshalJSON() ([]byte, error)
- func (v *NullableVehicleList) Set(val *VehicleList)
- func (v *NullableVehicleList) UnmarshalJSON(src []byte) error
- func (v *NullableVehicleList) Unset()
- type NullableVehicleStatus
- func (v NullableVehicleStatus) Get() *VehicleStatus
- func (v NullableVehicleStatus) IsSet() bool
- func (v NullableVehicleStatus) MarshalJSON() ([]byte, error)
- func (v *NullableVehicleStatus) Set(val *VehicleStatus)
- func (v *NullableVehicleStatus) UnmarshalJSON(src []byte) error
- func (v *NullableVehicleStatus) Unset()
- type NullableVehicleType
- func (v NullableVehicleType) Get() *VehicleType
- func (v NullableVehicleType) IsSet() bool
- func (v NullableVehicleType) MarshalJSON() ([]byte, error)
- func (v *NullableVehicleType) Set(val *VehicleType)
- func (v *NullableVehicleType) UnmarshalJSON(src []byte) error
- func (v *NullableVehicleType) Unset()
- type NullableVehicleUpdate
- func (v NullableVehicleUpdate) Get() *VehicleUpdate
- func (v NullableVehicleUpdate) IsSet() bool
- func (v NullableVehicleUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableVehicleUpdate) Set(val *VehicleUpdate)
- func (v *NullableVehicleUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableVehicleUpdate) Unset()
- type NullableWateringPlan
- func (v NullableWateringPlan) Get() *WateringPlan
- func (v NullableWateringPlan) IsSet() bool
- func (v NullableWateringPlan) MarshalJSON() ([]byte, error)
- func (v *NullableWateringPlan) Set(val *WateringPlan)
- func (v *NullableWateringPlan) UnmarshalJSON(src []byte) error
- func (v *NullableWateringPlan) Unset()
- type NullableWateringPlanCreate
- func (v NullableWateringPlanCreate) Get() *WateringPlanCreate
- func (v NullableWateringPlanCreate) IsSet() bool
- func (v NullableWateringPlanCreate) MarshalJSON() ([]byte, error)
- func (v *NullableWateringPlanCreate) Set(val *WateringPlanCreate)
- func (v *NullableWateringPlanCreate) UnmarshalJSON(src []byte) error
- func (v *NullableWateringPlanCreate) Unset()
- type NullableWateringPlanInList
- func (v NullableWateringPlanInList) Get() *WateringPlanInList
- func (v NullableWateringPlanInList) IsSet() bool
- func (v NullableWateringPlanInList) MarshalJSON() ([]byte, error)
- func (v *NullableWateringPlanInList) Set(val *WateringPlanInList)
- func (v *NullableWateringPlanInList) UnmarshalJSON(src []byte) error
- func (v *NullableWateringPlanInList) Unset()
- type NullableWateringPlanList
- func (v NullableWateringPlanList) Get() *WateringPlanList
- func (v NullableWateringPlanList) IsSet() bool
- func (v NullableWateringPlanList) MarshalJSON() ([]byte, error)
- func (v *NullableWateringPlanList) Set(val *WateringPlanList)
- func (v *NullableWateringPlanList) UnmarshalJSON(src []byte) error
- func (v *NullableWateringPlanList) Unset()
- type NullableWateringPlanStatus
- func (v NullableWateringPlanStatus) Get() *WateringPlanStatus
- func (v NullableWateringPlanStatus) IsSet() bool
- func (v NullableWateringPlanStatus) MarshalJSON() ([]byte, error)
- func (v *NullableWateringPlanStatus) Set(val *WateringPlanStatus)
- func (v *NullableWateringPlanStatus) UnmarshalJSON(src []byte) error
- func (v *NullableWateringPlanStatus) Unset()
- type NullableWateringPlanUpdate
- func (v NullableWateringPlanUpdate) Get() *WateringPlanUpdate
- func (v NullableWateringPlanUpdate) IsSet() bool
- func (v NullableWateringPlanUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableWateringPlanUpdate) Set(val *WateringPlanUpdate)
- func (v *NullableWateringPlanUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableWateringPlanUpdate) Unset()
- type NullableWateringStatus
- func (v NullableWateringStatus) Get() *WateringStatus
- func (v NullableWateringStatus) IsSet() bool
- func (v NullableWateringStatus) MarshalJSON() ([]byte, error)
- func (v *NullableWateringStatus) Set(val *WateringStatus)
- func (v *NullableWateringStatus) UnmarshalJSON(src []byte) error
- func (v *NullableWateringStatus) Unset()
- type NullableWatermarkResponse
- func (v NullableWatermarkResponse) Get() *WatermarkResponse
- func (v NullableWatermarkResponse) IsSet() bool
- func (v NullableWatermarkResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWatermarkResponse) Set(val *WatermarkResponse)
- func (v *NullableWatermarkResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWatermarkResponse) Unset()
- type Pagination
- func (o *Pagination) GetCurrentPage() int32
- func (o *Pagination) GetCurrentPageOk() (*int32, bool)
- func (o *Pagination) GetNextPage() int32
- func (o *Pagination) GetNextPageOk() (*int32, bool)
- func (o *Pagination) GetPrevPage() int32
- func (o *Pagination) GetPrevPageOk() (*int32, bool)
- func (o *Pagination) GetTotalPages() int32
- func (o *Pagination) GetTotalPagesOk() (*int32, bool)
- func (o *Pagination) GetTotalRecords() int32
- func (o *Pagination) GetTotalRecordsOk() (*int32, bool)
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetCurrentPage(v int32)
- func (o *Pagination) SetNextPage(v int32)
- func (o *Pagination) SetPrevPage(v int32)
- func (o *Pagination) SetTotalPages(v int32)
- func (o *Pagination) SetTotalRecords(v int32)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- func (o *Pagination) UnmarshalJSON(data []byte) (err error)
- type Plugin
- func (o *Plugin) GetDescription() string
- func (o *Plugin) GetDescriptionOk() (*string, bool)
- func (o *Plugin) GetHostPath() string
- func (o *Plugin) GetHostPathOk() (*string, bool)
- func (o *Plugin) GetName() string
- func (o *Plugin) GetNameOk() (*string, bool)
- func (o *Plugin) GetSlug() string
- func (o *Plugin) GetSlugOk() (*string, bool)
- func (o *Plugin) GetVersion() string
- func (o *Plugin) GetVersionOk() (*string, bool)
- func (o Plugin) MarshalJSON() ([]byte, error)
- func (o *Plugin) SetDescription(v string)
- func (o *Plugin) SetHostPath(v string)
- func (o *Plugin) SetName(v string)
- func (o *Plugin) SetSlug(v string)
- func (o *Plugin) SetVersion(v string)
- func (o Plugin) ToMap() (map[string]interface{}, error)
- func (o *Plugin) UnmarshalJSON(data []byte) (err error)
- type PluginAPIService
- func (a *PluginAPIService) GetPluginInfo(ctx context.Context, pluginSlug string) ApiGetPluginInfoRequest
- func (a *PluginAPIService) GetPluginInfoExecute(r ApiGetPluginInfoRequest) (*Plugin, *http.Response, error)
- func (a *PluginAPIService) GetPluginsList(ctx context.Context) ApiGetPluginsListRequest
- func (a *PluginAPIService) GetPluginsListExecute(r ApiGetPluginsListRequest) (*PluginListResponse, *http.Response, error)
- func (a *PluginAPIService) PluginHeartbeat(ctx context.Context, pluginSlug string) ApiPluginHeartbeatRequest
- func (a *PluginAPIService) PluginHeartbeatExecute(r ApiPluginHeartbeatRequest) (string, *http.Response, error)
- func (a *PluginAPIService) RefreshPluginToken(ctx context.Context, pluginSlug string) ApiRefreshPluginTokenRequest
- func (a *PluginAPIService) RefreshPluginTokenExecute(r ApiRefreshPluginTokenRequest) (*ClientToken, *http.Response, error)
- func (a *PluginAPIService) RegisterPlugin(ctx context.Context) ApiRegisterPluginRequest
- func (a *PluginAPIService) RegisterPluginExecute(r ApiRegisterPluginRequest) (*ClientToken, *http.Response, error)
- func (a *PluginAPIService) UnregisterPlugin(ctx context.Context, pluginSlug string) ApiUnregisterPluginRequest
- func (a *PluginAPIService) UnregisterPluginExecute(r ApiUnregisterPluginRequest) (*http.Response, error)
- type PluginAuth
- func (o *PluginAuth) GetClientId() string
- func (o *PluginAuth) GetClientIdOk() (*string, bool)
- func (o *PluginAuth) GetClientSecret() string
- func (o *PluginAuth) GetClientSecretOk() (*string, bool)
- func (o PluginAuth) MarshalJSON() ([]byte, error)
- func (o *PluginAuth) SetClientId(v string)
- func (o *PluginAuth) SetClientSecret(v string)
- func (o PluginAuth) ToMap() (map[string]interface{}, error)
- func (o *PluginAuth) UnmarshalJSON(data []byte) (err error)
- type PluginListResponse
- func (o *PluginListResponse) GetPlugins() []Plugin
- func (o *PluginListResponse) GetPluginsOk() ([]Plugin, bool)
- func (o PluginListResponse) MarshalJSON() ([]byte, error)
- func (o *PluginListResponse) SetPlugins(v []Plugin)
- func (o PluginListResponse) ToMap() (map[string]interface{}, error)
- func (o *PluginListResponse) UnmarshalJSON(data []byte) (err error)
- type PluginRegisterRequest
- func (o *PluginRegisterRequest) GetAuth() PluginAuth
- func (o *PluginRegisterRequest) GetAuthOk() (*PluginAuth, bool)
- func (o *PluginRegisterRequest) GetDescription() string
- func (o *PluginRegisterRequest) GetDescriptionOk() (*string, bool)
- func (o *PluginRegisterRequest) GetName() string
- func (o *PluginRegisterRequest) GetNameOk() (*string, bool)
- func (o *PluginRegisterRequest) GetPath() string
- func (o *PluginRegisterRequest) GetPathOk() (*string, bool)
- func (o *PluginRegisterRequest) GetSlug() string
- func (o *PluginRegisterRequest) GetSlugOk() (*string, bool)
- func (o *PluginRegisterRequest) GetVersion() string
- func (o *PluginRegisterRequest) GetVersionOk() (*string, bool)
- func (o PluginRegisterRequest) MarshalJSON() ([]byte, error)
- func (o *PluginRegisterRequest) SetAuth(v PluginAuth)
- func (o *PluginRegisterRequest) SetDescription(v string)
- func (o *PluginRegisterRequest) SetName(v string)
- func (o *PluginRegisterRequest) SetPath(v string)
- func (o *PluginRegisterRequest) SetSlug(v string)
- func (o *PluginRegisterRequest) SetVersion(v string)
- func (o PluginRegisterRequest) ToMap() (map[string]interface{}, error)
- func (o *PluginRegisterRequest) UnmarshalJSON(data []byte) (err error)
- type RefreshTokenRequest
- func (o *RefreshTokenRequest) GetRefreshToken() string
- func (o *RefreshTokenRequest) GetRefreshTokenOk() (*string, bool)
- func (o RefreshTokenRequest) MarshalJSON() ([]byte, error)
- func (o *RefreshTokenRequest) SetRefreshToken(v string)
- func (o RefreshTokenRequest) ToMap() (map[string]interface{}, error)
- func (o *RefreshTokenRequest) UnmarshalJSON(data []byte) (err error)
- type Region
- func (o *Region) GetId() int32
- func (o *Region) GetIdOk() (*int32, bool)
- func (o *Region) GetName() string
- func (o *Region) GetNameOk() (*string, bool)
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetId(v int32)
- func (o *Region) SetName(v string)
- func (o Region) ToMap() (map[string]interface{}, error)
- func (o *Region) UnmarshalJSON(data []byte) (err error)
- type RegionAPIService
- func (a *RegionAPIService) V1RegionGet(ctx context.Context) ApiV1RegionGetRequest
- func (a *RegionAPIService) V1RegionGetExecute(r ApiV1RegionGetRequest) (*RegionList, *http.Response, error)
- func (a *RegionAPIService) V1RegionIdGet(ctx context.Context, id string) ApiV1RegionIdGetRequest
- func (a *RegionAPIService) V1RegionIdGetExecute(r ApiV1RegionIdGetRequest) (*Region, *http.Response, error)
- type RegionList
- func (o *RegionList) GetPagination() Pagination
- func (o *RegionList) GetPaginationOk() (*Pagination, bool)
- func (o *RegionList) GetRegions() []Region
- func (o *RegionList) GetRegionsOk() ([]Region, bool)
- func (o *RegionList) HasPagination() bool
- func (o RegionList) MarshalJSON() ([]byte, error)
- func (o *RegionList) SetPagination(v Pagination)
- func (o *RegionList) SetRegions(v []Region)
- func (o RegionList) ToMap() (map[string]interface{}, error)
- func (o *RegionList) UnmarshalJSON(data []byte) (err error)
- type RouteRequest
- func (o *RouteRequest) GetClusterIds() []int32
- func (o *RouteRequest) GetClusterIdsOk() ([]int32, bool)
- func (o *RouteRequest) GetTrailerId() int32
- func (o *RouteRequest) GetTrailerIdOk() (*int32, bool)
- func (o *RouteRequest) GetTransporterId() int32
- func (o *RouteRequest) GetTransporterIdOk() (*int32, bool)
- func (o *RouteRequest) HasTrailerId() bool
- func (o RouteRequest) MarshalJSON() ([]byte, error)
- func (o *RouteRequest) SetClusterIds(v []int32)
- func (o *RouteRequest) SetTrailerId(v int32)
- func (o *RouteRequest) SetTransporterId(v int32)
- func (o RouteRequest) ToMap() (map[string]interface{}, error)
- func (o *RouteRequest) UnmarshalJSON(data []byte) (err error)
- type Sensor
- func (o *Sensor) GetAdditionalInformation() map[string]interface{}
- func (o *Sensor) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *Sensor) GetCreatedAt() string
- func (o *Sensor) GetCreatedAtOk() (*string, bool)
- func (o *Sensor) GetId() string
- func (o *Sensor) GetIdOk() (*string, bool)
- func (o *Sensor) GetLatestData() SensorData
- func (o *Sensor) GetLatestDataOk() (*SensorData, bool)
- func (o *Sensor) GetLatitude() float32
- func (o *Sensor) GetLatitudeOk() (*float32, bool)
- func (o *Sensor) GetLongitude() float32
- func (o *Sensor) GetLongitudeOk() (*float32, bool)
- func (o *Sensor) GetProvider() string
- func (o *Sensor) GetProviderOk() (*string, bool)
- func (o *Sensor) GetStatus() SensorStatus
- func (o *Sensor) GetStatusOk() (*SensorStatus, bool)
- func (o *Sensor) GetUpdatedAt() string
- func (o *Sensor) GetUpdatedAtOk() (*string, bool)
- func (o *Sensor) HasAdditionalInformation() bool
- func (o Sensor) MarshalJSON() ([]byte, error)
- func (o *Sensor) SetAdditionalInformation(v map[string]interface{})
- func (o *Sensor) SetCreatedAt(v string)
- func (o *Sensor) SetId(v string)
- func (o *Sensor) SetLatestData(v SensorData)
- func (o *Sensor) SetLatitude(v float32)
- func (o *Sensor) SetLongitude(v float32)
- func (o *Sensor) SetProvider(v string)
- func (o *Sensor) SetStatus(v SensorStatus)
- func (o *Sensor) SetUpdatedAt(v string)
- func (o Sensor) ToMap() (map[string]interface{}, error)
- func (o *Sensor) UnmarshalJSON(data []byte) (err error)
- type SensorAPIService
- func (a *SensorAPIService) DeleteSensor(ctx context.Context, sensorId string) ApiDeleteSensorRequest
- func (a *SensorAPIService) DeleteSensorExecute(r ApiDeleteSensorRequest) (*http.Response, error)
- func (a *SensorAPIService) GetAllSensorDataById(ctx context.Context, sensorId string) ApiGetAllSensorDataByIdRequest
- func (a *SensorAPIService) GetAllSensorDataByIdExecute(r ApiGetAllSensorDataByIdRequest) (*SensorDataList, *http.Response, error)
- func (a *SensorAPIService) GetAllSensors(ctx context.Context) ApiGetAllSensorsRequest
- func (a *SensorAPIService) GetAllSensorsExecute(r ApiGetAllSensorsRequest) (*SensorList, *http.Response, error)
- func (a *SensorAPIService) GetSensorById(ctx context.Context, sensorId string) ApiGetSensorByIdRequest
- func (a *SensorAPIService) GetSensorByIdExecute(r ApiGetSensorByIdRequest) (*Sensor, *http.Response, error)
- type SensorData
- func (o *SensorData) GetBattery() float32
- func (o *SensorData) GetBatteryOk() (*float32, bool)
- func (o *SensorData) GetCreatedAt() string
- func (o *SensorData) GetCreatedAtOk() (*string, bool)
- func (o *SensorData) GetHumidity() float32
- func (o *SensorData) GetHumidityOk() (*float32, bool)
- func (o *SensorData) GetTemperature() float32
- func (o *SensorData) GetTemperatureOk() (*float32, bool)
- func (o *SensorData) GetUpdatedAt() string
- func (o *SensorData) GetUpdatedAtOk() (*string, bool)
- func (o *SensorData) GetWatermarks() []WatermarkResponse
- func (o *SensorData) GetWatermarksOk() ([]WatermarkResponse, bool)
- func (o SensorData) MarshalJSON() ([]byte, error)
- func (o *SensorData) SetBattery(v float32)
- func (o *SensorData) SetCreatedAt(v string)
- func (o *SensorData) SetHumidity(v float32)
- func (o *SensorData) SetTemperature(v float32)
- func (o *SensorData) SetUpdatedAt(v string)
- func (o *SensorData) SetWatermarks(v []WatermarkResponse)
- func (o SensorData) ToMap() (map[string]interface{}, error)
- func (o *SensorData) UnmarshalJSON(data []byte) (err error)
- type SensorDataList
- func (o *SensorDataList) GetData() []SensorData
- func (o *SensorDataList) GetDataOk() ([]SensorData, bool)
- func (o SensorDataList) MarshalJSON() ([]byte, error)
- func (o *SensorDataList) SetData(v []SensorData)
- func (o SensorDataList) ToMap() (map[string]interface{}, error)
- func (o *SensorDataList) UnmarshalJSON(data []byte) (err error)
- type SensorList
- func (o *SensorList) GetData() []Sensor
- func (o *SensorList) GetDataOk() ([]Sensor, bool)
- func (o *SensorList) GetPagination() Pagination
- func (o *SensorList) GetPaginationOk() (*Pagination, bool)
- func (o *SensorList) HasPagination() bool
- func (o SensorList) MarshalJSON() ([]byte, error)
- func (o *SensorList) SetData(v []Sensor)
- func (o *SensorList) SetPagination(v Pagination)
- func (o SensorList) ToMap() (map[string]interface{}, error)
- func (o *SensorList) UnmarshalJSON(data []byte) (err error)
- type SensorStatus
- type ServerConfiguration
- type ServerConfigurations
- type ServerInfo
- func (o *ServerInfo) GetArch() string
- func (o *ServerInfo) GetArchOk() (*string, bool)
- func (o *ServerInfo) GetHostname() string
- func (o *ServerInfo) GetHostnameOk() (*string, bool)
- func (o *ServerInfo) GetInterface() string
- func (o *ServerInfo) GetInterfaceOk() (*string, bool)
- func (o *ServerInfo) GetIp() string
- func (o *ServerInfo) GetIpOk() (*string, bool)
- func (o *ServerInfo) GetOs() string
- func (o *ServerInfo) GetOsOk() (*string, bool)
- func (o *ServerInfo) GetPort() int32
- func (o *ServerInfo) GetPortOk() (*int32, bool)
- func (o *ServerInfo) GetUptime() string
- func (o *ServerInfo) GetUptimeOk() (*string, bool)
- func (o *ServerInfo) GetUrl() string
- func (o *ServerInfo) GetUrlOk() (*string, bool)
- func (o ServerInfo) MarshalJSON() ([]byte, error)
- func (o *ServerInfo) SetArch(v string)
- func (o *ServerInfo) SetHostname(v string)
- func (o *ServerInfo) SetInterface(v string)
- func (o *ServerInfo) SetIp(v string)
- func (o *ServerInfo) SetOs(v string)
- func (o *ServerInfo) SetPort(v int32)
- func (o *ServerInfo) SetUptime(v string)
- func (o *ServerInfo) SetUrl(v string)
- func (o ServerInfo) ToMap() (map[string]interface{}, error)
- func (o *ServerInfo) UnmarshalJSON(data []byte) (err error)
- type ServerVariable
- type SoilCondition
- type Tree
- func (o *Tree) GetAdditionalInformation() map[string]interface{}
- func (o *Tree) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *Tree) GetCreatedAt() string
- func (o *Tree) GetCreatedAtOk() (*string, bool)
- func (o *Tree) GetDescription() string
- func (o *Tree) GetDescriptionOk() (*string, bool)
- func (o *Tree) GetId() int32
- func (o *Tree) GetIdOk() (*int32, bool)
- func (o *Tree) GetLastWatered() string
- func (o *Tree) GetLastWateredOk() (*string, bool)
- func (o *Tree) GetLatitude() float32
- func (o *Tree) GetLatitudeOk() (*float32, bool)
- func (o *Tree) GetLongitude() float32
- func (o *Tree) GetLongitudeOk() (*float32, bool)
- func (o *Tree) GetNumber() string
- func (o *Tree) GetNumberOk() (*string, bool)
- func (o *Tree) GetPlantingYear() int32
- func (o *Tree) GetPlantingYearOk() (*int32, bool)
- func (o *Tree) GetProvider() string
- func (o *Tree) GetProviderOk() (*string, bool)
- func (o *Tree) GetSensor() Sensor
- func (o *Tree) GetSensorOk() (*Sensor, bool)
- func (o *Tree) GetSpecies() string
- func (o *Tree) GetSpeciesOk() (*string, bool)
- func (o *Tree) GetTreeClusterId() int32
- func (o *Tree) GetTreeClusterIdOk() (*int32, bool)
- func (o *Tree) GetUpdatedAt() string
- func (o *Tree) GetUpdatedAtOk() (*string, bool)
- func (o *Tree) GetWateringStatus() WateringStatus
- func (o *Tree) GetWateringStatusOk() (*WateringStatus, bool)
- func (o *Tree) HasAdditionalInformation() bool
- func (o *Tree) HasLastWatered() bool
- func (o *Tree) HasSensor() bool
- func (o *Tree) HasTreeClusterId() bool
- func (o Tree) MarshalJSON() ([]byte, error)
- func (o *Tree) SetAdditionalInformation(v map[string]interface{})
- func (o *Tree) SetCreatedAt(v string)
- func (o *Tree) SetDescription(v string)
- func (o *Tree) SetId(v int32)
- func (o *Tree) SetLastWatered(v string)
- func (o *Tree) SetLatitude(v float32)
- func (o *Tree) SetLongitude(v float32)
- func (o *Tree) SetNumber(v string)
- func (o *Tree) SetPlantingYear(v int32)
- func (o *Tree) SetProvider(v string)
- func (o *Tree) SetSensor(v Sensor)
- func (o *Tree) SetSpecies(v string)
- func (o *Tree) SetTreeClusterId(v int32)
- func (o *Tree) SetUpdatedAt(v string)
- func (o *Tree) SetWateringStatus(v WateringStatus)
- func (o Tree) ToMap() (map[string]interface{}, error)
- func (o *Tree) UnmarshalJSON(data []byte) (err error)
- type TreeAPIService
- func (a *TreeAPIService) CreateTree(ctx context.Context) ApiCreateTreeRequest
- func (a *TreeAPIService) CreateTreeExecute(r ApiCreateTreeRequest) (*Tree, *http.Response, error)
- func (a *TreeAPIService) DeleteTree(ctx context.Context, treeId int32) ApiDeleteTreeRequest
- func (a *TreeAPIService) DeleteTreeExecute(r ApiDeleteTreeRequest) (*http.Response, error)
- func (a *TreeAPIService) GetAllTrees(ctx context.Context) ApiGetAllTreesRequest
- func (a *TreeAPIService) GetAllTreesExecute(r ApiGetAllTreesRequest) (*TreeList, *http.Response, error)
- func (a *TreeAPIService) GetTrees(ctx context.Context, treeId int32) ApiGetTreesRequest
- func (a *TreeAPIService) GetTreesExecute(r ApiGetTreesRequest) (*Tree, *http.Response, error)
- func (a *TreeAPIService) UpdateTree(ctx context.Context, treeId int32) ApiUpdateTreeRequest
- func (a *TreeAPIService) UpdateTreeExecute(r ApiUpdateTreeRequest) (*Tree, *http.Response, error)
- type TreeCluster
- func (o *TreeCluster) GetAdditionalInformation() map[string]interface{}
- func (o *TreeCluster) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *TreeCluster) GetAddress() string
- func (o *TreeCluster) GetAddressOk() (*string, bool)
- func (o *TreeCluster) GetArchived() bool
- func (o *TreeCluster) GetArchivedOk() (*bool, bool)
- func (o *TreeCluster) GetCreatedAt() string
- func (o *TreeCluster) GetCreatedAtOk() (*string, bool)
- func (o *TreeCluster) GetDescription() string
- func (o *TreeCluster) GetDescriptionOk() (*string, bool)
- func (o *TreeCluster) GetId() int32
- func (o *TreeCluster) GetIdOk() (*int32, bool)
- func (o *TreeCluster) GetLastWatered() string
- func (o *TreeCluster) GetLastWateredOk() (*string, bool)
- func (o *TreeCluster) GetLatitude() float32
- func (o *TreeCluster) GetLatitudeOk() (*float32, bool)
- func (o *TreeCluster) GetLongitude() float32
- func (o *TreeCluster) GetLongitudeOk() (*float32, bool)
- func (o *TreeCluster) GetMoistureLevel() float32
- func (o *TreeCluster) GetMoistureLevelOk() (*float32, bool)
- func (o *TreeCluster) GetName() string
- func (o *TreeCluster) GetNameOk() (*string, bool)
- func (o *TreeCluster) GetProvider() string
- func (o *TreeCluster) GetProviderOk() (*string, bool)
- func (o *TreeCluster) GetRegion() Region
- func (o *TreeCluster) GetRegionOk() (*Region, bool)
- func (o *TreeCluster) GetSoilCondition() SoilCondition
- func (o *TreeCluster) GetSoilConditionOk() (*SoilCondition, bool)
- func (o *TreeCluster) GetTrees() []Tree
- func (o *TreeCluster) GetTreesOk() ([]Tree, bool)
- func (o *TreeCluster) GetUpdatedAt() string
- func (o *TreeCluster) GetUpdatedAtOk() (*string, bool)
- func (o *TreeCluster) GetWateringStatus() WateringStatus
- func (o *TreeCluster) GetWateringStatusOk() (*WateringStatus, bool)
- func (o *TreeCluster) HasAdditionalInformation() bool
- func (o *TreeCluster) HasLastWatered() bool
- func (o *TreeCluster) HasRegion() bool
- func (o *TreeCluster) HasTrees() bool
- func (o TreeCluster) MarshalJSON() ([]byte, error)
- func (o *TreeCluster) SetAdditionalInformation(v map[string]interface{})
- func (o *TreeCluster) SetAddress(v string)
- func (o *TreeCluster) SetArchived(v bool)
- func (o *TreeCluster) SetCreatedAt(v string)
- func (o *TreeCluster) SetDescription(v string)
- func (o *TreeCluster) SetId(v int32)
- func (o *TreeCluster) SetLastWatered(v string)
- func (o *TreeCluster) SetLatitude(v float32)
- func (o *TreeCluster) SetLongitude(v float32)
- func (o *TreeCluster) SetMoistureLevel(v float32)
- func (o *TreeCluster) SetName(v string)
- func (o *TreeCluster) SetProvider(v string)
- func (o *TreeCluster) SetRegion(v Region)
- func (o *TreeCluster) SetSoilCondition(v SoilCondition)
- func (o *TreeCluster) SetTrees(v []Tree)
- func (o *TreeCluster) SetUpdatedAt(v string)
- func (o *TreeCluster) SetWateringStatus(v WateringStatus)
- func (o TreeCluster) ToMap() (map[string]interface{}, error)
- func (o *TreeCluster) UnmarshalJSON(data []byte) (err error)
- type TreeClusterAPIService
- func (a *TreeClusterAPIService) CreateTreeCluster(ctx context.Context) ApiCreateTreeClusterRequest
- func (a *TreeClusterAPIService) CreateTreeClusterExecute(r ApiCreateTreeClusterRequest) (*TreeCluster, *http.Response, error)
- func (a *TreeClusterAPIService) DeleteTreeCluster(ctx context.Context, clusterId int32) ApiDeleteTreeClusterRequest
- func (a *TreeClusterAPIService) DeleteTreeClusterExecute(r ApiDeleteTreeClusterRequest) (*http.Response, error)
- func (a *TreeClusterAPIService) GetAllTreeClusters(ctx context.Context) ApiGetAllTreeClustersRequest
- func (a *TreeClusterAPIService) GetAllTreeClustersExecute(r ApiGetAllTreeClustersRequest) (*TreeClusterList, *http.Response, error)
- func (a *TreeClusterAPIService) GetTreeClusterById(ctx context.Context, clusterId int32) ApiGetTreeClusterByIdRequest
- func (a *TreeClusterAPIService) GetTreeClusterByIdExecute(r ApiGetTreeClusterByIdRequest) (*TreeCluster, *http.Response, error)
- func (a *TreeClusterAPIService) UpdateTreeCluster(ctx context.Context, clusterId int32) ApiUpdateTreeClusterRequest
- func (a *TreeClusterAPIService) UpdateTreeClusterExecute(r ApiUpdateTreeClusterRequest) (*TreeCluster, *http.Response, error)
- type TreeClusterCreate
- func (o *TreeClusterCreate) GetAdditionalInformation() map[string]interface{}
- func (o *TreeClusterCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *TreeClusterCreate) GetAddress() string
- func (o *TreeClusterCreate) GetAddressOk() (*string, bool)
- func (o *TreeClusterCreate) GetDescription() string
- func (o *TreeClusterCreate) GetDescriptionOk() (*string, bool)
- func (o *TreeClusterCreate) GetName() string
- func (o *TreeClusterCreate) GetNameOk() (*string, bool)
- func (o *TreeClusterCreate) GetProvider() string
- func (o *TreeClusterCreate) GetProviderOk() (*string, bool)
- func (o *TreeClusterCreate) GetSoilCondition() SoilCondition
- func (o *TreeClusterCreate) GetSoilConditionOk() (*SoilCondition, bool)
- func (o *TreeClusterCreate) GetTreeIds() []int32
- func (o *TreeClusterCreate) GetTreeIdsOk() ([]int32, bool)
- func (o *TreeClusterCreate) HasAdditionalInformation() bool
- func (o *TreeClusterCreate) HasProvider() bool
- func (o TreeClusterCreate) MarshalJSON() ([]byte, error)
- func (o *TreeClusterCreate) SetAdditionalInformation(v map[string]interface{})
- func (o *TreeClusterCreate) SetAddress(v string)
- func (o *TreeClusterCreate) SetDescription(v string)
- func (o *TreeClusterCreate) SetName(v string)
- func (o *TreeClusterCreate) SetProvider(v string)
- func (o *TreeClusterCreate) SetSoilCondition(v SoilCondition)
- func (o *TreeClusterCreate) SetTreeIds(v []int32)
- func (o TreeClusterCreate) ToMap() (map[string]interface{}, error)
- func (o *TreeClusterCreate) UnmarshalJSON(data []byte) (err error)
- type TreeClusterInList
- func (o *TreeClusterInList) GetAddress() string
- func (o *TreeClusterInList) GetAddressOk() (*string, bool)
- func (o *TreeClusterInList) GetArchived() bool
- func (o *TreeClusterInList) GetArchivedOk() (*bool, bool)
- func (o *TreeClusterInList) GetCreatedAt() string
- func (o *TreeClusterInList) GetCreatedAtOk() (*string, bool)
- func (o *TreeClusterInList) GetDescription() string
- func (o *TreeClusterInList) GetDescriptionOk() (*string, bool)
- func (o *TreeClusterInList) GetId() int32
- func (o *TreeClusterInList) GetIdOk() (*int32, bool)
- func (o *TreeClusterInList) GetLastWatered() string
- func (o *TreeClusterInList) GetLastWateredOk() (*string, bool)
- func (o *TreeClusterInList) GetLatitude() float32
- func (o *TreeClusterInList) GetLatitudeOk() (*float32, bool)
- func (o *TreeClusterInList) GetLongitude() float32
- func (o *TreeClusterInList) GetLongitudeOk() (*float32, bool)
- func (o *TreeClusterInList) GetMoistureLevel() float32
- func (o *TreeClusterInList) GetMoistureLevelOk() (*float32, bool)
- func (o *TreeClusterInList) GetName() string
- func (o *TreeClusterInList) GetNameOk() (*string, bool)
- func (o *TreeClusterInList) GetRegion() Region
- func (o *TreeClusterInList) GetRegionOk() (*Region, bool)
- func (o *TreeClusterInList) GetSoilCondition() SoilCondition
- func (o *TreeClusterInList) GetSoilConditionOk() (*SoilCondition, bool)
- func (o *TreeClusterInList) GetTreeIds() []int32
- func (o *TreeClusterInList) GetTreeIdsOk() ([]int32, bool)
- func (o *TreeClusterInList) GetUpdatedAt() string
- func (o *TreeClusterInList) GetUpdatedAtOk() (*string, bool)
- func (o *TreeClusterInList) GetWateringStatus() WateringStatus
- func (o *TreeClusterInList) GetWateringStatusOk() (*WateringStatus, bool)
- func (o *TreeClusterInList) HasLastWatered() bool
- func (o *TreeClusterInList) HasRegion() bool
- func (o *TreeClusterInList) HasTreeIds() bool
- func (o TreeClusterInList) MarshalJSON() ([]byte, error)
- func (o *TreeClusterInList) SetAddress(v string)
- func (o *TreeClusterInList) SetArchived(v bool)
- func (o *TreeClusterInList) SetCreatedAt(v string)
- func (o *TreeClusterInList) SetDescription(v string)
- func (o *TreeClusterInList) SetId(v int32)
- func (o *TreeClusterInList) SetLastWatered(v string)
- func (o *TreeClusterInList) SetLatitude(v float32)
- func (o *TreeClusterInList) SetLongitude(v float32)
- func (o *TreeClusterInList) SetMoistureLevel(v float32)
- func (o *TreeClusterInList) SetName(v string)
- func (o *TreeClusterInList) SetRegion(v Region)
- func (o *TreeClusterInList) SetSoilCondition(v SoilCondition)
- func (o *TreeClusterInList) SetTreeIds(v []int32)
- func (o *TreeClusterInList) SetUpdatedAt(v string)
- func (o *TreeClusterInList) SetWateringStatus(v WateringStatus)
- func (o TreeClusterInList) ToMap() (map[string]interface{}, error)
- func (o *TreeClusterInList) UnmarshalJSON(data []byte) (err error)
- type TreeClusterList
- func (o *TreeClusterList) GetData() []TreeClusterInList
- func (o *TreeClusterList) GetDataOk() ([]TreeClusterInList, bool)
- func (o *TreeClusterList) GetPagination() Pagination
- func (o *TreeClusterList) GetPaginationOk() (*Pagination, bool)
- func (o *TreeClusterList) HasPagination() bool
- func (o TreeClusterList) MarshalJSON() ([]byte, error)
- func (o *TreeClusterList) SetData(v []TreeClusterInList)
- func (o *TreeClusterList) SetPagination(v Pagination)
- func (o TreeClusterList) ToMap() (map[string]interface{}, error)
- func (o *TreeClusterList) UnmarshalJSON(data []byte) (err error)
- type TreeClusterUpdate
- func (o *TreeClusterUpdate) GetAdditionalInformation() map[string]interface{}
- func (o *TreeClusterUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *TreeClusterUpdate) GetAddress() string
- func (o *TreeClusterUpdate) GetAddressOk() (*string, bool)
- func (o *TreeClusterUpdate) GetDescription() string
- func (o *TreeClusterUpdate) GetDescriptionOk() (*string, bool)
- func (o *TreeClusterUpdate) GetName() string
- func (o *TreeClusterUpdate) GetNameOk() (*string, bool)
- func (o *TreeClusterUpdate) GetProvider() string
- func (o *TreeClusterUpdate) GetProviderOk() (*string, bool)
- func (o *TreeClusterUpdate) GetSoilCondition() SoilCondition
- func (o *TreeClusterUpdate) GetSoilConditionOk() (*SoilCondition, bool)
- func (o *TreeClusterUpdate) GetTreeIds() []int32
- func (o *TreeClusterUpdate) GetTreeIdsOk() ([]int32, bool)
- func (o *TreeClusterUpdate) HasAdditionalInformation() bool
- func (o *TreeClusterUpdate) HasProvider() bool
- func (o TreeClusterUpdate) MarshalJSON() ([]byte, error)
- func (o *TreeClusterUpdate) SetAdditionalInformation(v map[string]interface{})
- func (o *TreeClusterUpdate) SetAddress(v string)
- func (o *TreeClusterUpdate) SetDescription(v string)
- func (o *TreeClusterUpdate) SetName(v string)
- func (o *TreeClusterUpdate) SetProvider(v string)
- func (o *TreeClusterUpdate) SetSoilCondition(v SoilCondition)
- func (o *TreeClusterUpdate) SetTreeIds(v []int32)
- func (o TreeClusterUpdate) ToMap() (map[string]interface{}, error)
- func (o *TreeClusterUpdate) UnmarshalJSON(data []byte) (err error)
- type TreeCreate
- func (o *TreeCreate) GetAdditionalInformation() map[string]interface{}
- func (o *TreeCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *TreeCreate) GetDescription() string
- func (o *TreeCreate) GetDescriptionOk() (*string, bool)
- func (o *TreeCreate) GetLatitude() float32
- func (o *TreeCreate) GetLatitudeOk() (*float32, bool)
- func (o *TreeCreate) GetLongitude() float32
- func (o *TreeCreate) GetLongitudeOk() (*float32, bool)
- func (o *TreeCreate) GetNumber() string
- func (o *TreeCreate) GetNumberOk() (*string, bool)
- func (o *TreeCreate) GetPlantingYear() int32
- func (o *TreeCreate) GetPlantingYearOk() (*int32, bool)
- func (o *TreeCreate) GetProvider() string
- func (o *TreeCreate) GetProviderOk() (*string, bool)
- func (o *TreeCreate) GetSensorId() string
- func (o *TreeCreate) GetSensorIdOk() (*string, bool)
- func (o *TreeCreate) GetSpecies() string
- func (o *TreeCreate) GetSpeciesOk() (*string, bool)
- func (o *TreeCreate) GetTreeClusterId() int32
- func (o *TreeCreate) GetTreeClusterIdOk() (*int32, bool)
- func (o *TreeCreate) HasAdditionalInformation() bool
- func (o *TreeCreate) HasProvider() bool
- func (o *TreeCreate) HasSensorId() bool
- func (o *TreeCreate) HasTreeClusterId() bool
- func (o TreeCreate) MarshalJSON() ([]byte, error)
- func (o *TreeCreate) SetAdditionalInformation(v map[string]interface{})
- func (o *TreeCreate) SetDescription(v string)
- func (o *TreeCreate) SetLatitude(v float32)
- func (o *TreeCreate) SetLongitude(v float32)
- func (o *TreeCreate) SetNumber(v string)
- func (o *TreeCreate) SetPlantingYear(v int32)
- func (o *TreeCreate) SetProvider(v string)
- func (o *TreeCreate) SetSensorId(v string)
- func (o *TreeCreate) SetSpecies(v string)
- func (o *TreeCreate) SetTreeClusterId(v int32)
- func (o TreeCreate) ToMap() (map[string]interface{}, error)
- func (o *TreeCreate) UnmarshalJSON(data []byte) (err error)
- type TreeList
- func (o *TreeList) GetData() []Tree
- func (o *TreeList) GetDataOk() ([]Tree, bool)
- func (o *TreeList) GetPagination() Pagination
- func (o *TreeList) GetPaginationOk() (*Pagination, bool)
- func (o *TreeList) HasPagination() bool
- func (o TreeList) MarshalJSON() ([]byte, error)
- func (o *TreeList) SetData(v []Tree)
- func (o *TreeList) SetPagination(v Pagination)
- func (o TreeList) ToMap() (map[string]interface{}, error)
- func (o *TreeList) UnmarshalJSON(data []byte) (err error)
- type TreeSensorAPIService
- type TreeUpdate
- func (o *TreeUpdate) GetAdditionalInformation() map[string]interface{}
- func (o *TreeUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *TreeUpdate) GetDescription() string
- func (o *TreeUpdate) GetDescriptionOk() (*string, bool)
- func (o *TreeUpdate) GetLatitude() float32
- func (o *TreeUpdate) GetLatitudeOk() (*float32, bool)
- func (o *TreeUpdate) GetLongitude() float32
- func (o *TreeUpdate) GetLongitudeOk() (*float32, bool)
- func (o *TreeUpdate) GetNumber() string
- func (o *TreeUpdate) GetNumberOk() (*string, bool)
- func (o *TreeUpdate) GetPlantingYear() int32
- func (o *TreeUpdate) GetPlantingYearOk() (*int32, bool)
- func (o *TreeUpdate) GetProvider() string
- func (o *TreeUpdate) GetProviderOk() (*string, bool)
- func (o *TreeUpdate) GetSensorId() string
- func (o *TreeUpdate) GetSensorIdOk() (*string, bool)
- func (o *TreeUpdate) GetSpecies() string
- func (o *TreeUpdate) GetSpeciesOk() (*string, bool)
- func (o *TreeUpdate) GetTreeClusterId() int32
- func (o *TreeUpdate) GetTreeClusterIdOk() (*int32, bool)
- func (o *TreeUpdate) HasAdditionalInformation() bool
- func (o *TreeUpdate) HasProvider() bool
- func (o *TreeUpdate) HasSensorId() bool
- func (o *TreeUpdate) HasTreeClusterId() bool
- func (o TreeUpdate) MarshalJSON() ([]byte, error)
- func (o *TreeUpdate) SetAdditionalInformation(v map[string]interface{})
- func (o *TreeUpdate) SetDescription(v string)
- func (o *TreeUpdate) SetLatitude(v float32)
- func (o *TreeUpdate) SetLongitude(v float32)
- func (o *TreeUpdate) SetNumber(v string)
- func (o *TreeUpdate) SetPlantingYear(v int32)
- func (o *TreeUpdate) SetProvider(v string)
- func (o *TreeUpdate) SetSensorId(v string)
- func (o *TreeUpdate) SetSpecies(v string)
- func (o *TreeUpdate) SetTreeClusterId(v int32)
- func (o TreeUpdate) ToMap() (map[string]interface{}, error)
- func (o *TreeUpdate) UnmarshalJSON(data []byte) (err error)
- type User
- func (o *User) GetAvatarUrl() string
- func (o *User) GetAvatarUrlOk() (*string, bool)
- func (o *User) GetCreatedAt() string
- func (o *User) GetCreatedAtOk() (*string, bool)
- func (o *User) GetDrivingLicenses() []DrivingLicense
- func (o *User) GetDrivingLicensesOk() ([]DrivingLicense, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetEmailVerified() bool
- func (o *User) GetEmailVerifiedOk() (*bool, bool)
- func (o *User) GetEmployeeId() string
- func (o *User) GetEmployeeIdOk() (*string, bool)
- func (o *User) GetFirstName() string
- func (o *User) GetFirstNameOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetLastName() string
- func (o *User) GetLastNameOk() (*string, bool)
- func (o *User) GetPhoneNumber() string
- func (o *User) GetPhoneNumberOk() (*string, bool)
- func (o *User) GetRoles() []UserRole
- func (o *User) GetRolesOk() ([]UserRole, bool)
- func (o *User) GetStatus() UserStatus
- func (o *User) GetStatusOk() (*UserStatus, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetAvatarUrl(v string)
- func (o *User) SetCreatedAt(v string)
- func (o *User) SetDrivingLicenses(v []DrivingLicense)
- func (o *User) SetEmail(v string)
- func (o *User) SetEmailVerified(v bool)
- func (o *User) SetEmployeeId(v string)
- func (o *User) SetFirstName(v string)
- func (o *User) SetId(v string)
- func (o *User) SetLastName(v string)
- func (o *User) SetPhoneNumber(v string)
- func (o *User) SetRoles(v []UserRole)
- func (o *User) SetStatus(v UserStatus)
- func (o *User) SetUsername(v string)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
- type UserAPIService
- func (a *UserAPIService) GetAllUsers(ctx context.Context) ApiGetAllUsersRequest
- func (a *UserAPIService) GetAllUsersExecute(r ApiGetAllUsersRequest) (*UserList, *http.Response, error)
- func (a *UserAPIService) GetUsersByRole(ctx context.Context, role string) ApiGetUsersByRoleRequest
- func (a *UserAPIService) GetUsersByRoleExecute(r ApiGetUsersByRoleRequest) (*UserList, *http.Response, error)
- func (a *UserAPIService) V1UserLoginGet(ctx context.Context) ApiV1UserLoginGetRequest
- func (a *UserAPIService) V1UserLoginGetExecute(r ApiV1UserLoginGetRequest) (*LoginResponse, *http.Response, error)
- func (a *UserAPIService) V1UserLoginTokenPost(ctx context.Context) ApiV1UserLoginTokenPostRequest
- func (a *UserAPIService) V1UserLoginTokenPostExecute(r ApiV1UserLoginTokenPostRequest) (*ClientToken, *http.Response, error)
- func (a *UserAPIService) V1UserLogoutPost(ctx context.Context) ApiV1UserLogoutPostRequest
- func (a *UserAPIService) V1UserLogoutPostExecute(r ApiV1UserLogoutPostRequest) (string, *http.Response, error)
- func (a *UserAPIService) V1UserPost(ctx context.Context) ApiV1UserPostRequest
- func (a *UserAPIService) V1UserPostExecute(r ApiV1UserPostRequest) (*User, *http.Response, error)
- func (a *UserAPIService) V1UserTokenRefreshPost(ctx context.Context) ApiV1UserTokenRefreshPostRequest
- func (a *UserAPIService) V1UserTokenRefreshPostExecute(r ApiV1UserTokenRefreshPostRequest) (*ClientToken, *http.Response, error)
- type UserList
- type UserRegister
- func (o *UserRegister) GetAvatarUrl() string
- func (o *UserRegister) GetAvatarUrlOk() (*string, bool)
- func (o *UserRegister) GetEmail() string
- func (o *UserRegister) GetEmailOk() (*string, bool)
- func (o *UserRegister) GetEmployeeId() string
- func (o *UserRegister) GetEmployeeIdOk() (*string, bool)
- func (o *UserRegister) GetFirstName() string
- func (o *UserRegister) GetFirstNameOk() (*string, bool)
- func (o *UserRegister) GetLastName() string
- func (o *UserRegister) GetLastNameOk() (*string, bool)
- func (o *UserRegister) GetPassword() string
- func (o *UserRegister) GetPasswordOk() (*string, bool)
- func (o *UserRegister) GetPhoneNumber() string
- func (o *UserRegister) GetPhoneNumberOk() (*string, bool)
- func (o *UserRegister) GetRoles() []string
- func (o *UserRegister) GetRolesOk() ([]string, bool)
- func (o *UserRegister) GetUsername() string
- func (o *UserRegister) GetUsernameOk() (*string, bool)
- func (o UserRegister) MarshalJSON() ([]byte, error)
- func (o *UserRegister) SetAvatarUrl(v string)
- func (o *UserRegister) SetEmail(v string)
- func (o *UserRegister) SetEmployeeId(v string)
- func (o *UserRegister) SetFirstName(v string)
- func (o *UserRegister) SetLastName(v string)
- func (o *UserRegister) SetPassword(v string)
- func (o *UserRegister) SetPhoneNumber(v string)
- func (o *UserRegister) SetRoles(v []string)
- func (o *UserRegister) SetUsername(v string)
- func (o UserRegister) ToMap() (map[string]interface{}, error)
- func (o *UserRegister) UnmarshalJSON(data []byte) (err error)
- type UserRole
- type UserStatus
- type Vehicle
- func (o *Vehicle) GetAdditionalInformation() map[string]interface{}
- func (o *Vehicle) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *Vehicle) GetArchivedAt() string
- func (o *Vehicle) GetArchivedAtOk() (*string, bool)
- func (o *Vehicle) GetCreatedAt() string
- func (o *Vehicle) GetCreatedAtOk() (*string, bool)
- func (o *Vehicle) GetDescription() string
- func (o *Vehicle) GetDescriptionOk() (*string, bool)
- func (o *Vehicle) GetDrivingLicense() DrivingLicense
- func (o *Vehicle) GetDrivingLicenseOk() (*DrivingLicense, bool)
- func (o *Vehicle) GetHeight() float32
- func (o *Vehicle) GetHeightOk() (*float32, bool)
- func (o *Vehicle) GetId() int32
- func (o *Vehicle) GetIdOk() (*int32, bool)
- func (o *Vehicle) GetLength() float32
- func (o *Vehicle) GetLengthOk() (*float32, bool)
- func (o *Vehicle) GetModel() string
- func (o *Vehicle) GetModelOk() (*string, bool)
- func (o *Vehicle) GetNumberPlate() string
- func (o *Vehicle) GetNumberPlateOk() (*string, bool)
- func (o *Vehicle) GetProvider() string
- func (o *Vehicle) GetProviderOk() (*string, bool)
- func (o *Vehicle) GetStatus() VehicleStatus
- func (o *Vehicle) GetStatusOk() (*VehicleStatus, bool)
- func (o *Vehicle) GetType() VehicleType
- func (o *Vehicle) GetTypeOk() (*VehicleType, bool)
- func (o *Vehicle) GetUpdatedAt() string
- func (o *Vehicle) GetUpdatedAtOk() (*string, bool)
- func (o *Vehicle) GetWaterCapacity() float32
- func (o *Vehicle) GetWaterCapacityOk() (*float32, bool)
- func (o *Vehicle) GetWeight() float32
- func (o *Vehicle) GetWeightOk() (*float32, bool)
- func (o *Vehicle) GetWidth() float32
- func (o *Vehicle) GetWidthOk() (*float32, bool)
- func (o *Vehicle) HasAdditionalInformation() bool
- func (o Vehicle) MarshalJSON() ([]byte, error)
- func (o *Vehicle) SetAdditionalInformation(v map[string]interface{})
- func (o *Vehicle) SetArchivedAt(v string)
- func (o *Vehicle) SetCreatedAt(v string)
- func (o *Vehicle) SetDescription(v string)
- func (o *Vehicle) SetDrivingLicense(v DrivingLicense)
- func (o *Vehicle) SetHeight(v float32)
- func (o *Vehicle) SetId(v int32)
- func (o *Vehicle) SetLength(v float32)
- func (o *Vehicle) SetModel(v string)
- func (o *Vehicle) SetNumberPlate(v string)
- func (o *Vehicle) SetProvider(v string)
- func (o *Vehicle) SetStatus(v VehicleStatus)
- func (o *Vehicle) SetType(v VehicleType)
- func (o *Vehicle) SetUpdatedAt(v string)
- func (o *Vehicle) SetWaterCapacity(v float32)
- func (o *Vehicle) SetWeight(v float32)
- func (o *Vehicle) SetWidth(v float32)
- func (o Vehicle) ToMap() (map[string]interface{}, error)
- func (o *Vehicle) UnmarshalJSON(data []byte) (err error)
- type VehicleAPIService
- func (a *VehicleAPIService) ArchiveVehicle(ctx context.Context, id int32) ApiArchiveVehicleRequest
- func (a *VehicleAPIService) ArchiveVehicleExecute(r ApiArchiveVehicleRequest) (*http.Response, error)
- func (a *VehicleAPIService) CreateVehicle(ctx context.Context) ApiCreateVehicleRequest
- func (a *VehicleAPIService) CreateVehicleExecute(r ApiCreateVehicleRequest) (*Vehicle, *http.Response, error)
- func (a *VehicleAPIService) DeleteVehicle(ctx context.Context, id int32) ApiDeleteVehicleRequest
- func (a *VehicleAPIService) DeleteVehicleExecute(r ApiDeleteVehicleRequest) (*http.Response, error)
- func (a *VehicleAPIService) GetAllVehicles(ctx context.Context) ApiGetAllVehiclesRequest
- func (a *VehicleAPIService) GetAllVehiclesExecute(r ApiGetAllVehiclesRequest) (*VehicleList, *http.Response, error)
- func (a *VehicleAPIService) GetArchiveVehicle(ctx context.Context) ApiGetArchiveVehicleRequest
- func (a *VehicleAPIService) GetArchiveVehicleExecute(r ApiGetArchiveVehicleRequest) ([]Vehicle, *http.Response, error)
- func (a *VehicleAPIService) GetVehicleById(ctx context.Context, id int32) ApiGetVehicleByIdRequest
- func (a *VehicleAPIService) GetVehicleByIdExecute(r ApiGetVehicleByIdRequest) (*Vehicle, *http.Response, error)
- func (a *VehicleAPIService) GetVehicleByPlate(ctx context.Context, plate string) ApiGetVehicleByPlateRequest
- func (a *VehicleAPIService) GetVehicleByPlateExecute(r ApiGetVehicleByPlateRequest) (*Vehicle, *http.Response, error)
- func (a *VehicleAPIService) UpdateVehicle(ctx context.Context, id string) ApiUpdateVehicleRequest
- func (a *VehicleAPIService) UpdateVehicleExecute(r ApiUpdateVehicleRequest) (*Vehicle, *http.Response, error)
- type VehicleCreate
- func (o *VehicleCreate) GetAdditionalInformation() map[string]interface{}
- func (o *VehicleCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *VehicleCreate) GetDescription() string
- func (o *VehicleCreate) GetDescriptionOk() (*string, bool)
- func (o *VehicleCreate) GetDrivingLicense() DrivingLicense
- func (o *VehicleCreate) GetDrivingLicenseOk() (*DrivingLicense, bool)
- func (o *VehicleCreate) GetHeight() float32
- func (o *VehicleCreate) GetHeightOk() (*float32, bool)
- func (o *VehicleCreate) GetLength() float32
- func (o *VehicleCreate) GetLengthOk() (*float32, bool)
- func (o *VehicleCreate) GetModel() string
- func (o *VehicleCreate) GetModelOk() (*string, bool)
- func (o *VehicleCreate) GetNumberPlate() string
- func (o *VehicleCreate) GetNumberPlateOk() (*string, bool)
- func (o *VehicleCreate) GetProvider() string
- func (o *VehicleCreate) GetProviderOk() (*string, bool)
- func (o *VehicleCreate) GetStatus() VehicleStatus
- func (o *VehicleCreate) GetStatusOk() (*VehicleStatus, bool)
- func (o *VehicleCreate) GetType() VehicleType
- func (o *VehicleCreate) GetTypeOk() (*VehicleType, bool)
- func (o *VehicleCreate) GetWaterCapacity() float32
- func (o *VehicleCreate) GetWaterCapacityOk() (*float32, bool)
- func (o *VehicleCreate) GetWeight() float32
- func (o *VehicleCreate) GetWeightOk() (*float32, bool)
- func (o *VehicleCreate) GetWidth() float32
- func (o *VehicleCreate) GetWidthOk() (*float32, bool)
- func (o *VehicleCreate) HasAdditionalInformation() bool
- func (o *VehicleCreate) HasProvider() bool
- func (o VehicleCreate) MarshalJSON() ([]byte, error)
- func (o *VehicleCreate) SetAdditionalInformation(v map[string]interface{})
- func (o *VehicleCreate) SetDescription(v string)
- func (o *VehicleCreate) SetDrivingLicense(v DrivingLicense)
- func (o *VehicleCreate) SetHeight(v float32)
- func (o *VehicleCreate) SetLength(v float32)
- func (o *VehicleCreate) SetModel(v string)
- func (o *VehicleCreate) SetNumberPlate(v string)
- func (o *VehicleCreate) SetProvider(v string)
- func (o *VehicleCreate) SetStatus(v VehicleStatus)
- func (o *VehicleCreate) SetType(v VehicleType)
- func (o *VehicleCreate) SetWaterCapacity(v float32)
- func (o *VehicleCreate) SetWeight(v float32)
- func (o *VehicleCreate) SetWidth(v float32)
- func (o VehicleCreate) ToMap() (map[string]interface{}, error)
- func (o *VehicleCreate) UnmarshalJSON(data []byte) (err error)
- type VehicleList
- func (o *VehicleList) GetData() []Vehicle
- func (o *VehicleList) GetDataOk() ([]Vehicle, bool)
- func (o *VehicleList) GetPagination() Pagination
- func (o *VehicleList) GetPaginationOk() (*Pagination, bool)
- func (o *VehicleList) HasPagination() bool
- func (o VehicleList) MarshalJSON() ([]byte, error)
- func (o *VehicleList) SetData(v []Vehicle)
- func (o *VehicleList) SetPagination(v Pagination)
- func (o VehicleList) ToMap() (map[string]interface{}, error)
- func (o *VehicleList) UnmarshalJSON(data []byte) (err error)
- type VehicleStatus
- type VehicleType
- type VehicleUpdate
- func (o *VehicleUpdate) GetAdditionalInformation() map[string]interface{}
- func (o *VehicleUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *VehicleUpdate) GetDescription() string
- func (o *VehicleUpdate) GetDescriptionOk() (*string, bool)
- func (o *VehicleUpdate) GetDrivingLicense() DrivingLicense
- func (o *VehicleUpdate) GetDrivingLicenseOk() (*DrivingLicense, bool)
- func (o *VehicleUpdate) GetHeight() float32
- func (o *VehicleUpdate) GetHeightOk() (*float32, bool)
- func (o *VehicleUpdate) GetLength() float32
- func (o *VehicleUpdate) GetLengthOk() (*float32, bool)
- func (o *VehicleUpdate) GetModel() string
- func (o *VehicleUpdate) GetModelOk() (*string, bool)
- func (o *VehicleUpdate) GetNumberPlate() string
- func (o *VehicleUpdate) GetNumberPlateOk() (*string, bool)
- func (o *VehicleUpdate) GetProvider() string
- func (o *VehicleUpdate) GetProviderOk() (*string, bool)
- func (o *VehicleUpdate) GetStatus() VehicleStatus
- func (o *VehicleUpdate) GetStatusOk() (*VehicleStatus, bool)
- func (o *VehicleUpdate) GetType() VehicleType
- func (o *VehicleUpdate) GetTypeOk() (*VehicleType, bool)
- func (o *VehicleUpdate) GetWaterCapacity() float32
- func (o *VehicleUpdate) GetWaterCapacityOk() (*float32, bool)
- func (o *VehicleUpdate) GetWeight() float32
- func (o *VehicleUpdate) GetWeightOk() (*float32, bool)
- func (o *VehicleUpdate) GetWidth() float32
- func (o *VehicleUpdate) GetWidthOk() (*float32, bool)
- func (o *VehicleUpdate) HasAdditionalInformation() bool
- func (o *VehicleUpdate) HasProvider() bool
- func (o VehicleUpdate) MarshalJSON() ([]byte, error)
- func (o *VehicleUpdate) SetAdditionalInformation(v map[string]interface{})
- func (o *VehicleUpdate) SetDescription(v string)
- func (o *VehicleUpdate) SetDrivingLicense(v DrivingLicense)
- func (o *VehicleUpdate) SetHeight(v float32)
- func (o *VehicleUpdate) SetLength(v float32)
- func (o *VehicleUpdate) SetModel(v string)
- func (o *VehicleUpdate) SetNumberPlate(v string)
- func (o *VehicleUpdate) SetProvider(v string)
- func (o *VehicleUpdate) SetStatus(v VehicleStatus)
- func (o *VehicleUpdate) SetType(v VehicleType)
- func (o *VehicleUpdate) SetWaterCapacity(v float32)
- func (o *VehicleUpdate) SetWeight(v float32)
- func (o *VehicleUpdate) SetWidth(v float32)
- func (o VehicleUpdate) ToMap() (map[string]interface{}, error)
- func (o *VehicleUpdate) UnmarshalJSON(data []byte) (err error)
- type WateringPlan
- func (o *WateringPlan) GetAdditionalInformation() map[string]interface{}
- func (o *WateringPlan) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *WateringPlan) GetCancellationNote() string
- func (o *WateringPlan) GetCancellationNoteOk() (*string, bool)
- func (o *WateringPlan) GetCreatedAt() string
- func (o *WateringPlan) GetCreatedAtOk() (*string, bool)
- func (o *WateringPlan) GetDate() string
- func (o *WateringPlan) GetDateOk() (*string, bool)
- func (o *WateringPlan) GetDescription() string
- func (o *WateringPlan) GetDescriptionOk() (*string, bool)
- func (o *WateringPlan) GetDistance() float32
- func (o *WateringPlan) GetDistanceOk() (*float32, bool)
- func (o *WateringPlan) GetDuration() float32
- func (o *WateringPlan) GetDurationOk() (*float32, bool)
- func (o *WateringPlan) GetEvaluation() []EvaluationValue
- func (o *WateringPlan) GetEvaluationOk() ([]EvaluationValue, bool)
- func (o *WateringPlan) GetGpxUrl() string
- func (o *WateringPlan) GetGpxUrlOk() (*string, bool)
- func (o *WateringPlan) GetId() int32
- func (o *WateringPlan) GetIdOk() (*int32, bool)
- func (o *WateringPlan) GetProvider() string
- func (o *WateringPlan) GetProviderOk() (*string, bool)
- func (o *WateringPlan) GetRefillCount() int32
- func (o *WateringPlan) GetRefillCountOk() (*int32, bool)
- func (o *WateringPlan) GetStatus() WateringPlanStatus
- func (o *WateringPlan) GetStatusOk() (*WateringPlanStatus, bool)
- func (o *WateringPlan) GetTotalWaterRequired() float32
- func (o *WateringPlan) GetTotalWaterRequiredOk() (*float32, bool)
- func (o *WateringPlan) GetTrailer() Vehicle
- func (o *WateringPlan) GetTrailerOk() (*Vehicle, bool)
- func (o *WateringPlan) GetTransporter() Vehicle
- func (o *WateringPlan) GetTransporterOk() (*Vehicle, bool)
- func (o *WateringPlan) GetTreeclusters() []TreeClusterInList
- func (o *WateringPlan) GetTreeclustersOk() ([]TreeClusterInList, bool)
- func (o *WateringPlan) GetUpdatedAt() string
- func (o *WateringPlan) GetUpdatedAtOk() (*string, bool)
- func (o *WateringPlan) GetUserIds() []string
- func (o *WateringPlan) GetUserIdsOk() ([]string, bool)
- func (o *WateringPlan) HasAdditionalInformation() bool
- func (o *WateringPlan) HasTrailer() bool
- func (o WateringPlan) MarshalJSON() ([]byte, error)
- func (o *WateringPlan) SetAdditionalInformation(v map[string]interface{})
- func (o *WateringPlan) SetCancellationNote(v string)
- func (o *WateringPlan) SetCreatedAt(v string)
- func (o *WateringPlan) SetDate(v string)
- func (o *WateringPlan) SetDescription(v string)
- func (o *WateringPlan) SetDistance(v float32)
- func (o *WateringPlan) SetDuration(v float32)
- func (o *WateringPlan) SetEvaluation(v []EvaluationValue)
- func (o *WateringPlan) SetGpxUrl(v string)
- func (o *WateringPlan) SetId(v int32)
- func (o *WateringPlan) SetProvider(v string)
- func (o *WateringPlan) SetRefillCount(v int32)
- func (o *WateringPlan) SetStatus(v WateringPlanStatus)
- func (o *WateringPlan) SetTotalWaterRequired(v float32)
- func (o *WateringPlan) SetTrailer(v Vehicle)
- func (o *WateringPlan) SetTransporter(v Vehicle)
- func (o *WateringPlan) SetTreeclusters(v []TreeClusterInList)
- func (o *WateringPlan) SetUpdatedAt(v string)
- func (o *WateringPlan) SetUserIds(v []string)
- func (o WateringPlan) ToMap() (map[string]interface{}, error)
- func (o *WateringPlan) UnmarshalJSON(data []byte) (err error)
- type WateringPlanAPIService
- func (a *WateringPlanAPIService) CreateWateringPlan(ctx context.Context) ApiCreateWateringPlanRequest
- func (a *WateringPlanAPIService) CreateWateringPlanExecute(r ApiCreateWateringPlanRequest) (*WateringPlan, *http.Response, error)
- func (a *WateringPlanAPIService) DeleteWateringPlan(ctx context.Context, id int32) ApiDeleteWateringPlanRequest
- func (a *WateringPlanAPIService) DeleteWateringPlanExecute(r ApiDeleteWateringPlanRequest) (*http.Response, error)
- func (a *WateringPlanAPIService) GetAllWateringPlans(ctx context.Context) ApiGetAllWateringPlansRequest
- func (a *WateringPlanAPIService) GetAllWateringPlansExecute(r ApiGetAllWateringPlansRequest) (*WateringPlanList, *http.Response, error)
- func (a *WateringPlanAPIService) GetWateringPlanById(ctx context.Context, id int32) ApiGetWateringPlanByIdRequest
- func (a *WateringPlanAPIService) GetWateringPlanByIdExecute(r ApiGetWateringPlanByIdRequest) (*WateringPlan, *http.Response, error)
- func (a *WateringPlanAPIService) UpdateWateringPlan(ctx context.Context, id string) ApiUpdateWateringPlanRequest
- func (a *WateringPlanAPIService) UpdateWateringPlanExecute(r ApiUpdateWateringPlanRequest) (*WateringPlan, *http.Response, error)
- func (a *WateringPlanAPIService) V1WateringPlanRouteGpxGpxNameGet(ctx context.Context, gpxName string) ApiV1WateringPlanRouteGpxGpxNameGetRequest
- func (a *WateringPlanAPIService) V1WateringPlanRouteGpxGpxNameGetExecute(r ApiV1WateringPlanRouteGpxGpxNameGetRequest) (*os.File, *http.Response, error)
- func (a *WateringPlanAPIService) V1WateringPlanRoutePreviewPost(ctx context.Context) ApiV1WateringPlanRoutePreviewPostRequest
- func (a *WateringPlanAPIService) V1WateringPlanRoutePreviewPostExecute(r ApiV1WateringPlanRoutePreviewPostRequest) (*GeoJson, *http.Response, error)
- type WateringPlanCreate
- func (o *WateringPlanCreate) GetAdditionalInformation() map[string]interface{}
- func (o *WateringPlanCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *WateringPlanCreate) GetDate() string
- func (o *WateringPlanCreate) GetDateOk() (*string, bool)
- func (o *WateringPlanCreate) GetDescription() string
- func (o *WateringPlanCreate) GetDescriptionOk() (*string, bool)
- func (o *WateringPlanCreate) GetProvider() string
- func (o *WateringPlanCreate) GetProviderOk() (*string, bool)
- func (o *WateringPlanCreate) GetTrailerId() int32
- func (o *WateringPlanCreate) GetTrailerIdOk() (*int32, bool)
- func (o *WateringPlanCreate) GetTransporterId() int32
- func (o *WateringPlanCreate) GetTransporterIdOk() (*int32, bool)
- func (o *WateringPlanCreate) GetTreeClusterIds() []int32
- func (o *WateringPlanCreate) GetTreeClusterIdsOk() ([]int32, bool)
- func (o *WateringPlanCreate) GetUserIds() []string
- func (o *WateringPlanCreate) GetUserIdsOk() ([]string, bool)
- func (o *WateringPlanCreate) HasAdditionalInformation() bool
- func (o *WateringPlanCreate) HasProvider() bool
- func (o *WateringPlanCreate) HasTrailerId() bool
- func (o WateringPlanCreate) MarshalJSON() ([]byte, error)
- func (o *WateringPlanCreate) SetAdditionalInformation(v map[string]interface{})
- func (o *WateringPlanCreate) SetDate(v string)
- func (o *WateringPlanCreate) SetDescription(v string)
- func (o *WateringPlanCreate) SetProvider(v string)
- func (o *WateringPlanCreate) SetTrailerId(v int32)
- func (o *WateringPlanCreate) SetTransporterId(v int32)
- func (o *WateringPlanCreate) SetTreeClusterIds(v []int32)
- func (o *WateringPlanCreate) SetUserIds(v []string)
- func (o WateringPlanCreate) ToMap() (map[string]interface{}, error)
- func (o *WateringPlanCreate) UnmarshalJSON(data []byte) (err error)
- type WateringPlanInList
- func (o *WateringPlanInList) GetCancellationNote() string
- func (o *WateringPlanInList) GetCancellationNoteOk() (*string, bool)
- func (o *WateringPlanInList) GetCreatedAt() string
- func (o *WateringPlanInList) GetCreatedAtOk() (*string, bool)
- func (o *WateringPlanInList) GetDate() string
- func (o *WateringPlanInList) GetDateOk() (*string, bool)
- func (o *WateringPlanInList) GetDescription() string
- func (o *WateringPlanInList) GetDescriptionOk() (*string, bool)
- func (o *WateringPlanInList) GetDistance() float32
- func (o *WateringPlanInList) GetDistanceOk() (*float32, bool)
- func (o *WateringPlanInList) GetId() int32
- func (o *WateringPlanInList) GetIdOk() (*int32, bool)
- func (o *WateringPlanInList) GetStatus() WateringPlanStatus
- func (o *WateringPlanInList) GetStatusOk() (*WateringPlanStatus, bool)
- func (o *WateringPlanInList) GetTotalWaterRequired() float32
- func (o *WateringPlanInList) GetTotalWaterRequiredOk() (*float32, bool)
- func (o *WateringPlanInList) GetTrailer() Vehicle
- func (o *WateringPlanInList) GetTrailerOk() (*Vehicle, bool)
- func (o *WateringPlanInList) GetTransporter() Vehicle
- func (o *WateringPlanInList) GetTransporterOk() (*Vehicle, bool)
- func (o *WateringPlanInList) GetTreeclusters() []TreeClusterInList
- func (o *WateringPlanInList) GetTreeclustersOk() ([]TreeClusterInList, bool)
- func (o *WateringPlanInList) GetUpdatedAt() string
- func (o *WateringPlanInList) GetUpdatedAtOk() (*string, bool)
- func (o *WateringPlanInList) GetUserIds() []string
- func (o *WateringPlanInList) GetUserIdsOk() ([]string, bool)
- func (o *WateringPlanInList) HasTrailer() bool
- func (o WateringPlanInList) MarshalJSON() ([]byte, error)
- func (o *WateringPlanInList) SetCancellationNote(v string)
- func (o *WateringPlanInList) SetCreatedAt(v string)
- func (o *WateringPlanInList) SetDate(v string)
- func (o *WateringPlanInList) SetDescription(v string)
- func (o *WateringPlanInList) SetDistance(v float32)
- func (o *WateringPlanInList) SetId(v int32)
- func (o *WateringPlanInList) SetStatus(v WateringPlanStatus)
- func (o *WateringPlanInList) SetTotalWaterRequired(v float32)
- func (o *WateringPlanInList) SetTrailer(v Vehicle)
- func (o *WateringPlanInList) SetTransporter(v Vehicle)
- func (o *WateringPlanInList) SetTreeclusters(v []TreeClusterInList)
- func (o *WateringPlanInList) SetUpdatedAt(v string)
- func (o *WateringPlanInList) SetUserIds(v []string)
- func (o WateringPlanInList) ToMap() (map[string]interface{}, error)
- func (o *WateringPlanInList) UnmarshalJSON(data []byte) (err error)
- type WateringPlanList
- func (o *WateringPlanList) GetData() []WateringPlanInList
- func (o *WateringPlanList) GetDataOk() ([]WateringPlanInList, bool)
- func (o *WateringPlanList) GetPagination() Pagination
- func (o *WateringPlanList) GetPaginationOk() (*Pagination, bool)
- func (o *WateringPlanList) HasPagination() bool
- func (o WateringPlanList) MarshalJSON() ([]byte, error)
- func (o *WateringPlanList) SetData(v []WateringPlanInList)
- func (o *WateringPlanList) SetPagination(v Pagination)
- func (o WateringPlanList) ToMap() (map[string]interface{}, error)
- func (o *WateringPlanList) UnmarshalJSON(data []byte) (err error)
- type WateringPlanStatus
- type WateringPlanUpdate
- func (o *WateringPlanUpdate) GetAdditionalInformation() map[string]interface{}
- func (o *WateringPlanUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
- func (o *WateringPlanUpdate) GetCancellationNote() string
- func (o *WateringPlanUpdate) GetCancellationNoteOk() (*string, bool)
- func (o *WateringPlanUpdate) GetDate() string
- func (o *WateringPlanUpdate) GetDateOk() (*string, bool)
- func (o *WateringPlanUpdate) GetDescription() string
- func (o *WateringPlanUpdate) GetDescriptionOk() (*string, bool)
- func (o *WateringPlanUpdate) GetEvaluation() []EvaluationValue
- func (o *WateringPlanUpdate) GetEvaluationOk() ([]EvaluationValue, bool)
- func (o *WateringPlanUpdate) GetProvider() string
- func (o *WateringPlanUpdate) GetProviderOk() (*string, bool)
- func (o *WateringPlanUpdate) GetStatus() WateringPlanStatus
- func (o *WateringPlanUpdate) GetStatusOk() (*WateringPlanStatus, bool)
- func (o *WateringPlanUpdate) GetTrailerId() int32
- func (o *WateringPlanUpdate) GetTrailerIdOk() (*int32, bool)
- func (o *WateringPlanUpdate) GetTransporterId() int32
- func (o *WateringPlanUpdate) GetTransporterIdOk() (*int32, bool)
- func (o *WateringPlanUpdate) GetTreeClusterIds() []int32
- func (o *WateringPlanUpdate) GetTreeClusterIdsOk() ([]int32, bool)
- func (o *WateringPlanUpdate) GetUserIds() []string
- func (o *WateringPlanUpdate) GetUserIdsOk() ([]string, bool)
- func (o *WateringPlanUpdate) HasAdditionalInformation() bool
- func (o *WateringPlanUpdate) HasEvaluation() bool
- func (o *WateringPlanUpdate) HasProvider() bool
- func (o *WateringPlanUpdate) HasTrailerId() bool
- func (o WateringPlanUpdate) MarshalJSON() ([]byte, error)
- func (o *WateringPlanUpdate) SetAdditionalInformation(v map[string]interface{})
- func (o *WateringPlanUpdate) SetCancellationNote(v string)
- func (o *WateringPlanUpdate) SetDate(v string)
- func (o *WateringPlanUpdate) SetDescription(v string)
- func (o *WateringPlanUpdate) SetEvaluation(v []EvaluationValue)
- func (o *WateringPlanUpdate) SetProvider(v string)
- func (o *WateringPlanUpdate) SetStatus(v WateringPlanStatus)
- func (o *WateringPlanUpdate) SetTrailerId(v int32)
- func (o *WateringPlanUpdate) SetTransporterId(v int32)
- func (o *WateringPlanUpdate) SetTreeClusterIds(v []int32)
- func (o *WateringPlanUpdate) SetUserIds(v []string)
- func (o WateringPlanUpdate) ToMap() (map[string]interface{}, error)
- func (o *WateringPlanUpdate) UnmarshalJSON(data []byte) (err error)
- type WateringStatus
- type WatermarkResponse
- func (o *WatermarkResponse) GetCentibar() int32
- func (o *WatermarkResponse) GetCentibarOk() (*int32, bool)
- func (o *WatermarkResponse) GetDepth() int32
- func (o *WatermarkResponse) GetDepthOk() (*int32, bool)
- func (o *WatermarkResponse) GetResistance() int32
- func (o *WatermarkResponse) GetResistanceOk() (*int32, bool)
- func (o WatermarkResponse) MarshalJSON() ([]byte, error)
- func (o *WatermarkResponse) SetCentibar(v int32)
- func (o *WatermarkResponse) SetDepth(v int32)
- func (o *WatermarkResponse) SetResistance(v int32)
- func (o WatermarkResponse) ToMap() (map[string]interface{}, error)
- func (o *WatermarkResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // 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") )
var AllowedDrivingLicenseEnumValues = []DrivingLicense{
"B",
"BE",
"C",
"CE",
}
All allowed values of DrivingLicense enum
var AllowedGeoJsonTypeEnumValues = []GeoJsonType{
"FeatureCollection",
}
All allowed values of GeoJsonType enum
var AllowedSensorStatusEnumValues = []SensorStatus{
"online",
"offline",
"unknown",
}
All allowed values of SensorStatus enum
var AllowedSoilConditionEnumValues = []SoilCondition{
"schluffig",
"sandig",
"lehmig",
"tonig",
"unknown",
}
All allowed values of SoilCondition enum
var AllowedUserRoleEnumValues = []UserRole{
"tbz",
"green-ecolution",
"smarte-grenzregion",
"unknown",
}
All allowed values of UserRole enum
var AllowedUserStatusEnumValues = []UserStatus{
"available",
"absent",
"unknown",
}
All allowed values of UserStatus enum
var AllowedVehicleStatusEnumValues = []VehicleStatus{
"active",
"available",
"not available",
"unknown",
}
All allowed values of VehicleStatus enum
var AllowedVehicleTypeEnumValues = []VehicleType{
"transporter",
"trailer",
"unknown",
}
All allowed values of VehicleType enum
var AllowedWateringPlanStatusEnumValues = []WateringPlanStatus{
"planned",
"active",
"canceled",
"finished",
"not competed",
"unknown",
}
All allowed values of WateringPlanStatus enum
var AllowedWateringStatusEnumValues = []WateringStatus{
"good",
"moderate",
"bad",
"just watered",
"unknown",
}
All allowed values of WateringStatus enum
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 { InfoAPI *InfoAPIService PluginAPI *PluginAPIService RegionAPI *RegionAPIService SensorAPI *SensorAPIService TreeAPI *TreeAPIService TreeClusterAPI *TreeClusterAPIService TreeSensorAPI *TreeSensorAPIService UserAPI *UserAPIService VehicleAPI *VehicleAPIService WateringPlanAPI *WateringPlanAPIService // contains filtered or unexported fields }
APIClient manages communication with the Green Space Management API API vdevelop 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 ApiArchiveVehicleRequest ¶
type ApiArchiveVehicleRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
type ApiCreateTreeClusterRequest ¶
type ApiCreateTreeClusterRequest struct { ApiService *TreeClusterAPIService // contains filtered or unexported fields }
func (ApiCreateTreeClusterRequest) Body ¶
func (r ApiCreateTreeClusterRequest) Body(body TreeClusterCreate) ApiCreateTreeClusterRequest
Tree Cluster Create Request
func (ApiCreateTreeClusterRequest) Execute ¶
func (r ApiCreateTreeClusterRequest) Execute() (*TreeCluster, *http.Response, error)
type ApiCreateTreeRequest ¶
type ApiCreateTreeRequest struct { ApiService *TreeAPIService // contains filtered or unexported fields }
func (ApiCreateTreeRequest) Body ¶
func (r ApiCreateTreeRequest) Body(body TreeCreate) ApiCreateTreeRequest
Tree to create
type ApiCreateVehicleRequest ¶
type ApiCreateVehicleRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
func (ApiCreateVehicleRequest) Body ¶
func (r ApiCreateVehicleRequest) Body(body VehicleCreate) ApiCreateVehicleRequest
Vehicle Create Request
type ApiCreateWateringPlanRequest ¶
type ApiCreateWateringPlanRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
func (ApiCreateWateringPlanRequest) Body ¶
func (r ApiCreateWateringPlanRequest) Body(body WateringPlanCreate) ApiCreateWateringPlanRequest
Watering Plan Create Request
func (ApiCreateWateringPlanRequest) Execute ¶
func (r ApiCreateWateringPlanRequest) Execute() (*WateringPlan, *http.Response, error)
type ApiDeleteSensorRequest ¶
type ApiDeleteSensorRequest struct { ApiService *SensorAPIService // contains filtered or unexported fields }
type ApiDeleteTreeClusterRequest ¶
type ApiDeleteTreeClusterRequest struct { ApiService *TreeClusterAPIService // contains filtered or unexported fields }
type ApiDeleteTreeRequest ¶
type ApiDeleteTreeRequest struct { ApiService *TreeAPIService // contains filtered or unexported fields }
type ApiDeleteVehicleRequest ¶
type ApiDeleteVehicleRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
type ApiDeleteWateringPlanRequest ¶
type ApiDeleteWateringPlanRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
type ApiGetAllSensorDataByIdRequest ¶
type ApiGetAllSensorDataByIdRequest struct { ApiService *SensorAPIService // contains filtered or unexported fields }
func (ApiGetAllSensorDataByIdRequest) Execute ¶
func (r ApiGetAllSensorDataByIdRequest) Execute() (*SensorDataList, *http.Response, error)
type ApiGetAllSensorsRequest ¶
type ApiGetAllSensorsRequest struct { ApiService *SensorAPIService // contains filtered or unexported fields }
func (ApiGetAllSensorsRequest) Execute ¶
func (r ApiGetAllSensorsRequest) Execute() (*SensorList, *http.Response, error)
func (ApiGetAllSensorsRequest) Limit ¶
func (r ApiGetAllSensorsRequest) Limit(limit int32) ApiGetAllSensorsRequest
Limit
func (ApiGetAllSensorsRequest) Page ¶
func (r ApiGetAllSensorsRequest) Page(page int32) ApiGetAllSensorsRequest
Page
func (ApiGetAllSensorsRequest) Provider ¶
func (r ApiGetAllSensorsRequest) Provider(provider string) ApiGetAllSensorsRequest
Provider
type ApiGetAllTreeClustersRequest ¶
type ApiGetAllTreeClustersRequest struct { ApiService *TreeClusterAPIService // contains filtered or unexported fields }
func (ApiGetAllTreeClustersRequest) Execute ¶
func (r ApiGetAllTreeClustersRequest) Execute() (*TreeClusterList, *http.Response, error)
func (ApiGetAllTreeClustersRequest) Limit ¶
func (r ApiGetAllTreeClustersRequest) Limit(limit string) ApiGetAllTreeClustersRequest
Limit
func (ApiGetAllTreeClustersRequest) Page ¶
func (r ApiGetAllTreeClustersRequest) Page(page string) ApiGetAllTreeClustersRequest
Page
func (ApiGetAllTreeClustersRequest) Provider ¶
func (r ApiGetAllTreeClustersRequest) Provider(provider string) ApiGetAllTreeClustersRequest
Provider
type ApiGetAllTreesRequest ¶
type ApiGetAllTreesRequest struct { ApiService *TreeAPIService // contains filtered or unexported fields }
func (ApiGetAllTreesRequest) Execute ¶
func (r ApiGetAllTreesRequest) Execute() (*TreeList, *http.Response, error)
func (ApiGetAllTreesRequest) Limit ¶
func (r ApiGetAllTreesRequest) Limit(limit string) ApiGetAllTreesRequest
Limit
func (ApiGetAllTreesRequest) Page ¶
func (r ApiGetAllTreesRequest) Page(page string) ApiGetAllTreesRequest
Page
func (ApiGetAllTreesRequest) Provider ¶
func (r ApiGetAllTreesRequest) Provider(provider string) ApiGetAllTreesRequest
Provider
type ApiGetAllUsersRequest ¶
type ApiGetAllUsersRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiGetAllUsersRequest) Execute ¶
func (r ApiGetAllUsersRequest) Execute() (*UserList, *http.Response, error)
func (ApiGetAllUsersRequest) Limit ¶
func (r ApiGetAllUsersRequest) Limit(limit string) ApiGetAllUsersRequest
Limit
func (ApiGetAllUsersRequest) Limit2 ¶
func (r ApiGetAllUsersRequest) Limit2(limit2 string) ApiGetAllUsersRequest
Limit
func (ApiGetAllUsersRequest) Page ¶
func (r ApiGetAllUsersRequest) Page(page string) ApiGetAllUsersRequest
Page
func (ApiGetAllUsersRequest) UserIds ¶
func (r ApiGetAllUsersRequest) UserIds(userIds string) ApiGetAllUsersRequest
User IDs
type ApiGetAllVehiclesRequest ¶
type ApiGetAllVehiclesRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
func (ApiGetAllVehiclesRequest) Archived ¶
func (r ApiGetAllVehiclesRequest) Archived(archived bool) ApiGetAllVehiclesRequest
With archived vehicles
func (ApiGetAllVehiclesRequest) Execute ¶
func (r ApiGetAllVehiclesRequest) Execute() (*VehicleList, *http.Response, error)
func (ApiGetAllVehiclesRequest) Limit ¶
func (r ApiGetAllVehiclesRequest) Limit(limit int32) ApiGetAllVehiclesRequest
Limit
func (ApiGetAllVehiclesRequest) Page ¶
func (r ApiGetAllVehiclesRequest) Page(page int32) ApiGetAllVehiclesRequest
Page
func (ApiGetAllVehiclesRequest) Provider ¶
func (r ApiGetAllVehiclesRequest) Provider(provider string) ApiGetAllVehiclesRequest
Provider
func (ApiGetAllVehiclesRequest) Type_ ¶
func (r ApiGetAllVehiclesRequest) Type_(type_ string) ApiGetAllVehiclesRequest
Vehicle Type
type ApiGetAllWateringPlansRequest ¶
type ApiGetAllWateringPlansRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
func (ApiGetAllWateringPlansRequest) Execute ¶
func (r ApiGetAllWateringPlansRequest) Execute() (*WateringPlanList, *http.Response, error)
func (ApiGetAllWateringPlansRequest) Limit ¶
func (r ApiGetAllWateringPlansRequest) Limit(limit int32) ApiGetAllWateringPlansRequest
Limit
func (ApiGetAllWateringPlansRequest) Page ¶
func (r ApiGetAllWateringPlansRequest) Page(page int32) ApiGetAllWateringPlansRequest
Page
func (ApiGetAllWateringPlansRequest) Provider ¶
func (r ApiGetAllWateringPlansRequest) Provider(provider string) ApiGetAllWateringPlansRequest
Provider
type ApiGetAppInfoRequest ¶
type ApiGetAppInfoRequest struct { ApiService *InfoAPIService // contains filtered or unexported fields }
type ApiGetArchiveVehicleRequest ¶
type ApiGetArchiveVehicleRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
type ApiGetPluginInfoRequest ¶
type ApiGetPluginInfoRequest struct { ApiService *PluginAPIService // contains filtered or unexported fields }
type ApiGetPluginsListRequest ¶
type ApiGetPluginsListRequest struct { ApiService *PluginAPIService // contains filtered or unexported fields }
func (ApiGetPluginsListRequest) Execute ¶
func (r ApiGetPluginsListRequest) Execute() (*PluginListResponse, *http.Response, error)
type ApiGetSensorByIdRequest ¶
type ApiGetSensorByIdRequest struct { ApiService *SensorAPIService // contains filtered or unexported fields }
type ApiGetTreeBySensorIdRequest ¶
type ApiGetTreeBySensorIdRequest struct { ApiService *TreeSensorAPIService // contains filtered or unexported fields }
type ApiGetTreeClusterByIdRequest ¶
type ApiGetTreeClusterByIdRequest struct { ApiService *TreeClusterAPIService // contains filtered or unexported fields }
func (ApiGetTreeClusterByIdRequest) Execute ¶
func (r ApiGetTreeClusterByIdRequest) Execute() (*TreeCluster, *http.Response, error)
type ApiGetTreesRequest ¶
type ApiGetTreesRequest struct { ApiService *TreeAPIService // contains filtered or unexported fields }
type ApiGetUsersByRoleRequest ¶
type ApiGetUsersByRoleRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiGetUsersByRoleRequest) Execute ¶
func (r ApiGetUsersByRoleRequest) Execute() (*UserList, *http.Response, error)
func (ApiGetUsersByRoleRequest) Limit ¶
func (r ApiGetUsersByRoleRequest) Limit(limit string) ApiGetUsersByRoleRequest
Limit
func (ApiGetUsersByRoleRequest) Page ¶
func (r ApiGetUsersByRoleRequest) Page(page string) ApiGetUsersByRoleRequest
Page
type ApiGetVehicleByIdRequest ¶
type ApiGetVehicleByIdRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
type ApiGetVehicleByPlateRequest ¶
type ApiGetVehicleByPlateRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
type ApiGetWateringPlanByIdRequest ¶
type ApiGetWateringPlanByIdRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
func (ApiGetWateringPlanByIdRequest) Execute ¶
func (r ApiGetWateringPlanByIdRequest) Execute() (*WateringPlan, *http.Response, error)
type ApiPluginHeartbeatRequest ¶
type ApiPluginHeartbeatRequest struct { ApiService *PluginAPIService // contains filtered or unexported fields }
type ApiRefreshPluginTokenRequest ¶
type ApiRefreshPluginTokenRequest struct { ApiService *PluginAPIService // contains filtered or unexported fields }
func (ApiRefreshPluginTokenRequest) Body ¶
func (r ApiRefreshPluginTokenRequest) Body(body PluginAuth) ApiRefreshPluginTokenRequest
Plugin authentication
func (ApiRefreshPluginTokenRequest) Execute ¶
func (r ApiRefreshPluginTokenRequest) Execute() (*ClientToken, *http.Response, error)
type ApiRegisterPluginRequest ¶
type ApiRegisterPluginRequest struct { ApiService *PluginAPIService // contains filtered or unexported fields }
func (ApiRegisterPluginRequest) Body ¶
func (r ApiRegisterPluginRequest) Body(body PluginRegisterRequest) ApiRegisterPluginRequest
Plugin registration request
func (ApiRegisterPluginRequest) Execute ¶
func (r ApiRegisterPluginRequest) Execute() (*ClientToken, *http.Response, error)
type ApiUnregisterPluginRequest ¶
type ApiUnregisterPluginRequest struct { ApiService *PluginAPIService // contains filtered or unexported fields }
type ApiUpdateTreeClusterRequest ¶
type ApiUpdateTreeClusterRequest struct { ApiService *TreeClusterAPIService // contains filtered or unexported fields }
func (ApiUpdateTreeClusterRequest) Body ¶
func (r ApiUpdateTreeClusterRequest) Body(body TreeClusterUpdate) ApiUpdateTreeClusterRequest
Tree Cluster Update Request
func (ApiUpdateTreeClusterRequest) Execute ¶
func (r ApiUpdateTreeClusterRequest) Execute() (*TreeCluster, *http.Response, error)
type ApiUpdateTreeRequest ¶
type ApiUpdateTreeRequest struct { ApiService *TreeAPIService // contains filtered or unexported fields }
func (ApiUpdateTreeRequest) Body ¶
func (r ApiUpdateTreeRequest) Body(body TreeUpdate) ApiUpdateTreeRequest
Tree to update
type ApiUpdateVehicleRequest ¶
type ApiUpdateVehicleRequest struct { ApiService *VehicleAPIService // contains filtered or unexported fields }
func (ApiUpdateVehicleRequest) Body ¶
func (r ApiUpdateVehicleRequest) Body(body VehicleUpdate) ApiUpdateVehicleRequest
Vehicle Update Request
type ApiUpdateWateringPlanRequest ¶
type ApiUpdateWateringPlanRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
func (ApiUpdateWateringPlanRequest) Body ¶
func (r ApiUpdateWateringPlanRequest) Body(body WateringPlanUpdate) ApiUpdateWateringPlanRequest
Watering Plan Update Request
func (ApiUpdateWateringPlanRequest) Execute ¶
func (r ApiUpdateWateringPlanRequest) Execute() (*WateringPlan, *http.Response, error)
type ApiV1RegionGetRequest ¶
type ApiV1RegionGetRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
func (ApiV1RegionGetRequest) Execute ¶
func (r ApiV1RegionGetRequest) Execute() (*RegionList, *http.Response, error)
func (ApiV1RegionGetRequest) Limit ¶
func (r ApiV1RegionGetRequest) Limit(limit string) ApiV1RegionGetRequest
Limit
func (ApiV1RegionGetRequest) Page ¶
func (r ApiV1RegionGetRequest) Page(page string) ApiV1RegionGetRequest
Page
type ApiV1RegionIdGetRequest ¶
type ApiV1RegionIdGetRequest struct { ApiService *RegionAPIService // contains filtered or unexported fields }
type ApiV1UserLoginGetRequest ¶
type ApiV1UserLoginGetRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiV1UserLoginGetRequest) Execute ¶
func (r ApiV1UserLoginGetRequest) Execute() (*LoginResponse, *http.Response, error)
func (ApiV1UserLoginGetRequest) RedirectUrl ¶
func (r ApiV1UserLoginGetRequest) RedirectUrl(redirectUrl string) ApiV1UserLoginGetRequest
Redirect URL
type ApiV1UserLoginTokenPostRequest ¶
type ApiV1UserLoginTokenPostRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiV1UserLoginTokenPostRequest) Body ¶
func (r ApiV1UserLoginTokenPostRequest) Body(body LoginTokenRequest) ApiV1UserLoginTokenPostRequest
Callback information
func (ApiV1UserLoginTokenPostRequest) Execute ¶
func (r ApiV1UserLoginTokenPostRequest) Execute() (*ClientToken, *http.Response, error)
func (ApiV1UserLoginTokenPostRequest) RedirectUrl ¶
func (r ApiV1UserLoginTokenPostRequest) RedirectUrl(redirectUrl string) ApiV1UserLoginTokenPostRequest
Redirect URL
type ApiV1UserLogoutPostRequest ¶
type ApiV1UserLogoutPostRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiV1UserLogoutPostRequest) Body ¶
func (r ApiV1UserLogoutPostRequest) Body(body LogoutRequest) ApiV1UserLogoutPostRequest
Logout information
type ApiV1UserPostRequest ¶
type ApiV1UserPostRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiV1UserPostRequest) Execute ¶
func (r ApiV1UserPostRequest) Execute() (*User, *http.Response, error)
func (ApiV1UserPostRequest) User ¶
func (r ApiV1UserPostRequest) User(user UserRegister) ApiV1UserPostRequest
User information
type ApiV1UserTokenRefreshPostRequest ¶
type ApiV1UserTokenRefreshPostRequest struct { ApiService *UserAPIService // contains filtered or unexported fields }
func (ApiV1UserTokenRefreshPostRequest) Body ¶
func (r ApiV1UserTokenRefreshPostRequest) Body(body RefreshTokenRequest) ApiV1UserTokenRefreshPostRequest
Refresh token information
func (ApiV1UserTokenRefreshPostRequest) Execute ¶
func (r ApiV1UserTokenRefreshPostRequest) Execute() (*ClientToken, *http.Response, error)
type ApiV1WateringPlanRouteGpxGpxNameGetRequest ¶
type ApiV1WateringPlanRouteGpxGpxNameGetRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
type ApiV1WateringPlanRoutePreviewPostRequest ¶
type ApiV1WateringPlanRoutePreviewPostRequest struct { ApiService *WateringPlanAPIService // contains filtered or unexported fields }
func (ApiV1WateringPlanRoutePreviewPostRequest) Body ¶
func (r ApiV1WateringPlanRoutePreviewPostRequest) Body(body RouteRequest) ApiV1WateringPlanRoutePreviewPostRequest
Route Request
type AppInfo ¶
type AppInfo struct { BuildTime string `json:"buildTime"` Git GitInfo `json:"git"` GoVersion string `json:"goVersion"` Map MapInfo `json:"map"` Server ServerInfo `json:"server"` Version string `json:"version"` }
AppInfo struct for AppInfo
func NewAppInfo ¶
func NewAppInfo(buildTime string, git GitInfo, goVersion string, map_ MapInfo, server ServerInfo, version string) *AppInfo
NewAppInfo instantiates a new AppInfo 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 NewAppInfoWithDefaults ¶
func NewAppInfoWithDefaults() *AppInfo
NewAppInfoWithDefaults instantiates a new AppInfo 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 (*AppInfo) GetBuildTime ¶
GetBuildTime returns the BuildTime field value
func (*AppInfo) GetBuildTimeOk ¶
GetBuildTimeOk returns a tuple with the BuildTime field value and a boolean to check if the value has been set.
func (*AppInfo) GetGitOk ¶
GetGitOk returns a tuple with the Git field value and a boolean to check if the value has been set.
func (*AppInfo) GetGoVersion ¶
GetGoVersion returns the GoVersion field value
func (*AppInfo) GetGoVersionOk ¶
GetGoVersionOk returns a tuple with the GoVersion field value and a boolean to check if the value has been set.
func (*AppInfo) GetMapOk ¶
GetMapOk returns a tuple with the Map field value and a boolean to check if the value has been set.
func (*AppInfo) GetServer ¶
func (o *AppInfo) GetServer() ServerInfo
GetServer returns the Server field value
func (*AppInfo) GetServerOk ¶
func (o *AppInfo) GetServerOk() (*ServerInfo, bool)
GetServerOk returns a tuple with the Server field value and a boolean to check if the value has been set.
func (*AppInfo) GetVersion ¶
GetVersion returns the Version field value
func (*AppInfo) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (AppInfo) MarshalJSON ¶
func (*AppInfo) SetBuildTime ¶
SetBuildTime sets field value
func (*AppInfo) SetGoVersion ¶
SetGoVersion sets field value
func (*AppInfo) UnmarshalJSON ¶
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 ClientToken ¶
type ClientToken struct { AccessToken string `json:"access_token"` ExpiresIn int32 `json:"expires_in"` Expiry string `json:"expiry"` IdToken string `json:"id_token"` NotBeforePolicy int32 `json:"not_before_policy"` RefreshExpiresIn int32 `json:"refresh_expires_in"` RefreshToken string `json:"refresh_token"` Scope string `json:"scope"` SessionState string `json:"session_state"` TokenType string `json:"token_type"` }
ClientToken struct for ClientToken
func NewClientToken ¶
func NewClientToken(accessToken string, expiresIn int32, expiry string, idToken string, notBeforePolicy int32, refreshExpiresIn int32, refreshToken string, scope string, sessionState string, tokenType string) *ClientToken
NewClientToken instantiates a new ClientToken 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 NewClientTokenWithDefaults ¶
func NewClientTokenWithDefaults() *ClientToken
NewClientTokenWithDefaults instantiates a new ClientToken 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 (*ClientToken) GetAccessToken ¶
func (o *ClientToken) GetAccessToken() string
GetAccessToken returns the AccessToken field value
func (*ClientToken) GetAccessTokenOk ¶
func (o *ClientToken) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value and a boolean to check if the value has been set.
func (*ClientToken) GetExpiresIn ¶
func (o *ClientToken) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value
func (*ClientToken) GetExpiresInOk ¶
func (o *ClientToken) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value and a boolean to check if the value has been set.
func (*ClientToken) GetExpiry ¶
func (o *ClientToken) GetExpiry() string
GetExpiry returns the Expiry field value
func (*ClientToken) GetExpiryOk ¶
func (o *ClientToken) GetExpiryOk() (*string, bool)
GetExpiryOk returns a tuple with the Expiry field value and a boolean to check if the value has been set.
func (*ClientToken) GetIdToken ¶
func (o *ClientToken) GetIdToken() string
GetIdToken returns the IdToken field value
func (*ClientToken) GetIdTokenOk ¶
func (o *ClientToken) GetIdTokenOk() (*string, bool)
GetIdTokenOk returns a tuple with the IdToken field value and a boolean to check if the value has been set.
func (*ClientToken) GetNotBeforePolicy ¶
func (o *ClientToken) GetNotBeforePolicy() int32
GetNotBeforePolicy returns the NotBeforePolicy field value
func (*ClientToken) GetNotBeforePolicyOk ¶
func (o *ClientToken) GetNotBeforePolicyOk() (*int32, bool)
GetNotBeforePolicyOk returns a tuple with the NotBeforePolicy field value and a boolean to check if the value has been set.
func (*ClientToken) GetRefreshExpiresIn ¶
func (o *ClientToken) GetRefreshExpiresIn() int32
GetRefreshExpiresIn returns the RefreshExpiresIn field value
func (*ClientToken) GetRefreshExpiresInOk ¶
func (o *ClientToken) GetRefreshExpiresInOk() (*int32, bool)
GetRefreshExpiresInOk returns a tuple with the RefreshExpiresIn field value and a boolean to check if the value has been set.
func (*ClientToken) GetRefreshToken ¶
func (o *ClientToken) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value
func (*ClientToken) GetRefreshTokenOk ¶
func (o *ClientToken) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value and a boolean to check if the value has been set.
func (*ClientToken) GetScope ¶
func (o *ClientToken) GetScope() string
GetScope returns the Scope field value
func (*ClientToken) GetScopeOk ¶
func (o *ClientToken) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*ClientToken) GetSessionState ¶
func (o *ClientToken) GetSessionState() string
GetSessionState returns the SessionState field value
func (*ClientToken) GetSessionStateOk ¶
func (o *ClientToken) GetSessionStateOk() (*string, bool)
GetSessionStateOk returns a tuple with the SessionState field value and a boolean to check if the value has been set.
func (*ClientToken) GetTokenType ¶
func (o *ClientToken) GetTokenType() string
GetTokenType returns the TokenType field value
func (*ClientToken) GetTokenTypeOk ¶
func (o *ClientToken) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value and a boolean to check if the value has been set.
func (ClientToken) MarshalJSON ¶
func (o ClientToken) MarshalJSON() ([]byte, error)
func (*ClientToken) SetAccessToken ¶
func (o *ClientToken) SetAccessToken(v string)
SetAccessToken sets field value
func (*ClientToken) SetExpiresIn ¶
func (o *ClientToken) SetExpiresIn(v int32)
SetExpiresIn sets field value
func (*ClientToken) SetExpiry ¶
func (o *ClientToken) SetExpiry(v string)
SetExpiry sets field value
func (*ClientToken) SetIdToken ¶
func (o *ClientToken) SetIdToken(v string)
SetIdToken sets field value
func (*ClientToken) SetNotBeforePolicy ¶
func (o *ClientToken) SetNotBeforePolicy(v int32)
SetNotBeforePolicy sets field value
func (*ClientToken) SetRefreshExpiresIn ¶
func (o *ClientToken) SetRefreshExpiresIn(v int32)
SetRefreshExpiresIn sets field value
func (*ClientToken) SetRefreshToken ¶
func (o *ClientToken) SetRefreshToken(v string)
SetRefreshToken sets field value
func (*ClientToken) SetSessionState ¶
func (o *ClientToken) SetSessionState(v string)
SetSessionState sets field value
func (*ClientToken) SetTokenType ¶
func (o *ClientToken) SetTokenType(v string)
SetTokenType sets field value
func (ClientToken) ToMap ¶
func (o ClientToken) ToMap() (map[string]interface{}, error)
func (*ClientToken) UnmarshalJSON ¶
func (o *ClientToken) UnmarshalJSON(data []byte) (err error)
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 DrivingLicense ¶
type DrivingLicense string
DrivingLicense the model 'DrivingLicense'
const ( DrivingLicenseB DrivingLicense = "B" DrivingLicenseBE DrivingLicense = "BE" DrivingLicenseC DrivingLicense = "C" DrivingLicenseCE DrivingLicense = "CE" )
List of DrivingLicense
func NewDrivingLicenseFromValue ¶
func NewDrivingLicenseFromValue(v string) (*DrivingLicense, error)
NewDrivingLicenseFromValue returns a pointer to a valid DrivingLicense for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DrivingLicense) IsValid ¶
func (v DrivingLicense) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DrivingLicense) Ptr ¶
func (v DrivingLicense) Ptr() *DrivingLicense
Ptr returns reference to DrivingLicense value
func (*DrivingLicense) UnmarshalJSON ¶
func (v *DrivingLicense) UnmarshalJSON(src []byte) error
type EvaluationValue ¶
type EvaluationValue struct { ConsumedWater float32 `json:"consumed_water"` TreeClusterId int32 `json:"tree_cluster_id"` WateringPlanId int32 `json:"watering_plan_id"` }
EvaluationValue struct for EvaluationValue
func NewEvaluationValue ¶
func NewEvaluationValue(consumedWater float32, treeClusterId int32, wateringPlanId int32) *EvaluationValue
NewEvaluationValue instantiates a new EvaluationValue 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 NewEvaluationValueWithDefaults ¶
func NewEvaluationValueWithDefaults() *EvaluationValue
NewEvaluationValueWithDefaults instantiates a new EvaluationValue 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 (*EvaluationValue) GetConsumedWater ¶
func (o *EvaluationValue) GetConsumedWater() float32
GetConsumedWater returns the ConsumedWater field value
func (*EvaluationValue) GetConsumedWaterOk ¶
func (o *EvaluationValue) GetConsumedWaterOk() (*float32, bool)
GetConsumedWaterOk returns a tuple with the ConsumedWater field value and a boolean to check if the value has been set.
func (*EvaluationValue) GetTreeClusterId ¶
func (o *EvaluationValue) GetTreeClusterId() int32
GetTreeClusterId returns the TreeClusterId field value
func (*EvaluationValue) GetTreeClusterIdOk ¶
func (o *EvaluationValue) GetTreeClusterIdOk() (*int32, bool)
GetTreeClusterIdOk returns a tuple with the TreeClusterId field value and a boolean to check if the value has been set.
func (*EvaluationValue) GetWateringPlanId ¶
func (o *EvaluationValue) GetWateringPlanId() int32
GetWateringPlanId returns the WateringPlanId field value
func (*EvaluationValue) GetWateringPlanIdOk ¶
func (o *EvaluationValue) GetWateringPlanIdOk() (*int32, bool)
GetWateringPlanIdOk returns a tuple with the WateringPlanId field value and a boolean to check if the value has been set.
func (EvaluationValue) MarshalJSON ¶
func (o EvaluationValue) MarshalJSON() ([]byte, error)
func (*EvaluationValue) SetConsumedWater ¶
func (o *EvaluationValue) SetConsumedWater(v float32)
SetConsumedWater sets field value
func (*EvaluationValue) SetTreeClusterId ¶
func (o *EvaluationValue) SetTreeClusterId(v int32)
SetTreeClusterId sets field value
func (*EvaluationValue) SetWateringPlanId ¶
func (o *EvaluationValue) SetWateringPlanId(v int32)
SetWateringPlanId sets field value
func (EvaluationValue) ToMap ¶
func (o EvaluationValue) ToMap() (map[string]interface{}, error)
func (*EvaluationValue) UnmarshalJSON ¶
func (o *EvaluationValue) UnmarshalJSON(data []byte) (err 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 GeoJSONLocation ¶
type GeoJSONLocation struct { Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` }
GeoJSONLocation struct for GeoJSONLocation
func NewGeoJSONLocation ¶
func NewGeoJSONLocation(latitude float32, longitude float32) *GeoJSONLocation
NewGeoJSONLocation instantiates a new GeoJSONLocation 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 NewGeoJSONLocationWithDefaults ¶
func NewGeoJSONLocationWithDefaults() *GeoJSONLocation
NewGeoJSONLocationWithDefaults instantiates a new GeoJSONLocation 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 (*GeoJSONLocation) GetLatitude ¶
func (o *GeoJSONLocation) GetLatitude() float32
GetLatitude returns the Latitude field value
func (*GeoJSONLocation) GetLatitudeOk ¶
func (o *GeoJSONLocation) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*GeoJSONLocation) GetLongitude ¶
func (o *GeoJSONLocation) GetLongitude() float32
GetLongitude returns the Longitude field value
func (*GeoJSONLocation) GetLongitudeOk ¶
func (o *GeoJSONLocation) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (GeoJSONLocation) MarshalJSON ¶
func (o GeoJSONLocation) MarshalJSON() ([]byte, error)
func (*GeoJSONLocation) SetLatitude ¶
func (o *GeoJSONLocation) SetLatitude(v float32)
SetLatitude sets field value
func (*GeoJSONLocation) SetLongitude ¶
func (o *GeoJSONLocation) SetLongitude(v float32)
SetLongitude sets field value
func (GeoJSONLocation) ToMap ¶
func (o GeoJSONLocation) ToMap() (map[string]interface{}, error)
func (*GeoJSONLocation) UnmarshalJSON ¶
func (o *GeoJSONLocation) UnmarshalJSON(data []byte) (err error)
type GeoJSONMetadata ¶
type GeoJSONMetadata struct { EndPoint GeoJSONLocation `json:"end_point"` StartPoint GeoJSONLocation `json:"start_point"` WateringPoint GeoJSONLocation `json:"watering_point"` }
GeoJSONMetadata struct for GeoJSONMetadata
func NewGeoJSONMetadata ¶
func NewGeoJSONMetadata(endPoint GeoJSONLocation, startPoint GeoJSONLocation, wateringPoint GeoJSONLocation) *GeoJSONMetadata
NewGeoJSONMetadata instantiates a new GeoJSONMetadata 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 NewGeoJSONMetadataWithDefaults ¶
func NewGeoJSONMetadataWithDefaults() *GeoJSONMetadata
NewGeoJSONMetadataWithDefaults instantiates a new GeoJSONMetadata 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 (*GeoJSONMetadata) GetEndPoint ¶
func (o *GeoJSONMetadata) GetEndPoint() GeoJSONLocation
GetEndPoint returns the EndPoint field value
func (*GeoJSONMetadata) GetEndPointOk ¶
func (o *GeoJSONMetadata) GetEndPointOk() (*GeoJSONLocation, bool)
GetEndPointOk returns a tuple with the EndPoint field value and a boolean to check if the value has been set.
func (*GeoJSONMetadata) GetStartPoint ¶
func (o *GeoJSONMetadata) GetStartPoint() GeoJSONLocation
GetStartPoint returns the StartPoint field value
func (*GeoJSONMetadata) GetStartPointOk ¶
func (o *GeoJSONMetadata) GetStartPointOk() (*GeoJSONLocation, bool)
GetStartPointOk returns a tuple with the StartPoint field value and a boolean to check if the value has been set.
func (*GeoJSONMetadata) GetWateringPoint ¶
func (o *GeoJSONMetadata) GetWateringPoint() GeoJSONLocation
GetWateringPoint returns the WateringPoint field value
func (*GeoJSONMetadata) GetWateringPointOk ¶
func (o *GeoJSONMetadata) GetWateringPointOk() (*GeoJSONLocation, bool)
GetWateringPointOk returns a tuple with the WateringPoint field value and a boolean to check if the value has been set.
func (GeoJSONMetadata) MarshalJSON ¶
func (o GeoJSONMetadata) MarshalJSON() ([]byte, error)
func (*GeoJSONMetadata) SetEndPoint ¶
func (o *GeoJSONMetadata) SetEndPoint(v GeoJSONLocation)
SetEndPoint sets field value
func (*GeoJSONMetadata) SetStartPoint ¶
func (o *GeoJSONMetadata) SetStartPoint(v GeoJSONLocation)
SetStartPoint sets field value
func (*GeoJSONMetadata) SetWateringPoint ¶
func (o *GeoJSONMetadata) SetWateringPoint(v GeoJSONLocation)
SetWateringPoint sets field value
func (GeoJSONMetadata) ToMap ¶
func (o GeoJSONMetadata) ToMap() (map[string]interface{}, error)
func (*GeoJSONMetadata) UnmarshalJSON ¶
func (o *GeoJSONMetadata) UnmarshalJSON(data []byte) (err error)
type GeoJson ¶
type GeoJson struct { Bbox []float32 `json:"bbox"` Features []GeoJsonFeature `json:"features"` Metadata GeoJSONMetadata `json:"metadata"` Type GeoJsonType `json:"type"` }
GeoJson struct for GeoJson
func NewGeoJson ¶
func NewGeoJson(bbox []float32, features []GeoJsonFeature, metadata GeoJSONMetadata, type_ GeoJsonType) *GeoJson
NewGeoJson instantiates a new GeoJson 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 NewGeoJsonWithDefaults ¶
func NewGeoJsonWithDefaults() *GeoJson
NewGeoJsonWithDefaults instantiates a new GeoJson 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 (*GeoJson) GetBboxOk ¶
GetBboxOk returns a tuple with the Bbox field value and a boolean to check if the value has been set.
func (*GeoJson) GetFeatures ¶
func (o *GeoJson) GetFeatures() []GeoJsonFeature
GetFeatures returns the Features field value
func (*GeoJson) GetFeaturesOk ¶
func (o *GeoJson) GetFeaturesOk() ([]GeoJsonFeature, bool)
GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.
func (*GeoJson) GetMetadata ¶
func (o *GeoJson) GetMetadata() GeoJSONMetadata
GetMetadata returns the Metadata field value
func (*GeoJson) GetMetadataOk ¶
func (o *GeoJson) GetMetadataOk() (*GeoJSONMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.
func (*GeoJson) GetType ¶
func (o *GeoJson) GetType() GeoJsonType
GetType returns the Type field value
func (*GeoJson) GetTypeOk ¶
func (o *GeoJson) GetTypeOk() (*GeoJsonType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (GeoJson) MarshalJSON ¶
func (*GeoJson) SetFeatures ¶
func (o *GeoJson) SetFeatures(v []GeoJsonFeature)
SetFeatures sets field value
func (*GeoJson) SetMetadata ¶
func (o *GeoJson) SetMetadata(v GeoJSONMetadata)
SetMetadata sets field value
func (*GeoJson) UnmarshalJSON ¶
type GeoJsonFeature ¶
type GeoJsonFeature struct { Bbox []float32 `json:"bbox"` Geometry GeoJsonGeometry `json:"geometry"` Properties map[string]map[string]interface{} `json:"properties"` Type GeoJsonType `json:"type"` }
GeoJsonFeature struct for GeoJsonFeature
func NewGeoJsonFeature ¶
func NewGeoJsonFeature(bbox []float32, geometry GeoJsonGeometry, properties map[string]map[string]interface{}, type_ GeoJsonType) *GeoJsonFeature
NewGeoJsonFeature instantiates a new GeoJsonFeature 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 NewGeoJsonFeatureWithDefaults ¶
func NewGeoJsonFeatureWithDefaults() *GeoJsonFeature
NewGeoJsonFeatureWithDefaults instantiates a new GeoJsonFeature 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 (*GeoJsonFeature) GetBbox ¶
func (o *GeoJsonFeature) GetBbox() []float32
GetBbox returns the Bbox field value
func (*GeoJsonFeature) GetBboxOk ¶
func (o *GeoJsonFeature) GetBboxOk() ([]float32, bool)
GetBboxOk returns a tuple with the Bbox field value and a boolean to check if the value has been set.
func (*GeoJsonFeature) GetGeometry ¶
func (o *GeoJsonFeature) GetGeometry() GeoJsonGeometry
GetGeometry returns the Geometry field value
func (*GeoJsonFeature) GetGeometryOk ¶
func (o *GeoJsonFeature) GetGeometryOk() (*GeoJsonGeometry, bool)
GetGeometryOk returns a tuple with the Geometry field value and a boolean to check if the value has been set.
func (*GeoJsonFeature) GetProperties ¶
func (o *GeoJsonFeature) GetProperties() map[string]map[string]interface{}
GetProperties returns the Properties field value
func (*GeoJsonFeature) GetPropertiesOk ¶
func (o *GeoJsonFeature) GetPropertiesOk() (map[string]map[string]interface{}, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*GeoJsonFeature) GetType ¶
func (o *GeoJsonFeature) GetType() GeoJsonType
GetType returns the Type field value
func (*GeoJsonFeature) GetTypeOk ¶
func (o *GeoJsonFeature) GetTypeOk() (*GeoJsonType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (GeoJsonFeature) MarshalJSON ¶
func (o GeoJsonFeature) MarshalJSON() ([]byte, error)
func (*GeoJsonFeature) SetBbox ¶
func (o *GeoJsonFeature) SetBbox(v []float32)
SetBbox sets field value
func (*GeoJsonFeature) SetGeometry ¶
func (o *GeoJsonFeature) SetGeometry(v GeoJsonGeometry)
SetGeometry sets field value
func (*GeoJsonFeature) SetProperties ¶
func (o *GeoJsonFeature) SetProperties(v map[string]map[string]interface{})
SetProperties sets field value
func (*GeoJsonFeature) SetType ¶
func (o *GeoJsonFeature) SetType(v GeoJsonType)
SetType sets field value
func (GeoJsonFeature) ToMap ¶
func (o GeoJsonFeature) ToMap() (map[string]interface{}, error)
func (*GeoJsonFeature) UnmarshalJSON ¶
func (o *GeoJsonFeature) UnmarshalJSON(data []byte) (err error)
type GeoJsonGeometry ¶
type GeoJsonGeometry struct { Coordinates [][]float32 `json:"coordinates"` Type GeoJsonType `json:"type"` }
GeoJsonGeometry struct for GeoJsonGeometry
func NewGeoJsonGeometry ¶
func NewGeoJsonGeometry(coordinates [][]float32, type_ GeoJsonType) *GeoJsonGeometry
NewGeoJsonGeometry instantiates a new GeoJsonGeometry 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 NewGeoJsonGeometryWithDefaults ¶
func NewGeoJsonGeometryWithDefaults() *GeoJsonGeometry
NewGeoJsonGeometryWithDefaults instantiates a new GeoJsonGeometry 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 (*GeoJsonGeometry) GetCoordinates ¶
func (o *GeoJsonGeometry) GetCoordinates() [][]float32
GetCoordinates returns the Coordinates field value
func (*GeoJsonGeometry) GetCoordinatesOk ¶
func (o *GeoJsonGeometry) GetCoordinatesOk() ([][]float32, bool)
GetCoordinatesOk returns a tuple with the Coordinates field value and a boolean to check if the value has been set.
func (*GeoJsonGeometry) GetType ¶
func (o *GeoJsonGeometry) GetType() GeoJsonType
GetType returns the Type field value
func (*GeoJsonGeometry) GetTypeOk ¶
func (o *GeoJsonGeometry) GetTypeOk() (*GeoJsonType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (GeoJsonGeometry) MarshalJSON ¶
func (o GeoJsonGeometry) MarshalJSON() ([]byte, error)
func (*GeoJsonGeometry) SetCoordinates ¶
func (o *GeoJsonGeometry) SetCoordinates(v [][]float32)
SetCoordinates sets field value
func (*GeoJsonGeometry) SetType ¶
func (o *GeoJsonGeometry) SetType(v GeoJsonType)
SetType sets field value
func (GeoJsonGeometry) ToMap ¶
func (o GeoJsonGeometry) ToMap() (map[string]interface{}, error)
func (*GeoJsonGeometry) UnmarshalJSON ¶
func (o *GeoJsonGeometry) UnmarshalJSON(data []byte) (err error)
type GeoJsonType ¶
type GeoJsonType string
GeoJsonType the model 'GeoJsonType'
const (
FeatureCollection GeoJsonType = "FeatureCollection"
)
List of GeoJsonType
func NewGeoJsonTypeFromValue ¶
func NewGeoJsonTypeFromValue(v string) (*GeoJsonType, error)
NewGeoJsonTypeFromValue returns a pointer to a valid GeoJsonType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GeoJsonType) IsValid ¶
func (v GeoJsonType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GeoJsonType) Ptr ¶
func (v GeoJsonType) Ptr() *GeoJsonType
Ptr returns reference to GeoJsonType value
func (*GeoJsonType) UnmarshalJSON ¶
func (v *GeoJsonType) UnmarshalJSON(src []byte) error
type GitInfo ¶
type GitInfo struct { Branch string `json:"branch"` Commit string `json:"commit"` Repository string `json:"repository"` }
GitInfo struct for GitInfo
func NewGitInfo ¶
NewGitInfo instantiates a new GitInfo 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 NewGitInfoWithDefaults ¶
func NewGitInfoWithDefaults() *GitInfo
NewGitInfoWithDefaults instantiates a new GitInfo 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 (*GitInfo) GetBranchOk ¶
GetBranchOk returns a tuple with the Branch field value and a boolean to check if the value has been set.
func (*GitInfo) GetCommitOk ¶
GetCommitOk returns a tuple with the Commit field value and a boolean to check if the value has been set.
func (*GitInfo) GetRepository ¶
GetRepository returns the Repository field value
func (*GitInfo) GetRepositoryOk ¶
GetRepositoryOk returns a tuple with the Repository field value and a boolean to check if the value has been set.
func (GitInfo) MarshalJSON ¶
func (*GitInfo) SetRepository ¶
SetRepository sets field value
func (*GitInfo) UnmarshalJSON ¶
type HTTPError ¶
type HTTPError struct { Code int32 `json:"code"` Error string `json:"error"` Method string `json:"method"` Path string `json:"path"` }
HTTPError struct for HTTPError
func NewHTTPError ¶
NewHTTPError instantiates a new HTTPError 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 NewHTTPErrorWithDefaults ¶
func NewHTTPErrorWithDefaults() *HTTPError
NewHTTPErrorWithDefaults instantiates a new HTTPError 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 (*HTTPError) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*HTTPError) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*HTTPError) GetMethodOk ¶
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*HTTPError) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (HTTPError) MarshalJSON ¶
func (*HTTPError) UnmarshalJSON ¶
type InfoAPIService ¶
type InfoAPIService service
InfoAPIService InfoAPI service
func (*InfoAPIService) GetAppInfo ¶
func (a *InfoAPIService) GetAppInfo(ctx context.Context) ApiGetAppInfoRequest
GetAppInfo Get info about the app
Get info about the app and the server
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAppInfoRequest
func (*InfoAPIService) GetAppInfoExecute ¶
func (a *InfoAPIService) GetAppInfoExecute(r ApiGetAppInfoRequest) (*AppInfo, *http.Response, error)
Execute executes the request
@return AppInfo
type LoginResponse ¶
type LoginResponse struct {
LoginUrl string `json:"login_url"`
}
LoginResponse struct for LoginResponse
func NewLoginResponse ¶
func NewLoginResponse(loginUrl string) *LoginResponse
NewLoginResponse instantiates a new LoginResponse 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 NewLoginResponseWithDefaults ¶
func NewLoginResponseWithDefaults() *LoginResponse
NewLoginResponseWithDefaults instantiates a new LoginResponse 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 (*LoginResponse) GetLoginUrl ¶
func (o *LoginResponse) GetLoginUrl() string
GetLoginUrl returns the LoginUrl field value
func (*LoginResponse) GetLoginUrlOk ¶
func (o *LoginResponse) GetLoginUrlOk() (*string, bool)
GetLoginUrlOk returns a tuple with the LoginUrl field value and a boolean to check if the value has been set.
func (LoginResponse) MarshalJSON ¶
func (o LoginResponse) MarshalJSON() ([]byte, error)
func (*LoginResponse) SetLoginUrl ¶
func (o *LoginResponse) SetLoginUrl(v string)
SetLoginUrl sets field value
func (LoginResponse) ToMap ¶
func (o LoginResponse) ToMap() (map[string]interface{}, error)
func (*LoginResponse) UnmarshalJSON ¶
func (o *LoginResponse) UnmarshalJSON(data []byte) (err error)
type LoginTokenRequest ¶
type LoginTokenRequest struct {
Code string `json:"code"`
}
LoginTokenRequest struct for LoginTokenRequest
func NewLoginTokenRequest ¶
func NewLoginTokenRequest(code string) *LoginTokenRequest
NewLoginTokenRequest instantiates a new LoginTokenRequest 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 NewLoginTokenRequestWithDefaults ¶
func NewLoginTokenRequestWithDefaults() *LoginTokenRequest
NewLoginTokenRequestWithDefaults instantiates a new LoginTokenRequest 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 (*LoginTokenRequest) GetCode ¶
func (o *LoginTokenRequest) GetCode() string
GetCode returns the Code field value
func (*LoginTokenRequest) GetCodeOk ¶
func (o *LoginTokenRequest) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (LoginTokenRequest) MarshalJSON ¶
func (o LoginTokenRequest) MarshalJSON() ([]byte, error)
func (*LoginTokenRequest) SetCode ¶
func (o *LoginTokenRequest) SetCode(v string)
SetCode sets field value
func (LoginTokenRequest) ToMap ¶
func (o LoginTokenRequest) ToMap() (map[string]interface{}, error)
func (*LoginTokenRequest) UnmarshalJSON ¶
func (o *LoginTokenRequest) UnmarshalJSON(data []byte) (err error)
type LogoutRequest ¶
type LogoutRequest struct {
RefreshToken string `json:"refresh_token"`
}
LogoutRequest struct for LogoutRequest
func NewLogoutRequest ¶
func NewLogoutRequest(refreshToken string) *LogoutRequest
NewLogoutRequest instantiates a new LogoutRequest 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 NewLogoutRequestWithDefaults ¶
func NewLogoutRequestWithDefaults() *LogoutRequest
NewLogoutRequestWithDefaults instantiates a new LogoutRequest 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 (*LogoutRequest) GetRefreshToken ¶
func (o *LogoutRequest) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value
func (*LogoutRequest) GetRefreshTokenOk ¶
func (o *LogoutRequest) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value and a boolean to check if the value has been set.
func (LogoutRequest) MarshalJSON ¶
func (o LogoutRequest) MarshalJSON() ([]byte, error)
func (*LogoutRequest) SetRefreshToken ¶
func (o *LogoutRequest) SetRefreshToken(v string)
SetRefreshToken sets field value
func (LogoutRequest) ToMap ¶
func (o LogoutRequest) ToMap() (map[string]interface{}, error)
func (*LogoutRequest) UnmarshalJSON ¶
func (o *LogoutRequest) UnmarshalJSON(data []byte) (err error)
type MapInfo ¶
MapInfo struct for MapInfo
func NewMapInfo ¶
NewMapInfo instantiates a new MapInfo 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 NewMapInfoWithDefaults ¶
func NewMapInfoWithDefaults() *MapInfo
NewMapInfoWithDefaults instantiates a new MapInfo 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 (*MapInfo) GetBboxOk ¶
GetBboxOk returns a tuple with the Bbox field value and a boolean to check if the value has been set.
func (*MapInfo) GetCenterOk ¶
GetCenterOk returns a tuple with the Center field value and a boolean to check if the value has been set.
func (MapInfo) MarshalJSON ¶
func (*MapInfo) UnmarshalJSON ¶
type MappedNullable ¶
type NullableAppInfo ¶
type NullableAppInfo struct {
// contains filtered or unexported fields
}
func NewNullableAppInfo ¶
func NewNullableAppInfo(val *AppInfo) *NullableAppInfo
func (NullableAppInfo) Get ¶
func (v NullableAppInfo) Get() *AppInfo
func (NullableAppInfo) IsSet ¶
func (v NullableAppInfo) IsSet() bool
func (NullableAppInfo) MarshalJSON ¶
func (v NullableAppInfo) MarshalJSON() ([]byte, error)
func (*NullableAppInfo) Set ¶
func (v *NullableAppInfo) Set(val *AppInfo)
func (*NullableAppInfo) UnmarshalJSON ¶
func (v *NullableAppInfo) UnmarshalJSON(src []byte) error
func (*NullableAppInfo) Unset ¶
func (v *NullableAppInfo) Unset()
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 NullableClientToken ¶
type NullableClientToken struct {
// contains filtered or unexported fields
}
func NewNullableClientToken ¶
func NewNullableClientToken(val *ClientToken) *NullableClientToken
func (NullableClientToken) Get ¶
func (v NullableClientToken) Get() *ClientToken
func (NullableClientToken) IsSet ¶
func (v NullableClientToken) IsSet() bool
func (NullableClientToken) MarshalJSON ¶
func (v NullableClientToken) MarshalJSON() ([]byte, error)
func (*NullableClientToken) Set ¶
func (v *NullableClientToken) Set(val *ClientToken)
func (*NullableClientToken) UnmarshalJSON ¶
func (v *NullableClientToken) UnmarshalJSON(src []byte) error
func (*NullableClientToken) Unset ¶
func (v *NullableClientToken) Unset()
type NullableDrivingLicense ¶
type NullableDrivingLicense struct {
// contains filtered or unexported fields
}
func NewNullableDrivingLicense ¶
func NewNullableDrivingLicense(val *DrivingLicense) *NullableDrivingLicense
func (NullableDrivingLicense) Get ¶
func (v NullableDrivingLicense) Get() *DrivingLicense
func (NullableDrivingLicense) IsSet ¶
func (v NullableDrivingLicense) IsSet() bool
func (NullableDrivingLicense) MarshalJSON ¶
func (v NullableDrivingLicense) MarshalJSON() ([]byte, error)
func (*NullableDrivingLicense) Set ¶
func (v *NullableDrivingLicense) Set(val *DrivingLicense)
func (*NullableDrivingLicense) UnmarshalJSON ¶
func (v *NullableDrivingLicense) UnmarshalJSON(src []byte) error
func (*NullableDrivingLicense) Unset ¶
func (v *NullableDrivingLicense) Unset()
type NullableEvaluationValue ¶
type NullableEvaluationValue struct {
// contains filtered or unexported fields
}
func NewNullableEvaluationValue ¶
func NewNullableEvaluationValue(val *EvaluationValue) *NullableEvaluationValue
func (NullableEvaluationValue) Get ¶
func (v NullableEvaluationValue) Get() *EvaluationValue
func (NullableEvaluationValue) IsSet ¶
func (v NullableEvaluationValue) IsSet() bool
func (NullableEvaluationValue) MarshalJSON ¶
func (v NullableEvaluationValue) MarshalJSON() ([]byte, error)
func (*NullableEvaluationValue) Set ¶
func (v *NullableEvaluationValue) Set(val *EvaluationValue)
func (*NullableEvaluationValue) UnmarshalJSON ¶
func (v *NullableEvaluationValue) UnmarshalJSON(src []byte) error
func (*NullableEvaluationValue) Unset ¶
func (v *NullableEvaluationValue) 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 NullableGeoJSONLocation ¶
type NullableGeoJSONLocation struct {
// contains filtered or unexported fields
}
func NewNullableGeoJSONLocation ¶
func NewNullableGeoJSONLocation(val *GeoJSONLocation) *NullableGeoJSONLocation
func (NullableGeoJSONLocation) Get ¶
func (v NullableGeoJSONLocation) Get() *GeoJSONLocation
func (NullableGeoJSONLocation) IsSet ¶
func (v NullableGeoJSONLocation) IsSet() bool
func (NullableGeoJSONLocation) MarshalJSON ¶
func (v NullableGeoJSONLocation) MarshalJSON() ([]byte, error)
func (*NullableGeoJSONLocation) Set ¶
func (v *NullableGeoJSONLocation) Set(val *GeoJSONLocation)
func (*NullableGeoJSONLocation) UnmarshalJSON ¶
func (v *NullableGeoJSONLocation) UnmarshalJSON(src []byte) error
func (*NullableGeoJSONLocation) Unset ¶
func (v *NullableGeoJSONLocation) Unset()
type NullableGeoJSONMetadata ¶
type NullableGeoJSONMetadata struct {
// contains filtered or unexported fields
}
func NewNullableGeoJSONMetadata ¶
func NewNullableGeoJSONMetadata(val *GeoJSONMetadata) *NullableGeoJSONMetadata
func (NullableGeoJSONMetadata) Get ¶
func (v NullableGeoJSONMetadata) Get() *GeoJSONMetadata
func (NullableGeoJSONMetadata) IsSet ¶
func (v NullableGeoJSONMetadata) IsSet() bool
func (NullableGeoJSONMetadata) MarshalJSON ¶
func (v NullableGeoJSONMetadata) MarshalJSON() ([]byte, error)
func (*NullableGeoJSONMetadata) Set ¶
func (v *NullableGeoJSONMetadata) Set(val *GeoJSONMetadata)
func (*NullableGeoJSONMetadata) UnmarshalJSON ¶
func (v *NullableGeoJSONMetadata) UnmarshalJSON(src []byte) error
func (*NullableGeoJSONMetadata) Unset ¶
func (v *NullableGeoJSONMetadata) Unset()
type NullableGeoJson ¶
type NullableGeoJson struct {
// contains filtered or unexported fields
}
func NewNullableGeoJson ¶
func NewNullableGeoJson(val *GeoJson) *NullableGeoJson
func (NullableGeoJson) Get ¶
func (v NullableGeoJson) Get() *GeoJson
func (NullableGeoJson) IsSet ¶
func (v NullableGeoJson) IsSet() bool
func (NullableGeoJson) MarshalJSON ¶
func (v NullableGeoJson) MarshalJSON() ([]byte, error)
func (*NullableGeoJson) Set ¶
func (v *NullableGeoJson) Set(val *GeoJson)
func (*NullableGeoJson) UnmarshalJSON ¶
func (v *NullableGeoJson) UnmarshalJSON(src []byte) error
func (*NullableGeoJson) Unset ¶
func (v *NullableGeoJson) Unset()
type NullableGeoJsonFeature ¶
type NullableGeoJsonFeature struct {
// contains filtered or unexported fields
}
func NewNullableGeoJsonFeature ¶
func NewNullableGeoJsonFeature(val *GeoJsonFeature) *NullableGeoJsonFeature
func (NullableGeoJsonFeature) Get ¶
func (v NullableGeoJsonFeature) Get() *GeoJsonFeature
func (NullableGeoJsonFeature) IsSet ¶
func (v NullableGeoJsonFeature) IsSet() bool
func (NullableGeoJsonFeature) MarshalJSON ¶
func (v NullableGeoJsonFeature) MarshalJSON() ([]byte, error)
func (*NullableGeoJsonFeature) Set ¶
func (v *NullableGeoJsonFeature) Set(val *GeoJsonFeature)
func (*NullableGeoJsonFeature) UnmarshalJSON ¶
func (v *NullableGeoJsonFeature) UnmarshalJSON(src []byte) error
func (*NullableGeoJsonFeature) Unset ¶
func (v *NullableGeoJsonFeature) Unset()
type NullableGeoJsonGeometry ¶
type NullableGeoJsonGeometry struct {
// contains filtered or unexported fields
}
func NewNullableGeoJsonGeometry ¶
func NewNullableGeoJsonGeometry(val *GeoJsonGeometry) *NullableGeoJsonGeometry
func (NullableGeoJsonGeometry) Get ¶
func (v NullableGeoJsonGeometry) Get() *GeoJsonGeometry
func (NullableGeoJsonGeometry) IsSet ¶
func (v NullableGeoJsonGeometry) IsSet() bool
func (NullableGeoJsonGeometry) MarshalJSON ¶
func (v NullableGeoJsonGeometry) MarshalJSON() ([]byte, error)
func (*NullableGeoJsonGeometry) Set ¶
func (v *NullableGeoJsonGeometry) Set(val *GeoJsonGeometry)
func (*NullableGeoJsonGeometry) UnmarshalJSON ¶
func (v *NullableGeoJsonGeometry) UnmarshalJSON(src []byte) error
func (*NullableGeoJsonGeometry) Unset ¶
func (v *NullableGeoJsonGeometry) Unset()
type NullableGeoJsonType ¶
type NullableGeoJsonType struct {
// contains filtered or unexported fields
}
func NewNullableGeoJsonType ¶
func NewNullableGeoJsonType(val *GeoJsonType) *NullableGeoJsonType
func (NullableGeoJsonType) Get ¶
func (v NullableGeoJsonType) Get() *GeoJsonType
func (NullableGeoJsonType) IsSet ¶
func (v NullableGeoJsonType) IsSet() bool
func (NullableGeoJsonType) MarshalJSON ¶
func (v NullableGeoJsonType) MarshalJSON() ([]byte, error)
func (*NullableGeoJsonType) Set ¶
func (v *NullableGeoJsonType) Set(val *GeoJsonType)
func (*NullableGeoJsonType) UnmarshalJSON ¶
func (v *NullableGeoJsonType) UnmarshalJSON(src []byte) error
func (*NullableGeoJsonType) Unset ¶
func (v *NullableGeoJsonType) Unset()
type NullableGitInfo ¶
type NullableGitInfo struct {
// contains filtered or unexported fields
}
func NewNullableGitInfo ¶
func NewNullableGitInfo(val *GitInfo) *NullableGitInfo
func (NullableGitInfo) Get ¶
func (v NullableGitInfo) Get() *GitInfo
func (NullableGitInfo) IsSet ¶
func (v NullableGitInfo) IsSet() bool
func (NullableGitInfo) MarshalJSON ¶
func (v NullableGitInfo) MarshalJSON() ([]byte, error)
func (*NullableGitInfo) Set ¶
func (v *NullableGitInfo) Set(val *GitInfo)
func (*NullableGitInfo) UnmarshalJSON ¶
func (v *NullableGitInfo) UnmarshalJSON(src []byte) error
func (*NullableGitInfo) Unset ¶
func (v *NullableGitInfo) Unset()
type NullableHTTPError ¶
type NullableHTTPError struct {
// contains filtered or unexported fields
}
func NewNullableHTTPError ¶
func NewNullableHTTPError(val *HTTPError) *NullableHTTPError
func (NullableHTTPError) Get ¶
func (v NullableHTTPError) Get() *HTTPError
func (NullableHTTPError) IsSet ¶
func (v NullableHTTPError) IsSet() bool
func (NullableHTTPError) MarshalJSON ¶
func (v NullableHTTPError) MarshalJSON() ([]byte, error)
func (*NullableHTTPError) Set ¶
func (v *NullableHTTPError) Set(val *HTTPError)
func (*NullableHTTPError) UnmarshalJSON ¶
func (v *NullableHTTPError) UnmarshalJSON(src []byte) error
func (*NullableHTTPError) Unset ¶
func (v *NullableHTTPError) 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 NullableLoginResponse ¶
type NullableLoginResponse struct {
// contains filtered or unexported fields
}
func NewNullableLoginResponse ¶
func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse
func (NullableLoginResponse) Get ¶
func (v NullableLoginResponse) Get() *LoginResponse
func (NullableLoginResponse) IsSet ¶
func (v NullableLoginResponse) IsSet() bool
func (NullableLoginResponse) MarshalJSON ¶
func (v NullableLoginResponse) MarshalJSON() ([]byte, error)
func (*NullableLoginResponse) Set ¶
func (v *NullableLoginResponse) Set(val *LoginResponse)
func (*NullableLoginResponse) UnmarshalJSON ¶
func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error
func (*NullableLoginResponse) Unset ¶
func (v *NullableLoginResponse) Unset()
type NullableLoginTokenRequest ¶
type NullableLoginTokenRequest struct {
// contains filtered or unexported fields
}
func NewNullableLoginTokenRequest ¶
func NewNullableLoginTokenRequest(val *LoginTokenRequest) *NullableLoginTokenRequest
func (NullableLoginTokenRequest) Get ¶
func (v NullableLoginTokenRequest) Get() *LoginTokenRequest
func (NullableLoginTokenRequest) IsSet ¶
func (v NullableLoginTokenRequest) IsSet() bool
func (NullableLoginTokenRequest) MarshalJSON ¶
func (v NullableLoginTokenRequest) MarshalJSON() ([]byte, error)
func (*NullableLoginTokenRequest) Set ¶
func (v *NullableLoginTokenRequest) Set(val *LoginTokenRequest)
func (*NullableLoginTokenRequest) UnmarshalJSON ¶
func (v *NullableLoginTokenRequest) UnmarshalJSON(src []byte) error
func (*NullableLoginTokenRequest) Unset ¶
func (v *NullableLoginTokenRequest) Unset()
type NullableLogoutRequest ¶
type NullableLogoutRequest struct {
// contains filtered or unexported fields
}
func NewNullableLogoutRequest ¶
func NewNullableLogoutRequest(val *LogoutRequest) *NullableLogoutRequest
func (NullableLogoutRequest) Get ¶
func (v NullableLogoutRequest) Get() *LogoutRequest
func (NullableLogoutRequest) IsSet ¶
func (v NullableLogoutRequest) IsSet() bool
func (NullableLogoutRequest) MarshalJSON ¶
func (v NullableLogoutRequest) MarshalJSON() ([]byte, error)
func (*NullableLogoutRequest) Set ¶
func (v *NullableLogoutRequest) Set(val *LogoutRequest)
func (*NullableLogoutRequest) UnmarshalJSON ¶
func (v *NullableLogoutRequest) UnmarshalJSON(src []byte) error
func (*NullableLogoutRequest) Unset ¶
func (v *NullableLogoutRequest) Unset()
type NullableMapInfo ¶
type NullableMapInfo struct {
// contains filtered or unexported fields
}
func NewNullableMapInfo ¶
func NewNullableMapInfo(val *MapInfo) *NullableMapInfo
func (NullableMapInfo) Get ¶
func (v NullableMapInfo) Get() *MapInfo
func (NullableMapInfo) IsSet ¶
func (v NullableMapInfo) IsSet() bool
func (NullableMapInfo) MarshalJSON ¶
func (v NullableMapInfo) MarshalJSON() ([]byte, error)
func (*NullableMapInfo) Set ¶
func (v *NullableMapInfo) Set(val *MapInfo)
func (*NullableMapInfo) UnmarshalJSON ¶
func (v *NullableMapInfo) UnmarshalJSON(src []byte) error
func (*NullableMapInfo) Unset ¶
func (v *NullableMapInfo) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (NullablePagination) MarshalJSON ¶
func (v NullablePagination) MarshalJSON() ([]byte, error)
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) UnmarshalJSON ¶
func (v *NullablePagination) UnmarshalJSON(src []byte) error
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullablePlugin ¶
type NullablePlugin struct {
// contains filtered or unexported fields
}
func NewNullablePlugin ¶
func NewNullablePlugin(val *Plugin) *NullablePlugin
func (NullablePlugin) Get ¶
func (v NullablePlugin) Get() *Plugin
func (NullablePlugin) IsSet ¶
func (v NullablePlugin) IsSet() bool
func (NullablePlugin) MarshalJSON ¶
func (v NullablePlugin) MarshalJSON() ([]byte, error)
func (*NullablePlugin) Set ¶
func (v *NullablePlugin) Set(val *Plugin)
func (*NullablePlugin) UnmarshalJSON ¶
func (v *NullablePlugin) UnmarshalJSON(src []byte) error
func (*NullablePlugin) Unset ¶
func (v *NullablePlugin) Unset()
type NullablePluginAuth ¶
type NullablePluginAuth struct {
// contains filtered or unexported fields
}
func NewNullablePluginAuth ¶
func NewNullablePluginAuth(val *PluginAuth) *NullablePluginAuth
func (NullablePluginAuth) Get ¶
func (v NullablePluginAuth) Get() *PluginAuth
func (NullablePluginAuth) IsSet ¶
func (v NullablePluginAuth) IsSet() bool
func (NullablePluginAuth) MarshalJSON ¶
func (v NullablePluginAuth) MarshalJSON() ([]byte, error)
func (*NullablePluginAuth) Set ¶
func (v *NullablePluginAuth) Set(val *PluginAuth)
func (*NullablePluginAuth) UnmarshalJSON ¶
func (v *NullablePluginAuth) UnmarshalJSON(src []byte) error
func (*NullablePluginAuth) Unset ¶
func (v *NullablePluginAuth) Unset()
type NullablePluginListResponse ¶
type NullablePluginListResponse struct {
// contains filtered or unexported fields
}
func NewNullablePluginListResponse ¶
func NewNullablePluginListResponse(val *PluginListResponse) *NullablePluginListResponse
func (NullablePluginListResponse) Get ¶
func (v NullablePluginListResponse) Get() *PluginListResponse
func (NullablePluginListResponse) IsSet ¶
func (v NullablePluginListResponse) IsSet() bool
func (NullablePluginListResponse) MarshalJSON ¶
func (v NullablePluginListResponse) MarshalJSON() ([]byte, error)
func (*NullablePluginListResponse) Set ¶
func (v *NullablePluginListResponse) Set(val *PluginListResponse)
func (*NullablePluginListResponse) UnmarshalJSON ¶
func (v *NullablePluginListResponse) UnmarshalJSON(src []byte) error
func (*NullablePluginListResponse) Unset ¶
func (v *NullablePluginListResponse) Unset()
type NullablePluginRegisterRequest ¶
type NullablePluginRegisterRequest struct {
// contains filtered or unexported fields
}
func NewNullablePluginRegisterRequest ¶
func NewNullablePluginRegisterRequest(val *PluginRegisterRequest) *NullablePluginRegisterRequest
func (NullablePluginRegisterRequest) Get ¶
func (v NullablePluginRegisterRequest) Get() *PluginRegisterRequest
func (NullablePluginRegisterRequest) IsSet ¶
func (v NullablePluginRegisterRequest) IsSet() bool
func (NullablePluginRegisterRequest) MarshalJSON ¶
func (v NullablePluginRegisterRequest) MarshalJSON() ([]byte, error)
func (*NullablePluginRegisterRequest) Set ¶
func (v *NullablePluginRegisterRequest) Set(val *PluginRegisterRequest)
func (*NullablePluginRegisterRequest) UnmarshalJSON ¶
func (v *NullablePluginRegisterRequest) UnmarshalJSON(src []byte) error
func (*NullablePluginRegisterRequest) Unset ¶
func (v *NullablePluginRegisterRequest) Unset()
type NullableRefreshTokenRequest ¶
type NullableRefreshTokenRequest struct {
// contains filtered or unexported fields
}
func NewNullableRefreshTokenRequest ¶
func NewNullableRefreshTokenRequest(val *RefreshTokenRequest) *NullableRefreshTokenRequest
func (NullableRefreshTokenRequest) Get ¶
func (v NullableRefreshTokenRequest) Get() *RefreshTokenRequest
func (NullableRefreshTokenRequest) IsSet ¶
func (v NullableRefreshTokenRequest) IsSet() bool
func (NullableRefreshTokenRequest) MarshalJSON ¶
func (v NullableRefreshTokenRequest) MarshalJSON() ([]byte, error)
func (*NullableRefreshTokenRequest) Set ¶
func (v *NullableRefreshTokenRequest) Set(val *RefreshTokenRequest)
func (*NullableRefreshTokenRequest) UnmarshalJSON ¶
func (v *NullableRefreshTokenRequest) UnmarshalJSON(src []byte) error
func (*NullableRefreshTokenRequest) Unset ¶
func (v *NullableRefreshTokenRequest) Unset()
type NullableRegion ¶
type NullableRegion struct {
// contains filtered or unexported fields
}
func NewNullableRegion ¶
func NewNullableRegion(val *Region) *NullableRegion
func (NullableRegion) Get ¶
func (v NullableRegion) Get() *Region
func (NullableRegion) IsSet ¶
func (v NullableRegion) IsSet() bool
func (NullableRegion) MarshalJSON ¶
func (v NullableRegion) MarshalJSON() ([]byte, error)
func (*NullableRegion) Set ¶
func (v *NullableRegion) Set(val *Region)
func (*NullableRegion) UnmarshalJSON ¶
func (v *NullableRegion) UnmarshalJSON(src []byte) error
func (*NullableRegion) Unset ¶
func (v *NullableRegion) Unset()
type NullableRegionList ¶
type NullableRegionList struct {
// contains filtered or unexported fields
}
func NewNullableRegionList ¶
func NewNullableRegionList(val *RegionList) *NullableRegionList
func (NullableRegionList) Get ¶
func (v NullableRegionList) Get() *RegionList
func (NullableRegionList) IsSet ¶
func (v NullableRegionList) IsSet() bool
func (NullableRegionList) MarshalJSON ¶
func (v NullableRegionList) MarshalJSON() ([]byte, error)
func (*NullableRegionList) Set ¶
func (v *NullableRegionList) Set(val *RegionList)
func (*NullableRegionList) UnmarshalJSON ¶
func (v *NullableRegionList) UnmarshalJSON(src []byte) error
func (*NullableRegionList) Unset ¶
func (v *NullableRegionList) Unset()
type NullableRouteRequest ¶
type NullableRouteRequest struct {
// contains filtered or unexported fields
}
func NewNullableRouteRequest ¶
func NewNullableRouteRequest(val *RouteRequest) *NullableRouteRequest
func (NullableRouteRequest) Get ¶
func (v NullableRouteRequest) Get() *RouteRequest
func (NullableRouteRequest) IsSet ¶
func (v NullableRouteRequest) IsSet() bool
func (NullableRouteRequest) MarshalJSON ¶
func (v NullableRouteRequest) MarshalJSON() ([]byte, error)
func (*NullableRouteRequest) Set ¶
func (v *NullableRouteRequest) Set(val *RouteRequest)
func (*NullableRouteRequest) UnmarshalJSON ¶
func (v *NullableRouteRequest) UnmarshalJSON(src []byte) error
func (*NullableRouteRequest) Unset ¶
func (v *NullableRouteRequest) Unset()
type NullableSensor ¶
type NullableSensor struct {
// contains filtered or unexported fields
}
func NewNullableSensor ¶
func NewNullableSensor(val *Sensor) *NullableSensor
func (NullableSensor) Get ¶
func (v NullableSensor) Get() *Sensor
func (NullableSensor) IsSet ¶
func (v NullableSensor) IsSet() bool
func (NullableSensor) MarshalJSON ¶
func (v NullableSensor) MarshalJSON() ([]byte, error)
func (*NullableSensor) Set ¶
func (v *NullableSensor) Set(val *Sensor)
func (*NullableSensor) UnmarshalJSON ¶
func (v *NullableSensor) UnmarshalJSON(src []byte) error
func (*NullableSensor) Unset ¶
func (v *NullableSensor) Unset()
type NullableSensorData ¶
type NullableSensorData struct {
// contains filtered or unexported fields
}
func NewNullableSensorData ¶
func NewNullableSensorData(val *SensorData) *NullableSensorData
func (NullableSensorData) Get ¶
func (v NullableSensorData) Get() *SensorData
func (NullableSensorData) IsSet ¶
func (v NullableSensorData) IsSet() bool
func (NullableSensorData) MarshalJSON ¶
func (v NullableSensorData) MarshalJSON() ([]byte, error)
func (*NullableSensorData) Set ¶
func (v *NullableSensorData) Set(val *SensorData)
func (*NullableSensorData) UnmarshalJSON ¶
func (v *NullableSensorData) UnmarshalJSON(src []byte) error
func (*NullableSensorData) Unset ¶
func (v *NullableSensorData) Unset()
type NullableSensorDataList ¶
type NullableSensorDataList struct {
// contains filtered or unexported fields
}
func NewNullableSensorDataList ¶
func NewNullableSensorDataList(val *SensorDataList) *NullableSensorDataList
func (NullableSensorDataList) Get ¶
func (v NullableSensorDataList) Get() *SensorDataList
func (NullableSensorDataList) IsSet ¶
func (v NullableSensorDataList) IsSet() bool
func (NullableSensorDataList) MarshalJSON ¶
func (v NullableSensorDataList) MarshalJSON() ([]byte, error)
func (*NullableSensorDataList) Set ¶
func (v *NullableSensorDataList) Set(val *SensorDataList)
func (*NullableSensorDataList) UnmarshalJSON ¶
func (v *NullableSensorDataList) UnmarshalJSON(src []byte) error
func (*NullableSensorDataList) Unset ¶
func (v *NullableSensorDataList) Unset()
type NullableSensorList ¶
type NullableSensorList struct {
// contains filtered or unexported fields
}
func NewNullableSensorList ¶
func NewNullableSensorList(val *SensorList) *NullableSensorList
func (NullableSensorList) Get ¶
func (v NullableSensorList) Get() *SensorList
func (NullableSensorList) IsSet ¶
func (v NullableSensorList) IsSet() bool
func (NullableSensorList) MarshalJSON ¶
func (v NullableSensorList) MarshalJSON() ([]byte, error)
func (*NullableSensorList) Set ¶
func (v *NullableSensorList) Set(val *SensorList)
func (*NullableSensorList) UnmarshalJSON ¶
func (v *NullableSensorList) UnmarshalJSON(src []byte) error
func (*NullableSensorList) Unset ¶
func (v *NullableSensorList) Unset()
type NullableSensorStatus ¶
type NullableSensorStatus struct {
// contains filtered or unexported fields
}
func NewNullableSensorStatus ¶
func NewNullableSensorStatus(val *SensorStatus) *NullableSensorStatus
func (NullableSensorStatus) Get ¶
func (v NullableSensorStatus) Get() *SensorStatus
func (NullableSensorStatus) IsSet ¶
func (v NullableSensorStatus) IsSet() bool
func (NullableSensorStatus) MarshalJSON ¶
func (v NullableSensorStatus) MarshalJSON() ([]byte, error)
func (*NullableSensorStatus) Set ¶
func (v *NullableSensorStatus) Set(val *SensorStatus)
func (*NullableSensorStatus) UnmarshalJSON ¶
func (v *NullableSensorStatus) UnmarshalJSON(src []byte) error
func (*NullableSensorStatus) Unset ¶
func (v *NullableSensorStatus) Unset()
type NullableServerInfo ¶
type NullableServerInfo struct {
// contains filtered or unexported fields
}
func NewNullableServerInfo ¶
func NewNullableServerInfo(val *ServerInfo) *NullableServerInfo
func (NullableServerInfo) Get ¶
func (v NullableServerInfo) Get() *ServerInfo
func (NullableServerInfo) IsSet ¶
func (v NullableServerInfo) IsSet() bool
func (NullableServerInfo) MarshalJSON ¶
func (v NullableServerInfo) MarshalJSON() ([]byte, error)
func (*NullableServerInfo) Set ¶
func (v *NullableServerInfo) Set(val *ServerInfo)
func (*NullableServerInfo) UnmarshalJSON ¶
func (v *NullableServerInfo) UnmarshalJSON(src []byte) error
func (*NullableServerInfo) Unset ¶
func (v *NullableServerInfo) Unset()
type NullableSoilCondition ¶
type NullableSoilCondition struct {
// contains filtered or unexported fields
}
func NewNullableSoilCondition ¶
func NewNullableSoilCondition(val *SoilCondition) *NullableSoilCondition
func (NullableSoilCondition) Get ¶
func (v NullableSoilCondition) Get() *SoilCondition
func (NullableSoilCondition) IsSet ¶
func (v NullableSoilCondition) IsSet() bool
func (NullableSoilCondition) MarshalJSON ¶
func (v NullableSoilCondition) MarshalJSON() ([]byte, error)
func (*NullableSoilCondition) Set ¶
func (v *NullableSoilCondition) Set(val *SoilCondition)
func (*NullableSoilCondition) UnmarshalJSON ¶
func (v *NullableSoilCondition) UnmarshalJSON(src []byte) error
func (*NullableSoilCondition) Unset ¶
func (v *NullableSoilCondition) 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 NullableTree ¶
type NullableTree struct {
// contains filtered or unexported fields
}
func NewNullableTree ¶
func NewNullableTree(val *Tree) *NullableTree
func (NullableTree) Get ¶
func (v NullableTree) Get() *Tree
func (NullableTree) IsSet ¶
func (v NullableTree) IsSet() bool
func (NullableTree) MarshalJSON ¶
func (v NullableTree) MarshalJSON() ([]byte, error)
func (*NullableTree) Set ¶
func (v *NullableTree) Set(val *Tree)
func (*NullableTree) UnmarshalJSON ¶
func (v *NullableTree) UnmarshalJSON(src []byte) error
func (*NullableTree) Unset ¶
func (v *NullableTree) Unset()
type NullableTreeCluster ¶
type NullableTreeCluster struct {
// contains filtered or unexported fields
}
func NewNullableTreeCluster ¶
func NewNullableTreeCluster(val *TreeCluster) *NullableTreeCluster
func (NullableTreeCluster) Get ¶
func (v NullableTreeCluster) Get() *TreeCluster
func (NullableTreeCluster) IsSet ¶
func (v NullableTreeCluster) IsSet() bool
func (NullableTreeCluster) MarshalJSON ¶
func (v NullableTreeCluster) MarshalJSON() ([]byte, error)
func (*NullableTreeCluster) Set ¶
func (v *NullableTreeCluster) Set(val *TreeCluster)
func (*NullableTreeCluster) UnmarshalJSON ¶
func (v *NullableTreeCluster) UnmarshalJSON(src []byte) error
func (*NullableTreeCluster) Unset ¶
func (v *NullableTreeCluster) Unset()
type NullableTreeClusterCreate ¶
type NullableTreeClusterCreate struct {
// contains filtered or unexported fields
}
func NewNullableTreeClusterCreate ¶
func NewNullableTreeClusterCreate(val *TreeClusterCreate) *NullableTreeClusterCreate
func (NullableTreeClusterCreate) Get ¶
func (v NullableTreeClusterCreate) Get() *TreeClusterCreate
func (NullableTreeClusterCreate) IsSet ¶
func (v NullableTreeClusterCreate) IsSet() bool
func (NullableTreeClusterCreate) MarshalJSON ¶
func (v NullableTreeClusterCreate) MarshalJSON() ([]byte, error)
func (*NullableTreeClusterCreate) Set ¶
func (v *NullableTreeClusterCreate) Set(val *TreeClusterCreate)
func (*NullableTreeClusterCreate) UnmarshalJSON ¶
func (v *NullableTreeClusterCreate) UnmarshalJSON(src []byte) error
func (*NullableTreeClusterCreate) Unset ¶
func (v *NullableTreeClusterCreate) Unset()
type NullableTreeClusterInList ¶
type NullableTreeClusterInList struct {
// contains filtered or unexported fields
}
func NewNullableTreeClusterInList ¶
func NewNullableTreeClusterInList(val *TreeClusterInList) *NullableTreeClusterInList
func (NullableTreeClusterInList) Get ¶
func (v NullableTreeClusterInList) Get() *TreeClusterInList
func (NullableTreeClusterInList) IsSet ¶
func (v NullableTreeClusterInList) IsSet() bool
func (NullableTreeClusterInList) MarshalJSON ¶
func (v NullableTreeClusterInList) MarshalJSON() ([]byte, error)
func (*NullableTreeClusterInList) Set ¶
func (v *NullableTreeClusterInList) Set(val *TreeClusterInList)
func (*NullableTreeClusterInList) UnmarshalJSON ¶
func (v *NullableTreeClusterInList) UnmarshalJSON(src []byte) error
func (*NullableTreeClusterInList) Unset ¶
func (v *NullableTreeClusterInList) Unset()
type NullableTreeClusterList ¶
type NullableTreeClusterList struct {
// contains filtered or unexported fields
}
func NewNullableTreeClusterList ¶
func NewNullableTreeClusterList(val *TreeClusterList) *NullableTreeClusterList
func (NullableTreeClusterList) Get ¶
func (v NullableTreeClusterList) Get() *TreeClusterList
func (NullableTreeClusterList) IsSet ¶
func (v NullableTreeClusterList) IsSet() bool
func (NullableTreeClusterList) MarshalJSON ¶
func (v NullableTreeClusterList) MarshalJSON() ([]byte, error)
func (*NullableTreeClusterList) Set ¶
func (v *NullableTreeClusterList) Set(val *TreeClusterList)
func (*NullableTreeClusterList) UnmarshalJSON ¶
func (v *NullableTreeClusterList) UnmarshalJSON(src []byte) error
func (*NullableTreeClusterList) Unset ¶
func (v *NullableTreeClusterList) Unset()
type NullableTreeClusterUpdate ¶
type NullableTreeClusterUpdate struct {
// contains filtered or unexported fields
}
func NewNullableTreeClusterUpdate ¶
func NewNullableTreeClusterUpdate(val *TreeClusterUpdate) *NullableTreeClusterUpdate
func (NullableTreeClusterUpdate) Get ¶
func (v NullableTreeClusterUpdate) Get() *TreeClusterUpdate
func (NullableTreeClusterUpdate) IsSet ¶
func (v NullableTreeClusterUpdate) IsSet() bool
func (NullableTreeClusterUpdate) MarshalJSON ¶
func (v NullableTreeClusterUpdate) MarshalJSON() ([]byte, error)
func (*NullableTreeClusterUpdate) Set ¶
func (v *NullableTreeClusterUpdate) Set(val *TreeClusterUpdate)
func (*NullableTreeClusterUpdate) UnmarshalJSON ¶
func (v *NullableTreeClusterUpdate) UnmarshalJSON(src []byte) error
func (*NullableTreeClusterUpdate) Unset ¶
func (v *NullableTreeClusterUpdate) Unset()
type NullableTreeCreate ¶
type NullableTreeCreate struct {
// contains filtered or unexported fields
}
func NewNullableTreeCreate ¶
func NewNullableTreeCreate(val *TreeCreate) *NullableTreeCreate
func (NullableTreeCreate) Get ¶
func (v NullableTreeCreate) Get() *TreeCreate
func (NullableTreeCreate) IsSet ¶
func (v NullableTreeCreate) IsSet() bool
func (NullableTreeCreate) MarshalJSON ¶
func (v NullableTreeCreate) MarshalJSON() ([]byte, error)
func (*NullableTreeCreate) Set ¶
func (v *NullableTreeCreate) Set(val *TreeCreate)
func (*NullableTreeCreate) UnmarshalJSON ¶
func (v *NullableTreeCreate) UnmarshalJSON(src []byte) error
func (*NullableTreeCreate) Unset ¶
func (v *NullableTreeCreate) Unset()
type NullableTreeList ¶
type NullableTreeList struct {
// contains filtered or unexported fields
}
func NewNullableTreeList ¶
func NewNullableTreeList(val *TreeList) *NullableTreeList
func (NullableTreeList) Get ¶
func (v NullableTreeList) Get() *TreeList
func (NullableTreeList) IsSet ¶
func (v NullableTreeList) IsSet() bool
func (NullableTreeList) MarshalJSON ¶
func (v NullableTreeList) MarshalJSON() ([]byte, error)
func (*NullableTreeList) Set ¶
func (v *NullableTreeList) Set(val *TreeList)
func (*NullableTreeList) UnmarshalJSON ¶
func (v *NullableTreeList) UnmarshalJSON(src []byte) error
func (*NullableTreeList) Unset ¶
func (v *NullableTreeList) Unset()
type NullableTreeUpdate ¶
type NullableTreeUpdate struct {
// contains filtered or unexported fields
}
func NewNullableTreeUpdate ¶
func NewNullableTreeUpdate(val *TreeUpdate) *NullableTreeUpdate
func (NullableTreeUpdate) Get ¶
func (v NullableTreeUpdate) Get() *TreeUpdate
func (NullableTreeUpdate) IsSet ¶
func (v NullableTreeUpdate) IsSet() bool
func (NullableTreeUpdate) MarshalJSON ¶
func (v NullableTreeUpdate) MarshalJSON() ([]byte, error)
func (*NullableTreeUpdate) Set ¶
func (v *NullableTreeUpdate) Set(val *TreeUpdate)
func (*NullableTreeUpdate) UnmarshalJSON ¶
func (v *NullableTreeUpdate) UnmarshalJSON(src []byte) error
func (*NullableTreeUpdate) Unset ¶
func (v *NullableTreeUpdate) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserList ¶
type NullableUserList struct {
// contains filtered or unexported fields
}
func NewNullableUserList ¶
func NewNullableUserList(val *UserList) *NullableUserList
func (NullableUserList) Get ¶
func (v NullableUserList) Get() *UserList
func (NullableUserList) IsSet ¶
func (v NullableUserList) IsSet() bool
func (NullableUserList) MarshalJSON ¶
func (v NullableUserList) MarshalJSON() ([]byte, error)
func (*NullableUserList) Set ¶
func (v *NullableUserList) Set(val *UserList)
func (*NullableUserList) UnmarshalJSON ¶
func (v *NullableUserList) UnmarshalJSON(src []byte) error
func (*NullableUserList) Unset ¶
func (v *NullableUserList) Unset()
type NullableUserRegister ¶
type NullableUserRegister struct {
// contains filtered or unexported fields
}
func NewNullableUserRegister ¶
func NewNullableUserRegister(val *UserRegister) *NullableUserRegister
func (NullableUserRegister) Get ¶
func (v NullableUserRegister) Get() *UserRegister
func (NullableUserRegister) IsSet ¶
func (v NullableUserRegister) IsSet() bool
func (NullableUserRegister) MarshalJSON ¶
func (v NullableUserRegister) MarshalJSON() ([]byte, error)
func (*NullableUserRegister) Set ¶
func (v *NullableUserRegister) Set(val *UserRegister)
func (*NullableUserRegister) UnmarshalJSON ¶
func (v *NullableUserRegister) UnmarshalJSON(src []byte) error
func (*NullableUserRegister) Unset ¶
func (v *NullableUserRegister) Unset()
type NullableUserRole ¶
type NullableUserRole struct {
// contains filtered or unexported fields
}
func NewNullableUserRole ¶
func NewNullableUserRole(val *UserRole) *NullableUserRole
func (NullableUserRole) Get ¶
func (v NullableUserRole) Get() *UserRole
func (NullableUserRole) IsSet ¶
func (v NullableUserRole) IsSet() bool
func (NullableUserRole) MarshalJSON ¶
func (v NullableUserRole) MarshalJSON() ([]byte, error)
func (*NullableUserRole) Set ¶
func (v *NullableUserRole) Set(val *UserRole)
func (*NullableUserRole) UnmarshalJSON ¶
func (v *NullableUserRole) UnmarshalJSON(src []byte) error
func (*NullableUserRole) Unset ¶
func (v *NullableUserRole) Unset()
type NullableUserStatus ¶
type NullableUserStatus struct {
// contains filtered or unexported fields
}
func NewNullableUserStatus ¶
func NewNullableUserStatus(val *UserStatus) *NullableUserStatus
func (NullableUserStatus) Get ¶
func (v NullableUserStatus) Get() *UserStatus
func (NullableUserStatus) IsSet ¶
func (v NullableUserStatus) IsSet() bool
func (NullableUserStatus) MarshalJSON ¶
func (v NullableUserStatus) MarshalJSON() ([]byte, error)
func (*NullableUserStatus) Set ¶
func (v *NullableUserStatus) Set(val *UserStatus)
func (*NullableUserStatus) UnmarshalJSON ¶
func (v *NullableUserStatus) UnmarshalJSON(src []byte) error
func (*NullableUserStatus) Unset ¶
func (v *NullableUserStatus) Unset()
type NullableVehicle ¶
type NullableVehicle struct {
// contains filtered or unexported fields
}
func NewNullableVehicle ¶
func NewNullableVehicle(val *Vehicle) *NullableVehicle
func (NullableVehicle) Get ¶
func (v NullableVehicle) Get() *Vehicle
func (NullableVehicle) IsSet ¶
func (v NullableVehicle) IsSet() bool
func (NullableVehicle) MarshalJSON ¶
func (v NullableVehicle) MarshalJSON() ([]byte, error)
func (*NullableVehicle) Set ¶
func (v *NullableVehicle) Set(val *Vehicle)
func (*NullableVehicle) UnmarshalJSON ¶
func (v *NullableVehicle) UnmarshalJSON(src []byte) error
func (*NullableVehicle) Unset ¶
func (v *NullableVehicle) Unset()
type NullableVehicleCreate ¶
type NullableVehicleCreate struct {
// contains filtered or unexported fields
}
func NewNullableVehicleCreate ¶
func NewNullableVehicleCreate(val *VehicleCreate) *NullableVehicleCreate
func (NullableVehicleCreate) Get ¶
func (v NullableVehicleCreate) Get() *VehicleCreate
func (NullableVehicleCreate) IsSet ¶
func (v NullableVehicleCreate) IsSet() bool
func (NullableVehicleCreate) MarshalJSON ¶
func (v NullableVehicleCreate) MarshalJSON() ([]byte, error)
func (*NullableVehicleCreate) Set ¶
func (v *NullableVehicleCreate) Set(val *VehicleCreate)
func (*NullableVehicleCreate) UnmarshalJSON ¶
func (v *NullableVehicleCreate) UnmarshalJSON(src []byte) error
func (*NullableVehicleCreate) Unset ¶
func (v *NullableVehicleCreate) Unset()
type NullableVehicleList ¶
type NullableVehicleList struct {
// contains filtered or unexported fields
}
func NewNullableVehicleList ¶
func NewNullableVehicleList(val *VehicleList) *NullableVehicleList
func (NullableVehicleList) Get ¶
func (v NullableVehicleList) Get() *VehicleList
func (NullableVehicleList) IsSet ¶
func (v NullableVehicleList) IsSet() bool
func (NullableVehicleList) MarshalJSON ¶
func (v NullableVehicleList) MarshalJSON() ([]byte, error)
func (*NullableVehicleList) Set ¶
func (v *NullableVehicleList) Set(val *VehicleList)
func (*NullableVehicleList) UnmarshalJSON ¶
func (v *NullableVehicleList) UnmarshalJSON(src []byte) error
func (*NullableVehicleList) Unset ¶
func (v *NullableVehicleList) Unset()
type NullableVehicleStatus ¶
type NullableVehicleStatus struct {
// contains filtered or unexported fields
}
func NewNullableVehicleStatus ¶
func NewNullableVehicleStatus(val *VehicleStatus) *NullableVehicleStatus
func (NullableVehicleStatus) Get ¶
func (v NullableVehicleStatus) Get() *VehicleStatus
func (NullableVehicleStatus) IsSet ¶
func (v NullableVehicleStatus) IsSet() bool
func (NullableVehicleStatus) MarshalJSON ¶
func (v NullableVehicleStatus) MarshalJSON() ([]byte, error)
func (*NullableVehicleStatus) Set ¶
func (v *NullableVehicleStatus) Set(val *VehicleStatus)
func (*NullableVehicleStatus) UnmarshalJSON ¶
func (v *NullableVehicleStatus) UnmarshalJSON(src []byte) error
func (*NullableVehicleStatus) Unset ¶
func (v *NullableVehicleStatus) Unset()
type NullableVehicleType ¶
type NullableVehicleType struct {
// contains filtered or unexported fields
}
func NewNullableVehicleType ¶
func NewNullableVehicleType(val *VehicleType) *NullableVehicleType
func (NullableVehicleType) Get ¶
func (v NullableVehicleType) Get() *VehicleType
func (NullableVehicleType) IsSet ¶
func (v NullableVehicleType) IsSet() bool
func (NullableVehicleType) MarshalJSON ¶
func (v NullableVehicleType) MarshalJSON() ([]byte, error)
func (*NullableVehicleType) Set ¶
func (v *NullableVehicleType) Set(val *VehicleType)
func (*NullableVehicleType) UnmarshalJSON ¶
func (v *NullableVehicleType) UnmarshalJSON(src []byte) error
func (*NullableVehicleType) Unset ¶
func (v *NullableVehicleType) Unset()
type NullableVehicleUpdate ¶
type NullableVehicleUpdate struct {
// contains filtered or unexported fields
}
func NewNullableVehicleUpdate ¶
func NewNullableVehicleUpdate(val *VehicleUpdate) *NullableVehicleUpdate
func (NullableVehicleUpdate) Get ¶
func (v NullableVehicleUpdate) Get() *VehicleUpdate
func (NullableVehicleUpdate) IsSet ¶
func (v NullableVehicleUpdate) IsSet() bool
func (NullableVehicleUpdate) MarshalJSON ¶
func (v NullableVehicleUpdate) MarshalJSON() ([]byte, error)
func (*NullableVehicleUpdate) Set ¶
func (v *NullableVehicleUpdate) Set(val *VehicleUpdate)
func (*NullableVehicleUpdate) UnmarshalJSON ¶
func (v *NullableVehicleUpdate) UnmarshalJSON(src []byte) error
func (*NullableVehicleUpdate) Unset ¶
func (v *NullableVehicleUpdate) Unset()
type NullableWateringPlan ¶
type NullableWateringPlan struct {
// contains filtered or unexported fields
}
func NewNullableWateringPlan ¶
func NewNullableWateringPlan(val *WateringPlan) *NullableWateringPlan
func (NullableWateringPlan) Get ¶
func (v NullableWateringPlan) Get() *WateringPlan
func (NullableWateringPlan) IsSet ¶
func (v NullableWateringPlan) IsSet() bool
func (NullableWateringPlan) MarshalJSON ¶
func (v NullableWateringPlan) MarshalJSON() ([]byte, error)
func (*NullableWateringPlan) Set ¶
func (v *NullableWateringPlan) Set(val *WateringPlan)
func (*NullableWateringPlan) UnmarshalJSON ¶
func (v *NullableWateringPlan) UnmarshalJSON(src []byte) error
func (*NullableWateringPlan) Unset ¶
func (v *NullableWateringPlan) Unset()
type NullableWateringPlanCreate ¶
type NullableWateringPlanCreate struct {
// contains filtered or unexported fields
}
func NewNullableWateringPlanCreate ¶
func NewNullableWateringPlanCreate(val *WateringPlanCreate) *NullableWateringPlanCreate
func (NullableWateringPlanCreate) Get ¶
func (v NullableWateringPlanCreate) Get() *WateringPlanCreate
func (NullableWateringPlanCreate) IsSet ¶
func (v NullableWateringPlanCreate) IsSet() bool
func (NullableWateringPlanCreate) MarshalJSON ¶
func (v NullableWateringPlanCreate) MarshalJSON() ([]byte, error)
func (*NullableWateringPlanCreate) Set ¶
func (v *NullableWateringPlanCreate) Set(val *WateringPlanCreate)
func (*NullableWateringPlanCreate) UnmarshalJSON ¶
func (v *NullableWateringPlanCreate) UnmarshalJSON(src []byte) error
func (*NullableWateringPlanCreate) Unset ¶
func (v *NullableWateringPlanCreate) Unset()
type NullableWateringPlanInList ¶
type NullableWateringPlanInList struct {
// contains filtered or unexported fields
}
func NewNullableWateringPlanInList ¶
func NewNullableWateringPlanInList(val *WateringPlanInList) *NullableWateringPlanInList
func (NullableWateringPlanInList) Get ¶
func (v NullableWateringPlanInList) Get() *WateringPlanInList
func (NullableWateringPlanInList) IsSet ¶
func (v NullableWateringPlanInList) IsSet() bool
func (NullableWateringPlanInList) MarshalJSON ¶
func (v NullableWateringPlanInList) MarshalJSON() ([]byte, error)
func (*NullableWateringPlanInList) Set ¶
func (v *NullableWateringPlanInList) Set(val *WateringPlanInList)
func (*NullableWateringPlanInList) UnmarshalJSON ¶
func (v *NullableWateringPlanInList) UnmarshalJSON(src []byte) error
func (*NullableWateringPlanInList) Unset ¶
func (v *NullableWateringPlanInList) Unset()
type NullableWateringPlanList ¶
type NullableWateringPlanList struct {
// contains filtered or unexported fields
}
func NewNullableWateringPlanList ¶
func NewNullableWateringPlanList(val *WateringPlanList) *NullableWateringPlanList
func (NullableWateringPlanList) Get ¶
func (v NullableWateringPlanList) Get() *WateringPlanList
func (NullableWateringPlanList) IsSet ¶
func (v NullableWateringPlanList) IsSet() bool
func (NullableWateringPlanList) MarshalJSON ¶
func (v NullableWateringPlanList) MarshalJSON() ([]byte, error)
func (*NullableWateringPlanList) Set ¶
func (v *NullableWateringPlanList) Set(val *WateringPlanList)
func (*NullableWateringPlanList) UnmarshalJSON ¶
func (v *NullableWateringPlanList) UnmarshalJSON(src []byte) error
func (*NullableWateringPlanList) Unset ¶
func (v *NullableWateringPlanList) Unset()
type NullableWateringPlanStatus ¶
type NullableWateringPlanStatus struct {
// contains filtered or unexported fields
}
func NewNullableWateringPlanStatus ¶
func NewNullableWateringPlanStatus(val *WateringPlanStatus) *NullableWateringPlanStatus
func (NullableWateringPlanStatus) Get ¶
func (v NullableWateringPlanStatus) Get() *WateringPlanStatus
func (NullableWateringPlanStatus) IsSet ¶
func (v NullableWateringPlanStatus) IsSet() bool
func (NullableWateringPlanStatus) MarshalJSON ¶
func (v NullableWateringPlanStatus) MarshalJSON() ([]byte, error)
func (*NullableWateringPlanStatus) Set ¶
func (v *NullableWateringPlanStatus) Set(val *WateringPlanStatus)
func (*NullableWateringPlanStatus) UnmarshalJSON ¶
func (v *NullableWateringPlanStatus) UnmarshalJSON(src []byte) error
func (*NullableWateringPlanStatus) Unset ¶
func (v *NullableWateringPlanStatus) Unset()
type NullableWateringPlanUpdate ¶
type NullableWateringPlanUpdate struct {
// contains filtered or unexported fields
}
func NewNullableWateringPlanUpdate ¶
func NewNullableWateringPlanUpdate(val *WateringPlanUpdate) *NullableWateringPlanUpdate
func (NullableWateringPlanUpdate) Get ¶
func (v NullableWateringPlanUpdate) Get() *WateringPlanUpdate
func (NullableWateringPlanUpdate) IsSet ¶
func (v NullableWateringPlanUpdate) IsSet() bool
func (NullableWateringPlanUpdate) MarshalJSON ¶
func (v NullableWateringPlanUpdate) MarshalJSON() ([]byte, error)
func (*NullableWateringPlanUpdate) Set ¶
func (v *NullableWateringPlanUpdate) Set(val *WateringPlanUpdate)
func (*NullableWateringPlanUpdate) UnmarshalJSON ¶
func (v *NullableWateringPlanUpdate) UnmarshalJSON(src []byte) error
func (*NullableWateringPlanUpdate) Unset ¶
func (v *NullableWateringPlanUpdate) Unset()
type NullableWateringStatus ¶
type NullableWateringStatus struct {
// contains filtered or unexported fields
}
func NewNullableWateringStatus ¶
func NewNullableWateringStatus(val *WateringStatus) *NullableWateringStatus
func (NullableWateringStatus) Get ¶
func (v NullableWateringStatus) Get() *WateringStatus
func (NullableWateringStatus) IsSet ¶
func (v NullableWateringStatus) IsSet() bool
func (NullableWateringStatus) MarshalJSON ¶
func (v NullableWateringStatus) MarshalJSON() ([]byte, error)
func (*NullableWateringStatus) Set ¶
func (v *NullableWateringStatus) Set(val *WateringStatus)
func (*NullableWateringStatus) UnmarshalJSON ¶
func (v *NullableWateringStatus) UnmarshalJSON(src []byte) error
func (*NullableWateringStatus) Unset ¶
func (v *NullableWateringStatus) Unset()
type NullableWatermarkResponse ¶
type NullableWatermarkResponse struct {
// contains filtered or unexported fields
}
func NewNullableWatermarkResponse ¶
func NewNullableWatermarkResponse(val *WatermarkResponse) *NullableWatermarkResponse
func (NullableWatermarkResponse) Get ¶
func (v NullableWatermarkResponse) Get() *WatermarkResponse
func (NullableWatermarkResponse) IsSet ¶
func (v NullableWatermarkResponse) IsSet() bool
func (NullableWatermarkResponse) MarshalJSON ¶
func (v NullableWatermarkResponse) MarshalJSON() ([]byte, error)
func (*NullableWatermarkResponse) Set ¶
func (v *NullableWatermarkResponse) Set(val *WatermarkResponse)
func (*NullableWatermarkResponse) UnmarshalJSON ¶
func (v *NullableWatermarkResponse) UnmarshalJSON(src []byte) error
func (*NullableWatermarkResponse) Unset ¶
func (v *NullableWatermarkResponse) Unset()
type Pagination ¶
type Pagination struct { CurrentPage int32 `json:"current_page"` NextPage int32 `json:"next_page"` PrevPage int32 `json:"prev_page"` TotalPages int32 `json:"total_pages"` TotalRecords int32 `json:"total_records"` }
Pagination struct for Pagination
func NewPagination ¶
func NewPagination(currentPage int32, nextPage int32, prevPage int32, totalPages int32, totalRecords int32) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetCurrentPage ¶
func (o *Pagination) GetCurrentPage() int32
GetCurrentPage returns the CurrentPage field value
func (*Pagination) GetCurrentPageOk ¶
func (o *Pagination) GetCurrentPageOk() (*int32, bool)
GetCurrentPageOk returns a tuple with the CurrentPage field value and a boolean to check if the value has been set.
func (*Pagination) GetNextPage ¶
func (o *Pagination) GetNextPage() int32
GetNextPage returns the NextPage field value
func (*Pagination) GetNextPageOk ¶
func (o *Pagination) GetNextPageOk() (*int32, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*Pagination) GetPrevPage ¶
func (o *Pagination) GetPrevPage() int32
GetPrevPage returns the PrevPage field value
func (*Pagination) GetPrevPageOk ¶
func (o *Pagination) GetPrevPageOk() (*int32, bool)
GetPrevPageOk returns a tuple with the PrevPage field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalPages ¶
func (o *Pagination) GetTotalPages() int32
GetTotalPages returns the TotalPages field value
func (*Pagination) GetTotalPagesOk ¶
func (o *Pagination) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalRecords ¶
func (o *Pagination) GetTotalRecords() int32
GetTotalRecords returns the TotalRecords field value
func (*Pagination) GetTotalRecordsOk ¶
func (o *Pagination) GetTotalRecordsOk() (*int32, bool)
GetTotalRecordsOk returns a tuple with the TotalRecords field value and a boolean to check if the value has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
func (*Pagination) SetCurrentPage ¶
func (o *Pagination) SetCurrentPage(v int32)
SetCurrentPage sets field value
func (*Pagination) SetNextPage ¶
func (o *Pagination) SetNextPage(v int32)
SetNextPage sets field value
func (*Pagination) SetPrevPage ¶
func (o *Pagination) SetPrevPage(v int32)
SetPrevPage sets field value
func (*Pagination) SetTotalPages ¶
func (o *Pagination) SetTotalPages(v int32)
SetTotalPages sets field value
func (*Pagination) SetTotalRecords ¶
func (o *Pagination) SetTotalRecords(v int32)
SetTotalRecords sets field value
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
func (*Pagination) UnmarshalJSON ¶
func (o *Pagination) UnmarshalJSON(data []byte) (err error)
type Plugin ¶
type Plugin struct { Description string `json:"description"` HostPath string `json:"host_path"` Name string `json:"name"` Slug string `json:"slug"` Version string `json:"version"` }
Plugin struct for Plugin
func NewPlugin ¶
func NewPlugin(description string, hostPath string, name string, slug string, version string) *Plugin
NewPlugin instantiates a new Plugin 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 NewPluginWithDefaults ¶
func NewPluginWithDefaults() *Plugin
NewPluginWithDefaults instantiates a new Plugin 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 (*Plugin) GetDescription ¶
GetDescription returns the Description field value
func (*Plugin) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Plugin) GetHostPath ¶
GetHostPath returns the HostPath field value
func (*Plugin) GetHostPathOk ¶
GetHostPathOk returns a tuple with the HostPath field value and a boolean to check if the value has been set.
func (*Plugin) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Plugin) GetSlugOk ¶
GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.
func (*Plugin) GetVersion ¶
GetVersion returns the Version field value
func (*Plugin) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (Plugin) MarshalJSON ¶
func (*Plugin) SetDescription ¶
SetDescription sets field value
func (*Plugin) UnmarshalJSON ¶
type PluginAPIService ¶
type PluginAPIService service
PluginAPIService PluginAPI service
func (*PluginAPIService) GetPluginInfo ¶
func (a *PluginAPIService) GetPluginInfo(ctx context.Context, pluginSlug string) ApiGetPluginInfoRequest
GetPluginInfo Get a plugin info
Get a plugin info
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pluginSlug Slug of the plugin @return ApiGetPluginInfoRequest
func (*PluginAPIService) GetPluginInfoExecute ¶
func (a *PluginAPIService) GetPluginInfoExecute(r ApiGetPluginInfoRequest) (*Plugin, *http.Response, error)
Execute executes the request
@return Plugin
func (*PluginAPIService) GetPluginsList ¶
func (a *PluginAPIService) GetPluginsList(ctx context.Context) ApiGetPluginsListRequest
GetPluginsList Get a list of all registered plugins
Get a list of all registered plugins
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetPluginsListRequest
func (*PluginAPIService) GetPluginsListExecute ¶
func (a *PluginAPIService) GetPluginsListExecute(r ApiGetPluginsListRequest) (*PluginListResponse, *http.Response, error)
Execute executes the request
@return PluginListResponse
func (*PluginAPIService) PluginHeartbeat ¶
func (a *PluginAPIService) PluginHeartbeat(ctx context.Context, pluginSlug string) ApiPluginHeartbeatRequest
PluginHeartbeat Heartbeat for a plugin
Heartbeat for a plugin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pluginSlug Name of the plugin specified by slug during registration @return ApiPluginHeartbeatRequest
func (*PluginAPIService) PluginHeartbeatExecute ¶
func (a *PluginAPIService) PluginHeartbeatExecute(r ApiPluginHeartbeatRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*PluginAPIService) RefreshPluginToken ¶
func (a *PluginAPIService) RefreshPluginToken(ctx context.Context, pluginSlug string) ApiRefreshPluginTokenRequest
RefreshPluginToken Refresh plugin token
Refresh plugin token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pluginSlug Slug of the plugin @return ApiRefreshPluginTokenRequest
func (*PluginAPIService) RefreshPluginTokenExecute ¶
func (a *PluginAPIService) RefreshPluginTokenExecute(r ApiRefreshPluginTokenRequest) (*ClientToken, *http.Response, error)
Execute executes the request
@return ClientToken
func (*PluginAPIService) RegisterPlugin ¶
func (a *PluginAPIService) RegisterPlugin(ctx context.Context) ApiRegisterPluginRequest
RegisterPlugin Register a plugin
Register a plugin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRegisterPluginRequest
func (*PluginAPIService) RegisterPluginExecute ¶
func (a *PluginAPIService) RegisterPluginExecute(r ApiRegisterPluginRequest) (*ClientToken, *http.Response, error)
Execute executes the request
@return ClientToken
func (*PluginAPIService) UnregisterPlugin ¶
func (a *PluginAPIService) UnregisterPlugin(ctx context.Context, pluginSlug string) ApiUnregisterPluginRequest
UnregisterPlugin Unregister a plugin
Unregister a plugin
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param pluginSlug Slug of the plugin @return ApiUnregisterPluginRequest
func (*PluginAPIService) UnregisterPluginExecute ¶
func (a *PluginAPIService) UnregisterPluginExecute(r ApiUnregisterPluginRequest) (*http.Response, error)
Execute executes the request
type PluginAuth ¶
type PluginAuth struct { ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` }
PluginAuth struct for PluginAuth
func NewPluginAuth ¶
func NewPluginAuth(clientId string, clientSecret string) *PluginAuth
NewPluginAuth instantiates a new PluginAuth 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 NewPluginAuthWithDefaults ¶
func NewPluginAuthWithDefaults() *PluginAuth
NewPluginAuthWithDefaults instantiates a new PluginAuth 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 (*PluginAuth) GetClientId ¶
func (o *PluginAuth) GetClientId() string
GetClientId returns the ClientId field value
func (*PluginAuth) GetClientIdOk ¶
func (o *PluginAuth) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*PluginAuth) GetClientSecret ¶
func (o *PluginAuth) GetClientSecret() string
GetClientSecret returns the ClientSecret field value
func (*PluginAuth) GetClientSecretOk ¶
func (o *PluginAuth) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.
func (PluginAuth) MarshalJSON ¶
func (o PluginAuth) MarshalJSON() ([]byte, error)
func (*PluginAuth) SetClientId ¶
func (o *PluginAuth) SetClientId(v string)
SetClientId sets field value
func (*PluginAuth) SetClientSecret ¶
func (o *PluginAuth) SetClientSecret(v string)
SetClientSecret sets field value
func (PluginAuth) ToMap ¶
func (o PluginAuth) ToMap() (map[string]interface{}, error)
func (*PluginAuth) UnmarshalJSON ¶
func (o *PluginAuth) UnmarshalJSON(data []byte) (err error)
type PluginListResponse ¶
type PluginListResponse struct {
Plugins []Plugin `json:"plugins"`
}
PluginListResponse struct for PluginListResponse
func NewPluginListResponse ¶
func NewPluginListResponse(plugins []Plugin) *PluginListResponse
NewPluginListResponse instantiates a new PluginListResponse 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 NewPluginListResponseWithDefaults ¶
func NewPluginListResponseWithDefaults() *PluginListResponse
NewPluginListResponseWithDefaults instantiates a new PluginListResponse 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 (*PluginListResponse) GetPlugins ¶
func (o *PluginListResponse) GetPlugins() []Plugin
GetPlugins returns the Plugins field value
func (*PluginListResponse) GetPluginsOk ¶
func (o *PluginListResponse) GetPluginsOk() ([]Plugin, bool)
GetPluginsOk returns a tuple with the Plugins field value and a boolean to check if the value has been set.
func (PluginListResponse) MarshalJSON ¶
func (o PluginListResponse) MarshalJSON() ([]byte, error)
func (*PluginListResponse) SetPlugins ¶
func (o *PluginListResponse) SetPlugins(v []Plugin)
SetPlugins sets field value
func (PluginListResponse) ToMap ¶
func (o PluginListResponse) ToMap() (map[string]interface{}, error)
func (*PluginListResponse) UnmarshalJSON ¶
func (o *PluginListResponse) UnmarshalJSON(data []byte) (err error)
type PluginRegisterRequest ¶
type PluginRegisterRequest struct { Auth PluginAuth `json:"auth"` Description string `json:"description"` Name string `json:"name"` Path string `json:"path"` Slug string `json:"slug"` Version string `json:"version"` }
PluginRegisterRequest struct for PluginRegisterRequest
func NewPluginRegisterRequest ¶
func NewPluginRegisterRequest(auth PluginAuth, description string, name string, path string, slug string, version string) *PluginRegisterRequest
NewPluginRegisterRequest instantiates a new PluginRegisterRequest 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 NewPluginRegisterRequestWithDefaults ¶
func NewPluginRegisterRequestWithDefaults() *PluginRegisterRequest
NewPluginRegisterRequestWithDefaults instantiates a new PluginRegisterRequest 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 (*PluginRegisterRequest) GetAuth ¶
func (o *PluginRegisterRequest) GetAuth() PluginAuth
GetAuth returns the Auth field value
func (*PluginRegisterRequest) GetAuthOk ¶
func (o *PluginRegisterRequest) GetAuthOk() (*PluginAuth, bool)
GetAuthOk returns a tuple with the Auth field value and a boolean to check if the value has been set.
func (*PluginRegisterRequest) GetDescription ¶
func (o *PluginRegisterRequest) GetDescription() string
GetDescription returns the Description field value
func (*PluginRegisterRequest) GetDescriptionOk ¶
func (o *PluginRegisterRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*PluginRegisterRequest) GetName ¶
func (o *PluginRegisterRequest) GetName() string
GetName returns the Name field value
func (*PluginRegisterRequest) GetNameOk ¶
func (o *PluginRegisterRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PluginRegisterRequest) GetPath ¶
func (o *PluginRegisterRequest) GetPath() string
GetPath returns the Path field value
func (*PluginRegisterRequest) GetPathOk ¶
func (o *PluginRegisterRequest) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*PluginRegisterRequest) GetSlug ¶
func (o *PluginRegisterRequest) GetSlug() string
GetSlug returns the Slug field value
func (*PluginRegisterRequest) GetSlugOk ¶
func (o *PluginRegisterRequest) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.
func (*PluginRegisterRequest) GetVersion ¶
func (o *PluginRegisterRequest) GetVersion() string
GetVersion returns the Version field value
func (*PluginRegisterRequest) GetVersionOk ¶
func (o *PluginRegisterRequest) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (PluginRegisterRequest) MarshalJSON ¶
func (o PluginRegisterRequest) MarshalJSON() ([]byte, error)
func (*PluginRegisterRequest) SetAuth ¶
func (o *PluginRegisterRequest) SetAuth(v PluginAuth)
SetAuth sets field value
func (*PluginRegisterRequest) SetDescription ¶
func (o *PluginRegisterRequest) SetDescription(v string)
SetDescription sets field value
func (*PluginRegisterRequest) SetName ¶
func (o *PluginRegisterRequest) SetName(v string)
SetName sets field value
func (*PluginRegisterRequest) SetPath ¶
func (o *PluginRegisterRequest) SetPath(v string)
SetPath sets field value
func (*PluginRegisterRequest) SetSlug ¶
func (o *PluginRegisterRequest) SetSlug(v string)
SetSlug sets field value
func (*PluginRegisterRequest) SetVersion ¶
func (o *PluginRegisterRequest) SetVersion(v string)
SetVersion sets field value
func (PluginRegisterRequest) ToMap ¶
func (o PluginRegisterRequest) ToMap() (map[string]interface{}, error)
func (*PluginRegisterRequest) UnmarshalJSON ¶
func (o *PluginRegisterRequest) UnmarshalJSON(data []byte) (err error)
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
RefreshToken string `json:"refresh_token"`
}
RefreshTokenRequest struct for RefreshTokenRequest
func NewRefreshTokenRequest ¶
func NewRefreshTokenRequest(refreshToken string) *RefreshTokenRequest
NewRefreshTokenRequest instantiates a new RefreshTokenRequest 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 NewRefreshTokenRequestWithDefaults ¶
func NewRefreshTokenRequestWithDefaults() *RefreshTokenRequest
NewRefreshTokenRequestWithDefaults instantiates a new RefreshTokenRequest 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 (*RefreshTokenRequest) GetRefreshToken ¶
func (o *RefreshTokenRequest) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value
func (*RefreshTokenRequest) GetRefreshTokenOk ¶
func (o *RefreshTokenRequest) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value and a boolean to check if the value has been set.
func (RefreshTokenRequest) MarshalJSON ¶
func (o RefreshTokenRequest) MarshalJSON() ([]byte, error)
func (*RefreshTokenRequest) SetRefreshToken ¶
func (o *RefreshTokenRequest) SetRefreshToken(v string)
SetRefreshToken sets field value
func (RefreshTokenRequest) ToMap ¶
func (o RefreshTokenRequest) ToMap() (map[string]interface{}, error)
func (*RefreshTokenRequest) UnmarshalJSON ¶
func (o *RefreshTokenRequest) UnmarshalJSON(data []byte) (err error)
type Region ¶
Region struct for Region
func NewRegion ¶
NewRegion instantiates a new Region 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 NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region 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 (*Region) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Region) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Region) MarshalJSON ¶
func (*Region) UnmarshalJSON ¶
type RegionAPIService ¶
type RegionAPIService service
RegionAPIService RegionAPI service
func (*RegionAPIService) V1RegionGet ¶
func (a *RegionAPIService) V1RegionGet(ctx context.Context) ApiV1RegionGetRequest
V1RegionGet Get all regions
Get all regions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1RegionGetRequest
func (*RegionAPIService) V1RegionGetExecute ¶
func (a *RegionAPIService) V1RegionGetExecute(r ApiV1RegionGetRequest) (*RegionList, *http.Response, error)
Execute executes the request
@return RegionList
func (*RegionAPIService) V1RegionIdGet ¶
func (a *RegionAPIService) V1RegionIdGet(ctx context.Context, id string) ApiV1RegionIdGetRequest
V1RegionIdGet Get a region by ID
Get a region by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Region ID @return ApiV1RegionIdGetRequest
func (*RegionAPIService) V1RegionIdGetExecute ¶
func (a *RegionAPIService) V1RegionIdGetExecute(r ApiV1RegionIdGetRequest) (*Region, *http.Response, error)
Execute executes the request
@return Region
type RegionList ¶
type RegionList struct { Pagination *Pagination `json:"pagination,omitempty"` Regions []Region `json:"regions"` }
RegionList struct for RegionList
func NewRegionList ¶
func NewRegionList(regions []Region) *RegionList
NewRegionList instantiates a new RegionList 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 NewRegionListWithDefaults ¶
func NewRegionListWithDefaults() *RegionList
NewRegionListWithDefaults instantiates a new RegionList 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 (*RegionList) GetPagination ¶
func (o *RegionList) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*RegionList) GetPaginationOk ¶
func (o *RegionList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionList) GetRegions ¶
func (o *RegionList) GetRegions() []Region
GetRegions returns the Regions field value
func (*RegionList) GetRegionsOk ¶
func (o *RegionList) GetRegionsOk() ([]Region, bool)
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (*RegionList) HasPagination ¶
func (o *RegionList) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (RegionList) MarshalJSON ¶
func (o RegionList) MarshalJSON() ([]byte, error)
func (*RegionList) SetPagination ¶
func (o *RegionList) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (*RegionList) SetRegions ¶
func (o *RegionList) SetRegions(v []Region)
SetRegions sets field value
func (RegionList) ToMap ¶
func (o RegionList) ToMap() (map[string]interface{}, error)
func (*RegionList) UnmarshalJSON ¶
func (o *RegionList) UnmarshalJSON(data []byte) (err error)
type RouteRequest ¶
type RouteRequest struct { ClusterIds []int32 `json:"cluster_ids"` TrailerId *int32 `json:"trailer_id,omitempty"` TransporterId int32 `json:"transporter_id"` }
RouteRequest struct for RouteRequest
func NewRouteRequest ¶
func NewRouteRequest(clusterIds []int32, transporterId int32) *RouteRequest
NewRouteRequest instantiates a new RouteRequest 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 NewRouteRequestWithDefaults ¶
func NewRouteRequestWithDefaults() *RouteRequest
NewRouteRequestWithDefaults instantiates a new RouteRequest 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 (*RouteRequest) GetClusterIds ¶
func (o *RouteRequest) GetClusterIds() []int32
GetClusterIds returns the ClusterIds field value
func (*RouteRequest) GetClusterIdsOk ¶
func (o *RouteRequest) GetClusterIdsOk() ([]int32, bool)
GetClusterIdsOk returns a tuple with the ClusterIds field value and a boolean to check if the value has been set.
func (*RouteRequest) GetTrailerId ¶
func (o *RouteRequest) GetTrailerId() int32
GetTrailerId returns the TrailerId field value if set, zero value otherwise.
func (*RouteRequest) GetTrailerIdOk ¶
func (o *RouteRequest) GetTrailerIdOk() (*int32, bool)
GetTrailerIdOk returns a tuple with the TrailerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RouteRequest) GetTransporterId ¶
func (o *RouteRequest) GetTransporterId() int32
GetTransporterId returns the TransporterId field value
func (*RouteRequest) GetTransporterIdOk ¶
func (o *RouteRequest) GetTransporterIdOk() (*int32, bool)
GetTransporterIdOk returns a tuple with the TransporterId field value and a boolean to check if the value has been set.
func (*RouteRequest) HasTrailerId ¶
func (o *RouteRequest) HasTrailerId() bool
HasTrailerId returns a boolean if a field has been set.
func (RouteRequest) MarshalJSON ¶
func (o RouteRequest) MarshalJSON() ([]byte, error)
func (*RouteRequest) SetClusterIds ¶
func (o *RouteRequest) SetClusterIds(v []int32)
SetClusterIds sets field value
func (*RouteRequest) SetTrailerId ¶
func (o *RouteRequest) SetTrailerId(v int32)
SetTrailerId gets a reference to the given int32 and assigns it to the TrailerId field.
func (*RouteRequest) SetTransporterId ¶
func (o *RouteRequest) SetTransporterId(v int32)
SetTransporterId sets field value
func (RouteRequest) ToMap ¶
func (o RouteRequest) ToMap() (map[string]interface{}, error)
func (*RouteRequest) UnmarshalJSON ¶
func (o *RouteRequest) UnmarshalJSON(data []byte) (err error)
type Sensor ¶
type Sensor struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` CreatedAt string `json:"created_at"` Id string `json:"id"` LatestData SensorData `json:"latest_data"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` Provider string `json:"provider"` Status SensorStatus `json:"status"` UpdatedAt string `json:"updated_at"` }
Sensor struct for Sensor
func NewSensor ¶
func NewSensor(createdAt string, id string, latestData SensorData, latitude float32, longitude float32, provider string, status SensorStatus, updatedAt string) *Sensor
NewSensor instantiates a new Sensor 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 NewSensorWithDefaults ¶
func NewSensorWithDefaults() *Sensor
NewSensorWithDefaults instantiates a new Sensor 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 (*Sensor) GetAdditionalInformation ¶
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*Sensor) GetAdditionalInformationOk ¶
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sensor) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Sensor) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Sensor) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Sensor) GetLatestData ¶
func (o *Sensor) GetLatestData() SensorData
GetLatestData returns the LatestData field value
func (*Sensor) GetLatestDataOk ¶
func (o *Sensor) GetLatestDataOk() (*SensorData, bool)
GetLatestDataOk returns a tuple with the LatestData field value and a boolean to check if the value has been set.
func (*Sensor) GetLatitude ¶
GetLatitude returns the Latitude field value
func (*Sensor) GetLatitudeOk ¶
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*Sensor) GetLongitude ¶
GetLongitude returns the Longitude field value
func (*Sensor) GetLongitudeOk ¶
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*Sensor) GetProvider ¶
GetProvider returns the Provider field value
func (*Sensor) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Sensor) GetStatus ¶
func (o *Sensor) GetStatus() SensorStatus
GetStatus returns the Status field value
func (*Sensor) GetStatusOk ¶
func (o *Sensor) GetStatusOk() (*SensorStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Sensor) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Sensor) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Sensor) HasAdditionalInformation ¶
HasAdditionalInformation returns a boolean if a field has been set.
func (Sensor) MarshalJSON ¶
func (*Sensor) SetAdditionalInformation ¶
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*Sensor) SetLatestData ¶
func (o *Sensor) SetLatestData(v SensorData)
SetLatestData sets field value
func (*Sensor) SetLongitude ¶
SetLongitude sets field value
func (*Sensor) UnmarshalJSON ¶
type SensorAPIService ¶
type SensorAPIService service
SensorAPIService SensorAPI service
func (*SensorAPIService) DeleteSensor ¶
func (a *SensorAPIService) DeleteSensor(ctx context.Context, sensorId string) ApiDeleteSensorRequest
DeleteSensor Delete sensor
Delete sensor
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sensorId Sensor ID @return ApiDeleteSensorRequest
func (*SensorAPIService) DeleteSensorExecute ¶
func (a *SensorAPIService) DeleteSensorExecute(r ApiDeleteSensorRequest) (*http.Response, error)
Execute executes the request
func (*SensorAPIService) GetAllSensorDataById ¶
func (a *SensorAPIService) GetAllSensorDataById(ctx context.Context, sensorId string) ApiGetAllSensorDataByIdRequest
GetAllSensorDataById Get all sensor data by id
Get all sensor data by id
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sensorId Sensor ID @return ApiGetAllSensorDataByIdRequest
func (*SensorAPIService) GetAllSensorDataByIdExecute ¶
func (a *SensorAPIService) GetAllSensorDataByIdExecute(r ApiGetAllSensorDataByIdRequest) (*SensorDataList, *http.Response, error)
Execute executes the request
@return SensorDataList
func (*SensorAPIService) GetAllSensors ¶
func (a *SensorAPIService) GetAllSensors(ctx context.Context) ApiGetAllSensorsRequest
GetAllSensors Get all sensors
Get all sensors
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllSensorsRequest
func (*SensorAPIService) GetAllSensorsExecute ¶
func (a *SensorAPIService) GetAllSensorsExecute(r ApiGetAllSensorsRequest) (*SensorList, *http.Response, error)
Execute executes the request
@return SensorList
func (*SensorAPIService) GetSensorById ¶
func (a *SensorAPIService) GetSensorById(ctx context.Context, sensorId string) ApiGetSensorByIdRequest
GetSensorById Get sensor by ID
Get sensor by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sensorId Sensor ID @return ApiGetSensorByIdRequest
func (*SensorAPIService) GetSensorByIdExecute ¶
func (a *SensorAPIService) GetSensorByIdExecute(r ApiGetSensorByIdRequest) (*Sensor, *http.Response, error)
Execute executes the request
@return Sensor
type SensorData ¶
type SensorData struct { Battery float32 `json:"battery"` CreatedAt string `json:"created_at"` Humidity float32 `json:"humidity"` Temperature float32 `json:"temperature"` UpdatedAt string `json:"updated_at"` Watermarks []WatermarkResponse `json:"watermarks"` }
SensorData struct for SensorData
func NewSensorData ¶
func NewSensorData(battery float32, createdAt string, humidity float32, temperature float32, updatedAt string, watermarks []WatermarkResponse) *SensorData
NewSensorData instantiates a new SensorData 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 NewSensorDataWithDefaults ¶
func NewSensorDataWithDefaults() *SensorData
NewSensorDataWithDefaults instantiates a new SensorData 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 (*SensorData) GetBattery ¶
func (o *SensorData) GetBattery() float32
GetBattery returns the Battery field value
func (*SensorData) GetBatteryOk ¶
func (o *SensorData) GetBatteryOk() (*float32, bool)
GetBatteryOk returns a tuple with the Battery field value and a boolean to check if the value has been set.
func (*SensorData) GetCreatedAt ¶
func (o *SensorData) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*SensorData) GetCreatedAtOk ¶
func (o *SensorData) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*SensorData) GetHumidity ¶
func (o *SensorData) GetHumidity() float32
GetHumidity returns the Humidity field value
func (*SensorData) GetHumidityOk ¶
func (o *SensorData) GetHumidityOk() (*float32, bool)
GetHumidityOk returns a tuple with the Humidity field value and a boolean to check if the value has been set.
func (*SensorData) GetTemperature ¶
func (o *SensorData) GetTemperature() float32
GetTemperature returns the Temperature field value
func (*SensorData) GetTemperatureOk ¶
func (o *SensorData) GetTemperatureOk() (*float32, bool)
GetTemperatureOk returns a tuple with the Temperature field value and a boolean to check if the value has been set.
func (*SensorData) GetUpdatedAt ¶
func (o *SensorData) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*SensorData) GetUpdatedAtOk ¶
func (o *SensorData) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*SensorData) GetWatermarks ¶
func (o *SensorData) GetWatermarks() []WatermarkResponse
GetWatermarks returns the Watermarks field value
func (*SensorData) GetWatermarksOk ¶
func (o *SensorData) GetWatermarksOk() ([]WatermarkResponse, bool)
GetWatermarksOk returns a tuple with the Watermarks field value and a boolean to check if the value has been set.
func (SensorData) MarshalJSON ¶
func (o SensorData) MarshalJSON() ([]byte, error)
func (*SensorData) SetBattery ¶
func (o *SensorData) SetBattery(v float32)
SetBattery sets field value
func (*SensorData) SetCreatedAt ¶
func (o *SensorData) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*SensorData) SetHumidity ¶
func (o *SensorData) SetHumidity(v float32)
SetHumidity sets field value
func (*SensorData) SetTemperature ¶
func (o *SensorData) SetTemperature(v float32)
SetTemperature sets field value
func (*SensorData) SetUpdatedAt ¶
func (o *SensorData) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (*SensorData) SetWatermarks ¶
func (o *SensorData) SetWatermarks(v []WatermarkResponse)
SetWatermarks sets field value
func (SensorData) ToMap ¶
func (o SensorData) ToMap() (map[string]interface{}, error)
func (*SensorData) UnmarshalJSON ¶
func (o *SensorData) UnmarshalJSON(data []byte) (err error)
type SensorDataList ¶
type SensorDataList struct {
Data []SensorData `json:"data"`
}
SensorDataList struct for SensorDataList
func NewSensorDataList ¶
func NewSensorDataList(data []SensorData) *SensorDataList
NewSensorDataList instantiates a new SensorDataList 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 NewSensorDataListWithDefaults ¶
func NewSensorDataListWithDefaults() *SensorDataList
NewSensorDataListWithDefaults instantiates a new SensorDataList 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 (*SensorDataList) GetData ¶
func (o *SensorDataList) GetData() []SensorData
GetData returns the Data field value
func (*SensorDataList) GetDataOk ¶
func (o *SensorDataList) GetDataOk() ([]SensorData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SensorDataList) MarshalJSON ¶
func (o SensorDataList) MarshalJSON() ([]byte, error)
func (*SensorDataList) SetData ¶
func (o *SensorDataList) SetData(v []SensorData)
SetData sets field value
func (SensorDataList) ToMap ¶
func (o SensorDataList) ToMap() (map[string]interface{}, error)
func (*SensorDataList) UnmarshalJSON ¶
func (o *SensorDataList) UnmarshalJSON(data []byte) (err error)
type SensorList ¶
type SensorList struct { Data []Sensor `json:"data"` Pagination *Pagination `json:"pagination,omitempty"` }
SensorList struct for SensorList
func NewSensorList ¶
func NewSensorList(data []Sensor) *SensorList
NewSensorList instantiates a new SensorList 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 NewSensorListWithDefaults ¶
func NewSensorListWithDefaults() *SensorList
NewSensorListWithDefaults instantiates a new SensorList 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 (*SensorList) GetData ¶
func (o *SensorList) GetData() []Sensor
GetData returns the Data field value
func (*SensorList) GetDataOk ¶
func (o *SensorList) GetDataOk() ([]Sensor, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*SensorList) GetPagination ¶
func (o *SensorList) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*SensorList) GetPaginationOk ¶
func (o *SensorList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SensorList) HasPagination ¶
func (o *SensorList) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (SensorList) MarshalJSON ¶
func (o SensorList) MarshalJSON() ([]byte, error)
func (*SensorList) SetPagination ¶
func (o *SensorList) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (SensorList) ToMap ¶
func (o SensorList) ToMap() (map[string]interface{}, error)
func (*SensorList) UnmarshalJSON ¶
func (o *SensorList) UnmarshalJSON(data []byte) (err error)
type SensorStatus ¶
type SensorStatus string
SensorStatus the model 'SensorStatus'
const ( SensorStatusOnline SensorStatus = "online" SensorStatusOffline SensorStatus = "offline" SensorStatusUnknown SensorStatus = "unknown" )
List of SensorStatus
func NewSensorStatusFromValue ¶
func NewSensorStatusFromValue(v string) (*SensorStatus, error)
NewSensorStatusFromValue returns a pointer to a valid SensorStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SensorStatus) IsValid ¶
func (v SensorStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SensorStatus) Ptr ¶
func (v SensorStatus) Ptr() *SensorStatus
Ptr returns reference to SensorStatus value
func (*SensorStatus) UnmarshalJSON ¶
func (v *SensorStatus) UnmarshalJSON(src []byte) 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 ServerInfo ¶
type ServerInfo struct { Arch string `json:"arch"` Hostname string `json:"hostname"` Interface string `json:"interface"` Ip string `json:"ip"` Os string `json:"os"` Port int32 `json:"port"` Uptime string `json:"uptime"` Url string `json:"url"` }
ServerInfo struct for ServerInfo
func NewServerInfo ¶
func NewServerInfo(arch string, hostname string, interface_ string, ip string, os string, port int32, uptime string, url string) *ServerInfo
NewServerInfo instantiates a new ServerInfo 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 NewServerInfoWithDefaults ¶
func NewServerInfoWithDefaults() *ServerInfo
NewServerInfoWithDefaults instantiates a new ServerInfo 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 (*ServerInfo) GetArch ¶
func (o *ServerInfo) GetArch() string
GetArch returns the Arch field value
func (*ServerInfo) GetArchOk ¶
func (o *ServerInfo) GetArchOk() (*string, bool)
GetArchOk returns a tuple with the Arch field value and a boolean to check if the value has been set.
func (*ServerInfo) GetHostname ¶
func (o *ServerInfo) GetHostname() string
GetHostname returns the Hostname field value
func (*ServerInfo) GetHostnameOk ¶
func (o *ServerInfo) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set.
func (*ServerInfo) GetInterface ¶
func (o *ServerInfo) GetInterface() string
GetInterface returns the Interface field value
func (*ServerInfo) GetInterfaceOk ¶
func (o *ServerInfo) GetInterfaceOk() (*string, bool)
GetInterfaceOk returns a tuple with the Interface field value and a boolean to check if the value has been set.
func (*ServerInfo) GetIpOk ¶
func (o *ServerInfo) GetIpOk() (*string, bool)
GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.
func (*ServerInfo) GetOsOk ¶
func (o *ServerInfo) GetOsOk() (*string, bool)
GetOsOk returns a tuple with the Os field value and a boolean to check if the value has been set.
func (*ServerInfo) GetPort ¶
func (o *ServerInfo) GetPort() int32
GetPort returns the Port field value
func (*ServerInfo) GetPortOk ¶
func (o *ServerInfo) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*ServerInfo) GetUptime ¶
func (o *ServerInfo) GetUptime() string
GetUptime returns the Uptime field value
func (*ServerInfo) GetUptimeOk ¶
func (o *ServerInfo) GetUptimeOk() (*string, bool)
GetUptimeOk returns a tuple with the Uptime field value and a boolean to check if the value has been set.
func (*ServerInfo) GetUrlOk ¶
func (o *ServerInfo) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (ServerInfo) MarshalJSON ¶
func (o ServerInfo) MarshalJSON() ([]byte, error)
func (*ServerInfo) SetHostname ¶
func (o *ServerInfo) SetHostname(v string)
SetHostname sets field value
func (*ServerInfo) SetInterface ¶
func (o *ServerInfo) SetInterface(v string)
SetInterface sets field value
func (ServerInfo) ToMap ¶
func (o ServerInfo) ToMap() (map[string]interface{}, error)
func (*ServerInfo) UnmarshalJSON ¶
func (o *ServerInfo) UnmarshalJSON(data []byte) (err error)
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SoilCondition ¶
type SoilCondition string
SoilCondition the model 'SoilCondition'
const ( TreeSoilConditionSchluffig SoilCondition = "schluffig" TreeSoilConditionSandig SoilCondition = "sandig" TreeSoilConditionLehmig SoilCondition = "lehmig" TreeSoilConditionTonig SoilCondition = "tonig" TreeSoilConditionUnknown SoilCondition = "unknown" )
List of SoilCondition
func NewSoilConditionFromValue ¶
func NewSoilConditionFromValue(v string) (*SoilCondition, error)
NewSoilConditionFromValue returns a pointer to a valid SoilCondition for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SoilCondition) IsValid ¶
func (v SoilCondition) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SoilCondition) Ptr ¶
func (v SoilCondition) Ptr() *SoilCondition
Ptr returns reference to SoilCondition value
func (*SoilCondition) UnmarshalJSON ¶
func (v *SoilCondition) UnmarshalJSON(src []byte) error
type Tree ¶
type Tree struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` CreatedAt string `json:"created_at"` Description string `json:"description"` Id int32 `json:"id"` LastWatered *string `json:"last_watered,omitempty"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` Number string `json:"number"` PlantingYear int32 `json:"planting_year"` Provider string `json:"provider"` Sensor *Sensor `json:"sensor,omitempty"` Species string `json:"species"` TreeClusterId *int32 `json:"tree_cluster_id,omitempty"` UpdatedAt string `json:"updated_at"` WateringStatus WateringStatus `json:"watering_status"` }
Tree struct for Tree
func NewTree ¶
func NewTree(createdAt string, description string, id int32, latitude float32, longitude float32, number string, plantingYear int32, provider string, species string, updatedAt string, wateringStatus WateringStatus) *Tree
NewTree instantiates a new Tree 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 NewTreeWithDefaults ¶
func NewTreeWithDefaults() *Tree
NewTreeWithDefaults instantiates a new Tree 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 (*Tree) GetAdditionalInformation ¶
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*Tree) GetAdditionalInformationOk ¶
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tree) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Tree) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Tree) GetDescription ¶
GetDescription returns the Description field value
func (*Tree) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Tree) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Tree) GetLastWatered ¶
GetLastWatered returns the LastWatered field value if set, zero value otherwise.
func (*Tree) GetLastWateredOk ¶
GetLastWateredOk returns a tuple with the LastWatered field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tree) GetLatitude ¶
GetLatitude returns the Latitude field value
func (*Tree) GetLatitudeOk ¶
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*Tree) GetLongitude ¶
GetLongitude returns the Longitude field value
func (*Tree) GetLongitudeOk ¶
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*Tree) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*Tree) GetPlantingYear ¶
GetPlantingYear returns the PlantingYear field value
func (*Tree) GetPlantingYearOk ¶
GetPlantingYearOk returns a tuple with the PlantingYear field value and a boolean to check if the value has been set.
func (*Tree) GetProvider ¶
GetProvider returns the Provider field value
func (*Tree) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Tree) GetSensorOk ¶
GetSensorOk returns a tuple with the Sensor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tree) GetSpecies ¶
GetSpecies returns the Species field value
func (*Tree) GetSpeciesOk ¶
GetSpeciesOk returns a tuple with the Species field value and a boolean to check if the value has been set.
func (*Tree) GetTreeClusterId ¶
GetTreeClusterId returns the TreeClusterId field value if set, zero value otherwise.
func (*Tree) GetTreeClusterIdOk ¶
GetTreeClusterIdOk returns a tuple with the TreeClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tree) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Tree) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Tree) GetWateringStatus ¶
func (o *Tree) GetWateringStatus() WateringStatus
GetWateringStatus returns the WateringStatus field value
func (*Tree) GetWateringStatusOk ¶
func (o *Tree) GetWateringStatusOk() (*WateringStatus, bool)
GetWateringStatusOk returns a tuple with the WateringStatus field value and a boolean to check if the value has been set.
func (*Tree) HasAdditionalInformation ¶
HasAdditionalInformation returns a boolean if a field has been set.
func (*Tree) HasLastWatered ¶
HasLastWatered returns a boolean if a field has been set.
func (*Tree) HasTreeClusterId ¶
HasTreeClusterId returns a boolean if a field has been set.
func (Tree) MarshalJSON ¶
func (*Tree) SetAdditionalInformation ¶
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*Tree) SetDescription ¶
SetDescription sets field value
func (*Tree) SetLastWatered ¶
SetLastWatered gets a reference to the given string and assigns it to the LastWatered field.
func (*Tree) SetPlantingYear ¶
SetPlantingYear sets field value
func (*Tree) SetSensor ¶
SetSensor gets a reference to the given Sensor and assigns it to the Sensor field.
func (*Tree) SetTreeClusterId ¶
SetTreeClusterId gets a reference to the given int32 and assigns it to the TreeClusterId field.
func (*Tree) SetWateringStatus ¶
func (o *Tree) SetWateringStatus(v WateringStatus)
SetWateringStatus sets field value
func (*Tree) UnmarshalJSON ¶
type TreeAPIService ¶
type TreeAPIService service
TreeAPIService TreeAPI service
func (*TreeAPIService) CreateTree ¶
func (a *TreeAPIService) CreateTree(ctx context.Context) ApiCreateTreeRequest
CreateTree Create tree
Create tree
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateTreeRequest
func (*TreeAPIService) CreateTreeExecute ¶
func (a *TreeAPIService) CreateTreeExecute(r ApiCreateTreeRequest) (*Tree, *http.Response, error)
Execute executes the request
@return Tree
func (*TreeAPIService) DeleteTree ¶
func (a *TreeAPIService) DeleteTree(ctx context.Context, treeId int32) ApiDeleteTreeRequest
DeleteTree Delete tree
Delete tree
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param treeId Tree ID @return ApiDeleteTreeRequest
func (*TreeAPIService) DeleteTreeExecute ¶
func (a *TreeAPIService) DeleteTreeExecute(r ApiDeleteTreeRequest) (*http.Response, error)
Execute executes the request
func (*TreeAPIService) GetAllTrees ¶
func (a *TreeAPIService) GetAllTrees(ctx context.Context) ApiGetAllTreesRequest
GetAllTrees Get all trees
Get all trees
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllTreesRequest
func (*TreeAPIService) GetAllTreesExecute ¶
func (a *TreeAPIService) GetAllTreesExecute(r ApiGetAllTreesRequest) (*TreeList, *http.Response, error)
Execute executes the request
@return TreeList
func (*TreeAPIService) GetTrees ¶
func (a *TreeAPIService) GetTrees(ctx context.Context, treeId int32) ApiGetTreesRequest
GetTrees Get tree by ID
Get tree by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param treeId Tree ID @return ApiGetTreesRequest
func (*TreeAPIService) GetTreesExecute ¶
func (a *TreeAPIService) GetTreesExecute(r ApiGetTreesRequest) (*Tree, *http.Response, error)
Execute executes the request
@return Tree
func (*TreeAPIService) UpdateTree ¶
func (a *TreeAPIService) UpdateTree(ctx context.Context, treeId int32) ApiUpdateTreeRequest
UpdateTree Update tree
Update tree
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param treeId Tree ID @return ApiUpdateTreeRequest
func (*TreeAPIService) UpdateTreeExecute ¶
func (a *TreeAPIService) UpdateTreeExecute(r ApiUpdateTreeRequest) (*Tree, *http.Response, error)
Execute executes the request
@return Tree
type TreeCluster ¶
type TreeCluster struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Address string `json:"address"` Archived bool `json:"archived"` CreatedAt string `json:"created_at"` Description string `json:"description"` Id int32 `json:"id"` LastWatered *string `json:"last_watered,omitempty"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` MoistureLevel float32 `json:"moisture_level"` Name string `json:"name"` Provider string `json:"provider"` Region *Region `json:"region,omitempty"` SoilCondition SoilCondition `json:"soil_condition"` Trees []Tree `json:"trees,omitempty"` UpdatedAt string `json:"updated_at"` WateringStatus WateringStatus `json:"watering_status"` }
TreeCluster struct for TreeCluster
func NewTreeCluster ¶
func NewTreeCluster(address string, archived bool, createdAt string, description string, id int32, latitude float32, longitude float32, moistureLevel float32, name string, provider string, soilCondition SoilCondition, updatedAt string, wateringStatus WateringStatus) *TreeCluster
NewTreeCluster instantiates a new TreeCluster 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 NewTreeClusterWithDefaults ¶
func NewTreeClusterWithDefaults() *TreeCluster
NewTreeClusterWithDefaults instantiates a new TreeCluster 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 (*TreeCluster) GetAdditionalInformation ¶
func (o *TreeCluster) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*TreeCluster) GetAdditionalInformationOk ¶
func (o *TreeCluster) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCluster) GetAddress ¶
func (o *TreeCluster) GetAddress() string
GetAddress returns the Address field value
func (*TreeCluster) GetAddressOk ¶
func (o *TreeCluster) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*TreeCluster) GetArchived ¶
func (o *TreeCluster) GetArchived() bool
GetArchived returns the Archived field value
func (*TreeCluster) GetArchivedOk ¶
func (o *TreeCluster) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*TreeCluster) GetCreatedAt ¶
func (o *TreeCluster) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*TreeCluster) GetCreatedAtOk ¶
func (o *TreeCluster) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*TreeCluster) GetDescription ¶
func (o *TreeCluster) GetDescription() string
GetDescription returns the Description field value
func (*TreeCluster) GetDescriptionOk ¶
func (o *TreeCluster) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TreeCluster) GetIdOk ¶
func (o *TreeCluster) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TreeCluster) GetLastWatered ¶
func (o *TreeCluster) GetLastWatered() string
GetLastWatered returns the LastWatered field value if set, zero value otherwise.
func (*TreeCluster) GetLastWateredOk ¶
func (o *TreeCluster) GetLastWateredOk() (*string, bool)
GetLastWateredOk returns a tuple with the LastWatered field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCluster) GetLatitude ¶
func (o *TreeCluster) GetLatitude() float32
GetLatitude returns the Latitude field value
func (*TreeCluster) GetLatitudeOk ¶
func (o *TreeCluster) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*TreeCluster) GetLongitude ¶
func (o *TreeCluster) GetLongitude() float32
GetLongitude returns the Longitude field value
func (*TreeCluster) GetLongitudeOk ¶
func (o *TreeCluster) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*TreeCluster) GetMoistureLevel ¶
func (o *TreeCluster) GetMoistureLevel() float32
GetMoistureLevel returns the MoistureLevel field value
func (*TreeCluster) GetMoistureLevelOk ¶
func (o *TreeCluster) GetMoistureLevelOk() (*float32, bool)
GetMoistureLevelOk returns a tuple with the MoistureLevel field value and a boolean to check if the value has been set.
func (*TreeCluster) GetName ¶
func (o *TreeCluster) GetName() string
GetName returns the Name field value
func (*TreeCluster) GetNameOk ¶
func (o *TreeCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TreeCluster) GetProvider ¶
func (o *TreeCluster) GetProvider() string
GetProvider returns the Provider field value
func (*TreeCluster) GetProviderOk ¶
func (o *TreeCluster) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*TreeCluster) GetRegion ¶
func (o *TreeCluster) GetRegion() Region
GetRegion returns the Region field value if set, zero value otherwise.
func (*TreeCluster) GetRegionOk ¶
func (o *TreeCluster) GetRegionOk() (*Region, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCluster) GetSoilCondition ¶
func (o *TreeCluster) GetSoilCondition() SoilCondition
GetSoilCondition returns the SoilCondition field value
func (*TreeCluster) GetSoilConditionOk ¶
func (o *TreeCluster) GetSoilConditionOk() (*SoilCondition, bool)
GetSoilConditionOk returns a tuple with the SoilCondition field value and a boolean to check if the value has been set.
func (*TreeCluster) GetTrees ¶
func (o *TreeCluster) GetTrees() []Tree
GetTrees returns the Trees field value if set, zero value otherwise.
func (*TreeCluster) GetTreesOk ¶
func (o *TreeCluster) GetTreesOk() ([]Tree, bool)
GetTreesOk returns a tuple with the Trees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCluster) GetUpdatedAt ¶
func (o *TreeCluster) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*TreeCluster) GetUpdatedAtOk ¶
func (o *TreeCluster) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*TreeCluster) GetWateringStatus ¶
func (o *TreeCluster) GetWateringStatus() WateringStatus
GetWateringStatus returns the WateringStatus field value
func (*TreeCluster) GetWateringStatusOk ¶
func (o *TreeCluster) GetWateringStatusOk() (*WateringStatus, bool)
GetWateringStatusOk returns a tuple with the WateringStatus field value and a boolean to check if the value has been set.
func (*TreeCluster) HasAdditionalInformation ¶
func (o *TreeCluster) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*TreeCluster) HasLastWatered ¶
func (o *TreeCluster) HasLastWatered() bool
HasLastWatered returns a boolean if a field has been set.
func (*TreeCluster) HasRegion ¶
func (o *TreeCluster) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*TreeCluster) HasTrees ¶
func (o *TreeCluster) HasTrees() bool
HasTrees returns a boolean if a field has been set.
func (TreeCluster) MarshalJSON ¶
func (o TreeCluster) MarshalJSON() ([]byte, error)
func (*TreeCluster) SetAdditionalInformation ¶
func (o *TreeCluster) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*TreeCluster) SetAddress ¶
func (o *TreeCluster) SetAddress(v string)
SetAddress sets field value
func (*TreeCluster) SetArchived ¶
func (o *TreeCluster) SetArchived(v bool)
SetArchived sets field value
func (*TreeCluster) SetCreatedAt ¶
func (o *TreeCluster) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*TreeCluster) SetDescription ¶
func (o *TreeCluster) SetDescription(v string)
SetDescription sets field value
func (*TreeCluster) SetLastWatered ¶
func (o *TreeCluster) SetLastWatered(v string)
SetLastWatered gets a reference to the given string and assigns it to the LastWatered field.
func (*TreeCluster) SetLatitude ¶
func (o *TreeCluster) SetLatitude(v float32)
SetLatitude sets field value
func (*TreeCluster) SetLongitude ¶
func (o *TreeCluster) SetLongitude(v float32)
SetLongitude sets field value
func (*TreeCluster) SetMoistureLevel ¶
func (o *TreeCluster) SetMoistureLevel(v float32)
SetMoistureLevel sets field value
func (*TreeCluster) SetProvider ¶
func (o *TreeCluster) SetProvider(v string)
SetProvider sets field value
func (*TreeCluster) SetRegion ¶
func (o *TreeCluster) SetRegion(v Region)
SetRegion gets a reference to the given Region and assigns it to the Region field.
func (*TreeCluster) SetSoilCondition ¶
func (o *TreeCluster) SetSoilCondition(v SoilCondition)
SetSoilCondition sets field value
func (*TreeCluster) SetTrees ¶
func (o *TreeCluster) SetTrees(v []Tree)
SetTrees gets a reference to the given []Tree and assigns it to the Trees field.
func (*TreeCluster) SetUpdatedAt ¶
func (o *TreeCluster) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (*TreeCluster) SetWateringStatus ¶
func (o *TreeCluster) SetWateringStatus(v WateringStatus)
SetWateringStatus sets field value
func (TreeCluster) ToMap ¶
func (o TreeCluster) ToMap() (map[string]interface{}, error)
func (*TreeCluster) UnmarshalJSON ¶
func (o *TreeCluster) UnmarshalJSON(data []byte) (err error)
type TreeClusterAPIService ¶
type TreeClusterAPIService service
TreeClusterAPIService TreeClusterAPI service
func (*TreeClusterAPIService) CreateTreeCluster ¶
func (a *TreeClusterAPIService) CreateTreeCluster(ctx context.Context) ApiCreateTreeClusterRequest
CreateTreeCluster Create tree cluster
Create tree cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateTreeClusterRequest
func (*TreeClusterAPIService) CreateTreeClusterExecute ¶
func (a *TreeClusterAPIService) CreateTreeClusterExecute(r ApiCreateTreeClusterRequest) (*TreeCluster, *http.Response, error)
Execute executes the request
@return TreeCluster
func (*TreeClusterAPIService) DeleteTreeCluster ¶
func (a *TreeClusterAPIService) DeleteTreeCluster(ctx context.Context, clusterId int32) ApiDeleteTreeClusterRequest
DeleteTreeCluster Delete tree cluster
Delete tree cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId Tree Cluster ID @return ApiDeleteTreeClusterRequest
func (*TreeClusterAPIService) DeleteTreeClusterExecute ¶
func (a *TreeClusterAPIService) DeleteTreeClusterExecute(r ApiDeleteTreeClusterRequest) (*http.Response, error)
Execute executes the request
func (*TreeClusterAPIService) GetAllTreeClusters ¶
func (a *TreeClusterAPIService) GetAllTreeClusters(ctx context.Context) ApiGetAllTreeClustersRequest
GetAllTreeClusters Get all tree clusters
Get all tree clusters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllTreeClustersRequest
func (*TreeClusterAPIService) GetAllTreeClustersExecute ¶
func (a *TreeClusterAPIService) GetAllTreeClustersExecute(r ApiGetAllTreeClustersRequest) (*TreeClusterList, *http.Response, error)
Execute executes the request
@return TreeClusterList
func (*TreeClusterAPIService) GetTreeClusterById ¶
func (a *TreeClusterAPIService) GetTreeClusterById(ctx context.Context, clusterId int32) ApiGetTreeClusterByIdRequest
GetTreeClusterById Get tree cluster by ID
Get tree cluster by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId Tree Cluster ID @return ApiGetTreeClusterByIdRequest
func (*TreeClusterAPIService) GetTreeClusterByIdExecute ¶
func (a *TreeClusterAPIService) GetTreeClusterByIdExecute(r ApiGetTreeClusterByIdRequest) (*TreeCluster, *http.Response, error)
Execute executes the request
@return TreeCluster
func (*TreeClusterAPIService) UpdateTreeCluster ¶
func (a *TreeClusterAPIService) UpdateTreeCluster(ctx context.Context, clusterId int32) ApiUpdateTreeClusterRequest
UpdateTreeCluster Update tree cluster
Update tree cluster
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId Tree Cluster ID @return ApiUpdateTreeClusterRequest
func (*TreeClusterAPIService) UpdateTreeClusterExecute ¶
func (a *TreeClusterAPIService) UpdateTreeClusterExecute(r ApiUpdateTreeClusterRequest) (*TreeCluster, *http.Response, error)
Execute executes the request
@return TreeCluster
type TreeClusterCreate ¶
type TreeClusterCreate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Address string `json:"address"` Description string `json:"description"` Name string `json:"name"` Provider *string `json:"provider,omitempty"` SoilCondition SoilCondition `json:"soil_condition"` TreeIds []int32 `json:"tree_ids"` }
TreeClusterCreate struct for TreeClusterCreate
func NewTreeClusterCreate ¶
func NewTreeClusterCreate(address string, description string, name string, soilCondition SoilCondition, treeIds []int32) *TreeClusterCreate
NewTreeClusterCreate instantiates a new TreeClusterCreate 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 NewTreeClusterCreateWithDefaults ¶
func NewTreeClusterCreateWithDefaults() *TreeClusterCreate
NewTreeClusterCreateWithDefaults instantiates a new TreeClusterCreate 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 (*TreeClusterCreate) GetAdditionalInformation ¶
func (o *TreeClusterCreate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*TreeClusterCreate) GetAdditionalInformationOk ¶
func (o *TreeClusterCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterCreate) GetAddress ¶
func (o *TreeClusterCreate) GetAddress() string
GetAddress returns the Address field value
func (*TreeClusterCreate) GetAddressOk ¶
func (o *TreeClusterCreate) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*TreeClusterCreate) GetDescription ¶
func (o *TreeClusterCreate) GetDescription() string
GetDescription returns the Description field value
func (*TreeClusterCreate) GetDescriptionOk ¶
func (o *TreeClusterCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TreeClusterCreate) GetName ¶
func (o *TreeClusterCreate) GetName() string
GetName returns the Name field value
func (*TreeClusterCreate) GetNameOk ¶
func (o *TreeClusterCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TreeClusterCreate) GetProvider ¶
func (o *TreeClusterCreate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*TreeClusterCreate) GetProviderOk ¶
func (o *TreeClusterCreate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterCreate) GetSoilCondition ¶
func (o *TreeClusterCreate) GetSoilCondition() SoilCondition
GetSoilCondition returns the SoilCondition field value
func (*TreeClusterCreate) GetSoilConditionOk ¶
func (o *TreeClusterCreate) GetSoilConditionOk() (*SoilCondition, bool)
GetSoilConditionOk returns a tuple with the SoilCondition field value and a boolean to check if the value has been set.
func (*TreeClusterCreate) GetTreeIds ¶
func (o *TreeClusterCreate) GetTreeIds() []int32
GetTreeIds returns the TreeIds field value
func (*TreeClusterCreate) GetTreeIdsOk ¶
func (o *TreeClusterCreate) GetTreeIdsOk() ([]int32, bool)
GetTreeIdsOk returns a tuple with the TreeIds field value and a boolean to check if the value has been set.
func (*TreeClusterCreate) HasAdditionalInformation ¶
func (o *TreeClusterCreate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*TreeClusterCreate) HasProvider ¶
func (o *TreeClusterCreate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (TreeClusterCreate) MarshalJSON ¶
func (o TreeClusterCreate) MarshalJSON() ([]byte, error)
func (*TreeClusterCreate) SetAdditionalInformation ¶
func (o *TreeClusterCreate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*TreeClusterCreate) SetAddress ¶
func (o *TreeClusterCreate) SetAddress(v string)
SetAddress sets field value
func (*TreeClusterCreate) SetDescription ¶
func (o *TreeClusterCreate) SetDescription(v string)
SetDescription sets field value
func (*TreeClusterCreate) SetName ¶
func (o *TreeClusterCreate) SetName(v string)
SetName sets field value
func (*TreeClusterCreate) SetProvider ¶
func (o *TreeClusterCreate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*TreeClusterCreate) SetSoilCondition ¶
func (o *TreeClusterCreate) SetSoilCondition(v SoilCondition)
SetSoilCondition sets field value
func (*TreeClusterCreate) SetTreeIds ¶
func (o *TreeClusterCreate) SetTreeIds(v []int32)
SetTreeIds sets field value
func (TreeClusterCreate) ToMap ¶
func (o TreeClusterCreate) ToMap() (map[string]interface{}, error)
func (*TreeClusterCreate) UnmarshalJSON ¶
func (o *TreeClusterCreate) UnmarshalJSON(data []byte) (err error)
type TreeClusterInList ¶
type TreeClusterInList struct { Address string `json:"address"` Archived bool `json:"archived"` CreatedAt string `json:"created_at"` Description string `json:"description"` Id int32 `json:"id"` LastWatered *string `json:"last_watered,omitempty"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` MoistureLevel float32 `json:"moisture_level"` Name string `json:"name"` Region *Region `json:"region,omitempty"` SoilCondition SoilCondition `json:"soil_condition"` TreeIds []int32 `json:"tree_ids,omitempty"` UpdatedAt string `json:"updated_at"` WateringStatus WateringStatus `json:"watering_status"` }
TreeClusterInList struct for TreeClusterInList
func NewTreeClusterInList ¶
func NewTreeClusterInList(address string, archived bool, createdAt string, description string, id int32, latitude float32, longitude float32, moistureLevel float32, name string, soilCondition SoilCondition, updatedAt string, wateringStatus WateringStatus) *TreeClusterInList
NewTreeClusterInList instantiates a new TreeClusterInList 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 NewTreeClusterInListWithDefaults ¶
func NewTreeClusterInListWithDefaults() *TreeClusterInList
NewTreeClusterInListWithDefaults instantiates a new TreeClusterInList 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 (*TreeClusterInList) GetAddress ¶
func (o *TreeClusterInList) GetAddress() string
GetAddress returns the Address field value
func (*TreeClusterInList) GetAddressOk ¶
func (o *TreeClusterInList) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetArchived ¶
func (o *TreeClusterInList) GetArchived() bool
GetArchived returns the Archived field value
func (*TreeClusterInList) GetArchivedOk ¶
func (o *TreeClusterInList) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetCreatedAt ¶
func (o *TreeClusterInList) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*TreeClusterInList) GetCreatedAtOk ¶
func (o *TreeClusterInList) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetDescription ¶
func (o *TreeClusterInList) GetDescription() string
GetDescription returns the Description field value
func (*TreeClusterInList) GetDescriptionOk ¶
func (o *TreeClusterInList) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetId ¶
func (o *TreeClusterInList) GetId() int32
GetId returns the Id field value
func (*TreeClusterInList) GetIdOk ¶
func (o *TreeClusterInList) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetLastWatered ¶
func (o *TreeClusterInList) GetLastWatered() string
GetLastWatered returns the LastWatered field value if set, zero value otherwise.
func (*TreeClusterInList) GetLastWateredOk ¶
func (o *TreeClusterInList) GetLastWateredOk() (*string, bool)
GetLastWateredOk returns a tuple with the LastWatered field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterInList) GetLatitude ¶
func (o *TreeClusterInList) GetLatitude() float32
GetLatitude returns the Latitude field value
func (*TreeClusterInList) GetLatitudeOk ¶
func (o *TreeClusterInList) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetLongitude ¶
func (o *TreeClusterInList) GetLongitude() float32
GetLongitude returns the Longitude field value
func (*TreeClusterInList) GetLongitudeOk ¶
func (o *TreeClusterInList) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetMoistureLevel ¶
func (o *TreeClusterInList) GetMoistureLevel() float32
GetMoistureLevel returns the MoistureLevel field value
func (*TreeClusterInList) GetMoistureLevelOk ¶
func (o *TreeClusterInList) GetMoistureLevelOk() (*float32, bool)
GetMoistureLevelOk returns a tuple with the MoistureLevel field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetName ¶
func (o *TreeClusterInList) GetName() string
GetName returns the Name field value
func (*TreeClusterInList) GetNameOk ¶
func (o *TreeClusterInList) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetRegion ¶
func (o *TreeClusterInList) GetRegion() Region
GetRegion returns the Region field value if set, zero value otherwise.
func (*TreeClusterInList) GetRegionOk ¶
func (o *TreeClusterInList) GetRegionOk() (*Region, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterInList) GetSoilCondition ¶
func (o *TreeClusterInList) GetSoilCondition() SoilCondition
GetSoilCondition returns the SoilCondition field value
func (*TreeClusterInList) GetSoilConditionOk ¶
func (o *TreeClusterInList) GetSoilConditionOk() (*SoilCondition, bool)
GetSoilConditionOk returns a tuple with the SoilCondition field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetTreeIds ¶
func (o *TreeClusterInList) GetTreeIds() []int32
GetTreeIds returns the TreeIds field value if set, zero value otherwise.
func (*TreeClusterInList) GetTreeIdsOk ¶
func (o *TreeClusterInList) GetTreeIdsOk() ([]int32, bool)
GetTreeIdsOk returns a tuple with the TreeIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterInList) GetUpdatedAt ¶
func (o *TreeClusterInList) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*TreeClusterInList) GetUpdatedAtOk ¶
func (o *TreeClusterInList) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*TreeClusterInList) GetWateringStatus ¶
func (o *TreeClusterInList) GetWateringStatus() WateringStatus
GetWateringStatus returns the WateringStatus field value
func (*TreeClusterInList) GetWateringStatusOk ¶
func (o *TreeClusterInList) GetWateringStatusOk() (*WateringStatus, bool)
GetWateringStatusOk returns a tuple with the WateringStatus field value and a boolean to check if the value has been set.
func (*TreeClusterInList) HasLastWatered ¶
func (o *TreeClusterInList) HasLastWatered() bool
HasLastWatered returns a boolean if a field has been set.
func (*TreeClusterInList) HasRegion ¶
func (o *TreeClusterInList) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*TreeClusterInList) HasTreeIds ¶
func (o *TreeClusterInList) HasTreeIds() bool
HasTreeIds returns a boolean if a field has been set.
func (TreeClusterInList) MarshalJSON ¶
func (o TreeClusterInList) MarshalJSON() ([]byte, error)
func (*TreeClusterInList) SetAddress ¶
func (o *TreeClusterInList) SetAddress(v string)
SetAddress sets field value
func (*TreeClusterInList) SetArchived ¶
func (o *TreeClusterInList) SetArchived(v bool)
SetArchived sets field value
func (*TreeClusterInList) SetCreatedAt ¶
func (o *TreeClusterInList) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*TreeClusterInList) SetDescription ¶
func (o *TreeClusterInList) SetDescription(v string)
SetDescription sets field value
func (*TreeClusterInList) SetLastWatered ¶
func (o *TreeClusterInList) SetLastWatered(v string)
SetLastWatered gets a reference to the given string and assigns it to the LastWatered field.
func (*TreeClusterInList) SetLatitude ¶
func (o *TreeClusterInList) SetLatitude(v float32)
SetLatitude sets field value
func (*TreeClusterInList) SetLongitude ¶
func (o *TreeClusterInList) SetLongitude(v float32)
SetLongitude sets field value
func (*TreeClusterInList) SetMoistureLevel ¶
func (o *TreeClusterInList) SetMoistureLevel(v float32)
SetMoistureLevel sets field value
func (*TreeClusterInList) SetName ¶
func (o *TreeClusterInList) SetName(v string)
SetName sets field value
func (*TreeClusterInList) SetRegion ¶
func (o *TreeClusterInList) SetRegion(v Region)
SetRegion gets a reference to the given Region and assigns it to the Region field.
func (*TreeClusterInList) SetSoilCondition ¶
func (o *TreeClusterInList) SetSoilCondition(v SoilCondition)
SetSoilCondition sets field value
func (*TreeClusterInList) SetTreeIds ¶
func (o *TreeClusterInList) SetTreeIds(v []int32)
SetTreeIds gets a reference to the given []int32 and assigns it to the TreeIds field.
func (*TreeClusterInList) SetUpdatedAt ¶
func (o *TreeClusterInList) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (*TreeClusterInList) SetWateringStatus ¶
func (o *TreeClusterInList) SetWateringStatus(v WateringStatus)
SetWateringStatus sets field value
func (TreeClusterInList) ToMap ¶
func (o TreeClusterInList) ToMap() (map[string]interface{}, error)
func (*TreeClusterInList) UnmarshalJSON ¶
func (o *TreeClusterInList) UnmarshalJSON(data []byte) (err error)
type TreeClusterList ¶
type TreeClusterList struct { Data []TreeClusterInList `json:"data"` Pagination *Pagination `json:"pagination,omitempty"` }
TreeClusterList struct for TreeClusterList
func NewTreeClusterList ¶
func NewTreeClusterList(data []TreeClusterInList) *TreeClusterList
NewTreeClusterList instantiates a new TreeClusterList 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 NewTreeClusterListWithDefaults ¶
func NewTreeClusterListWithDefaults() *TreeClusterList
NewTreeClusterListWithDefaults instantiates a new TreeClusterList 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 (*TreeClusterList) GetData ¶
func (o *TreeClusterList) GetData() []TreeClusterInList
GetData returns the Data field value
func (*TreeClusterList) GetDataOk ¶
func (o *TreeClusterList) GetDataOk() ([]TreeClusterInList, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TreeClusterList) GetPagination ¶
func (o *TreeClusterList) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*TreeClusterList) GetPaginationOk ¶
func (o *TreeClusterList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterList) HasPagination ¶
func (o *TreeClusterList) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (TreeClusterList) MarshalJSON ¶
func (o TreeClusterList) MarshalJSON() ([]byte, error)
func (*TreeClusterList) SetData ¶
func (o *TreeClusterList) SetData(v []TreeClusterInList)
SetData sets field value
func (*TreeClusterList) SetPagination ¶
func (o *TreeClusterList) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (TreeClusterList) ToMap ¶
func (o TreeClusterList) ToMap() (map[string]interface{}, error)
func (*TreeClusterList) UnmarshalJSON ¶
func (o *TreeClusterList) UnmarshalJSON(data []byte) (err error)
type TreeClusterUpdate ¶
type TreeClusterUpdate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Address string `json:"address"` Description string `json:"description"` Name string `json:"name"` Provider *string `json:"provider,omitempty"` SoilCondition SoilCondition `json:"soil_condition"` TreeIds []int32 `json:"tree_ids"` }
TreeClusterUpdate struct for TreeClusterUpdate
func NewTreeClusterUpdate ¶
func NewTreeClusterUpdate(address string, description string, name string, soilCondition SoilCondition, treeIds []int32) *TreeClusterUpdate
NewTreeClusterUpdate instantiates a new TreeClusterUpdate 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 NewTreeClusterUpdateWithDefaults ¶
func NewTreeClusterUpdateWithDefaults() *TreeClusterUpdate
NewTreeClusterUpdateWithDefaults instantiates a new TreeClusterUpdate 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 (*TreeClusterUpdate) GetAdditionalInformation ¶
func (o *TreeClusterUpdate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*TreeClusterUpdate) GetAdditionalInformationOk ¶
func (o *TreeClusterUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterUpdate) GetAddress ¶
func (o *TreeClusterUpdate) GetAddress() string
GetAddress returns the Address field value
func (*TreeClusterUpdate) GetAddressOk ¶
func (o *TreeClusterUpdate) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*TreeClusterUpdate) GetDescription ¶
func (o *TreeClusterUpdate) GetDescription() string
GetDescription returns the Description field value
func (*TreeClusterUpdate) GetDescriptionOk ¶
func (o *TreeClusterUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TreeClusterUpdate) GetName ¶
func (o *TreeClusterUpdate) GetName() string
GetName returns the Name field value
func (*TreeClusterUpdate) GetNameOk ¶
func (o *TreeClusterUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TreeClusterUpdate) GetProvider ¶
func (o *TreeClusterUpdate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*TreeClusterUpdate) GetProviderOk ¶
func (o *TreeClusterUpdate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeClusterUpdate) GetSoilCondition ¶
func (o *TreeClusterUpdate) GetSoilCondition() SoilCondition
GetSoilCondition returns the SoilCondition field value
func (*TreeClusterUpdate) GetSoilConditionOk ¶
func (o *TreeClusterUpdate) GetSoilConditionOk() (*SoilCondition, bool)
GetSoilConditionOk returns a tuple with the SoilCondition field value and a boolean to check if the value has been set.
func (*TreeClusterUpdate) GetTreeIds ¶
func (o *TreeClusterUpdate) GetTreeIds() []int32
GetTreeIds returns the TreeIds field value
func (*TreeClusterUpdate) GetTreeIdsOk ¶
func (o *TreeClusterUpdate) GetTreeIdsOk() ([]int32, bool)
GetTreeIdsOk returns a tuple with the TreeIds field value and a boolean to check if the value has been set.
func (*TreeClusterUpdate) HasAdditionalInformation ¶
func (o *TreeClusterUpdate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*TreeClusterUpdate) HasProvider ¶
func (o *TreeClusterUpdate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (TreeClusterUpdate) MarshalJSON ¶
func (o TreeClusterUpdate) MarshalJSON() ([]byte, error)
func (*TreeClusterUpdate) SetAdditionalInformation ¶
func (o *TreeClusterUpdate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*TreeClusterUpdate) SetAddress ¶
func (o *TreeClusterUpdate) SetAddress(v string)
SetAddress sets field value
func (*TreeClusterUpdate) SetDescription ¶
func (o *TreeClusterUpdate) SetDescription(v string)
SetDescription sets field value
func (*TreeClusterUpdate) SetName ¶
func (o *TreeClusterUpdate) SetName(v string)
SetName sets field value
func (*TreeClusterUpdate) SetProvider ¶
func (o *TreeClusterUpdate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*TreeClusterUpdate) SetSoilCondition ¶
func (o *TreeClusterUpdate) SetSoilCondition(v SoilCondition)
SetSoilCondition sets field value
func (*TreeClusterUpdate) SetTreeIds ¶
func (o *TreeClusterUpdate) SetTreeIds(v []int32)
SetTreeIds sets field value
func (TreeClusterUpdate) ToMap ¶
func (o TreeClusterUpdate) ToMap() (map[string]interface{}, error)
func (*TreeClusterUpdate) UnmarshalJSON ¶
func (o *TreeClusterUpdate) UnmarshalJSON(data []byte) (err error)
type TreeCreate ¶
type TreeCreate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Description string `json:"description"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` Number string `json:"number"` PlantingYear int32 `json:"planting_year"` Provider *string `json:"provider,omitempty"` SensorId *string `json:"sensor_id,omitempty"` Species string `json:"species"` TreeClusterId *int32 `json:"tree_cluster_id,omitempty"` }
TreeCreate struct for TreeCreate
func NewTreeCreate ¶
func NewTreeCreate(description string, latitude float32, longitude float32, number string, plantingYear int32, species string) *TreeCreate
NewTreeCreate instantiates a new TreeCreate 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 NewTreeCreateWithDefaults ¶
func NewTreeCreateWithDefaults() *TreeCreate
NewTreeCreateWithDefaults instantiates a new TreeCreate 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 (*TreeCreate) GetAdditionalInformation ¶
func (o *TreeCreate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*TreeCreate) GetAdditionalInformationOk ¶
func (o *TreeCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCreate) GetDescription ¶
func (o *TreeCreate) GetDescription() string
GetDescription returns the Description field value
func (*TreeCreate) GetDescriptionOk ¶
func (o *TreeCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TreeCreate) GetLatitude ¶
func (o *TreeCreate) GetLatitude() float32
GetLatitude returns the Latitude field value
func (*TreeCreate) GetLatitudeOk ¶
func (o *TreeCreate) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*TreeCreate) GetLongitude ¶
func (o *TreeCreate) GetLongitude() float32
GetLongitude returns the Longitude field value
func (*TreeCreate) GetLongitudeOk ¶
func (o *TreeCreate) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*TreeCreate) GetNumber ¶
func (o *TreeCreate) GetNumber() string
GetNumber returns the Number field value
func (*TreeCreate) GetNumberOk ¶
func (o *TreeCreate) GetNumberOk() (*string, bool)
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*TreeCreate) GetPlantingYear ¶
func (o *TreeCreate) GetPlantingYear() int32
GetPlantingYear returns the PlantingYear field value
func (*TreeCreate) GetPlantingYearOk ¶
func (o *TreeCreate) GetPlantingYearOk() (*int32, bool)
GetPlantingYearOk returns a tuple with the PlantingYear field value and a boolean to check if the value has been set.
func (*TreeCreate) GetProvider ¶
func (o *TreeCreate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*TreeCreate) GetProviderOk ¶
func (o *TreeCreate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCreate) GetSensorId ¶
func (o *TreeCreate) GetSensorId() string
GetSensorId returns the SensorId field value if set, zero value otherwise.
func (*TreeCreate) GetSensorIdOk ¶
func (o *TreeCreate) GetSensorIdOk() (*string, bool)
GetSensorIdOk returns a tuple with the SensorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCreate) GetSpecies ¶
func (o *TreeCreate) GetSpecies() string
GetSpecies returns the Species field value
func (*TreeCreate) GetSpeciesOk ¶
func (o *TreeCreate) GetSpeciesOk() (*string, bool)
GetSpeciesOk returns a tuple with the Species field value and a boolean to check if the value has been set.
func (*TreeCreate) GetTreeClusterId ¶
func (o *TreeCreate) GetTreeClusterId() int32
GetTreeClusterId returns the TreeClusterId field value if set, zero value otherwise.
func (*TreeCreate) GetTreeClusterIdOk ¶
func (o *TreeCreate) GetTreeClusterIdOk() (*int32, bool)
GetTreeClusterIdOk returns a tuple with the TreeClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeCreate) HasAdditionalInformation ¶
func (o *TreeCreate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*TreeCreate) HasProvider ¶
func (o *TreeCreate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*TreeCreate) HasSensorId ¶
func (o *TreeCreate) HasSensorId() bool
HasSensorId returns a boolean if a field has been set.
func (*TreeCreate) HasTreeClusterId ¶
func (o *TreeCreate) HasTreeClusterId() bool
HasTreeClusterId returns a boolean if a field has been set.
func (TreeCreate) MarshalJSON ¶
func (o TreeCreate) MarshalJSON() ([]byte, error)
func (*TreeCreate) SetAdditionalInformation ¶
func (o *TreeCreate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*TreeCreate) SetDescription ¶
func (o *TreeCreate) SetDescription(v string)
SetDescription sets field value
func (*TreeCreate) SetLatitude ¶
func (o *TreeCreate) SetLatitude(v float32)
SetLatitude sets field value
func (*TreeCreate) SetLongitude ¶
func (o *TreeCreate) SetLongitude(v float32)
SetLongitude sets field value
func (*TreeCreate) SetPlantingYear ¶
func (o *TreeCreate) SetPlantingYear(v int32)
SetPlantingYear sets field value
func (*TreeCreate) SetProvider ¶
func (o *TreeCreate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*TreeCreate) SetSensorId ¶
func (o *TreeCreate) SetSensorId(v string)
SetSensorId gets a reference to the given string and assigns it to the SensorId field.
func (*TreeCreate) SetSpecies ¶
func (o *TreeCreate) SetSpecies(v string)
SetSpecies sets field value
func (*TreeCreate) SetTreeClusterId ¶
func (o *TreeCreate) SetTreeClusterId(v int32)
SetTreeClusterId gets a reference to the given int32 and assigns it to the TreeClusterId field.
func (TreeCreate) ToMap ¶
func (o TreeCreate) ToMap() (map[string]interface{}, error)
func (*TreeCreate) UnmarshalJSON ¶
func (o *TreeCreate) UnmarshalJSON(data []byte) (err error)
type TreeList ¶
type TreeList struct { Data []Tree `json:"data"` Pagination *Pagination `json:"pagination,omitempty"` }
TreeList struct for TreeList
func NewTreeList ¶
NewTreeList instantiates a new TreeList 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 NewTreeListWithDefaults ¶
func NewTreeListWithDefaults() *TreeList
NewTreeListWithDefaults instantiates a new TreeList 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 (*TreeList) GetDataOk ¶
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TreeList) GetPagination ¶
func (o *TreeList) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*TreeList) GetPaginationOk ¶
func (o *TreeList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeList) HasPagination ¶
HasPagination returns a boolean if a field has been set.
func (TreeList) MarshalJSON ¶
func (*TreeList) SetPagination ¶
func (o *TreeList) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (*TreeList) UnmarshalJSON ¶
type TreeSensorAPIService ¶
type TreeSensorAPIService service
TreeSensorAPIService TreeSensorAPI service
func (*TreeSensorAPIService) GetTreeBySensorId ¶
func (a *TreeSensorAPIService) GetTreeBySensorId(ctx context.Context, sensorId string) ApiGetTreeBySensorIdRequest
GetTreeBySensorId Get tree by sensor ID
Get tree by sensor ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sensorId Sensor ID @return ApiGetTreeBySensorIdRequest
func (*TreeSensorAPIService) GetTreeBySensorIdExecute ¶
func (a *TreeSensorAPIService) GetTreeBySensorIdExecute(r ApiGetTreeBySensorIdRequest) (*Tree, *http.Response, error)
Execute executes the request
@return Tree
type TreeUpdate ¶
type TreeUpdate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Description string `json:"description"` Latitude float32 `json:"latitude"` Longitude float32 `json:"longitude"` Number string `json:"number"` PlantingYear int32 `json:"planting_year"` Provider *string `json:"provider,omitempty"` SensorId *string `json:"sensor_id,omitempty"` Species string `json:"species"` TreeClusterId *int32 `json:"tree_cluster_id,omitempty"` }
TreeUpdate struct for TreeUpdate
func NewTreeUpdate ¶
func NewTreeUpdate(description string, latitude float32, longitude float32, number string, plantingYear int32, species string) *TreeUpdate
NewTreeUpdate instantiates a new TreeUpdate 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 NewTreeUpdateWithDefaults ¶
func NewTreeUpdateWithDefaults() *TreeUpdate
NewTreeUpdateWithDefaults instantiates a new TreeUpdate 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 (*TreeUpdate) GetAdditionalInformation ¶
func (o *TreeUpdate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*TreeUpdate) GetAdditionalInformationOk ¶
func (o *TreeUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeUpdate) GetDescription ¶
func (o *TreeUpdate) GetDescription() string
GetDescription returns the Description field value
func (*TreeUpdate) GetDescriptionOk ¶
func (o *TreeUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TreeUpdate) GetLatitude ¶
func (o *TreeUpdate) GetLatitude() float32
GetLatitude returns the Latitude field value
func (*TreeUpdate) GetLatitudeOk ¶
func (o *TreeUpdate) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*TreeUpdate) GetLongitude ¶
func (o *TreeUpdate) GetLongitude() float32
GetLongitude returns the Longitude field value
func (*TreeUpdate) GetLongitudeOk ¶
func (o *TreeUpdate) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*TreeUpdate) GetNumber ¶
func (o *TreeUpdate) GetNumber() string
GetNumber returns the Number field value
func (*TreeUpdate) GetNumberOk ¶
func (o *TreeUpdate) GetNumberOk() (*string, bool)
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*TreeUpdate) GetPlantingYear ¶
func (o *TreeUpdate) GetPlantingYear() int32
GetPlantingYear returns the PlantingYear field value
func (*TreeUpdate) GetPlantingYearOk ¶
func (o *TreeUpdate) GetPlantingYearOk() (*int32, bool)
GetPlantingYearOk returns a tuple with the PlantingYear field value and a boolean to check if the value has been set.
func (*TreeUpdate) GetProvider ¶
func (o *TreeUpdate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*TreeUpdate) GetProviderOk ¶
func (o *TreeUpdate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeUpdate) GetSensorId ¶
func (o *TreeUpdate) GetSensorId() string
GetSensorId returns the SensorId field value if set, zero value otherwise.
func (*TreeUpdate) GetSensorIdOk ¶
func (o *TreeUpdate) GetSensorIdOk() (*string, bool)
GetSensorIdOk returns a tuple with the SensorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeUpdate) GetSpecies ¶
func (o *TreeUpdate) GetSpecies() string
GetSpecies returns the Species field value
func (*TreeUpdate) GetSpeciesOk ¶
func (o *TreeUpdate) GetSpeciesOk() (*string, bool)
GetSpeciesOk returns a tuple with the Species field value and a boolean to check if the value has been set.
func (*TreeUpdate) GetTreeClusterId ¶
func (o *TreeUpdate) GetTreeClusterId() int32
GetTreeClusterId returns the TreeClusterId field value if set, zero value otherwise.
func (*TreeUpdate) GetTreeClusterIdOk ¶
func (o *TreeUpdate) GetTreeClusterIdOk() (*int32, bool)
GetTreeClusterIdOk returns a tuple with the TreeClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeUpdate) HasAdditionalInformation ¶
func (o *TreeUpdate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*TreeUpdate) HasProvider ¶
func (o *TreeUpdate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*TreeUpdate) HasSensorId ¶
func (o *TreeUpdate) HasSensorId() bool
HasSensorId returns a boolean if a field has been set.
func (*TreeUpdate) HasTreeClusterId ¶
func (o *TreeUpdate) HasTreeClusterId() bool
HasTreeClusterId returns a boolean if a field has been set.
func (TreeUpdate) MarshalJSON ¶
func (o TreeUpdate) MarshalJSON() ([]byte, error)
func (*TreeUpdate) SetAdditionalInformation ¶
func (o *TreeUpdate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*TreeUpdate) SetDescription ¶
func (o *TreeUpdate) SetDescription(v string)
SetDescription sets field value
func (*TreeUpdate) SetLatitude ¶
func (o *TreeUpdate) SetLatitude(v float32)
SetLatitude sets field value
func (*TreeUpdate) SetLongitude ¶
func (o *TreeUpdate) SetLongitude(v float32)
SetLongitude sets field value
func (*TreeUpdate) SetPlantingYear ¶
func (o *TreeUpdate) SetPlantingYear(v int32)
SetPlantingYear sets field value
func (*TreeUpdate) SetProvider ¶
func (o *TreeUpdate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*TreeUpdate) SetSensorId ¶
func (o *TreeUpdate) SetSensorId(v string)
SetSensorId gets a reference to the given string and assigns it to the SensorId field.
func (*TreeUpdate) SetSpecies ¶
func (o *TreeUpdate) SetSpecies(v string)
SetSpecies sets field value
func (*TreeUpdate) SetTreeClusterId ¶
func (o *TreeUpdate) SetTreeClusterId(v int32)
SetTreeClusterId gets a reference to the given int32 and assigns it to the TreeClusterId field.
func (TreeUpdate) ToMap ¶
func (o TreeUpdate) ToMap() (map[string]interface{}, error)
func (*TreeUpdate) UnmarshalJSON ¶
func (o *TreeUpdate) UnmarshalJSON(data []byte) (err error)
type User ¶
type User struct { AvatarUrl string `json:"avatar_url"` CreatedAt string `json:"created_at"` DrivingLicenses []DrivingLicense `json:"driving_licenses"` Email string `json:"email"` EmailVerified bool `json:"email_verified"` EmployeeId string `json:"employee_id"` FirstName string `json:"first_name"` Id string `json:"id"` LastName string `json:"last_name"` PhoneNumber string `json:"phone_number"` Roles []UserRole `json:"roles"` Status UserStatus `json:"status"` Username string `json:"username"` }
User struct for User
func NewUser ¶
func NewUser(avatarUrl string, createdAt string, drivingLicenses []DrivingLicense, email string, emailVerified bool, employeeId string, firstName string, id string, lastName string, phoneNumber string, roles []UserRole, status UserStatus, username string) *User
NewUser instantiates a new User 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 NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetAvatarUrl ¶
GetAvatarUrl returns the AvatarUrl field value
func (*User) GetAvatarUrlOk ¶
GetAvatarUrlOk returns a tuple with the AvatarUrl field value and a boolean to check if the value has been set.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*User) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*User) GetDrivingLicenses ¶
func (o *User) GetDrivingLicenses() []DrivingLicense
GetDrivingLicenses returns the DrivingLicenses field value
func (*User) GetDrivingLicensesOk ¶
func (o *User) GetDrivingLicensesOk() ([]DrivingLicense, bool)
GetDrivingLicensesOk returns a tuple with the DrivingLicenses field value and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetEmailVerified ¶
GetEmailVerified returns the EmailVerified field value
func (*User) GetEmailVerifiedOk ¶
GetEmailVerifiedOk returns a tuple with the EmailVerified field value and a boolean to check if the value has been set.
func (*User) GetEmployeeId ¶
GetEmployeeId returns the EmployeeId field value
func (*User) GetEmployeeIdOk ¶
GetEmployeeIdOk returns a tuple with the EmployeeId field value and a boolean to check if the value has been set.
func (*User) GetFirstName ¶
GetFirstName returns the FirstName field value
func (*User) GetFirstNameOk ¶
GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetLastName ¶
GetLastName returns the LastName field value
func (*User) GetLastNameOk ¶
GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.
func (*User) GetPhoneNumber ¶
GetPhoneNumber returns the PhoneNumber field value
func (*User) GetPhoneNumberOk ¶
GetPhoneNumberOk returns a tuple with the PhoneNumber field value and a boolean to check if the value has been set.
func (*User) GetRolesOk ¶
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*User) GetStatus ¶
func (o *User) GetStatus() UserStatus
GetStatus returns the Status field value
func (*User) GetStatusOk ¶
func (o *User) GetStatusOk() (*UserStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*User) GetUsername ¶
GetUsername returns the Username field value
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (User) MarshalJSON ¶
func (*User) SetDrivingLicenses ¶
func (o *User) SetDrivingLicenses(v []DrivingLicense)
SetDrivingLicenses sets field value
func (*User) SetEmailVerified ¶
SetEmailVerified sets field value
func (*User) SetPhoneNumber ¶
SetPhoneNumber sets field value
func (*User) UnmarshalJSON ¶
type UserAPIService ¶
type UserAPIService service
UserAPIService UserAPI service
func (*UserAPIService) GetAllUsers ¶
func (a *UserAPIService) GetAllUsers(ctx context.Context) ApiGetAllUsersRequest
GetAllUsers Get all users
Get all users
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllUsersRequest
func (*UserAPIService) GetAllUsersExecute ¶
func (a *UserAPIService) GetAllUsersExecute(r ApiGetAllUsersRequest) (*UserList, *http.Response, error)
Execute executes the request
@return UserList
func (*UserAPIService) GetUsersByRole ¶
func (a *UserAPIService) GetUsersByRole(ctx context.Context, role string) ApiGetUsersByRoleRequest
GetUsersByRole Get users by role
Get users by role
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param role Role @return ApiGetUsersByRoleRequest
func (*UserAPIService) GetUsersByRoleExecute ¶
func (a *UserAPIService) GetUsersByRoleExecute(r ApiGetUsersByRoleRequest) (*UserList, *http.Response, error)
Execute executes the request
@return UserList
func (*UserAPIService) V1UserLoginGet ¶
func (a *UserAPIService) V1UserLoginGet(ctx context.Context) ApiV1UserLoginGetRequest
V1UserLoginGet Request to login
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1UserLoginGetRequest
func (*UserAPIService) V1UserLoginGetExecute ¶
func (a *UserAPIService) V1UserLoginGetExecute(r ApiV1UserLoginGetRequest) (*LoginResponse, *http.Response, error)
Execute executes the request
@return LoginResponse
func (*UserAPIService) V1UserLoginTokenPost ¶
func (a *UserAPIService) V1UserLoginTokenPost(ctx context.Context) ApiV1UserLoginTokenPostRequest
V1UserLoginTokenPost Validate login code and request a access token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1UserLoginTokenPostRequest
func (*UserAPIService) V1UserLoginTokenPostExecute ¶
func (a *UserAPIService) V1UserLoginTokenPostExecute(r ApiV1UserLoginTokenPostRequest) (*ClientToken, *http.Response, error)
Execute executes the request
@return ClientToken
func (*UserAPIService) V1UserLogoutPost ¶
func (a *UserAPIService) V1UserLogoutPost(ctx context.Context) ApiV1UserLogoutPostRequest
V1UserLogoutPost Logout from the system
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1UserLogoutPostRequest
func (*UserAPIService) V1UserLogoutPostExecute ¶
func (a *UserAPIService) V1UserLogoutPostExecute(r ApiV1UserLogoutPostRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*UserAPIService) V1UserPost ¶
func (a *UserAPIService) V1UserPost(ctx context.Context) ApiV1UserPostRequest
V1UserPost Register a new user
Register a new user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1UserPostRequest
func (*UserAPIService) V1UserPostExecute ¶
func (a *UserAPIService) V1UserPostExecute(r ApiV1UserPostRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UserAPIService) V1UserTokenRefreshPost ¶
func (a *UserAPIService) V1UserTokenRefreshPost(ctx context.Context) ApiV1UserTokenRefreshPostRequest
V1UserTokenRefreshPost Refresh token
Refresh token
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1UserTokenRefreshPostRequest
func (*UserAPIService) V1UserTokenRefreshPostExecute ¶
func (a *UserAPIService) V1UserTokenRefreshPostExecute(r ApiV1UserTokenRefreshPostRequest) (*ClientToken, *http.Response, error)
Execute executes the request
@return ClientToken
type UserList ¶
type UserList struct {
Data []User `json:"data"`
}
UserList struct for UserList
func NewUserList ¶
NewUserList instantiates a new UserList 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 NewUserListWithDefaults ¶
func NewUserListWithDefaults() *UserList
NewUserListWithDefaults instantiates a new UserList 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 (*UserList) GetDataOk ¶
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (UserList) MarshalJSON ¶
func (*UserList) UnmarshalJSON ¶
type UserRegister ¶
type UserRegister struct { AvatarUrl string `json:"avatar_url"` Email string `json:"email"` EmployeeId string `json:"employee_id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Password string `json:"password"` PhoneNumber string `json:"phone_number"` Roles []string `json:"roles"` Username string `json:"username"` }
UserRegister struct for UserRegister
func NewUserRegister ¶
func NewUserRegister(avatarUrl string, email string, employeeId string, firstName string, lastName string, password string, phoneNumber string, roles []string, username string) *UserRegister
NewUserRegister instantiates a new UserRegister 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 NewUserRegisterWithDefaults ¶
func NewUserRegisterWithDefaults() *UserRegister
NewUserRegisterWithDefaults instantiates a new UserRegister 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 (*UserRegister) GetAvatarUrl ¶
func (o *UserRegister) GetAvatarUrl() string
GetAvatarUrl returns the AvatarUrl field value
func (*UserRegister) GetAvatarUrlOk ¶
func (o *UserRegister) GetAvatarUrlOk() (*string, bool)
GetAvatarUrlOk returns a tuple with the AvatarUrl field value and a boolean to check if the value has been set.
func (*UserRegister) GetEmail ¶
func (o *UserRegister) GetEmail() string
GetEmail returns the Email field value
func (*UserRegister) GetEmailOk ¶
func (o *UserRegister) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*UserRegister) GetEmployeeId ¶
func (o *UserRegister) GetEmployeeId() string
GetEmployeeId returns the EmployeeId field value
func (*UserRegister) GetEmployeeIdOk ¶
func (o *UserRegister) GetEmployeeIdOk() (*string, bool)
GetEmployeeIdOk returns a tuple with the EmployeeId field value and a boolean to check if the value has been set.
func (*UserRegister) GetFirstName ¶
func (o *UserRegister) GetFirstName() string
GetFirstName returns the FirstName field value
func (*UserRegister) GetFirstNameOk ¶
func (o *UserRegister) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.
func (*UserRegister) GetLastName ¶
func (o *UserRegister) GetLastName() string
GetLastName returns the LastName field value
func (*UserRegister) GetLastNameOk ¶
func (o *UserRegister) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.
func (*UserRegister) GetPassword ¶
func (o *UserRegister) GetPassword() string
GetPassword returns the Password field value
func (*UserRegister) GetPasswordOk ¶
func (o *UserRegister) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*UserRegister) GetPhoneNumber ¶
func (o *UserRegister) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value
func (*UserRegister) GetPhoneNumberOk ¶
func (o *UserRegister) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value and a boolean to check if the value has been set.
func (*UserRegister) GetRoles ¶
func (o *UserRegister) GetRoles() []string
GetRoles returns the Roles field value
func (*UserRegister) GetRolesOk ¶
func (o *UserRegister) GetRolesOk() ([]string, bool)
GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.
func (*UserRegister) GetUsername ¶
func (o *UserRegister) GetUsername() string
GetUsername returns the Username field value
func (*UserRegister) GetUsernameOk ¶
func (o *UserRegister) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (UserRegister) MarshalJSON ¶
func (o UserRegister) MarshalJSON() ([]byte, error)
func (*UserRegister) SetAvatarUrl ¶
func (o *UserRegister) SetAvatarUrl(v string)
SetAvatarUrl sets field value
func (*UserRegister) SetEmployeeId ¶
func (o *UserRegister) SetEmployeeId(v string)
SetEmployeeId sets field value
func (*UserRegister) SetFirstName ¶
func (o *UserRegister) SetFirstName(v string)
SetFirstName sets field value
func (*UserRegister) SetLastName ¶
func (o *UserRegister) SetLastName(v string)
SetLastName sets field value
func (*UserRegister) SetPassword ¶
func (o *UserRegister) SetPassword(v string)
SetPassword sets field value
func (*UserRegister) SetPhoneNumber ¶
func (o *UserRegister) SetPhoneNumber(v string)
SetPhoneNumber sets field value
func (*UserRegister) SetRoles ¶
func (o *UserRegister) SetRoles(v []string)
SetRoles sets field value
func (*UserRegister) SetUsername ¶
func (o *UserRegister) SetUsername(v string)
SetUsername sets field value
func (UserRegister) ToMap ¶
func (o UserRegister) ToMap() (map[string]interface{}, error)
func (*UserRegister) UnmarshalJSON ¶
func (o *UserRegister) UnmarshalJSON(data []byte) (err error)
type UserRole ¶
type UserRole string
UserRole the model 'UserRole'
const ( UserRoleTbz UserRole = "tbz" UserRoleGreenEcolution UserRole = "green-ecolution" UserRoleSmarteGrenzregion UserRole = "smarte-grenzregion" UserRoleUnknown UserRole = "unknown" )
List of UserRole
func NewUserRoleFromValue ¶
NewUserRoleFromValue returns a pointer to a valid UserRole for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*UserRole) UnmarshalJSON ¶
type UserStatus ¶
type UserStatus string
UserStatus the model 'UserStatus'
const ( UserStatusAvailable UserStatus = "available" UserStatusAbsent UserStatus = "absent" UserStatusUnknown UserStatus = "unknown" )
List of UserStatus
func NewUserStatusFromValue ¶
func NewUserStatusFromValue(v string) (*UserStatus, error)
NewUserStatusFromValue returns a pointer to a valid UserStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UserStatus) IsValid ¶
func (v UserStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UserStatus) Ptr ¶
func (v UserStatus) Ptr() *UserStatus
Ptr returns reference to UserStatus value
func (*UserStatus) UnmarshalJSON ¶
func (v *UserStatus) UnmarshalJSON(src []byte) error
type Vehicle ¶
type Vehicle struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` ArchivedAt string `json:"archived_at"` CreatedAt string `json:"created_at"` Description string `json:"description"` DrivingLicense DrivingLicense `json:"driving_license"` Height float32 `json:"height"` Id int32 `json:"id"` Length float32 `json:"length"` Model string `json:"model"` NumberPlate string `json:"number_plate"` Provider string `json:"provider"` Status VehicleStatus `json:"status"` Type VehicleType `json:"type"` UpdatedAt string `json:"updated_at"` WaterCapacity float32 `json:"water_capacity"` Weight float32 `json:"weight"` Width float32 `json:"width"` }
Vehicle struct for Vehicle
func NewVehicle ¶
func NewVehicle(archivedAt string, createdAt string, description string, drivingLicense DrivingLicense, height float32, id int32, length float32, model string, numberPlate string, provider string, status VehicleStatus, type_ VehicleType, updatedAt string, waterCapacity float32, weight float32, width float32) *Vehicle
NewVehicle instantiates a new Vehicle 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 NewVehicleWithDefaults ¶
func NewVehicleWithDefaults() *Vehicle
NewVehicleWithDefaults instantiates a new Vehicle 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 (*Vehicle) GetAdditionalInformation ¶
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*Vehicle) GetAdditionalInformationOk ¶
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vehicle) GetArchivedAt ¶
GetArchivedAt returns the ArchivedAt field value
func (*Vehicle) GetArchivedAtOk ¶
GetArchivedAtOk returns a tuple with the ArchivedAt field value and a boolean to check if the value has been set.
func (*Vehicle) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Vehicle) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Vehicle) GetDescription ¶
GetDescription returns the Description field value
func (*Vehicle) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Vehicle) GetDrivingLicense ¶
func (o *Vehicle) GetDrivingLicense() DrivingLicense
GetDrivingLicense returns the DrivingLicense field value
func (*Vehicle) GetDrivingLicenseOk ¶
func (o *Vehicle) GetDrivingLicenseOk() (*DrivingLicense, bool)
GetDrivingLicenseOk returns a tuple with the DrivingLicense field value and a boolean to check if the value has been set.
func (*Vehicle) GetHeightOk ¶
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*Vehicle) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Vehicle) GetLengthOk ¶
GetLengthOk returns a tuple with the Length field value and a boolean to check if the value has been set.
func (*Vehicle) GetModelOk ¶
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*Vehicle) GetNumberPlate ¶
GetNumberPlate returns the NumberPlate field value
func (*Vehicle) GetNumberPlateOk ¶
GetNumberPlateOk returns a tuple with the NumberPlate field value and a boolean to check if the value has been set.
func (*Vehicle) GetProvider ¶
GetProvider returns the Provider field value
func (*Vehicle) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Vehicle) GetStatus ¶
func (o *Vehicle) GetStatus() VehicleStatus
GetStatus returns the Status field value
func (*Vehicle) GetStatusOk ¶
func (o *Vehicle) GetStatusOk() (*VehicleStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Vehicle) GetType ¶
func (o *Vehicle) GetType() VehicleType
GetType returns the Type field value
func (*Vehicle) GetTypeOk ¶
func (o *Vehicle) GetTypeOk() (*VehicleType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Vehicle) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Vehicle) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Vehicle) GetWaterCapacity ¶
GetWaterCapacity returns the WaterCapacity field value
func (*Vehicle) GetWaterCapacityOk ¶
GetWaterCapacityOk returns a tuple with the WaterCapacity field value and a boolean to check if the value has been set.
func (*Vehicle) GetWeightOk ¶
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (*Vehicle) GetWidthOk ¶
GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.
func (*Vehicle) HasAdditionalInformation ¶
HasAdditionalInformation returns a boolean if a field has been set.
func (Vehicle) MarshalJSON ¶
func (*Vehicle) SetAdditionalInformation ¶
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*Vehicle) SetArchivedAt ¶
SetArchivedAt sets field value
func (*Vehicle) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Vehicle) SetDescription ¶
SetDescription sets field value
func (*Vehicle) SetDrivingLicense ¶
func (o *Vehicle) SetDrivingLicense(v DrivingLicense)
SetDrivingLicense sets field value
func (*Vehicle) SetNumberPlate ¶
SetNumberPlate sets field value
func (*Vehicle) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Vehicle) SetWaterCapacity ¶
SetWaterCapacity sets field value
func (*Vehicle) UnmarshalJSON ¶
type VehicleAPIService ¶
type VehicleAPIService service
VehicleAPIService VehicleAPI service
func (*VehicleAPIService) ArchiveVehicle ¶
func (a *VehicleAPIService) ArchiveVehicle(ctx context.Context, id int32) ApiArchiveVehicleRequest
ArchiveVehicle Archive vehicle
Archive vehicle
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Vehicle ID @return ApiArchiveVehicleRequest
func (*VehicleAPIService) ArchiveVehicleExecute ¶
func (a *VehicleAPIService) ArchiveVehicleExecute(r ApiArchiveVehicleRequest) (*http.Response, error)
Execute executes the request
func (*VehicleAPIService) CreateVehicle ¶
func (a *VehicleAPIService) CreateVehicle(ctx context.Context) ApiCreateVehicleRequest
CreateVehicle Create vehicle
Create vehicle
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateVehicleRequest
func (*VehicleAPIService) CreateVehicleExecute ¶
func (a *VehicleAPIService) CreateVehicleExecute(r ApiCreateVehicleRequest) (*Vehicle, *http.Response, error)
Execute executes the request
@return Vehicle
func (*VehicleAPIService) DeleteVehicle ¶
func (a *VehicleAPIService) DeleteVehicle(ctx context.Context, id int32) ApiDeleteVehicleRequest
DeleteVehicle Delete vehicle
Delete vehicle
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Vehicle ID @return ApiDeleteVehicleRequest
func (*VehicleAPIService) DeleteVehicleExecute ¶
func (a *VehicleAPIService) DeleteVehicleExecute(r ApiDeleteVehicleRequest) (*http.Response, error)
Execute executes the request
func (*VehicleAPIService) GetAllVehicles ¶
func (a *VehicleAPIService) GetAllVehicles(ctx context.Context) ApiGetAllVehiclesRequest
GetAllVehicles Get all vehicles
Get all vehicles
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllVehiclesRequest
func (*VehicleAPIService) GetAllVehiclesExecute ¶
func (a *VehicleAPIService) GetAllVehiclesExecute(r ApiGetAllVehiclesRequest) (*VehicleList, *http.Response, error)
Execute executes the request
@return VehicleList
func (*VehicleAPIService) GetArchiveVehicle ¶
func (a *VehicleAPIService) GetArchiveVehicle(ctx context.Context) ApiGetArchiveVehicleRequest
GetArchiveVehicle Get archived vehicle
Get archived vehicle
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetArchiveVehicleRequest
func (*VehicleAPIService) GetArchiveVehicleExecute ¶
func (a *VehicleAPIService) GetArchiveVehicleExecute(r ApiGetArchiveVehicleRequest) ([]Vehicle, *http.Response, error)
Execute executes the request
@return []Vehicle
func (*VehicleAPIService) GetVehicleById ¶
func (a *VehicleAPIService) GetVehicleById(ctx context.Context, id int32) ApiGetVehicleByIdRequest
GetVehicleById Get vehicle by ID
Get vehicle by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Vehicle ID @return ApiGetVehicleByIdRequest
func (*VehicleAPIService) GetVehicleByIdExecute ¶
func (a *VehicleAPIService) GetVehicleByIdExecute(r ApiGetVehicleByIdRequest) (*Vehicle, *http.Response, error)
Execute executes the request
@return Vehicle
func (*VehicleAPIService) GetVehicleByPlate ¶
func (a *VehicleAPIService) GetVehicleByPlate(ctx context.Context, plate string) ApiGetVehicleByPlateRequest
GetVehicleByPlate Get vehicle by plate
Get vehicle by plate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param plate Vehicle plate number @return ApiGetVehicleByPlateRequest
func (*VehicleAPIService) GetVehicleByPlateExecute ¶
func (a *VehicleAPIService) GetVehicleByPlateExecute(r ApiGetVehicleByPlateRequest) (*Vehicle, *http.Response, error)
Execute executes the request
@return Vehicle
func (*VehicleAPIService) UpdateVehicle ¶
func (a *VehicleAPIService) UpdateVehicle(ctx context.Context, id string) ApiUpdateVehicleRequest
UpdateVehicle Update vehicle
Update vehicle
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Vehicle ID @return ApiUpdateVehicleRequest
func (*VehicleAPIService) UpdateVehicleExecute ¶
func (a *VehicleAPIService) UpdateVehicleExecute(r ApiUpdateVehicleRequest) (*Vehicle, *http.Response, error)
Execute executes the request
@return Vehicle
type VehicleCreate ¶
type VehicleCreate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Description string `json:"description"` DrivingLicense DrivingLicense `json:"driving_license"` Height float32 `json:"height"` Length float32 `json:"length"` Model string `json:"model"` NumberPlate string `json:"number_plate"` Provider *string `json:"provider,omitempty"` Status VehicleStatus `json:"status"` Type VehicleType `json:"type"` WaterCapacity float32 `json:"water_capacity"` Weight float32 `json:"weight"` Width float32 `json:"width"` }
VehicleCreate struct for VehicleCreate
func NewVehicleCreate ¶
func NewVehicleCreate(description string, drivingLicense DrivingLicense, height float32, length float32, model string, numberPlate string, status VehicleStatus, type_ VehicleType, waterCapacity float32, weight float32, width float32) *VehicleCreate
NewVehicleCreate instantiates a new VehicleCreate 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 NewVehicleCreateWithDefaults ¶
func NewVehicleCreateWithDefaults() *VehicleCreate
NewVehicleCreateWithDefaults instantiates a new VehicleCreate 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 (*VehicleCreate) GetAdditionalInformation ¶
func (o *VehicleCreate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*VehicleCreate) GetAdditionalInformationOk ¶
func (o *VehicleCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VehicleCreate) GetDescription ¶
func (o *VehicleCreate) GetDescription() string
GetDescription returns the Description field value
func (*VehicleCreate) GetDescriptionOk ¶
func (o *VehicleCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetDrivingLicense ¶
func (o *VehicleCreate) GetDrivingLicense() DrivingLicense
GetDrivingLicense returns the DrivingLicense field value
func (*VehicleCreate) GetDrivingLicenseOk ¶
func (o *VehicleCreate) GetDrivingLicenseOk() (*DrivingLicense, bool)
GetDrivingLicenseOk returns a tuple with the DrivingLicense field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetHeight ¶
func (o *VehicleCreate) GetHeight() float32
GetHeight returns the Height field value
func (*VehicleCreate) GetHeightOk ¶
func (o *VehicleCreate) GetHeightOk() (*float32, bool)
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetLength ¶
func (o *VehicleCreate) GetLength() float32
GetLength returns the Length field value
func (*VehicleCreate) GetLengthOk ¶
func (o *VehicleCreate) GetLengthOk() (*float32, bool)
GetLengthOk returns a tuple with the Length field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetModel ¶
func (o *VehicleCreate) GetModel() string
GetModel returns the Model field value
func (*VehicleCreate) GetModelOk ¶
func (o *VehicleCreate) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetNumberPlate ¶
func (o *VehicleCreate) GetNumberPlate() string
GetNumberPlate returns the NumberPlate field value
func (*VehicleCreate) GetNumberPlateOk ¶
func (o *VehicleCreate) GetNumberPlateOk() (*string, bool)
GetNumberPlateOk returns a tuple with the NumberPlate field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetProvider ¶
func (o *VehicleCreate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*VehicleCreate) GetProviderOk ¶
func (o *VehicleCreate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VehicleCreate) GetStatus ¶
func (o *VehicleCreate) GetStatus() VehicleStatus
GetStatus returns the Status field value
func (*VehicleCreate) GetStatusOk ¶
func (o *VehicleCreate) GetStatusOk() (*VehicleStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetType ¶
func (o *VehicleCreate) GetType() VehicleType
GetType returns the Type field value
func (*VehicleCreate) GetTypeOk ¶
func (o *VehicleCreate) GetTypeOk() (*VehicleType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetWaterCapacity ¶
func (o *VehicleCreate) GetWaterCapacity() float32
GetWaterCapacity returns the WaterCapacity field value
func (*VehicleCreate) GetWaterCapacityOk ¶
func (o *VehicleCreate) GetWaterCapacityOk() (*float32, bool)
GetWaterCapacityOk returns a tuple with the WaterCapacity field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetWeight ¶
func (o *VehicleCreate) GetWeight() float32
GetWeight returns the Weight field value
func (*VehicleCreate) GetWeightOk ¶
func (o *VehicleCreate) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (*VehicleCreate) GetWidth ¶
func (o *VehicleCreate) GetWidth() float32
GetWidth returns the Width field value
func (*VehicleCreate) GetWidthOk ¶
func (o *VehicleCreate) GetWidthOk() (*float32, bool)
GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.
func (*VehicleCreate) HasAdditionalInformation ¶
func (o *VehicleCreate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*VehicleCreate) HasProvider ¶
func (o *VehicleCreate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (VehicleCreate) MarshalJSON ¶
func (o VehicleCreate) MarshalJSON() ([]byte, error)
func (*VehicleCreate) SetAdditionalInformation ¶
func (o *VehicleCreate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*VehicleCreate) SetDescription ¶
func (o *VehicleCreate) SetDescription(v string)
SetDescription sets field value
func (*VehicleCreate) SetDrivingLicense ¶
func (o *VehicleCreate) SetDrivingLicense(v DrivingLicense)
SetDrivingLicense sets field value
func (*VehicleCreate) SetHeight ¶
func (o *VehicleCreate) SetHeight(v float32)
SetHeight sets field value
func (*VehicleCreate) SetLength ¶
func (o *VehicleCreate) SetLength(v float32)
SetLength sets field value
func (*VehicleCreate) SetModel ¶
func (o *VehicleCreate) SetModel(v string)
SetModel sets field value
func (*VehicleCreate) SetNumberPlate ¶
func (o *VehicleCreate) SetNumberPlate(v string)
SetNumberPlate sets field value
func (*VehicleCreate) SetProvider ¶
func (o *VehicleCreate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*VehicleCreate) SetStatus ¶
func (o *VehicleCreate) SetStatus(v VehicleStatus)
SetStatus sets field value
func (*VehicleCreate) SetType ¶
func (o *VehicleCreate) SetType(v VehicleType)
SetType sets field value
func (*VehicleCreate) SetWaterCapacity ¶
func (o *VehicleCreate) SetWaterCapacity(v float32)
SetWaterCapacity sets field value
func (*VehicleCreate) SetWeight ¶
func (o *VehicleCreate) SetWeight(v float32)
SetWeight sets field value
func (*VehicleCreate) SetWidth ¶
func (o *VehicleCreate) SetWidth(v float32)
SetWidth sets field value
func (VehicleCreate) ToMap ¶
func (o VehicleCreate) ToMap() (map[string]interface{}, error)
func (*VehicleCreate) UnmarshalJSON ¶
func (o *VehicleCreate) UnmarshalJSON(data []byte) (err error)
type VehicleList ¶
type VehicleList struct { Data []Vehicle `json:"data"` Pagination *Pagination `json:"pagination,omitempty"` }
VehicleList struct for VehicleList
func NewVehicleList ¶
func NewVehicleList(data []Vehicle) *VehicleList
NewVehicleList instantiates a new VehicleList 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 NewVehicleListWithDefaults ¶
func NewVehicleListWithDefaults() *VehicleList
NewVehicleListWithDefaults instantiates a new VehicleList 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 (*VehicleList) GetData ¶
func (o *VehicleList) GetData() []Vehicle
GetData returns the Data field value
func (*VehicleList) GetDataOk ¶
func (o *VehicleList) GetDataOk() ([]Vehicle, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*VehicleList) GetPagination ¶
func (o *VehicleList) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*VehicleList) GetPaginationOk ¶
func (o *VehicleList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VehicleList) HasPagination ¶
func (o *VehicleList) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (VehicleList) MarshalJSON ¶
func (o VehicleList) MarshalJSON() ([]byte, error)
func (*VehicleList) SetPagination ¶
func (o *VehicleList) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (VehicleList) ToMap ¶
func (o VehicleList) ToMap() (map[string]interface{}, error)
func (*VehicleList) UnmarshalJSON ¶
func (o *VehicleList) UnmarshalJSON(data []byte) (err error)
type VehicleStatus ¶
type VehicleStatus string
VehicleStatus the model 'VehicleStatus'
const ( VehicleStatusActive VehicleStatus = "active" VehicleStatusAvailable VehicleStatus = "available" VehicleStatusNotAvailable VehicleStatus = "not available" VehicleStatusUnknown VehicleStatus = "unknown" )
List of VehicleStatus
func NewVehicleStatusFromValue ¶
func NewVehicleStatusFromValue(v string) (*VehicleStatus, error)
NewVehicleStatusFromValue returns a pointer to a valid VehicleStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (VehicleStatus) IsValid ¶
func (v VehicleStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (VehicleStatus) Ptr ¶
func (v VehicleStatus) Ptr() *VehicleStatus
Ptr returns reference to VehicleStatus value
func (*VehicleStatus) UnmarshalJSON ¶
func (v *VehicleStatus) UnmarshalJSON(src []byte) error
type VehicleType ¶
type VehicleType string
VehicleType the model 'VehicleType'
const ( VehicleTypeTransporter VehicleType = "transporter" VehicleTypeTrailer VehicleType = "trailer" VehicleTypeUnknown VehicleType = "unknown" )
List of VehicleType
func NewVehicleTypeFromValue ¶
func NewVehicleTypeFromValue(v string) (*VehicleType, error)
NewVehicleTypeFromValue returns a pointer to a valid VehicleType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (VehicleType) IsValid ¶
func (v VehicleType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (VehicleType) Ptr ¶
func (v VehicleType) Ptr() *VehicleType
Ptr returns reference to VehicleType value
func (*VehicleType) UnmarshalJSON ¶
func (v *VehicleType) UnmarshalJSON(src []byte) error
type VehicleUpdate ¶
type VehicleUpdate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Description string `json:"description"` DrivingLicense DrivingLicense `json:"driving_license"` Height float32 `json:"height"` Length float32 `json:"length"` Model string `json:"model"` NumberPlate string `json:"number_plate"` Provider *string `json:"provider,omitempty"` Status VehicleStatus `json:"status"` Type VehicleType `json:"type"` WaterCapacity float32 `json:"water_capacity"` Weight float32 `json:"weight"` Width float32 `json:"width"` }
VehicleUpdate struct for VehicleUpdate
func NewVehicleUpdate ¶
func NewVehicleUpdate(description string, drivingLicense DrivingLicense, height float32, length float32, model string, numberPlate string, status VehicleStatus, type_ VehicleType, waterCapacity float32, weight float32, width float32) *VehicleUpdate
NewVehicleUpdate instantiates a new VehicleUpdate 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 NewVehicleUpdateWithDefaults ¶
func NewVehicleUpdateWithDefaults() *VehicleUpdate
NewVehicleUpdateWithDefaults instantiates a new VehicleUpdate 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 (*VehicleUpdate) GetAdditionalInformation ¶
func (o *VehicleUpdate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*VehicleUpdate) GetAdditionalInformationOk ¶
func (o *VehicleUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VehicleUpdate) GetDescription ¶
func (o *VehicleUpdate) GetDescription() string
GetDescription returns the Description field value
func (*VehicleUpdate) GetDescriptionOk ¶
func (o *VehicleUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetDrivingLicense ¶
func (o *VehicleUpdate) GetDrivingLicense() DrivingLicense
GetDrivingLicense returns the DrivingLicense field value
func (*VehicleUpdate) GetDrivingLicenseOk ¶
func (o *VehicleUpdate) GetDrivingLicenseOk() (*DrivingLicense, bool)
GetDrivingLicenseOk returns a tuple with the DrivingLicense field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetHeight ¶
func (o *VehicleUpdate) GetHeight() float32
GetHeight returns the Height field value
func (*VehicleUpdate) GetHeightOk ¶
func (o *VehicleUpdate) GetHeightOk() (*float32, bool)
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetLength ¶
func (o *VehicleUpdate) GetLength() float32
GetLength returns the Length field value
func (*VehicleUpdate) GetLengthOk ¶
func (o *VehicleUpdate) GetLengthOk() (*float32, bool)
GetLengthOk returns a tuple with the Length field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetModel ¶
func (o *VehicleUpdate) GetModel() string
GetModel returns the Model field value
func (*VehicleUpdate) GetModelOk ¶
func (o *VehicleUpdate) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetNumberPlate ¶
func (o *VehicleUpdate) GetNumberPlate() string
GetNumberPlate returns the NumberPlate field value
func (*VehicleUpdate) GetNumberPlateOk ¶
func (o *VehicleUpdate) GetNumberPlateOk() (*string, bool)
GetNumberPlateOk returns a tuple with the NumberPlate field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetProvider ¶
func (o *VehicleUpdate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*VehicleUpdate) GetProviderOk ¶
func (o *VehicleUpdate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VehicleUpdate) GetStatus ¶
func (o *VehicleUpdate) GetStatus() VehicleStatus
GetStatus returns the Status field value
func (*VehicleUpdate) GetStatusOk ¶
func (o *VehicleUpdate) GetStatusOk() (*VehicleStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetType ¶
func (o *VehicleUpdate) GetType() VehicleType
GetType returns the Type field value
func (*VehicleUpdate) GetTypeOk ¶
func (o *VehicleUpdate) GetTypeOk() (*VehicleType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetWaterCapacity ¶
func (o *VehicleUpdate) GetWaterCapacity() float32
GetWaterCapacity returns the WaterCapacity field value
func (*VehicleUpdate) GetWaterCapacityOk ¶
func (o *VehicleUpdate) GetWaterCapacityOk() (*float32, bool)
GetWaterCapacityOk returns a tuple with the WaterCapacity field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetWeight ¶
func (o *VehicleUpdate) GetWeight() float32
GetWeight returns the Weight field value
func (*VehicleUpdate) GetWeightOk ¶
func (o *VehicleUpdate) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (*VehicleUpdate) GetWidth ¶
func (o *VehicleUpdate) GetWidth() float32
GetWidth returns the Width field value
func (*VehicleUpdate) GetWidthOk ¶
func (o *VehicleUpdate) GetWidthOk() (*float32, bool)
GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.
func (*VehicleUpdate) HasAdditionalInformation ¶
func (o *VehicleUpdate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*VehicleUpdate) HasProvider ¶
func (o *VehicleUpdate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (VehicleUpdate) MarshalJSON ¶
func (o VehicleUpdate) MarshalJSON() ([]byte, error)
func (*VehicleUpdate) SetAdditionalInformation ¶
func (o *VehicleUpdate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*VehicleUpdate) SetDescription ¶
func (o *VehicleUpdate) SetDescription(v string)
SetDescription sets field value
func (*VehicleUpdate) SetDrivingLicense ¶
func (o *VehicleUpdate) SetDrivingLicense(v DrivingLicense)
SetDrivingLicense sets field value
func (*VehicleUpdate) SetHeight ¶
func (o *VehicleUpdate) SetHeight(v float32)
SetHeight sets field value
func (*VehicleUpdate) SetLength ¶
func (o *VehicleUpdate) SetLength(v float32)
SetLength sets field value
func (*VehicleUpdate) SetModel ¶
func (o *VehicleUpdate) SetModel(v string)
SetModel sets field value
func (*VehicleUpdate) SetNumberPlate ¶
func (o *VehicleUpdate) SetNumberPlate(v string)
SetNumberPlate sets field value
func (*VehicleUpdate) SetProvider ¶
func (o *VehicleUpdate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*VehicleUpdate) SetStatus ¶
func (o *VehicleUpdate) SetStatus(v VehicleStatus)
SetStatus sets field value
func (*VehicleUpdate) SetType ¶
func (o *VehicleUpdate) SetType(v VehicleType)
SetType sets field value
func (*VehicleUpdate) SetWaterCapacity ¶
func (o *VehicleUpdate) SetWaterCapacity(v float32)
SetWaterCapacity sets field value
func (*VehicleUpdate) SetWeight ¶
func (o *VehicleUpdate) SetWeight(v float32)
SetWeight sets field value
func (*VehicleUpdate) SetWidth ¶
func (o *VehicleUpdate) SetWidth(v float32)
SetWidth sets field value
func (VehicleUpdate) ToMap ¶
func (o VehicleUpdate) ToMap() (map[string]interface{}, error)
func (*VehicleUpdate) UnmarshalJSON ¶
func (o *VehicleUpdate) UnmarshalJSON(data []byte) (err error)
type WateringPlan ¶
type WateringPlan struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` CancellationNote string `json:"cancellation_note"` CreatedAt string `json:"created_at"` Date string `json:"date"` Description string `json:"description"` Distance float32 `json:"distance"` Duration float32 `json:"duration"` Evaluation []EvaluationValue `json:"evaluation"` GpxUrl string `json:"gpx_url"` Id int32 `json:"id"` Provider string `json:"provider"` RefillCount int32 `json:"refill_count"` Status WateringPlanStatus `json:"status"` TotalWaterRequired float32 `json:"total_water_required"` Trailer *Vehicle `json:"trailer,omitempty"` Transporter Vehicle `json:"transporter"` Treeclusters []TreeClusterInList `json:"treeclusters"` UpdatedAt string `json:"updated_at"` UserIds []string `json:"user_ids"` }
WateringPlan struct for WateringPlan
func NewWateringPlan ¶
func NewWateringPlan(cancellationNote string, createdAt string, date string, description string, distance float32, duration float32, evaluation []EvaluationValue, gpxUrl string, id int32, provider string, refillCount int32, status WateringPlanStatus, totalWaterRequired float32, transporter Vehicle, treeclusters []TreeClusterInList, updatedAt string, userIds []string) *WateringPlan
NewWateringPlan instantiates a new WateringPlan 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 NewWateringPlanWithDefaults ¶
func NewWateringPlanWithDefaults() *WateringPlan
NewWateringPlanWithDefaults instantiates a new WateringPlan 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 (*WateringPlan) GetAdditionalInformation ¶
func (o *WateringPlan) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*WateringPlan) GetAdditionalInformationOk ¶
func (o *WateringPlan) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlan) GetCancellationNote ¶
func (o *WateringPlan) GetCancellationNote() string
GetCancellationNote returns the CancellationNote field value
func (*WateringPlan) GetCancellationNoteOk ¶
func (o *WateringPlan) GetCancellationNoteOk() (*string, bool)
GetCancellationNoteOk returns a tuple with the CancellationNote field value and a boolean to check if the value has been set.
func (*WateringPlan) GetCreatedAt ¶
func (o *WateringPlan) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*WateringPlan) GetCreatedAtOk ¶
func (o *WateringPlan) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*WateringPlan) GetDate ¶
func (o *WateringPlan) GetDate() string
GetDate returns the Date field value
func (*WateringPlan) GetDateOk ¶
func (o *WateringPlan) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*WateringPlan) GetDescription ¶
func (o *WateringPlan) GetDescription() string
GetDescription returns the Description field value
func (*WateringPlan) GetDescriptionOk ¶
func (o *WateringPlan) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*WateringPlan) GetDistance ¶
func (o *WateringPlan) GetDistance() float32
GetDistance returns the Distance field value
func (*WateringPlan) GetDistanceOk ¶
func (o *WateringPlan) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value and a boolean to check if the value has been set.
func (*WateringPlan) GetDuration ¶
func (o *WateringPlan) GetDuration() float32
GetDuration returns the Duration field value
func (*WateringPlan) GetDurationOk ¶
func (o *WateringPlan) GetDurationOk() (*float32, bool)
GetDurationOk returns a tuple with the Duration field value and a boolean to check if the value has been set.
func (*WateringPlan) GetEvaluation ¶
func (o *WateringPlan) GetEvaluation() []EvaluationValue
GetEvaluation returns the Evaluation field value
func (*WateringPlan) GetEvaluationOk ¶
func (o *WateringPlan) GetEvaluationOk() ([]EvaluationValue, bool)
GetEvaluationOk returns a tuple with the Evaluation field value and a boolean to check if the value has been set.
func (*WateringPlan) GetGpxUrl ¶
func (o *WateringPlan) GetGpxUrl() string
GetGpxUrl returns the GpxUrl field value
func (*WateringPlan) GetGpxUrlOk ¶
func (o *WateringPlan) GetGpxUrlOk() (*string, bool)
GetGpxUrlOk returns a tuple with the GpxUrl field value and a boolean to check if the value has been set.
func (*WateringPlan) GetIdOk ¶
func (o *WateringPlan) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WateringPlan) GetProvider ¶
func (o *WateringPlan) GetProvider() string
GetProvider returns the Provider field value
func (*WateringPlan) GetProviderOk ¶
func (o *WateringPlan) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*WateringPlan) GetRefillCount ¶
func (o *WateringPlan) GetRefillCount() int32
GetRefillCount returns the RefillCount field value
func (*WateringPlan) GetRefillCountOk ¶
func (o *WateringPlan) GetRefillCountOk() (*int32, bool)
GetRefillCountOk returns a tuple with the RefillCount field value and a boolean to check if the value has been set.
func (*WateringPlan) GetStatus ¶
func (o *WateringPlan) GetStatus() WateringPlanStatus
GetStatus returns the Status field value
func (*WateringPlan) GetStatusOk ¶
func (o *WateringPlan) GetStatusOk() (*WateringPlanStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*WateringPlan) GetTotalWaterRequired ¶
func (o *WateringPlan) GetTotalWaterRequired() float32
GetTotalWaterRequired returns the TotalWaterRequired field value
func (*WateringPlan) GetTotalWaterRequiredOk ¶
func (o *WateringPlan) GetTotalWaterRequiredOk() (*float32, bool)
GetTotalWaterRequiredOk returns a tuple with the TotalWaterRequired field value and a boolean to check if the value has been set.
func (*WateringPlan) GetTrailer ¶
func (o *WateringPlan) GetTrailer() Vehicle
GetTrailer returns the Trailer field value if set, zero value otherwise.
func (*WateringPlan) GetTrailerOk ¶
func (o *WateringPlan) GetTrailerOk() (*Vehicle, bool)
GetTrailerOk returns a tuple with the Trailer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlan) GetTransporter ¶
func (o *WateringPlan) GetTransporter() Vehicle
GetTransporter returns the Transporter field value
func (*WateringPlan) GetTransporterOk ¶
func (o *WateringPlan) GetTransporterOk() (*Vehicle, bool)
GetTransporterOk returns a tuple with the Transporter field value and a boolean to check if the value has been set.
func (*WateringPlan) GetTreeclusters ¶
func (o *WateringPlan) GetTreeclusters() []TreeClusterInList
GetTreeclusters returns the Treeclusters field value
func (*WateringPlan) GetTreeclustersOk ¶
func (o *WateringPlan) GetTreeclustersOk() ([]TreeClusterInList, bool)
GetTreeclustersOk returns a tuple with the Treeclusters field value and a boolean to check if the value has been set.
func (*WateringPlan) GetUpdatedAt ¶
func (o *WateringPlan) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*WateringPlan) GetUpdatedAtOk ¶
func (o *WateringPlan) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*WateringPlan) GetUserIds ¶
func (o *WateringPlan) GetUserIds() []string
GetUserIds returns the UserIds field value
func (*WateringPlan) GetUserIdsOk ¶
func (o *WateringPlan) GetUserIdsOk() ([]string, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (*WateringPlan) HasAdditionalInformation ¶
func (o *WateringPlan) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*WateringPlan) HasTrailer ¶
func (o *WateringPlan) HasTrailer() bool
HasTrailer returns a boolean if a field has been set.
func (WateringPlan) MarshalJSON ¶
func (o WateringPlan) MarshalJSON() ([]byte, error)
func (*WateringPlan) SetAdditionalInformation ¶
func (o *WateringPlan) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*WateringPlan) SetCancellationNote ¶
func (o *WateringPlan) SetCancellationNote(v string)
SetCancellationNote sets field value
func (*WateringPlan) SetCreatedAt ¶
func (o *WateringPlan) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*WateringPlan) SetDescription ¶
func (o *WateringPlan) SetDescription(v string)
SetDescription sets field value
func (*WateringPlan) SetDistance ¶
func (o *WateringPlan) SetDistance(v float32)
SetDistance sets field value
func (*WateringPlan) SetDuration ¶
func (o *WateringPlan) SetDuration(v float32)
SetDuration sets field value
func (*WateringPlan) SetEvaluation ¶
func (o *WateringPlan) SetEvaluation(v []EvaluationValue)
SetEvaluation sets field value
func (*WateringPlan) SetGpxUrl ¶
func (o *WateringPlan) SetGpxUrl(v string)
SetGpxUrl sets field value
func (*WateringPlan) SetProvider ¶
func (o *WateringPlan) SetProvider(v string)
SetProvider sets field value
func (*WateringPlan) SetRefillCount ¶
func (o *WateringPlan) SetRefillCount(v int32)
SetRefillCount sets field value
func (*WateringPlan) SetStatus ¶
func (o *WateringPlan) SetStatus(v WateringPlanStatus)
SetStatus sets field value
func (*WateringPlan) SetTotalWaterRequired ¶
func (o *WateringPlan) SetTotalWaterRequired(v float32)
SetTotalWaterRequired sets field value
func (*WateringPlan) SetTrailer ¶
func (o *WateringPlan) SetTrailer(v Vehicle)
SetTrailer gets a reference to the given Vehicle and assigns it to the Trailer field.
func (*WateringPlan) SetTransporter ¶
func (o *WateringPlan) SetTransporter(v Vehicle)
SetTransporter sets field value
func (*WateringPlan) SetTreeclusters ¶
func (o *WateringPlan) SetTreeclusters(v []TreeClusterInList)
SetTreeclusters sets field value
func (*WateringPlan) SetUpdatedAt ¶
func (o *WateringPlan) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (*WateringPlan) SetUserIds ¶
func (o *WateringPlan) SetUserIds(v []string)
SetUserIds sets field value
func (WateringPlan) ToMap ¶
func (o WateringPlan) ToMap() (map[string]interface{}, error)
func (*WateringPlan) UnmarshalJSON ¶
func (o *WateringPlan) UnmarshalJSON(data []byte) (err error)
type WateringPlanAPIService ¶
type WateringPlanAPIService service
WateringPlanAPIService WateringPlanAPI service
func (*WateringPlanAPIService) CreateWateringPlan ¶
func (a *WateringPlanAPIService) CreateWateringPlan(ctx context.Context) ApiCreateWateringPlanRequest
CreateWateringPlan Create watering plan
Create watering plan
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWateringPlanRequest
func (*WateringPlanAPIService) CreateWateringPlanExecute ¶
func (a *WateringPlanAPIService) CreateWateringPlanExecute(r ApiCreateWateringPlanRequest) (*WateringPlan, *http.Response, error)
Execute executes the request
@return WateringPlan
func (*WateringPlanAPIService) DeleteWateringPlan ¶
func (a *WateringPlanAPIService) DeleteWateringPlan(ctx context.Context, id int32) ApiDeleteWateringPlanRequest
DeleteWateringPlan Delete watering plan
Delete watering plan
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Watering Plan ID @return ApiDeleteWateringPlanRequest
func (*WateringPlanAPIService) DeleteWateringPlanExecute ¶
func (a *WateringPlanAPIService) DeleteWateringPlanExecute(r ApiDeleteWateringPlanRequest) (*http.Response, error)
Execute executes the request
func (*WateringPlanAPIService) GetAllWateringPlans ¶
func (a *WateringPlanAPIService) GetAllWateringPlans(ctx context.Context) ApiGetAllWateringPlansRequest
GetAllWateringPlans Get all watering plans
Get all watering plans
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAllWateringPlansRequest
func (*WateringPlanAPIService) GetAllWateringPlansExecute ¶
func (a *WateringPlanAPIService) GetAllWateringPlansExecute(r ApiGetAllWateringPlansRequest) (*WateringPlanList, *http.Response, error)
Execute executes the request
@return WateringPlanList
func (*WateringPlanAPIService) GetWateringPlanById ¶
func (a *WateringPlanAPIService) GetWateringPlanById(ctx context.Context, id int32) ApiGetWateringPlanByIdRequest
GetWateringPlanById Get watering plan by ID
Get watering plan by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Watering Plan ID @return ApiGetWateringPlanByIdRequest
func (*WateringPlanAPIService) GetWateringPlanByIdExecute ¶
func (a *WateringPlanAPIService) GetWateringPlanByIdExecute(r ApiGetWateringPlanByIdRequest) (*WateringPlan, *http.Response, error)
Execute executes the request
@return WateringPlan
func (*WateringPlanAPIService) UpdateWateringPlan ¶
func (a *WateringPlanAPIService) UpdateWateringPlan(ctx context.Context, id string) ApiUpdateWateringPlanRequest
UpdateWateringPlan Update watering plan
Update watering plan
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Watering Plan ID @return ApiUpdateWateringPlanRequest
func (*WateringPlanAPIService) UpdateWateringPlanExecute ¶
func (a *WateringPlanAPIService) UpdateWateringPlanExecute(r ApiUpdateWateringPlanRequest) (*WateringPlan, *http.Response, error)
Execute executes the request
@return WateringPlan
func (*WateringPlanAPIService) V1WateringPlanRouteGpxGpxNameGet ¶
func (a *WateringPlanAPIService) V1WateringPlanRouteGpxGpxNameGet(ctx context.Context, gpxName string) ApiV1WateringPlanRouteGpxGpxNameGetRequest
V1WateringPlanRouteGpxGpxNameGet Generate route
Generate route
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param gpxName gpx file name @return ApiV1WateringPlanRouteGpxGpxNameGetRequest
func (*WateringPlanAPIService) V1WateringPlanRouteGpxGpxNameGetExecute ¶
func (a *WateringPlanAPIService) V1WateringPlanRouteGpxGpxNameGetExecute(r ApiV1WateringPlanRouteGpxGpxNameGetRequest) (*os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*WateringPlanAPIService) V1WateringPlanRoutePreviewPost ¶
func (a *WateringPlanAPIService) V1WateringPlanRoutePreviewPost(ctx context.Context) ApiV1WateringPlanRoutePreviewPostRequest
V1WateringPlanRoutePreviewPost Generate preview route
Generate preview route
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1WateringPlanRoutePreviewPostRequest
func (*WateringPlanAPIService) V1WateringPlanRoutePreviewPostExecute ¶
func (a *WateringPlanAPIService) V1WateringPlanRoutePreviewPostExecute(r ApiV1WateringPlanRoutePreviewPostRequest) (*GeoJson, *http.Response, error)
Execute executes the request
@return GeoJson
type WateringPlanCreate ¶
type WateringPlanCreate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` Date string `json:"date"` Description string `json:"description"` Provider *string `json:"provider,omitempty"` TrailerId *int32 `json:"trailer_id,omitempty"` TransporterId int32 `json:"transporter_id"` TreeClusterIds []int32 `json:"tree_cluster_ids"` UserIds []string `json:"user_ids"` }
WateringPlanCreate struct for WateringPlanCreate
func NewWateringPlanCreate ¶
func NewWateringPlanCreate(date string, description string, transporterId int32, treeClusterIds []int32, userIds []string) *WateringPlanCreate
NewWateringPlanCreate instantiates a new WateringPlanCreate 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 NewWateringPlanCreateWithDefaults ¶
func NewWateringPlanCreateWithDefaults() *WateringPlanCreate
NewWateringPlanCreateWithDefaults instantiates a new WateringPlanCreate 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 (*WateringPlanCreate) GetAdditionalInformation ¶
func (o *WateringPlanCreate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*WateringPlanCreate) GetAdditionalInformationOk ¶
func (o *WateringPlanCreate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetDate ¶
func (o *WateringPlanCreate) GetDate() string
GetDate returns the Date field value
func (*WateringPlanCreate) GetDateOk ¶
func (o *WateringPlanCreate) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetDescription ¶
func (o *WateringPlanCreate) GetDescription() string
GetDescription returns the Description field value
func (*WateringPlanCreate) GetDescriptionOk ¶
func (o *WateringPlanCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetProvider ¶
func (o *WateringPlanCreate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*WateringPlanCreate) GetProviderOk ¶
func (o *WateringPlanCreate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetTrailerId ¶
func (o *WateringPlanCreate) GetTrailerId() int32
GetTrailerId returns the TrailerId field value if set, zero value otherwise.
func (*WateringPlanCreate) GetTrailerIdOk ¶
func (o *WateringPlanCreate) GetTrailerIdOk() (*int32, bool)
GetTrailerIdOk returns a tuple with the TrailerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetTransporterId ¶
func (o *WateringPlanCreate) GetTransporterId() int32
GetTransporterId returns the TransporterId field value
func (*WateringPlanCreate) GetTransporterIdOk ¶
func (o *WateringPlanCreate) GetTransporterIdOk() (*int32, bool)
GetTransporterIdOk returns a tuple with the TransporterId field value and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetTreeClusterIds ¶
func (o *WateringPlanCreate) GetTreeClusterIds() []int32
GetTreeClusterIds returns the TreeClusterIds field value
func (*WateringPlanCreate) GetTreeClusterIdsOk ¶
func (o *WateringPlanCreate) GetTreeClusterIdsOk() ([]int32, bool)
GetTreeClusterIdsOk returns a tuple with the TreeClusterIds field value and a boolean to check if the value has been set.
func (*WateringPlanCreate) GetUserIds ¶
func (o *WateringPlanCreate) GetUserIds() []string
GetUserIds returns the UserIds field value
func (*WateringPlanCreate) GetUserIdsOk ¶
func (o *WateringPlanCreate) GetUserIdsOk() ([]string, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (*WateringPlanCreate) HasAdditionalInformation ¶
func (o *WateringPlanCreate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*WateringPlanCreate) HasProvider ¶
func (o *WateringPlanCreate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*WateringPlanCreate) HasTrailerId ¶
func (o *WateringPlanCreate) HasTrailerId() bool
HasTrailerId returns a boolean if a field has been set.
func (WateringPlanCreate) MarshalJSON ¶
func (o WateringPlanCreate) MarshalJSON() ([]byte, error)
func (*WateringPlanCreate) SetAdditionalInformation ¶
func (o *WateringPlanCreate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*WateringPlanCreate) SetDate ¶
func (o *WateringPlanCreate) SetDate(v string)
SetDate sets field value
func (*WateringPlanCreate) SetDescription ¶
func (o *WateringPlanCreate) SetDescription(v string)
SetDescription sets field value
func (*WateringPlanCreate) SetProvider ¶
func (o *WateringPlanCreate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*WateringPlanCreate) SetTrailerId ¶
func (o *WateringPlanCreate) SetTrailerId(v int32)
SetTrailerId gets a reference to the given int32 and assigns it to the TrailerId field.
func (*WateringPlanCreate) SetTransporterId ¶
func (o *WateringPlanCreate) SetTransporterId(v int32)
SetTransporterId sets field value
func (*WateringPlanCreate) SetTreeClusterIds ¶
func (o *WateringPlanCreate) SetTreeClusterIds(v []int32)
SetTreeClusterIds sets field value
func (*WateringPlanCreate) SetUserIds ¶
func (o *WateringPlanCreate) SetUserIds(v []string)
SetUserIds sets field value
func (WateringPlanCreate) ToMap ¶
func (o WateringPlanCreate) ToMap() (map[string]interface{}, error)
func (*WateringPlanCreate) UnmarshalJSON ¶
func (o *WateringPlanCreate) UnmarshalJSON(data []byte) (err error)
type WateringPlanInList ¶
type WateringPlanInList struct { CancellationNote string `json:"cancellation_note"` CreatedAt string `json:"created_at"` Date string `json:"date"` Description string `json:"description"` Distance float32 `json:"distance"` Id int32 `json:"id"` Status WateringPlanStatus `json:"status"` TotalWaterRequired float32 `json:"total_water_required"` Trailer *Vehicle `json:"trailer,omitempty"` Transporter Vehicle `json:"transporter"` Treeclusters []TreeClusterInList `json:"treeclusters"` UpdatedAt string `json:"updated_at"` UserIds []string `json:"user_ids"` }
WateringPlanInList struct for WateringPlanInList
func NewWateringPlanInList ¶
func NewWateringPlanInList(cancellationNote string, createdAt string, date string, description string, distance float32, id int32, status WateringPlanStatus, totalWaterRequired float32, transporter Vehicle, treeclusters []TreeClusterInList, updatedAt string, userIds []string) *WateringPlanInList
NewWateringPlanInList instantiates a new WateringPlanInList 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 NewWateringPlanInListWithDefaults ¶
func NewWateringPlanInListWithDefaults() *WateringPlanInList
NewWateringPlanInListWithDefaults instantiates a new WateringPlanInList 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 (*WateringPlanInList) GetCancellationNote ¶
func (o *WateringPlanInList) GetCancellationNote() string
GetCancellationNote returns the CancellationNote field value
func (*WateringPlanInList) GetCancellationNoteOk ¶
func (o *WateringPlanInList) GetCancellationNoteOk() (*string, bool)
GetCancellationNoteOk returns a tuple with the CancellationNote field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetCreatedAt ¶
func (o *WateringPlanInList) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value
func (*WateringPlanInList) GetCreatedAtOk ¶
func (o *WateringPlanInList) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetDate ¶
func (o *WateringPlanInList) GetDate() string
GetDate returns the Date field value
func (*WateringPlanInList) GetDateOk ¶
func (o *WateringPlanInList) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetDescription ¶
func (o *WateringPlanInList) GetDescription() string
GetDescription returns the Description field value
func (*WateringPlanInList) GetDescriptionOk ¶
func (o *WateringPlanInList) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetDistance ¶
func (o *WateringPlanInList) GetDistance() float32
GetDistance returns the Distance field value
func (*WateringPlanInList) GetDistanceOk ¶
func (o *WateringPlanInList) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetId ¶
func (o *WateringPlanInList) GetId() int32
GetId returns the Id field value
func (*WateringPlanInList) GetIdOk ¶
func (o *WateringPlanInList) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetStatus ¶
func (o *WateringPlanInList) GetStatus() WateringPlanStatus
GetStatus returns the Status field value
func (*WateringPlanInList) GetStatusOk ¶
func (o *WateringPlanInList) GetStatusOk() (*WateringPlanStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetTotalWaterRequired ¶
func (o *WateringPlanInList) GetTotalWaterRequired() float32
GetTotalWaterRequired returns the TotalWaterRequired field value
func (*WateringPlanInList) GetTotalWaterRequiredOk ¶
func (o *WateringPlanInList) GetTotalWaterRequiredOk() (*float32, bool)
GetTotalWaterRequiredOk returns a tuple with the TotalWaterRequired field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetTrailer ¶
func (o *WateringPlanInList) GetTrailer() Vehicle
GetTrailer returns the Trailer field value if set, zero value otherwise.
func (*WateringPlanInList) GetTrailerOk ¶
func (o *WateringPlanInList) GetTrailerOk() (*Vehicle, bool)
GetTrailerOk returns a tuple with the Trailer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanInList) GetTransporter ¶
func (o *WateringPlanInList) GetTransporter() Vehicle
GetTransporter returns the Transporter field value
func (*WateringPlanInList) GetTransporterOk ¶
func (o *WateringPlanInList) GetTransporterOk() (*Vehicle, bool)
GetTransporterOk returns a tuple with the Transporter field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetTreeclusters ¶
func (o *WateringPlanInList) GetTreeclusters() []TreeClusterInList
GetTreeclusters returns the Treeclusters field value
func (*WateringPlanInList) GetTreeclustersOk ¶
func (o *WateringPlanInList) GetTreeclustersOk() ([]TreeClusterInList, bool)
GetTreeclustersOk returns a tuple with the Treeclusters field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetUpdatedAt ¶
func (o *WateringPlanInList) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*WateringPlanInList) GetUpdatedAtOk ¶
func (o *WateringPlanInList) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*WateringPlanInList) GetUserIds ¶
func (o *WateringPlanInList) GetUserIds() []string
GetUserIds returns the UserIds field value
func (*WateringPlanInList) GetUserIdsOk ¶
func (o *WateringPlanInList) GetUserIdsOk() ([]string, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (*WateringPlanInList) HasTrailer ¶
func (o *WateringPlanInList) HasTrailer() bool
HasTrailer returns a boolean if a field has been set.
func (WateringPlanInList) MarshalJSON ¶
func (o WateringPlanInList) MarshalJSON() ([]byte, error)
func (*WateringPlanInList) SetCancellationNote ¶
func (o *WateringPlanInList) SetCancellationNote(v string)
SetCancellationNote sets field value
func (*WateringPlanInList) SetCreatedAt ¶
func (o *WateringPlanInList) SetCreatedAt(v string)
SetCreatedAt sets field value
func (*WateringPlanInList) SetDate ¶
func (o *WateringPlanInList) SetDate(v string)
SetDate sets field value
func (*WateringPlanInList) SetDescription ¶
func (o *WateringPlanInList) SetDescription(v string)
SetDescription sets field value
func (*WateringPlanInList) SetDistance ¶
func (o *WateringPlanInList) SetDistance(v float32)
SetDistance sets field value
func (*WateringPlanInList) SetId ¶
func (o *WateringPlanInList) SetId(v int32)
SetId sets field value
func (*WateringPlanInList) SetStatus ¶
func (o *WateringPlanInList) SetStatus(v WateringPlanStatus)
SetStatus sets field value
func (*WateringPlanInList) SetTotalWaterRequired ¶
func (o *WateringPlanInList) SetTotalWaterRequired(v float32)
SetTotalWaterRequired sets field value
func (*WateringPlanInList) SetTrailer ¶
func (o *WateringPlanInList) SetTrailer(v Vehicle)
SetTrailer gets a reference to the given Vehicle and assigns it to the Trailer field.
func (*WateringPlanInList) SetTransporter ¶
func (o *WateringPlanInList) SetTransporter(v Vehicle)
SetTransporter sets field value
func (*WateringPlanInList) SetTreeclusters ¶
func (o *WateringPlanInList) SetTreeclusters(v []TreeClusterInList)
SetTreeclusters sets field value
func (*WateringPlanInList) SetUpdatedAt ¶
func (o *WateringPlanInList) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (*WateringPlanInList) SetUserIds ¶
func (o *WateringPlanInList) SetUserIds(v []string)
SetUserIds sets field value
func (WateringPlanInList) ToMap ¶
func (o WateringPlanInList) ToMap() (map[string]interface{}, error)
func (*WateringPlanInList) UnmarshalJSON ¶
func (o *WateringPlanInList) UnmarshalJSON(data []byte) (err error)
type WateringPlanList ¶
type WateringPlanList struct { Data []WateringPlanInList `json:"data"` Pagination *Pagination `json:"pagination,omitempty"` }
WateringPlanList struct for WateringPlanList
func NewWateringPlanList ¶
func NewWateringPlanList(data []WateringPlanInList) *WateringPlanList
NewWateringPlanList instantiates a new WateringPlanList 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 NewWateringPlanListWithDefaults ¶
func NewWateringPlanListWithDefaults() *WateringPlanList
NewWateringPlanListWithDefaults instantiates a new WateringPlanList 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 (*WateringPlanList) GetData ¶
func (o *WateringPlanList) GetData() []WateringPlanInList
GetData returns the Data field value
func (*WateringPlanList) GetDataOk ¶
func (o *WateringPlanList) GetDataOk() ([]WateringPlanInList, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*WateringPlanList) GetPagination ¶
func (o *WateringPlanList) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*WateringPlanList) GetPaginationOk ¶
func (o *WateringPlanList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanList) HasPagination ¶
func (o *WateringPlanList) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (WateringPlanList) MarshalJSON ¶
func (o WateringPlanList) MarshalJSON() ([]byte, error)
func (*WateringPlanList) SetData ¶
func (o *WateringPlanList) SetData(v []WateringPlanInList)
SetData sets field value
func (*WateringPlanList) SetPagination ¶
func (o *WateringPlanList) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (WateringPlanList) ToMap ¶
func (o WateringPlanList) ToMap() (map[string]interface{}, error)
func (*WateringPlanList) UnmarshalJSON ¶
func (o *WateringPlanList) UnmarshalJSON(data []byte) (err error)
type WateringPlanStatus ¶
type WateringPlanStatus string
WateringPlanStatus the model 'WateringPlanStatus'
const ( WateringPlanStatusPlanned WateringPlanStatus = "planned" WateringPlanStatusActive WateringPlanStatus = "active" WateringPlanStatusCanceled WateringPlanStatus = "canceled" WateringPlanStatusFinished WateringPlanStatus = "finished" WateringPlanStatusNotCompeted WateringPlanStatus = "not competed" WateringPlanStatusUnknown WateringPlanStatus = "unknown" )
List of WateringPlanStatus
func NewWateringPlanStatusFromValue ¶
func NewWateringPlanStatusFromValue(v string) (*WateringPlanStatus, error)
NewWateringPlanStatusFromValue returns a pointer to a valid WateringPlanStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WateringPlanStatus) IsValid ¶
func (v WateringPlanStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WateringPlanStatus) Ptr ¶
func (v WateringPlanStatus) Ptr() *WateringPlanStatus
Ptr returns reference to WateringPlanStatus value
func (*WateringPlanStatus) UnmarshalJSON ¶
func (v *WateringPlanStatus) UnmarshalJSON(src []byte) error
type WateringPlanUpdate ¶
type WateringPlanUpdate struct { AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` CancellationNote string `json:"cancellation_note"` Date string `json:"date"` Description string `json:"description"` Evaluation []EvaluationValue `json:"evaluation,omitempty"` Provider *string `json:"provider,omitempty"` Status WateringPlanStatus `json:"status"` TrailerId *int32 `json:"trailer_id,omitempty"` TransporterId int32 `json:"transporter_id"` TreeClusterIds []int32 `json:"tree_cluster_ids"` UserIds []string `json:"user_ids"` }
WateringPlanUpdate struct for WateringPlanUpdate
func NewWateringPlanUpdate ¶
func NewWateringPlanUpdate(cancellationNote string, date string, description string, status WateringPlanStatus, transporterId int32, treeClusterIds []int32, userIds []string) *WateringPlanUpdate
NewWateringPlanUpdate instantiates a new WateringPlanUpdate 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 NewWateringPlanUpdateWithDefaults ¶
func NewWateringPlanUpdateWithDefaults() *WateringPlanUpdate
NewWateringPlanUpdateWithDefaults instantiates a new WateringPlanUpdate 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 (*WateringPlanUpdate) GetAdditionalInformation ¶
func (o *WateringPlanUpdate) GetAdditionalInformation() map[string]interface{}
GetAdditionalInformation returns the AdditionalInformation field value if set, zero value otherwise.
func (*WateringPlanUpdate) GetAdditionalInformationOk ¶
func (o *WateringPlanUpdate) GetAdditionalInformationOk() (map[string]interface{}, bool)
GetAdditionalInformationOk returns a tuple with the AdditionalInformation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetCancellationNote ¶
func (o *WateringPlanUpdate) GetCancellationNote() string
GetCancellationNote returns the CancellationNote field value
func (*WateringPlanUpdate) GetCancellationNoteOk ¶
func (o *WateringPlanUpdate) GetCancellationNoteOk() (*string, bool)
GetCancellationNoteOk returns a tuple with the CancellationNote field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetDate ¶
func (o *WateringPlanUpdate) GetDate() string
GetDate returns the Date field value
func (*WateringPlanUpdate) GetDateOk ¶
func (o *WateringPlanUpdate) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetDescription ¶
func (o *WateringPlanUpdate) GetDescription() string
GetDescription returns the Description field value
func (*WateringPlanUpdate) GetDescriptionOk ¶
func (o *WateringPlanUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetEvaluation ¶
func (o *WateringPlanUpdate) GetEvaluation() []EvaluationValue
GetEvaluation returns the Evaluation field value if set, zero value otherwise.
func (*WateringPlanUpdate) GetEvaluationOk ¶
func (o *WateringPlanUpdate) GetEvaluationOk() ([]EvaluationValue, bool)
GetEvaluationOk returns a tuple with the Evaluation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetProvider ¶
func (o *WateringPlanUpdate) GetProvider() string
GetProvider returns the Provider field value if set, zero value otherwise.
func (*WateringPlanUpdate) GetProviderOk ¶
func (o *WateringPlanUpdate) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetStatus ¶
func (o *WateringPlanUpdate) GetStatus() WateringPlanStatus
GetStatus returns the Status field value
func (*WateringPlanUpdate) GetStatusOk ¶
func (o *WateringPlanUpdate) GetStatusOk() (*WateringPlanStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetTrailerId ¶
func (o *WateringPlanUpdate) GetTrailerId() int32
GetTrailerId returns the TrailerId field value if set, zero value otherwise.
func (*WateringPlanUpdate) GetTrailerIdOk ¶
func (o *WateringPlanUpdate) GetTrailerIdOk() (*int32, bool)
GetTrailerIdOk returns a tuple with the TrailerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetTransporterId ¶
func (o *WateringPlanUpdate) GetTransporterId() int32
GetTransporterId returns the TransporterId field value
func (*WateringPlanUpdate) GetTransporterIdOk ¶
func (o *WateringPlanUpdate) GetTransporterIdOk() (*int32, bool)
GetTransporterIdOk returns a tuple with the TransporterId field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetTreeClusterIds ¶
func (o *WateringPlanUpdate) GetTreeClusterIds() []int32
GetTreeClusterIds returns the TreeClusterIds field value
func (*WateringPlanUpdate) GetTreeClusterIdsOk ¶
func (o *WateringPlanUpdate) GetTreeClusterIdsOk() ([]int32, bool)
GetTreeClusterIdsOk returns a tuple with the TreeClusterIds field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) GetUserIds ¶
func (o *WateringPlanUpdate) GetUserIds() []string
GetUserIds returns the UserIds field value
func (*WateringPlanUpdate) GetUserIdsOk ¶
func (o *WateringPlanUpdate) GetUserIdsOk() ([]string, bool)
GetUserIdsOk returns a tuple with the UserIds field value and a boolean to check if the value has been set.
func (*WateringPlanUpdate) HasAdditionalInformation ¶
func (o *WateringPlanUpdate) HasAdditionalInformation() bool
HasAdditionalInformation returns a boolean if a field has been set.
func (*WateringPlanUpdate) HasEvaluation ¶
func (o *WateringPlanUpdate) HasEvaluation() bool
HasEvaluation returns a boolean if a field has been set.
func (*WateringPlanUpdate) HasProvider ¶
func (o *WateringPlanUpdate) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*WateringPlanUpdate) HasTrailerId ¶
func (o *WateringPlanUpdate) HasTrailerId() bool
HasTrailerId returns a boolean if a field has been set.
func (WateringPlanUpdate) MarshalJSON ¶
func (o WateringPlanUpdate) MarshalJSON() ([]byte, error)
func (*WateringPlanUpdate) SetAdditionalInformation ¶
func (o *WateringPlanUpdate) SetAdditionalInformation(v map[string]interface{})
SetAdditionalInformation gets a reference to the given map[string]interface{} and assigns it to the AdditionalInformation field.
func (*WateringPlanUpdate) SetCancellationNote ¶
func (o *WateringPlanUpdate) SetCancellationNote(v string)
SetCancellationNote sets field value
func (*WateringPlanUpdate) SetDate ¶
func (o *WateringPlanUpdate) SetDate(v string)
SetDate sets field value
func (*WateringPlanUpdate) SetDescription ¶
func (o *WateringPlanUpdate) SetDescription(v string)
SetDescription sets field value
func (*WateringPlanUpdate) SetEvaluation ¶
func (o *WateringPlanUpdate) SetEvaluation(v []EvaluationValue)
SetEvaluation gets a reference to the given []EvaluationValue and assigns it to the Evaluation field.
func (*WateringPlanUpdate) SetProvider ¶
func (o *WateringPlanUpdate) SetProvider(v string)
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*WateringPlanUpdate) SetStatus ¶
func (o *WateringPlanUpdate) SetStatus(v WateringPlanStatus)
SetStatus sets field value
func (*WateringPlanUpdate) SetTrailerId ¶
func (o *WateringPlanUpdate) SetTrailerId(v int32)
SetTrailerId gets a reference to the given int32 and assigns it to the TrailerId field.
func (*WateringPlanUpdate) SetTransporterId ¶
func (o *WateringPlanUpdate) SetTransporterId(v int32)
SetTransporterId sets field value
func (*WateringPlanUpdate) SetTreeClusterIds ¶
func (o *WateringPlanUpdate) SetTreeClusterIds(v []int32)
SetTreeClusterIds sets field value
func (*WateringPlanUpdate) SetUserIds ¶
func (o *WateringPlanUpdate) SetUserIds(v []string)
SetUserIds sets field value
func (WateringPlanUpdate) ToMap ¶
func (o WateringPlanUpdate) ToMap() (map[string]interface{}, error)
func (*WateringPlanUpdate) UnmarshalJSON ¶
func (o *WateringPlanUpdate) UnmarshalJSON(data []byte) (err error)
type WateringStatus ¶
type WateringStatus string
WateringStatus the model 'WateringStatus'
const ( WateringStatusGood WateringStatus = "good" WateringStatusModerate WateringStatus = "moderate" WateringStatusBad WateringStatus = "bad" WateringStatusJustWatered WateringStatus = "just watered" WateringStatusUnknown WateringStatus = "unknown" )
List of WateringStatus
func NewWateringStatusFromValue ¶
func NewWateringStatusFromValue(v string) (*WateringStatus, error)
NewWateringStatusFromValue returns a pointer to a valid WateringStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WateringStatus) IsValid ¶
func (v WateringStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WateringStatus) Ptr ¶
func (v WateringStatus) Ptr() *WateringStatus
Ptr returns reference to WateringStatus value
func (*WateringStatus) UnmarshalJSON ¶
func (v *WateringStatus) UnmarshalJSON(src []byte) error
type WatermarkResponse ¶
type WatermarkResponse struct { Centibar int32 `json:"centibar"` Depth int32 `json:"depth"` Resistance int32 `json:"resistance"` }
WatermarkResponse struct for WatermarkResponse
func NewWatermarkResponse ¶
func NewWatermarkResponse(centibar int32, depth int32, resistance int32) *WatermarkResponse
NewWatermarkResponse instantiates a new WatermarkResponse 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 NewWatermarkResponseWithDefaults ¶
func NewWatermarkResponseWithDefaults() *WatermarkResponse
NewWatermarkResponseWithDefaults instantiates a new WatermarkResponse 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 (*WatermarkResponse) GetCentibar ¶
func (o *WatermarkResponse) GetCentibar() int32
GetCentibar returns the Centibar field value
func (*WatermarkResponse) GetCentibarOk ¶
func (o *WatermarkResponse) GetCentibarOk() (*int32, bool)
GetCentibarOk returns a tuple with the Centibar field value and a boolean to check if the value has been set.
func (*WatermarkResponse) GetDepth ¶
func (o *WatermarkResponse) GetDepth() int32
GetDepth returns the Depth field value
func (*WatermarkResponse) GetDepthOk ¶
func (o *WatermarkResponse) GetDepthOk() (*int32, bool)
GetDepthOk returns a tuple with the Depth field value and a boolean to check if the value has been set.
func (*WatermarkResponse) GetResistance ¶
func (o *WatermarkResponse) GetResistance() int32
GetResistance returns the Resistance field value
func (*WatermarkResponse) GetResistanceOk ¶
func (o *WatermarkResponse) GetResistanceOk() (*int32, bool)
GetResistanceOk returns a tuple with the Resistance field value and a boolean to check if the value has been set.
func (WatermarkResponse) MarshalJSON ¶
func (o WatermarkResponse) MarshalJSON() ([]byte, error)
func (*WatermarkResponse) SetCentibar ¶
func (o *WatermarkResponse) SetCentibar(v int32)
SetCentibar sets field value
func (*WatermarkResponse) SetDepth ¶
func (o *WatermarkResponse) SetDepth(v int32)
SetDepth sets field value
func (*WatermarkResponse) SetResistance ¶
func (o *WatermarkResponse) SetResistance(v int32)
SetResistance sets field value
func (WatermarkResponse) ToMap ¶
func (o WatermarkResponse) ToMap() (map[string]interface{}, error)
func (*WatermarkResponse) UnmarshalJSON ¶
func (o *WatermarkResponse) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_info.go
- api_plugin.go
- api_region.go
- api_sensor.go
- api_tree.go
- api_tree_cluster.go
- api_tree_sensor.go
- api_user.go
- api_vehicle.go
- api_watering_plan.go
- client.go
- configuration.go
- model_app_info.go
- model_client_token.go
- model_driving_license.go
- model_evaluation_value.go
- model_geo_json.go
- model_geo_json_feature.go
- model_geo_json_geometry.go
- model_geo_json_location.go
- model_geo_json_metadata.go
- model_geo_json_type.go
- model_git_info.go
- model_http_error.go
- model_login_response.go
- model_login_token_request.go
- model_logout_request.go
- model_map_info.go
- model_pagination.go
- model_plugin.go
- model_plugin_auth.go
- model_plugin_list_response.go
- model_plugin_register_request.go
- model_refresh_token_request.go
- model_region.go
- model_region_list.go
- model_route_request.go
- model_sensor.go
- model_sensor_data.go
- model_sensor_data_list.go
- model_sensor_list.go
- model_sensor_status.go
- model_server_info.go
- model_soil_condition.go
- model_tree.go
- model_tree_cluster.go
- model_tree_cluster_create.go
- model_tree_cluster_in_list.go
- model_tree_cluster_list.go
- model_tree_cluster_update.go
- model_tree_create.go
- model_tree_list.go
- model_tree_update.go
- model_user.go
- model_user_list.go
- model_user_register.go
- model_user_role.go
- model_user_status.go
- model_vehicle.go
- model_vehicle_create.go
- model_vehicle_list.go
- model_vehicle_status.go
- model_vehicle_type.go
- model_vehicle_update.go
- model_watering_plan.go
- model_watering_plan_create.go
- model_watering_plan_in_list.go
- model_watering_plan_list.go
- model_watering_plan_status.go
- model_watering_plan_update.go
- model_watering_status.go
- model_watermark_response.go
- response.go
- utils.go