Skip to content

Latest commit

 

History

History
239 lines (128 loc) · 6.92 KB

File metadata and controls

239 lines (128 loc) · 6.92 KB

ProgramEnrollment

Properties

Name Type Description Notes
Id int32 Unique identifier of the enrollment [readonly]
StudentId int32 The identifier of the associated student
EditionId int32 The identifier of the associated edition
PersonalProgramId int32 The identifier of the associated personal program
LabelIds []int32 An array of integers representing unique identifier values associated with labels.
OrderId NullableInt32 The identifier of the associated order
State string The state of the enrollment
GraduationState GraduationState
GraduationDate NullableString The graduation date of the enrollment

Methods

NewProgramEnrollment

func NewProgramEnrollment(id int32, studentId int32, editionId int32, personalProgramId int32, labelIds []int32, orderId NullableInt32, state string, graduationState GraduationState, graduationDate NullableString, ) *ProgramEnrollment

NewProgramEnrollment instantiates a new ProgramEnrollment 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

NewProgramEnrollmentWithDefaults

func NewProgramEnrollmentWithDefaults() *ProgramEnrollment

NewProgramEnrollmentWithDefaults instantiates a new ProgramEnrollment 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

GetId

func (o *ProgramEnrollment) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ProgramEnrollment) 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.

SetId

func (o *ProgramEnrollment) SetId(v int32)

SetId sets Id field to given value.

GetStudentId

func (o *ProgramEnrollment) GetStudentId() int32

GetStudentId returns the StudentId field if non-nil, zero value otherwise.

GetStudentIdOk

func (o *ProgramEnrollment) 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.

SetStudentId

func (o *ProgramEnrollment) SetStudentId(v int32)

SetStudentId sets StudentId field to given value.

GetEditionId

func (o *ProgramEnrollment) GetEditionId() int32

GetEditionId returns the EditionId field if non-nil, zero value otherwise.

GetEditionIdOk

func (o *ProgramEnrollment) GetEditionIdOk() (*int32, bool)

GetEditionIdOk returns a tuple with the EditionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEditionId

func (o *ProgramEnrollment) SetEditionId(v int32)

SetEditionId sets EditionId field to given value.

GetPersonalProgramId

func (o *ProgramEnrollment) GetPersonalProgramId() int32

GetPersonalProgramId returns the PersonalProgramId field if non-nil, zero value otherwise.

GetPersonalProgramIdOk

func (o *ProgramEnrollment) GetPersonalProgramIdOk() (*int32, bool)

GetPersonalProgramIdOk returns a tuple with the PersonalProgramId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPersonalProgramId

func (o *ProgramEnrollment) SetPersonalProgramId(v int32)

SetPersonalProgramId sets PersonalProgramId field to given value.

GetLabelIds

func (o *ProgramEnrollment) GetLabelIds() []int32

GetLabelIds returns the LabelIds field if non-nil, zero value otherwise.

GetLabelIdsOk

func (o *ProgramEnrollment) GetLabelIdsOk() (*[]int32, bool)

GetLabelIdsOk returns a tuple with the LabelIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLabelIds

func (o *ProgramEnrollment) SetLabelIds(v []int32)

SetLabelIds sets LabelIds field to given value.

GetOrderId

func (o *ProgramEnrollment) GetOrderId() int32

GetOrderId returns the OrderId field if non-nil, zero value otherwise.

GetOrderIdOk

func (o *ProgramEnrollment) 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.

SetOrderId

func (o *ProgramEnrollment) SetOrderId(v int32)

SetOrderId sets OrderId field to given value.

SetOrderIdNil

func (o *ProgramEnrollment) SetOrderIdNil(b bool)

SetOrderIdNil sets the value for OrderId to be an explicit nil

UnsetOrderId

func (o *ProgramEnrollment) UnsetOrderId()

UnsetOrderId ensures that no value is present for OrderId, not even an explicit nil

GetState

func (o *ProgramEnrollment) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *ProgramEnrollment) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetState

func (o *ProgramEnrollment) SetState(v string)

SetState sets State field to given value.

GetGraduationState

func (o *ProgramEnrollment) GetGraduationState() GraduationState

GetGraduationState returns the GraduationState field if non-nil, zero value otherwise.

GetGraduationStateOk

func (o *ProgramEnrollment) 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.

SetGraduationState

func (o *ProgramEnrollment) SetGraduationState(v GraduationState)

SetGraduationState sets GraduationState field to given value.

GetGraduationDate

func (o *ProgramEnrollment) GetGraduationDate() string

GetGraduationDate returns the GraduationDate field if non-nil, zero value otherwise.

GetGraduationDateOk

func (o *ProgramEnrollment) GetGraduationDateOk() (*string, bool)

GetGraduationDateOk returns a tuple with the GraduationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGraduationDate

func (o *ProgramEnrollment) SetGraduationDate(v string)

SetGraduationDate sets GraduationDate field to given value.

SetGraduationDateNil

func (o *ProgramEnrollment) SetGraduationDateNil(b bool)

SetGraduationDateNil sets the value for GraduationDate to be an explicit nil

UnsetGraduationDate

func (o *ProgramEnrollment) UnsetGraduationDate()

UnsetGraduationDate ensures that no value is present for GraduationDate, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]