Skip to content

Latest commit

 

History

History
176 lines (95 loc) · 5.31 KB

File metadata and controls

176 lines (95 loc) · 5.31 KB

ProgramEditionElement

Properties

Name Type Description Notes
Name string The name of the element.
Credits NullableFloat64 The credits of the element.
ElementType string The type of the element.
Elements []ProgramEditionBlockElementItem The elements of the block element.
CourseId int32 The identifier of the associated course.
PlannedCourseId NullableInt32 The identifier of the associated planned course.

Methods

NewProgramEditionElement

func NewProgramEditionElement(name string, credits NullableFloat64, elementType string, elements []ProgramEditionBlockElementItem, courseId int32, plannedCourseId NullableInt32, ) *ProgramEditionElement

NewProgramEditionElement instantiates a new ProgramEditionElement 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

NewProgramEditionElementWithDefaults

func NewProgramEditionElementWithDefaults() *ProgramEditionElement

NewProgramEditionElementWithDefaults instantiates a new ProgramEditionElement 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

GetName

func (o *ProgramEditionElement) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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

SetName

func (o *ProgramEditionElement) SetName(v string)

SetName sets Name field to given value.

GetCredits

func (o *ProgramEditionElement) GetCredits() float64

GetCredits returns the Credits field if non-nil, zero value otherwise.

GetCreditsOk

func (o *ProgramEditionElement) GetCreditsOk() (*float64, bool)

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

SetCredits

func (o *ProgramEditionElement) SetCredits(v float64)

SetCredits sets Credits field to given value.

SetCreditsNil

func (o *ProgramEditionElement) SetCreditsNil(b bool)

SetCreditsNil sets the value for Credits to be an explicit nil

UnsetCredits

func (o *ProgramEditionElement) UnsetCredits()

UnsetCredits ensures that no value is present for Credits, not even an explicit nil

GetElementType

func (o *ProgramEditionElement) GetElementType() string

GetElementType returns the ElementType field if non-nil, zero value otherwise.

GetElementTypeOk

func (o *ProgramEditionElement) GetElementTypeOk() (*string, bool)

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

SetElementType

func (o *ProgramEditionElement) SetElementType(v string)

SetElementType sets ElementType field to given value.

GetElements

func (o *ProgramEditionElement) GetElements() []ProgramEditionBlockElementItem

GetElements returns the Elements field if non-nil, zero value otherwise.

GetElementsOk

func (o *ProgramEditionElement) GetElementsOk() (*[]ProgramEditionBlockElementItem, bool)

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

SetElements

func (o *ProgramEditionElement) SetElements(v []ProgramEditionBlockElementItem)

SetElements sets Elements field to given value.

GetCourseId

func (o *ProgramEditionElement) GetCourseId() int32

GetCourseId returns the CourseId field if non-nil, zero value otherwise.

GetCourseIdOk

func (o *ProgramEditionElement) GetCourseIdOk() (*int32, bool)

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

SetCourseId

func (o *ProgramEditionElement) SetCourseId(v int32)

SetCourseId sets CourseId field to given value.

GetPlannedCourseId

func (o *ProgramEditionElement) GetPlannedCourseId() int32

GetPlannedCourseId returns the PlannedCourseId field if non-nil, zero value otherwise.

GetPlannedCourseIdOk

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

SetPlannedCourseId

func (o *ProgramEditionElement) SetPlannedCourseId(v int32)

SetPlannedCourseId sets PlannedCourseId field to given value.

SetPlannedCourseIdNil

func (o *ProgramEditionElement) SetPlannedCourseIdNil(b bool)

SetPlannedCourseIdNil sets the value for PlannedCourseId to be an explicit nil

UnsetPlannedCourseId

func (o *ProgramEditionElement) UnsetPlannedCourseId()

UnsetPlannedCourseId ensures that no value is present for PlannedCourseId, not even an explicit nil

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