Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int64 | The unique identifier of this segment | [optional] |
Name | Pointer to string | The name of this segment | [optional] |
ClimbCategory | Pointer to int32 | The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. If climb_category = 5, climb_category_desc = HC. If climb_category = 2, climb_category_desc = 3. | [optional] |
ClimbCategoryDesc | Pointer to string | The description for the category of the climb | [optional] |
AvgGrade | Pointer to float32 | The segment's average grade, in percents | [optional] |
StartLatlng | Pointer to []float32 | A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. | [optional] |
EndLatlng | Pointer to []float32 | A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. | [optional] |
ElevDifference | Pointer to float32 | The segments's evelation difference, in meters | [optional] |
Distance | Pointer to float32 | The segment's distance, in meters | [optional] |
Points | Pointer to string | The polyline of the segment | [optional] |
func NewExplorerSegment() *ExplorerSegment
NewExplorerSegment instantiates a new ExplorerSegment 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 NewExplorerSegmentWithDefaults() *ExplorerSegment
NewExplorerSegmentWithDefaults instantiates a new ExplorerSegment 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 (o *ExplorerSegment) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetId(v int64)
SetId sets Id field to given value.
func (o *ExplorerSegment) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ExplorerSegment) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetName(v string)
SetName sets Name field to given value.
func (o *ExplorerSegment) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ExplorerSegment) GetClimbCategory() int32
GetClimbCategory returns the ClimbCategory field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetClimbCategoryOk() (*int32, bool)
GetClimbCategoryOk returns a tuple with the ClimbCategory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetClimbCategory(v int32)
SetClimbCategory sets ClimbCategory field to given value.
func (o *ExplorerSegment) HasClimbCategory() bool
HasClimbCategory returns a boolean if a field has been set.
func (o *ExplorerSegment) GetClimbCategoryDesc() string
GetClimbCategoryDesc returns the ClimbCategoryDesc field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetClimbCategoryDescOk() (*string, bool)
GetClimbCategoryDescOk returns a tuple with the ClimbCategoryDesc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetClimbCategoryDesc(v string)
SetClimbCategoryDesc sets ClimbCategoryDesc field to given value.
func (o *ExplorerSegment) HasClimbCategoryDesc() bool
HasClimbCategoryDesc returns a boolean if a field has been set.
func (o *ExplorerSegment) GetAvgGrade() float32
GetAvgGrade returns the AvgGrade field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetAvgGradeOk() (*float32, bool)
GetAvgGradeOk returns a tuple with the AvgGrade field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetAvgGrade(v float32)
SetAvgGrade sets AvgGrade field to given value.
func (o *ExplorerSegment) HasAvgGrade() bool
HasAvgGrade returns a boolean if a field has been set.
func (o *ExplorerSegment) GetStartLatlng() []float32
GetStartLatlng returns the StartLatlng field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetStartLatlngOk() (*[]float32, bool)
GetStartLatlngOk returns a tuple with the StartLatlng field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetStartLatlng(v []float32)
SetStartLatlng sets StartLatlng field to given value.
func (o *ExplorerSegment) HasStartLatlng() bool
HasStartLatlng returns a boolean if a field has been set.
func (o *ExplorerSegment) GetEndLatlng() []float32
GetEndLatlng returns the EndLatlng field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetEndLatlngOk() (*[]float32, bool)
GetEndLatlngOk returns a tuple with the EndLatlng field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetEndLatlng(v []float32)
SetEndLatlng sets EndLatlng field to given value.
func (o *ExplorerSegment) HasEndLatlng() bool
HasEndLatlng returns a boolean if a field has been set.
func (o *ExplorerSegment) GetElevDifference() float32
GetElevDifference returns the ElevDifference field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetElevDifferenceOk() (*float32, bool)
GetElevDifferenceOk returns a tuple with the ElevDifference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetElevDifference(v float32)
SetElevDifference sets ElevDifference field to given value.
func (o *ExplorerSegment) HasElevDifference() bool
HasElevDifference returns a boolean if a field has been set.
func (o *ExplorerSegment) GetDistance() float32
GetDistance returns the Distance field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetDistance(v float32)
SetDistance sets Distance field to given value.
func (o *ExplorerSegment) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (o *ExplorerSegment) GetPoints() string
GetPoints returns the Points field if non-nil, zero value otherwise.
func (o *ExplorerSegment) GetPointsOk() (*string, bool)
GetPointsOk returns a tuple with the Points field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExplorerSegment) SetPoints(v string)
SetPoints sets Points field to given value.
func (o *ExplorerSegment) HasPoints() bool
HasPoints returns a boolean if a field has been set.