| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | Unique identifier of the grade | [readonly] |
| GraderId | int32 | Unique identifier of the user that awarded this grade | [readonly] |
| Result | string | The actual grade which is either the grade or the score | |
| Grade | NullableString | The grade awarded (at least one of grade and score is required) | |
| Score | NullableString | The score awarded (at least one of grade and score is required) | |
| GradeableId | int32 | Unique model identifier of the gradeable (enrollment / ...) | |
| GradeableType | string | Model type of the gradeable (enrollment / ...) | |
| Comment | NullableString | Additional comment about the grade | |
| UpdatedAt | time.Time | Timestamp of last update. | [readonly] |
| CreatedAt | time.Time | Timestamp of creation. | [readonly] |
func NewGrade(id int32, graderId int32, result string, grade NullableString, score NullableString, gradeableId int32, gradeableType string, comment NullableString, updatedAt time.Time, createdAt time.Time, ) *Grade
NewGrade instantiates a new Grade 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 NewGradeWithDefaults() *Grade
NewGradeWithDefaults instantiates a new Grade 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 *Grade) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Grade) GetIdOk() (*int32, 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 *Grade) SetId(v int32)
SetId sets Id field to given value.
func (o *Grade) GetGraderId() int32
GetGraderId returns the GraderId field if non-nil, zero value otherwise.
func (o *Grade) GetGraderIdOk() (*int32, bool)
GetGraderIdOk returns a tuple with the GraderId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetGraderId(v int32)
SetGraderId sets GraderId field to given value.
func (o *Grade) GetResult() string
GetResult returns the Result field if non-nil, zero value otherwise.
func (o *Grade) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetResult(v string)
SetResult sets Result field to given value.
func (o *Grade) GetGrade() string
GetGrade returns the Grade field if non-nil, zero value otherwise.
func (o *Grade) GetGradeOk() (*string, bool)
GetGradeOk returns a tuple with the Grade field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetGrade(v string)
SetGrade sets Grade field to given value.
func (o *Grade) SetGradeNil(b bool)
SetGradeNil sets the value for Grade to be an explicit nil
func (o *Grade) UnsetGrade()
UnsetGrade ensures that no value is present for Grade, not even an explicit nil
func (o *Grade) GetScore() string
GetScore returns the Score field if non-nil, zero value otherwise.
func (o *Grade) GetScoreOk() (*string, bool)
GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetScore(v string)
SetScore sets Score field to given value.
func (o *Grade) SetScoreNil(b bool)
SetScoreNil sets the value for Score to be an explicit nil
func (o *Grade) UnsetScore()
UnsetScore ensures that no value is present for Score, not even an explicit nil
func (o *Grade) GetGradeableId() int32
GetGradeableId returns the GradeableId field if non-nil, zero value otherwise.
func (o *Grade) GetGradeableIdOk() (*int32, bool)
GetGradeableIdOk returns a tuple with the GradeableId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetGradeableId(v int32)
SetGradeableId sets GradeableId field to given value.
func (o *Grade) GetGradeableType() string
GetGradeableType returns the GradeableType field if non-nil, zero value otherwise.
func (o *Grade) GetGradeableTypeOk() (*string, bool)
GetGradeableTypeOk returns a tuple with the GradeableType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetGradeableType(v string)
SetGradeableType sets GradeableType field to given value.
func (o *Grade) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *Grade) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetComment(v string)
SetComment sets Comment field to given value.
func (o *Grade) SetCommentNil(b bool)
SetCommentNil sets the value for Comment to be an explicit nil
func (o *Grade) UnsetComment()
UnsetComment ensures that no value is present for Comment, not even an explicit nil
func (o *Grade) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Grade) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Grade) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Grade) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Grade) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.