| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | Unique identifier of the enrollment. | [readonly] |
| StudentId | int32 | Unique identifier of the student. | |
| PlannedCourseId | int32 | Unique identifier of the planned course. | |
| OrderId | NullableInt32 | Unique identifier of the order. | |
| StartDate | string | If it is an enrollment of a fixed course, it equals the start date. For a flexible course, it returns the enrollment specific start date. | |
| EndDate | NullableString | If it is an enrollment of a fixed course, it equals the end date. For a flexible course, it returns the enrollment specific end date. | |
| Status | EnrollmentStatus | ||
| GraduationState | GraduationState | ||
| UpdatedAt | time.Time | Timestamp of last update. | [readonly] |
| CreatedAt | time.Time | Timestamp of creation. | [readonly] |
func NewEnrollment(id int32, studentId int32, plannedCourseId int32, orderId NullableInt32, startDate string, endDate NullableString, status EnrollmentStatus, graduationState GraduationState, updatedAt time.Time, createdAt time.Time, ) *Enrollment
NewEnrollment instantiates a new Enrollment 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 NewEnrollmentWithDefaults() *Enrollment
NewEnrollmentWithDefaults instantiates a new Enrollment 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 *Enrollment) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Enrollment) 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 *Enrollment) SetId(v int32)
SetId sets Id field to given value.
func (o *Enrollment) GetStudentId() int32
GetStudentId returns the StudentId field if non-nil, zero value otherwise.
func (o *Enrollment) GetStudentIdOk() (*int32, bool)
GetStudentIdOk returns a tuple with the StudentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetStudentId(v int32)
SetStudentId sets StudentId field to given value.
func (o *Enrollment) GetPlannedCourseId() int32
GetPlannedCourseId returns the PlannedCourseId field if non-nil, zero value otherwise.
func (o *Enrollment) GetPlannedCourseIdOk() (*int32, bool)
GetPlannedCourseIdOk returns a tuple with the PlannedCourseId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetPlannedCourseId(v int32)
SetPlannedCourseId sets PlannedCourseId field to given value.
func (o *Enrollment) GetOrderId() int32
GetOrderId returns the OrderId field if non-nil, zero value otherwise.
func (o *Enrollment) GetOrderIdOk() (*int32, bool)
GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetOrderId(v int32)
SetOrderId sets OrderId field to given value.
func (o *Enrollment) SetOrderIdNil(b bool)
SetOrderIdNil sets the value for OrderId to be an explicit nil
func (o *Enrollment) UnsetOrderId()
UnsetOrderId ensures that no value is present for OrderId, not even an explicit nil
func (o *Enrollment) GetStartDate() string
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *Enrollment) GetStartDateOk() (*string, bool)
GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetStartDate(v string)
SetStartDate sets StartDate field to given value.
func (o *Enrollment) GetEndDate() string
GetEndDate returns the EndDate field if non-nil, zero value otherwise.
func (o *Enrollment) GetEndDateOk() (*string, bool)
GetEndDateOk returns a tuple with the EndDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetEndDate(v string)
SetEndDate sets EndDate field to given value.
func (o *Enrollment) SetEndDateNil(b bool)
SetEndDateNil sets the value for EndDate to be an explicit nil
func (o *Enrollment) UnsetEndDate()
UnsetEndDate ensures that no value is present for EndDate, not even an explicit nil
func (o *Enrollment) GetStatus() EnrollmentStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Enrollment) GetStatusOk() (*EnrollmentStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetStatus(v EnrollmentStatus)
SetStatus sets Status field to given value.
func (o *Enrollment) GetGraduationState() GraduationState
GetGraduationState returns the GraduationState field if non-nil, zero value otherwise.
func (o *Enrollment) GetGraduationStateOk() (*GraduationState, bool)
GetGraduationStateOk returns a tuple with the GraduationState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Enrollment) SetGraduationState(v GraduationState)
SetGraduationState sets GraduationState field to given value.
func (o *Enrollment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Enrollment) 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 *Enrollment) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Enrollment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Enrollment) 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 *Enrollment) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.