models

package
v4.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ContactPhoneTypeCell captures enum value "Cell"
	ContactPhoneTypeCell string = "Cell"

	// ContactPhoneTypeHome captures enum value "Home"
	ContactPhoneTypeHome string = "Home"

	// ContactPhoneTypeWork captures enum value "Work"
	ContactPhoneTypeWork string = "Work"

	// ContactPhoneTypeOther captures enum value "Other"
	ContactPhoneTypeOther string = "Other"

	// ContactPhoneTypeEmpty captures enum value ""
	ContactPhoneTypeEmpty string = ""
)
View Source
const (

	// DistrictStateRunning captures enum value "running"
	DistrictStateRunning string = "running"

	// DistrictStatePending captures enum value "pending"
	DistrictStatePending string = "pending"

	// DistrictStateError captures enum value "error"
	DistrictStateError string = "error"

	// DistrictStatePaused captures enum value "paused"
	DistrictStatePaused string = "paused"

	// DistrictStateEmpty captures enum value ""
	DistrictStateEmpty string = ""

	// DistrictStateSuccess captures enum value "success"
	DistrictStateSuccess string = "success"
)
View Source
const (

	// LinkRelNext captures enum value "next"
	LinkRelNext string = "next"

	// LinkRelPrev captures enum value "prev"
	LinkRelPrev string = "prev"

	// LinkRelSelf captures enum value "self"
	LinkRelSelf string = "self"
)
View Source
const (

	// SchoolHighGradeInfantToddler captures enum value "InfantToddler"
	SchoolHighGradeInfantToddler string = "InfantToddler"

	// SchoolHighGradePreschool captures enum value "Preschool"
	SchoolHighGradePreschool string = "Preschool"

	// SchoolHighGradePreKindergarten captures enum value "PreKindergarten"
	SchoolHighGradePreKindergarten string = "PreKindergarten"

	// SchoolHighGradeTransitionalKindergarten captures enum value "TransitionalKindergarten"
	SchoolHighGradeTransitionalKindergarten string = "TransitionalKindergarten"

	// SchoolHighGradeKindergarten captures enum value "Kindergarten"
	SchoolHighGradeKindergarten string = "Kindergarten"

	// SchoolHighGradeNr1 captures enum value "1"
	SchoolHighGradeNr1 string = "1"

	// SchoolHighGradeNr2 captures enum value "2"
	SchoolHighGradeNr2 string = "2"

	// SchoolHighGradeNr3 captures enum value "3"
	SchoolHighGradeNr3 string = "3"

	// SchoolHighGradeNr4 captures enum value "4"
	SchoolHighGradeNr4 string = "4"

	// SchoolHighGradeNr5 captures enum value "5"
	SchoolHighGradeNr5 string = "5"

	// SchoolHighGradeNr6 captures enum value "6"
	SchoolHighGradeNr6 string = "6"

	// SchoolHighGradeNr7 captures enum value "7"
	SchoolHighGradeNr7 string = "7"

	// SchoolHighGradeNr8 captures enum value "8"
	SchoolHighGradeNr8 string = "8"

	// SchoolHighGradeNr9 captures enum value "9"
	SchoolHighGradeNr9 string = "9"

	// SchoolHighGradeNr10 captures enum value "10"
	SchoolHighGradeNr10 string = "10"

	// SchoolHighGradeNr11 captures enum value "11"
	SchoolHighGradeNr11 string = "11"

	// SchoolHighGradeNr12 captures enum value "12"
	SchoolHighGradeNr12 string = "12"

	// SchoolHighGradeNr13 captures enum value "13"
	SchoolHighGradeNr13 string = "13"

	// SchoolHighGradePostGraduate captures enum value "PostGraduate"
	SchoolHighGradePostGraduate string = "PostGraduate"

	// SchoolHighGradeUngraded captures enum value "Ungraded"
	SchoolHighGradeUngraded string = "Ungraded"

	// SchoolHighGradeOther captures enum value "Other"
	SchoolHighGradeOther string = "Other"

	// SchoolHighGradeEmpty captures enum value ""
	SchoolHighGradeEmpty string = ""
)
View Source
const (

	// SchoolLowGradeInfantToddler captures enum value "InfantToddler"
	SchoolLowGradeInfantToddler string = "InfantToddler"

	// SchoolLowGradePreschool captures enum value "Preschool"
	SchoolLowGradePreschool string = "Preschool"

	// SchoolLowGradePreKindergarten captures enum value "PreKindergarten"
	SchoolLowGradePreKindergarten string = "PreKindergarten"

	// SchoolLowGradeTransitionalKindergarten captures enum value "TransitionalKindergarten"
	SchoolLowGradeTransitionalKindergarten string = "TransitionalKindergarten"

	// SchoolLowGradeKindergarten captures enum value "Kindergarten"
	SchoolLowGradeKindergarten string = "Kindergarten"

	// SchoolLowGradeNr1 captures enum value "1"
	SchoolLowGradeNr1 string = "1"

	// SchoolLowGradeNr2 captures enum value "2"
	SchoolLowGradeNr2 string = "2"

	// SchoolLowGradeNr3 captures enum value "3"
	SchoolLowGradeNr3 string = "3"

	// SchoolLowGradeNr4 captures enum value "4"
	SchoolLowGradeNr4 string = "4"

	// SchoolLowGradeNr5 captures enum value "5"
	SchoolLowGradeNr5 string = "5"

	// SchoolLowGradeNr6 captures enum value "6"
	SchoolLowGradeNr6 string = "6"

	// SchoolLowGradeNr7 captures enum value "7"
	SchoolLowGradeNr7 string = "7"

	// SchoolLowGradeNr8 captures enum value "8"
	SchoolLowGradeNr8 string = "8"

	// SchoolLowGradeNr9 captures enum value "9"
	SchoolLowGradeNr9 string = "9"

	// SchoolLowGradeNr10 captures enum value "10"
	SchoolLowGradeNr10 string = "10"

	// SchoolLowGradeNr11 captures enum value "11"
	SchoolLowGradeNr11 string = "11"

	// SchoolLowGradeNr12 captures enum value "12"
	SchoolLowGradeNr12 string = "12"

	// SchoolLowGradeNr13 captures enum value "13"
	SchoolLowGradeNr13 string = "13"

	// SchoolLowGradePostGraduate captures enum value "PostGraduate"
	SchoolLowGradePostGraduate string = "PostGraduate"

	// SchoolLowGradeUngraded captures enum value "Ungraded"
	SchoolLowGradeUngraded string = "Ungraded"

	// SchoolLowGradeOther captures enum value "Other"
	SchoolLowGradeOther string = "Other"

	// SchoolLowGradeEmpty captures enum value ""
	SchoolLowGradeEmpty string = ""
)
View Source
const (

	// SectionGradeInfantToddler captures enum value "InfantToddler"
	SectionGradeInfantToddler string = "InfantToddler"

	// SectionGradePreschool captures enum value "Preschool"
	SectionGradePreschool string = "Preschool"

	// SectionGradePreKindergarten captures enum value "PreKindergarten"
	SectionGradePreKindergarten string = "PreKindergarten"

	// SectionGradeTransitionalKindergarten captures enum value "TransitionalKindergarten"
	SectionGradeTransitionalKindergarten string = "TransitionalKindergarten"

	// SectionGradeKindergarten captures enum value "Kindergarten"
	SectionGradeKindergarten string = "Kindergarten"

	// SectionGradeNr1 captures enum value "1"
	SectionGradeNr1 string = "1"

	// SectionGradeNr2 captures enum value "2"
	SectionGradeNr2 string = "2"

	// SectionGradeNr3 captures enum value "3"
	SectionGradeNr3 string = "3"

	// SectionGradeNr4 captures enum value "4"
	SectionGradeNr4 string = "4"

	// SectionGradeNr5 captures enum value "5"
	SectionGradeNr5 string = "5"

	// SectionGradeNr6 captures enum value "6"
	SectionGradeNr6 string = "6"

	// SectionGradeNr7 captures enum value "7"
	SectionGradeNr7 string = "7"

	// SectionGradeNr8 captures enum value "8"
	SectionGradeNr8 string = "8"

	// SectionGradeNr9 captures enum value "9"
	SectionGradeNr9 string = "9"

	// SectionGradeNr10 captures enum value "10"
	SectionGradeNr10 string = "10"

	// SectionGradeNr11 captures enum value "11"
	SectionGradeNr11 string = "11"

	// SectionGradeNr12 captures enum value "12"
	SectionGradeNr12 string = "12"

	// SectionGradeNr13 captures enum value "13"
	SectionGradeNr13 string = "13"

	// SectionGradePostGraduate captures enum value "PostGraduate"
	SectionGradePostGraduate string = "PostGraduate"

	// SectionGradeUngraded captures enum value "Ungraded"
	SectionGradeUngraded string = "Ungraded"

	// SectionGradeOther captures enum value "Other"
	SectionGradeOther string = "Other"

	// SectionGradeEmpty captures enum value ""
	SectionGradeEmpty string = ""
)
View Source
const (

	// SectionSubjectEnglishLanguageArts captures enum value "english/language arts"
	SectionSubjectEnglishLanguageArts string = "english/language arts"

	// SectionSubjectMath captures enum value "math"
	SectionSubjectMath string = "math"

	// SectionSubjectScience captures enum value "science"
	SectionSubjectScience string = "science"

	// SectionSubjectSocialStudies captures enum value "social studies"
	SectionSubjectSocialStudies string = "social studies"

	// SectionSubjectLanguage captures enum value "language"
	SectionSubjectLanguage string = "language"

	// SectionSubjectHomeroomAdvisory captures enum value "homeroom/advisory"
	SectionSubjectHomeroomAdvisory string = "homeroom/advisory"

	// SectionSubjectInterventionsOnlineLearning captures enum value "interventions/online learning"
	SectionSubjectInterventionsOnlineLearning string = "interventions/online learning"

	// SectionSubjectTechnologyAndEngineering captures enum value "technology and engineering"
	SectionSubjectTechnologyAndEngineering string = "technology and engineering"

	// SectionSubjectPEAndHealth captures enum value "PE and health"
	SectionSubjectPEAndHealth string = "PE and health"

	// SectionSubjectArtsAndMusic captures enum value "arts and music"
	SectionSubjectArtsAndMusic string = "arts and music"

	// SectionSubjectOther captures enum value "other"
	SectionSubjectOther string = "other"

	// SectionSubjectEmpty captures enum value ""
	SectionSubjectEmpty string = ""
)
View Source
const (

	// StudentEllStatusY captures enum value "Y"
	StudentEllStatusY string = "Y"

	// StudentEllStatusN captures enum value "N"
	StudentEllStatusN string = "N"

	// StudentEllStatusEmpty captures enum value ""
	StudentEllStatusEmpty string = ""
)
View Source
const (

	// StudentGenderM captures enum value "M"
	StudentGenderM string = "M"

	// StudentGenderF captures enum value "F"
	StudentGenderF string = "F"

	// StudentGenderX captures enum value "X"
	StudentGenderX string = "X"

	// StudentGenderEmpty captures enum value ""
	StudentGenderEmpty string = ""
)
View Source
const (

	// StudentGradeInfantToddler captures enum value "InfantToddler"
	StudentGradeInfantToddler string = "InfantToddler"

	// StudentGradePreschool captures enum value "Preschool"
	StudentGradePreschool string = "Preschool"

	// StudentGradePreKindergarten captures enum value "PreKindergarten"
	StudentGradePreKindergarten string = "PreKindergarten"

	// StudentGradeTransitionalKindergarten captures enum value "TransitionalKindergarten"
	StudentGradeTransitionalKindergarten string = "TransitionalKindergarten"

	// StudentGradeKindergarten captures enum value "Kindergarten"
	StudentGradeKindergarten string = "Kindergarten"

	// StudentGradeNr1 captures enum value "1"
	StudentGradeNr1 string = "1"

	// StudentGradeNr2 captures enum value "2"
	StudentGradeNr2 string = "2"

	// StudentGradeNr3 captures enum value "3"
	StudentGradeNr3 string = "3"

	// StudentGradeNr4 captures enum value "4"
	StudentGradeNr4 string = "4"

	// StudentGradeNr5 captures enum value "5"
	StudentGradeNr5 string = "5"

	// StudentGradeNr6 captures enum value "6"
	StudentGradeNr6 string = "6"

	// StudentGradeNr7 captures enum value "7"
	StudentGradeNr7 string = "7"

	// StudentGradeNr8 captures enum value "8"
	StudentGradeNr8 string = "8"

	// StudentGradeNr9 captures enum value "9"
	StudentGradeNr9 string = "9"

	// StudentGradeNr10 captures enum value "10"
	StudentGradeNr10 string = "10"

	// StudentGradeNr11 captures enum value "11"
	StudentGradeNr11 string = "11"

	// StudentGradeNr12 captures enum value "12"
	StudentGradeNr12 string = "12"

	// StudentGradeNr13 captures enum value "13"
	StudentGradeNr13 string = "13"

	// StudentGradePostGraduate captures enum value "PostGraduate"
	StudentGradePostGraduate string = "PostGraduate"

	// StudentGradeUngraded captures enum value "Ungraded"
	StudentGradeUngraded string = "Ungraded"

	// StudentGradeOther captures enum value "Other"
	StudentGradeOther string = "Other"

	// StudentGradeEmpty captures enum value ""
	StudentGradeEmpty string = ""
)
View Source
const (

	// StudentHispanicEthnicityY captures enum value "Y"
	StudentHispanicEthnicityY string = "Y"

	// StudentHispanicEthnicityN captures enum value "N"
	StudentHispanicEthnicityN string = "N"

	// StudentHispanicEthnicityEmpty captures enum value ""
	StudentHispanicEthnicityEmpty string = ""
)
View Source
const (

	// StudentHomeLanguageEnglish captures enum value "English"
	StudentHomeLanguageEnglish string = "English"

	// StudentHomeLanguageAlbanian captures enum value "Albanian"
	StudentHomeLanguageAlbanian string = "Albanian"

	// StudentHomeLanguageAmharic captures enum value "Amharic"
	StudentHomeLanguageAmharic string = "Amharic"

	// StudentHomeLanguageArabic captures enum value "Arabic"
	StudentHomeLanguageArabic string = "Arabic"

	// StudentHomeLanguageBengali captures enum value "Bengali"
	StudentHomeLanguageBengali string = "Bengali"

	// StudentHomeLanguageBosnian captures enum value "Bosnian"
	StudentHomeLanguageBosnian string = "Bosnian"

	// StudentHomeLanguageBurmese captures enum value "Burmese"
	StudentHomeLanguageBurmese string = "Burmese"

	// StudentHomeLanguageCantonese captures enum value "Cantonese"
	StudentHomeLanguageCantonese string = "Cantonese"

	// StudentHomeLanguageChinese captures enum value "Chinese"
	StudentHomeLanguageChinese string = "Chinese"

	// StudentHomeLanguageDutch captures enum value "Dutch"
	StudentHomeLanguageDutch string = "Dutch"

	// StudentHomeLanguageFarsi captures enum value "Farsi"
	StudentHomeLanguageFarsi string = "Farsi"

	// StudentHomeLanguageFrench captures enum value "French"
	StudentHomeLanguageFrench string = "French"

	// StudentHomeLanguageGerman captures enum value "German"
	StudentHomeLanguageGerman string = "German"

	// StudentHomeLanguageHebrew captures enum value "Hebrew"
	StudentHomeLanguageHebrew string = "Hebrew"

	// StudentHomeLanguageHindi captures enum value "Hindi"
	StudentHomeLanguageHindi string = "Hindi"

	// StudentHomeLanguageHmong captures enum value "Hmong"
	StudentHomeLanguageHmong string = "Hmong"

	// StudentHomeLanguageIlocano captures enum value "Ilocano"
	StudentHomeLanguageIlocano string = "Ilocano"

	// StudentHomeLanguageJapanese captures enum value "Japanese"
	StudentHomeLanguageJapanese string = "Japanese"

	// StudentHomeLanguageJavanese captures enum value "Javanese"
	StudentHomeLanguageJavanese string = "Javanese"

	// StudentHomeLanguageKaren captures enum value "Karen"
	StudentHomeLanguageKaren string = "Karen"

	// StudentHomeLanguageKhmer captures enum value "Khmer"
	StudentHomeLanguageKhmer string = "Khmer"

	// StudentHomeLanguageKorean captures enum value "Korean"
	StudentHomeLanguageKorean string = "Korean"

	// StudentHomeLanguageLaotian captures enum value "Laotian"
	StudentHomeLanguageLaotian string = "Laotian"

	// StudentHomeLanguageLatvian captures enum value "Latvian"
	StudentHomeLanguageLatvian string = "Latvian"

	// StudentHomeLanguageMalay captures enum value "Malay"
	StudentHomeLanguageMalay string = "Malay"

	// StudentHomeLanguageMandarin captures enum value "Mandarin"
	StudentHomeLanguageMandarin string = "Mandarin"

	// StudentHomeLanguageNepali captures enum value "Nepali"
	StudentHomeLanguageNepali string = "Nepali"

	// StudentHomeLanguageOromo captures enum value "Oromo"
	StudentHomeLanguageOromo string = "Oromo"

	// StudentHomeLanguagePolish captures enum value "Polish"
	StudentHomeLanguagePolish string = "Polish"

	// StudentHomeLanguagePortuguese captures enum value "Portuguese"
	StudentHomeLanguagePortuguese string = "Portuguese"

	// StudentHomeLanguagePunjabi captures enum value "Punjabi"
	StudentHomeLanguagePunjabi string = "Punjabi"

	// StudentHomeLanguageRomanian captures enum value "Romanian"
	StudentHomeLanguageRomanian string = "Romanian"

	// StudentHomeLanguageRussian captures enum value "Russian"
	StudentHomeLanguageRussian string = "Russian"

	// StudentHomeLanguageSamoan captures enum value "Samoan"
	StudentHomeLanguageSamoan string = "Samoan"

	// StudentHomeLanguageSerbian captures enum value "Serbian"
	StudentHomeLanguageSerbian string = "Serbian"

	// StudentHomeLanguageSomali captures enum value "Somali"
	StudentHomeLanguageSomali string = "Somali"

	// StudentHomeLanguageSpanish captures enum value "Spanish"
	StudentHomeLanguageSpanish string = "Spanish"

	// StudentHomeLanguageSwahili captures enum value "Swahili"
	StudentHomeLanguageSwahili string = "Swahili"

	// StudentHomeLanguageTagalog captures enum value "Tagalog"
	StudentHomeLanguageTagalog string = "Tagalog"

	// StudentHomeLanguageTamil captures enum value "Tamil"
	StudentHomeLanguageTamil string = "Tamil"

	// StudentHomeLanguageTelugu captures enum value "Telugu"
	StudentHomeLanguageTelugu string = "Telugu"

	// StudentHomeLanguageThai captures enum value "Thai"
	StudentHomeLanguageThai string = "Thai"

	// StudentHomeLanguageTigrinya captures enum value "Tigrinya"
	StudentHomeLanguageTigrinya string = "Tigrinya"

	// StudentHomeLanguageTurkish captures enum value "Turkish"
	StudentHomeLanguageTurkish string = "Turkish"

	// StudentHomeLanguageUkrainian captures enum value "Ukrainian"
	StudentHomeLanguageUkrainian string = "Ukrainian"

	// StudentHomeLanguageUrdu captures enum value "Urdu"
	StudentHomeLanguageUrdu string = "Urdu"

	// StudentHomeLanguageVietnamese captures enum value "Vietnamese"
	StudentHomeLanguageVietnamese string = "Vietnamese"

	// StudentHomeLanguageEmpty captures enum value ""
	StudentHomeLanguageEmpty string = ""
)
View Source
const (

	// StudentRaceCaucasian captures enum value "Caucasian"
	StudentRaceCaucasian string = "Caucasian"

	// StudentRaceAsian captures enum value "Asian"
	StudentRaceAsian string = "Asian"

	// StudentRaceBlackOrAfricanAmerican captures enum value "Black or African American"
	StudentRaceBlackOrAfricanAmerican string = "Black or African American"

	// StudentRaceAmericanIndian captures enum value "American Indian"
	StudentRaceAmericanIndian string = "American Indian"

	// StudentRaceHawaiianOrOtherPacificIslander captures enum value "Hawaiian or Other Pacific Islander"
	StudentRaceHawaiianOrOtherPacificIslander string = "Hawaiian or Other Pacific Islander"

	// StudentRaceTwoOrMoreRaces captures enum value "Two or More Races"
	StudentRaceTwoOrMoreRaces string = "Two or More Races"

	// StudentRaceUnknown captures enum value "Unknown"
	StudentRaceUnknown string = "Unknown"

	// StudentRaceEmpty captures enum value ""
	StudentRaceEmpty string = ""
)
View Source
const (

	// StudentRelationshipRelationshipParent captures enum value "Parent"
	StudentRelationshipRelationshipParent string = "Parent"

	// StudentRelationshipRelationshipGrandparent captures enum value "Grandparent"
	StudentRelationshipRelationshipGrandparent string = "Grandparent"

	// StudentRelationshipRelationshipSelf captures enum value "Self"
	StudentRelationshipRelationshipSelf string = "Self"

	// StudentRelationshipRelationshipAuntUncle captures enum value "Aunt/Uncle"
	StudentRelationshipRelationshipAuntUncle string = "Aunt/Uncle"

	// StudentRelationshipRelationshipSibling captures enum value "Sibling"
	StudentRelationshipRelationshipSibling string = "Sibling"

	// StudentRelationshipRelationshipOther captures enum value "Other"
	StudentRelationshipRelationshipOther string = "Other"

	// StudentRelationshipRelationshipEmpty captures enum value ""
	StudentRelationshipRelationshipEmpty string = ""
)
View Source
const (

	// StudentRelationshipTypeParentGuardian captures enum value "Parent/Guardian"
	StudentRelationshipTypeParentGuardian string = "Parent/Guardian"

	// StudentRelationshipTypeEmergency captures enum value "Emergency"
	StudentRelationshipTypeEmergency string = "Emergency"

	// StudentRelationshipTypePrimary captures enum value "Primary"
	StudentRelationshipTypePrimary string = "Primary"

	// StudentRelationshipTypeSecondary captures enum value "Secondary"
	StudentRelationshipTypeSecondary string = "Secondary"

	// StudentRelationshipTypeFamily captures enum value "Family"
	StudentRelationshipTypeFamily string = "Family"

	// StudentRelationshipTypeOther captures enum value "Other"
	StudentRelationshipTypeOther string = "Other"

	// StudentRelationshipTypeEmpty captures enum value ""
	StudentRelationshipTypeEmpty string = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequest

type BadRequest struct {

	// message
	Message string `json:"message,omitempty"`
}

BadRequest bad request

swagger:model BadRequest

func (*BadRequest) ContextValidate

func (m *BadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bad request based on context it is used

func (*BadRequest) MarshalBinary

func (m *BadRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BadRequest) UnmarshalBinary

func (m *BadRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BadRequest) Validate

func (m *BadRequest) Validate(formats strfmt.Registry) error

Validate validates this bad request

type Contact

type Contact struct {

	// legacy id
	LegacyID string `json:"legacy_id,omitempty"`

	// phone
	Phone *string `json:"phone,omitempty"`

	// phone type
	// Enum: [Cell Home Work Other ]
	PhoneType *string `json:"phone_type,omitempty"`

	// sis id
	SisID *string `json:"sis_id,omitempty"`

	// student relationships
	StudentRelationships []*StudentRelationship `json:"student_relationships"`
}

Contact contact

swagger:model Contact

func (*Contact) ContextValidate

func (m *Contact) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this contact based on the context it is used

func (*Contact) MarshalBinary

func (m *Contact) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Contact) UnmarshalBinary

func (m *Contact) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Contact) Validate

func (m *Contact) Validate(formats strfmt.Registry) error

Validate validates this contact

type Course

type Course struct {

	// district
	District string `json:"district,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// number
	Number *string `json:"number,omitempty"`
}

Course course

swagger:model Course

func (*Course) ContextValidate

func (m *Course) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this course based on context it is used

func (*Course) MarshalBinary

func (m *Course) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Course) UnmarshalBinary

func (m *Course) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Course) Validate

func (m *Course) Validate(formats strfmt.Registry) error

Validate validates this course

type CourseObject

type CourseObject struct {

	// object
	Object *Course `json:"object,omitempty"`
}

CourseObject course object

swagger:model CourseObject

func (*CourseObject) ContextValidate

func (m *CourseObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this course object based on the context it is used

func (*CourseObject) MarshalBinary

func (m *CourseObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CourseObject) UnmarshalBinary

func (m *CourseObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CourseObject) Validate

func (m *CourseObject) Validate(formats strfmt.Registry) error

Validate validates this course object

type CourseResponse

type CourseResponse struct {

	// data
	Data *Course `json:"data,omitempty"`
}

CourseResponse course response

swagger:model CourseResponse

func (*CourseResponse) ContextValidate

func (m *CourseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this course response based on the context it is used

func (*CourseResponse) MarshalBinary

func (m *CourseResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CourseResponse) UnmarshalBinary

func (m *CourseResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CourseResponse) Validate

func (m *CourseResponse) Validate(formats strfmt.Registry) error

Validate validates this course response

type CoursesCreated

type CoursesCreated struct {

	// data
	Data *CourseObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

CoursesCreated courses created

swagger:model courses.created

func (*CoursesCreated) ContextValidate

func (m *CoursesCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this courses created based on the context it is used

func (*CoursesCreated) Created

func (m *CoursesCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*CoursesCreated) ID

func (m *CoursesCreated) ID() string

ID gets the id of this subtype

func (*CoursesCreated) MarshalBinary

func (m *CoursesCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CoursesCreated) MarshalJSON

func (m CoursesCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*CoursesCreated) SetCreated

func (m *CoursesCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*CoursesCreated) SetID

func (m *CoursesCreated) SetID(val string)

SetID sets the id of this subtype

func (*CoursesCreated) SetType

func (m *CoursesCreated) SetType(val string)

SetType sets the type of this subtype

func (*CoursesCreated) Type

func (m *CoursesCreated) Type() string

Type gets the type of this subtype

func (*CoursesCreated) UnmarshalBinary

func (m *CoursesCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoursesCreated) UnmarshalJSON

func (m *CoursesCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*CoursesCreated) Validate

func (m *CoursesCreated) Validate(formats strfmt.Registry) error

Validate validates this courses created

type CoursesDeleted

type CoursesDeleted struct {

	// data
	Data *CourseObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

CoursesDeleted courses deleted

swagger:model courses.deleted

func (*CoursesDeleted) ContextValidate

func (m *CoursesDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this courses deleted based on the context it is used

func (*CoursesDeleted) Created

func (m *CoursesDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*CoursesDeleted) ID

func (m *CoursesDeleted) ID() string

ID gets the id of this subtype

func (*CoursesDeleted) MarshalBinary

func (m *CoursesDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CoursesDeleted) MarshalJSON

func (m CoursesDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*CoursesDeleted) SetCreated

func (m *CoursesDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*CoursesDeleted) SetID

func (m *CoursesDeleted) SetID(val string)

SetID sets the id of this subtype

func (*CoursesDeleted) SetType

func (m *CoursesDeleted) SetType(val string)

SetType sets the type of this subtype

func (*CoursesDeleted) Type

func (m *CoursesDeleted) Type() string

Type gets the type of this subtype

func (*CoursesDeleted) UnmarshalBinary

func (m *CoursesDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoursesDeleted) UnmarshalJSON

func (m *CoursesDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*CoursesDeleted) Validate

func (m *CoursesDeleted) Validate(formats strfmt.Registry) error

Validate validates this courses deleted

type CoursesResponse

type CoursesResponse struct {

	// data
	Data []*CourseResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

CoursesResponse courses response

swagger:model CoursesResponse

func (*CoursesResponse) ContextValidate

func (m *CoursesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this courses response based on the context it is used

func (*CoursesResponse) MarshalBinary

func (m *CoursesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoursesResponse) UnmarshalBinary

func (m *CoursesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoursesResponse) Validate

func (m *CoursesResponse) Validate(formats strfmt.Registry) error

Validate validates this courses response

type CoursesUpdated

type CoursesUpdated struct {

	// data
	Data *CourseObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

CoursesUpdated courses updated

swagger:model courses.updated

func (*CoursesUpdated) ContextValidate

func (m *CoursesUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this courses updated based on the context it is used

func (*CoursesUpdated) Created

func (m *CoursesUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*CoursesUpdated) ID

func (m *CoursesUpdated) ID() string

ID gets the id of this subtype

func (*CoursesUpdated) MarshalBinary

func (m *CoursesUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CoursesUpdated) MarshalJSON

func (m CoursesUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*CoursesUpdated) SetCreated

func (m *CoursesUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*CoursesUpdated) SetID

func (m *CoursesUpdated) SetID(val string)

SetID sets the id of this subtype

func (*CoursesUpdated) SetType

func (m *CoursesUpdated) SetType(val string)

SetType sets the type of this subtype

func (*CoursesUpdated) Type

func (m *CoursesUpdated) Type() string

Type gets the type of this subtype

func (*CoursesUpdated) UnmarshalBinary

func (m *CoursesUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoursesUpdated) UnmarshalJSON

func (m *CoursesUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*CoursesUpdated) Validate

func (m *CoursesUpdated) Validate(formats strfmt.Registry) error

Validate validates this courses updated

type Credentials

type Credentials struct {

	// district username
	DistrictUsername string `json:"district_username,omitempty"`
}

Credentials credentials

swagger:model Credentials

func (*Credentials) ContextValidate

func (m *Credentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this credentials based on context it is used

func (*Credentials) MarshalBinary

func (m *Credentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Credentials) UnmarshalBinary

func (m *Credentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Credentials) Validate

func (m *Credentials) Validate(formats strfmt.Registry) error

Validate validates this credentials

type District

type District struct {

	// district contact
	DistrictContact *DistrictContact `json:"district_contact,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last sync
	// Format: datetime
	LastSync *strfmt.DateTime `json:"last_sync,omitempty"`

	// launch date
	// Format: date
	LaunchDate strfmt.Date `json:"launch_date,omitempty"`

	// login methods
	LoginMethods []string `json:"login_methods"`

	// mdr number
	MdrNumber *string `json:"mdr_number,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nces id
	NcesID *string `json:"nces_id,omitempty"`

	// pause end
	// Format: date
	PauseEnd *strfmt.Date `json:"pause_end,omitempty"`

	// pause start
	// Format: date
	PauseStart *strfmt.Date `json:"pause_start,omitempty"`

	// portal url
	PortalURL string `json:"portal_url,omitempty"`

	// sis type
	SisType string `json:"sis_type,omitempty"`

	// state
	// Enum: [running pending error paused  success]
	State *string `json:"state,omitempty"`
}

District district

swagger:model District

func (*District) ContextValidate

func (m *District) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this district based on the context it is used

func (*District) MarshalBinary

func (m *District) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*District) UnmarshalBinary

func (m *District) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*District) Validate

func (m *District) Validate(formats strfmt.Registry) error

Validate validates this district

type DistrictAdmin

type DistrictAdmin struct {

	// legacy id
	LegacyID string `json:"legacy_id,omitempty"`

	// title
	Title *string `json:"title,omitempty"`
}

DistrictAdmin district admin

swagger:model DistrictAdmin

func (*DistrictAdmin) ContextValidate

func (m *DistrictAdmin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this district admin based on context it is used

func (*DistrictAdmin) MarshalBinary

func (m *DistrictAdmin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DistrictAdmin) UnmarshalBinary

func (m *DistrictAdmin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictAdmin) Validate

func (m *DistrictAdmin) Validate(formats strfmt.Registry) error

Validate validates this district admin

type DistrictContact

type DistrictContact struct {

	// district
	District string `json:"district,omitempty"`

	// email
	Email *string `json:"email,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name *Name `json:"name,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

DistrictContact district contact

swagger:model DistrictContact

func (*DistrictContact) ContextValidate

func (m *DistrictContact) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this district contact based on the context it is used

func (*DistrictContact) MarshalBinary

func (m *DistrictContact) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DistrictContact) UnmarshalBinary

func (m *DistrictContact) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictContact) Validate

func (m *DistrictContact) Validate(formats strfmt.Registry) error

Validate validates this district contact

type DistrictObject

type DistrictObject struct {

	// object
	Object *District `json:"object,omitempty"`
}

DistrictObject district object

swagger:model DistrictObject

func (*DistrictObject) ContextValidate

func (m *DistrictObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this district object based on the context it is used

func (*DistrictObject) MarshalBinary

func (m *DistrictObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DistrictObject) UnmarshalBinary

func (m *DistrictObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictObject) Validate

func (m *DistrictObject) Validate(formats strfmt.Registry) error

Validate validates this district object

type DistrictResponse

type DistrictResponse struct {

	// data
	Data *District `json:"data,omitempty"`
}

DistrictResponse district response

swagger:model DistrictResponse

func (*DistrictResponse) ContextValidate

func (m *DistrictResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this district response based on the context it is used

func (*DistrictResponse) MarshalBinary

func (m *DistrictResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DistrictResponse) UnmarshalBinary

func (m *DistrictResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictResponse) Validate

func (m *DistrictResponse) Validate(formats strfmt.Registry) error

Validate validates this district response

type DistrictsCreated

type DistrictsCreated struct {

	// data
	Data *DistrictObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

DistrictsCreated districts created

swagger:model districts.created

func (*DistrictsCreated) ContextValidate

func (m *DistrictsCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this districts created based on the context it is used

func (*DistrictsCreated) Created

func (m *DistrictsCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*DistrictsCreated) ID

func (m *DistrictsCreated) ID() string

ID gets the id of this subtype

func (*DistrictsCreated) MarshalBinary

func (m *DistrictsCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DistrictsCreated) MarshalJSON

func (m DistrictsCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*DistrictsCreated) SetCreated

func (m *DistrictsCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*DistrictsCreated) SetID

func (m *DistrictsCreated) SetID(val string)

SetID sets the id of this subtype

func (*DistrictsCreated) SetType

func (m *DistrictsCreated) SetType(val string)

SetType sets the type of this subtype

func (*DistrictsCreated) Type

func (m *DistrictsCreated) Type() string

Type gets the type of this subtype

func (*DistrictsCreated) UnmarshalBinary

func (m *DistrictsCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictsCreated) UnmarshalJSON

func (m *DistrictsCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*DistrictsCreated) Validate

func (m *DistrictsCreated) Validate(formats strfmt.Registry) error

Validate validates this districts created

type DistrictsDeleted

type DistrictsDeleted struct {

	// data
	Data *DistrictObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

DistrictsDeleted districts deleted

swagger:model districts.deleted

func (*DistrictsDeleted) ContextValidate

func (m *DistrictsDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this districts deleted based on the context it is used

func (*DistrictsDeleted) Created

func (m *DistrictsDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*DistrictsDeleted) ID

func (m *DistrictsDeleted) ID() string

ID gets the id of this subtype

func (*DistrictsDeleted) MarshalBinary

func (m *DistrictsDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DistrictsDeleted) MarshalJSON

func (m DistrictsDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*DistrictsDeleted) SetCreated

func (m *DistrictsDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*DistrictsDeleted) SetID

func (m *DistrictsDeleted) SetID(val string)

SetID sets the id of this subtype

func (*DistrictsDeleted) SetType

func (m *DistrictsDeleted) SetType(val string)

SetType sets the type of this subtype

func (*DistrictsDeleted) Type

func (m *DistrictsDeleted) Type() string

Type gets the type of this subtype

func (*DistrictsDeleted) UnmarshalBinary

func (m *DistrictsDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictsDeleted) UnmarshalJSON

func (m *DistrictsDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*DistrictsDeleted) Validate

func (m *DistrictsDeleted) Validate(formats strfmt.Registry) error

Validate validates this districts deleted

type DistrictsResponse

type DistrictsResponse struct {

	// data
	Data []*DistrictResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

DistrictsResponse districts response

swagger:model DistrictsResponse

func (*DistrictsResponse) ContextValidate

func (m *DistrictsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this districts response based on the context it is used

func (*DistrictsResponse) MarshalBinary

func (m *DistrictsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DistrictsResponse) UnmarshalBinary

func (m *DistrictsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictsResponse) Validate

func (m *DistrictsResponse) Validate(formats strfmt.Registry) error

Validate validates this districts response

type DistrictsUpdated

type DistrictsUpdated struct {

	// data
	Data *DistrictObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

DistrictsUpdated districts updated

swagger:model districts.updated

func (*DistrictsUpdated) ContextValidate

func (m *DistrictsUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this districts updated based on the context it is used

func (*DistrictsUpdated) Created

func (m *DistrictsUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*DistrictsUpdated) ID

func (m *DistrictsUpdated) ID() string

ID gets the id of this subtype

func (*DistrictsUpdated) MarshalBinary

func (m *DistrictsUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DistrictsUpdated) MarshalJSON

func (m DistrictsUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*DistrictsUpdated) SetCreated

func (m *DistrictsUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*DistrictsUpdated) SetID

func (m *DistrictsUpdated) SetID(val string)

SetID sets the id of this subtype

func (*DistrictsUpdated) SetType

func (m *DistrictsUpdated) SetType(val string)

SetType sets the type of this subtype

func (*DistrictsUpdated) Type

func (m *DistrictsUpdated) Type() string

Type gets the type of this subtype

func (*DistrictsUpdated) UnmarshalBinary

func (m *DistrictsUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DistrictsUpdated) UnmarshalJSON

func (m *DistrictsUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*DistrictsUpdated) Validate

func (m *DistrictsUpdated) Validate(formats strfmt.Registry) error

Validate validates this districts updated

type Event

type Event interface {
	runtime.Validatable
	runtime.ContextValidatable

	// created
	// Format: datetime
	Created() strfmt.DateTime
	SetCreated(strfmt.DateTime)

	// id
	ID() string
	SetID(string)

	// type
	// Required: true
	Type() string
	SetType(string)
}

Event event

swagger:discriminator Event type

func UnmarshalEvent

func UnmarshalEvent(reader io.Reader, consumer runtime.Consumer) (Event, error)

UnmarshalEvent unmarshals polymorphic Event

func UnmarshalEventSlice

func UnmarshalEventSlice(reader io.Reader, consumer runtime.Consumer) ([]Event, error)

UnmarshalEventSlice unmarshals polymorphic slices of Event

type EventResponse

type EventResponse struct {
	// contains filtered or unexported fields
}

EventResponse event response

swagger:model EventResponse

func (*EventResponse) ContextValidate

func (m *EventResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event response based on the context it is used

func (*EventResponse) Data

func (m *EventResponse) Data() Event

Data gets the data of this base type

func (*EventResponse) MarshalBinary

func (m *EventResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (EventResponse) MarshalJSON

func (m EventResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*EventResponse) SetData

func (m *EventResponse) SetData(val Event)

SetData sets the data of this base type

func (*EventResponse) UnmarshalBinary

func (m *EventResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventResponse) UnmarshalJSON

func (m *EventResponse) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*EventResponse) Validate

func (m *EventResponse) Validate(formats strfmt.Registry) error

Validate validates this event response

type EventsResponse

type EventsResponse struct {

	// data
	Data []*EventResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

EventsResponse events response

swagger:model EventsResponse

func (*EventsResponse) ContextValidate

func (m *EventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this events response based on the context it is used

func (*EventsResponse) MarshalBinary

func (m *EventsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventsResponse) UnmarshalBinary

func (m *EventsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventsResponse) Validate

func (m *EventsResponse) Validate(formats strfmt.Registry) error

Validate validates this events response

type InternalError

type InternalError struct {

	// message
	Message string `json:"message,omitempty"`
}

InternalError internal error

swagger:model InternalError

func (*InternalError) ContextValidate

func (m *InternalError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this internal error based on context it is used

func (*InternalError) MarshalBinary

func (m *InternalError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InternalError) UnmarshalBinary

func (m *InternalError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InternalError) Validate

func (m *InternalError) Validate(formats strfmt.Registry) error

Validate validates this internal error

type Link struct {

	// rel
	// Enum: [next prev self]
	Rel string `json:"rel,omitempty"`

	// uri
	URI string `json:"uri,omitempty"`
}

Link link

swagger:model Link

func (*Link) ContextValidate

func (m *Link) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this link based on context it is used

func (*Link) MarshalBinary

func (m *Link) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Link) UnmarshalBinary

func (m *Link) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Link) Validate

func (m *Link) Validate(formats strfmt.Registry) error

Validate validates this link

type Location

type Location struct {

	// address
	Address *string `json:"address,omitempty"`

	// city
	City *string `json:"city,omitempty"`

	// lat
	Lat *string `json:"lat,omitempty"`

	// lon
	Lon *string `json:"lon,omitempty"`

	// state
	State *string `json:"state,omitempty"`

	// zip
	Zip *string `json:"zip,omitempty"`
}

Location location

swagger:model Location

func (*Location) ContextValidate

func (m *Location) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this location based on context it is used

func (*Location) MarshalBinary

func (m *Location) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Location) UnmarshalBinary

func (m *Location) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Location) Validate

func (m *Location) Validate(formats strfmt.Registry) error

Validate validates this location

type Name

type Name struct {

	// first
	First *string `json:"first,omitempty"`

	// last
	Last *string `json:"last,omitempty"`

	// middle
	Middle *string `json:"middle,omitempty"`
}

Name name

swagger:model Name

func (*Name) ContextValidate

func (m *Name) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this name based on context it is used

func (*Name) MarshalBinary

func (m *Name) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Name) UnmarshalBinary

func (m *Name) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Name) Validate

func (m *Name) Validate(formats strfmt.Registry) error

Validate validates this name

type NotFound

type NotFound struct {

	// message
	Message string `json:"message,omitempty"`
}

NotFound not found

swagger:model NotFound

func (*NotFound) ContextValidate

func (m *NotFound) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this not found based on context it is used

func (*NotFound) MarshalBinary

func (m *NotFound) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotFound) UnmarshalBinary

func (m *NotFound) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotFound) Validate

func (m *NotFound) Validate(formats strfmt.Registry) error

Validate validates this not found

type Principal

type Principal struct {

	// email
	Email *string `json:"email,omitempty"`

	// name
	Name *string `json:"name,omitempty"`
}

Principal principal

swagger:model Principal

func (*Principal) ContextValidate

func (m *Principal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this principal based on context it is used

func (*Principal) MarshalBinary

func (m *Principal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

func (m *Principal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Principal) Validate

func (m *Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type Resource

type Resource struct {

	// created
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// district
	District string `json:"district,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// resource id
	ResourceID string `json:"resource_id,omitempty"`

	// roles
	Roles []string `json:"roles"`

	// title
	Title string `json:"title,omitempty"`

	// updated
	// Format: date-time
	Updated strfmt.DateTime `json:"updated,omitempty"`
}

Resource resource

swagger:model Resource

func (*Resource) ContextValidate

func (m *Resource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource based on context it is used

func (*Resource) MarshalBinary

func (m *Resource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary

func (m *Resource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resource) Validate

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type ResourceObject

type ResourceObject struct {

	// object
	Object *Resource `json:"object,omitempty"`
}

ResourceObject resource object

swagger:model ResourceObject

func (*ResourceObject) ContextValidate

func (m *ResourceObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource object based on the context it is used

func (*ResourceObject) MarshalBinary

func (m *ResourceObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceObject) UnmarshalBinary

func (m *ResourceObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceObject) Validate

func (m *ResourceObject) Validate(formats strfmt.Registry) error

Validate validates this resource object

type ResourceResponse

type ResourceResponse struct {

	// data
	Data *Resource `json:"data,omitempty"`
}

ResourceResponse resource response

swagger:model ResourceResponse

func (*ResourceResponse) ContextValidate

func (m *ResourceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource response based on the context it is used

func (*ResourceResponse) MarshalBinary

func (m *ResourceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceResponse) UnmarshalBinary

func (m *ResourceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceResponse) Validate

func (m *ResourceResponse) Validate(formats strfmt.Registry) error

Validate validates this resource response

type ResourcesCreated

type ResourcesCreated struct {

	// data
	Data *ResourceObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

ResourcesCreated resources created

swagger:model resources.created

func (*ResourcesCreated) ContextValidate

func (m *ResourcesCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resources created based on the context it is used

func (*ResourcesCreated) Created

func (m *ResourcesCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*ResourcesCreated) ID

func (m *ResourcesCreated) ID() string

ID gets the id of this subtype

func (*ResourcesCreated) MarshalBinary

func (m *ResourcesCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ResourcesCreated) MarshalJSON

func (m ResourcesCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ResourcesCreated) SetCreated

func (m *ResourcesCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*ResourcesCreated) SetID

func (m *ResourcesCreated) SetID(val string)

SetID sets the id of this subtype

func (*ResourcesCreated) SetType

func (m *ResourcesCreated) SetType(val string)

SetType sets the type of this subtype

func (*ResourcesCreated) Type

func (m *ResourcesCreated) Type() string

Type gets the type of this subtype

func (*ResourcesCreated) UnmarshalBinary

func (m *ResourcesCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcesCreated) UnmarshalJSON

func (m *ResourcesCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ResourcesCreated) Validate

func (m *ResourcesCreated) Validate(formats strfmt.Registry) error

Validate validates this resources created

type ResourcesDeleted

type ResourcesDeleted struct {

	// data
	Data *ResourceObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

ResourcesDeleted resources deleted

swagger:model resources.deleted

func (*ResourcesDeleted) ContextValidate

func (m *ResourcesDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resources deleted based on the context it is used

func (*ResourcesDeleted) Created

func (m *ResourcesDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*ResourcesDeleted) ID

func (m *ResourcesDeleted) ID() string

ID gets the id of this subtype

func (*ResourcesDeleted) MarshalBinary

func (m *ResourcesDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ResourcesDeleted) MarshalJSON

func (m ResourcesDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ResourcesDeleted) SetCreated

func (m *ResourcesDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*ResourcesDeleted) SetID

func (m *ResourcesDeleted) SetID(val string)

SetID sets the id of this subtype

func (*ResourcesDeleted) SetType

func (m *ResourcesDeleted) SetType(val string)

SetType sets the type of this subtype

func (*ResourcesDeleted) Type

func (m *ResourcesDeleted) Type() string

Type gets the type of this subtype

func (*ResourcesDeleted) UnmarshalBinary

func (m *ResourcesDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcesDeleted) UnmarshalJSON

func (m *ResourcesDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ResourcesDeleted) Validate

func (m *ResourcesDeleted) Validate(formats strfmt.Registry) error

Validate validates this resources deleted

type ResourcesResponse

type ResourcesResponse struct {

	// data
	Data []*ResourceResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

ResourcesResponse resources response

swagger:model ResourcesResponse

func (*ResourcesResponse) ContextValidate

func (m *ResourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resources response based on the context it is used

func (*ResourcesResponse) MarshalBinary

func (m *ResourcesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourcesResponse) UnmarshalBinary

func (m *ResourcesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcesResponse) Validate

func (m *ResourcesResponse) Validate(formats strfmt.Registry) error

Validate validates this resources response

type ResourcesUpdated

type ResourcesUpdated struct {

	// data
	Data *ResourceObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

ResourcesUpdated resources updated

swagger:model resources.updated

func (*ResourcesUpdated) ContextValidate

func (m *ResourcesUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resources updated based on the context it is used

func (*ResourcesUpdated) Created

func (m *ResourcesUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*ResourcesUpdated) ID

func (m *ResourcesUpdated) ID() string

ID gets the id of this subtype

func (*ResourcesUpdated) MarshalBinary

func (m *ResourcesUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ResourcesUpdated) MarshalJSON

func (m ResourcesUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ResourcesUpdated) SetCreated

func (m *ResourcesUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*ResourcesUpdated) SetID

func (m *ResourcesUpdated) SetID(val string)

SetID sets the id of this subtype

func (*ResourcesUpdated) SetType

func (m *ResourcesUpdated) SetType(val string)

SetType sets the type of this subtype

func (*ResourcesUpdated) Type

func (m *ResourcesUpdated) Type() string

Type gets the type of this subtype

func (*ResourcesUpdated) UnmarshalBinary

func (m *ResourcesUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourcesUpdated) UnmarshalJSON

func (m *ResourcesUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ResourcesUpdated) Validate

func (m *ResourcesUpdated) Validate(formats strfmt.Registry) error

Validate validates this resources updated

type Roles

type Roles struct {

	// contact
	Contact *Contact `json:"contact,omitempty"`

	// districtadmin
	Districtadmin *DistrictAdmin `json:"districtadmin,omitempty"`

	// staff
	Staff *Staff `json:"staff,omitempty"`

	// student
	Student *Student `json:"student,omitempty"`

	// teacher
	Teacher *Teacher `json:"teacher,omitempty"`
}

Roles roles

swagger:model Roles

func (*Roles) ContextValidate

func (m *Roles) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this roles based on the context it is used

func (*Roles) MarshalBinary

func (m *Roles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Roles) UnmarshalBinary

func (m *Roles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Roles) Validate

func (m *Roles) Validate(formats strfmt.Registry) error

Validate validates this roles

type School

type School struct {

	// created
	// Format: datetime
	Created strfmt.DateTime `json:"created,omitempty"`

	// district
	District string `json:"district,omitempty"`

	// ext
	Ext interface{} `json:"ext,omitempty"`

	// high grade
	// Enum: [InfantToddler Preschool PreKindergarten TransitionalKindergarten Kindergarten 1 2 3 4 5 6 7 8 9 10 11 12 13 PostGraduate Ungraded Other ]
	HighGrade *string `json:"high_grade,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last modified
	// Format: datetime
	LastModified strfmt.DateTime `json:"last_modified,omitempty"`

	// location
	Location *Location `json:"location,omitempty"`

	// low grade
	// Enum: [InfantToddler Preschool PreKindergarten TransitionalKindergarten Kindergarten 1 2 3 4 5 6 7 8 9 10 11 12 13 PostGraduate Ungraded Other ]
	LowGrade *string `json:"low_grade,omitempty"`

	// mdr number
	MdrNumber *string `json:"mdr_number,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// nces id
	NcesID *string `json:"nces_id,omitempty"`

	// phone
	Phone *string `json:"phone,omitempty"`

	// principal
	Principal *Principal `json:"principal,omitempty"`

	// school number
	SchoolNumber string `json:"school_number,omitempty"`

	// sis id
	SisID string `json:"sis_id,omitempty"`

	// state id
	StateID *string `json:"state_id,omitempty"`
}

School school

swagger:model School

func (*School) ContextValidate

func (m *School) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this school based on the context it is used

func (*School) MarshalBinary

func (m *School) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*School) UnmarshalBinary

func (m *School) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*School) Validate

func (m *School) Validate(formats strfmt.Registry) error

Validate validates this school

type SchoolEnrollment

type SchoolEnrollment struct {

	// end date
	// Format: datetime
	EndDate strfmt.DateTime `json:"end_date,omitempty"`

	// school
	School string `json:"school,omitempty"`

	// start date
	// Format: datetime
	StartDate strfmt.DateTime `json:"start_date,omitempty"`
}

SchoolEnrollment school enrollment

swagger:model SchoolEnrollment

func (*SchoolEnrollment) ContextValidate

func (m *SchoolEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this school enrollment based on context it is used

func (*SchoolEnrollment) MarshalBinary

func (m *SchoolEnrollment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchoolEnrollment) UnmarshalBinary

func (m *SchoolEnrollment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolEnrollment) Validate

func (m *SchoolEnrollment) Validate(formats strfmt.Registry) error

Validate validates this school enrollment

type SchoolObject

type SchoolObject struct {

	// object
	Object *School `json:"object,omitempty"`
}

SchoolObject school object

swagger:model SchoolObject

func (*SchoolObject) ContextValidate

func (m *SchoolObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this school object based on the context it is used

func (*SchoolObject) MarshalBinary

func (m *SchoolObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchoolObject) UnmarshalBinary

func (m *SchoolObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolObject) Validate

func (m *SchoolObject) Validate(formats strfmt.Registry) error

Validate validates this school object

type SchoolResponse

type SchoolResponse struct {

	// data
	Data *School `json:"data,omitempty"`
}

SchoolResponse school response

swagger:model SchoolResponse

func (*SchoolResponse) ContextValidate

func (m *SchoolResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this school response based on the context it is used

func (*SchoolResponse) MarshalBinary

func (m *SchoolResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchoolResponse) UnmarshalBinary

func (m *SchoolResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolResponse) Validate

func (m *SchoolResponse) Validate(formats strfmt.Registry) error

Validate validates this school response

type SchoolsCreated

type SchoolsCreated struct {

	// data
	Data *SchoolObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

SchoolsCreated schools created

swagger:model schools.created

func (*SchoolsCreated) ContextValidate

func (m *SchoolsCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schools created based on the context it is used

func (*SchoolsCreated) Created

func (m *SchoolsCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*SchoolsCreated) ID

func (m *SchoolsCreated) ID() string

ID gets the id of this subtype

func (*SchoolsCreated) MarshalBinary

func (m *SchoolsCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SchoolsCreated) MarshalJSON

func (m SchoolsCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SchoolsCreated) SetCreated

func (m *SchoolsCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*SchoolsCreated) SetID

func (m *SchoolsCreated) SetID(val string)

SetID sets the id of this subtype

func (*SchoolsCreated) SetType

func (m *SchoolsCreated) SetType(val string)

SetType sets the type of this subtype

func (*SchoolsCreated) Type

func (m *SchoolsCreated) Type() string

Type gets the type of this subtype

func (*SchoolsCreated) UnmarshalBinary

func (m *SchoolsCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolsCreated) UnmarshalJSON

func (m *SchoolsCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SchoolsCreated) Validate

func (m *SchoolsCreated) Validate(formats strfmt.Registry) error

Validate validates this schools created

type SchoolsDeleted

type SchoolsDeleted struct {

	// data
	Data *SchoolObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

SchoolsDeleted schools deleted

swagger:model schools.deleted

func (*SchoolsDeleted) ContextValidate

func (m *SchoolsDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schools deleted based on the context it is used

func (*SchoolsDeleted) Created

func (m *SchoolsDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*SchoolsDeleted) ID

func (m *SchoolsDeleted) ID() string

ID gets the id of this subtype

func (*SchoolsDeleted) MarshalBinary

func (m *SchoolsDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SchoolsDeleted) MarshalJSON

func (m SchoolsDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SchoolsDeleted) SetCreated

func (m *SchoolsDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*SchoolsDeleted) SetID

func (m *SchoolsDeleted) SetID(val string)

SetID sets the id of this subtype

func (*SchoolsDeleted) SetType

func (m *SchoolsDeleted) SetType(val string)

SetType sets the type of this subtype

func (*SchoolsDeleted) Type

func (m *SchoolsDeleted) Type() string

Type gets the type of this subtype

func (*SchoolsDeleted) UnmarshalBinary

func (m *SchoolsDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolsDeleted) UnmarshalJSON

func (m *SchoolsDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SchoolsDeleted) Validate

func (m *SchoolsDeleted) Validate(formats strfmt.Registry) error

Validate validates this schools deleted

type SchoolsResponse

type SchoolsResponse struct {

	// data
	Data []*SchoolResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

SchoolsResponse schools response

swagger:model SchoolsResponse

func (*SchoolsResponse) ContextValidate

func (m *SchoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schools response based on the context it is used

func (*SchoolsResponse) MarshalBinary

func (m *SchoolsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchoolsResponse) UnmarshalBinary

func (m *SchoolsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolsResponse) Validate

func (m *SchoolsResponse) Validate(formats strfmt.Registry) error

Validate validates this schools response

type SchoolsUpdated

type SchoolsUpdated struct {

	// data
	Data *SchoolObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

SchoolsUpdated schools updated

swagger:model schools.updated

func (*SchoolsUpdated) ContextValidate

func (m *SchoolsUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schools updated based on the context it is used

func (*SchoolsUpdated) Created

func (m *SchoolsUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*SchoolsUpdated) ID

func (m *SchoolsUpdated) ID() string

ID gets the id of this subtype

func (*SchoolsUpdated) MarshalBinary

func (m *SchoolsUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SchoolsUpdated) MarshalJSON

func (m SchoolsUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SchoolsUpdated) SetCreated

func (m *SchoolsUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*SchoolsUpdated) SetID

func (m *SchoolsUpdated) SetID(val string)

SetID sets the id of this subtype

func (*SchoolsUpdated) SetType

func (m *SchoolsUpdated) SetType(val string)

SetType sets the type of this subtype

func (*SchoolsUpdated) Type

func (m *SchoolsUpdated) Type() string

Type gets the type of this subtype

func (*SchoolsUpdated) UnmarshalBinary

func (m *SchoolsUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchoolsUpdated) UnmarshalJSON

func (m *SchoolsUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SchoolsUpdated) Validate

func (m *SchoolsUpdated) Validate(formats strfmt.Registry) error

Validate validates this schools updated

type Section

type Section struct {

	// course
	Course *string `json:"course,omitempty"`

	// created
	// Format: datetime
	Created strfmt.DateTime `json:"created,omitempty"`

	// district
	District string `json:"district,omitempty"`

	// ext
	Ext interface{} `json:"ext,omitempty"`

	// grade
	// Enum: [InfantToddler Preschool PreKindergarten TransitionalKindergarten Kindergarten 1 2 3 4 5 6 7 8 9 10 11 12 13 PostGraduate Ungraded Other ]
	Grade *string `json:"grade,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last modified
	// Format: datetime
	LastModified strfmt.DateTime `json:"last_modified,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// period
	Period *string `json:"period,omitempty"`

	// school
	School string `json:"school,omitempty"`

	// section number
	SectionNumber *string `json:"section_number,omitempty"`

	// sis id
	SisID string `json:"sis_id,omitempty"`

	// students
	Students []string `json:"students"`

	// subject
	// Enum: [english/language arts math science social studies language homeroom/advisory interventions/online learning technology and engineering PE and health arts and music other ]
	Subject *string `json:"subject,omitempty"`

	// teacher
	Teacher *string `json:"teacher,omitempty"`

	// teachers
	Teachers []string `json:"teachers"`

	// term id
	TermID *string `json:"term_id,omitempty"`
}

Section section

swagger:model Section

func (*Section) ContextValidate

func (m *Section) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this section based on context it is used

func (*Section) MarshalBinary

func (m *Section) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Section) UnmarshalBinary

func (m *Section) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Section) Validate

func (m *Section) Validate(formats strfmt.Registry) error

Validate validates this section

type SectionObject

type SectionObject struct {

	// object
	Object *Section `json:"object,omitempty"`
}

SectionObject section object

swagger:model SectionObject

func (*SectionObject) ContextValidate

func (m *SectionObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this section object based on the context it is used

func (*SectionObject) MarshalBinary

func (m *SectionObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionObject) UnmarshalBinary

func (m *SectionObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionObject) Validate

func (m *SectionObject) Validate(formats strfmt.Registry) error

Validate validates this section object

type SectionResponse

type SectionResponse struct {

	// data
	Data *Section `json:"data,omitempty"`
}

SectionResponse section response

swagger:model SectionResponse

func (*SectionResponse) ContextValidate

func (m *SectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this section response based on the context it is used

func (*SectionResponse) MarshalBinary

func (m *SectionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionResponse) UnmarshalBinary

func (m *SectionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionResponse) Validate

func (m *SectionResponse) Validate(formats strfmt.Registry) error

Validate validates this section response

type SectionsCreated

type SectionsCreated struct {

	// data
	Data *SectionObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

SectionsCreated sections created

swagger:model sections.created

func (*SectionsCreated) ContextValidate

func (m *SectionsCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sections created based on the context it is used

func (*SectionsCreated) Created

func (m *SectionsCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*SectionsCreated) ID

func (m *SectionsCreated) ID() string

ID gets the id of this subtype

func (*SectionsCreated) MarshalBinary

func (m *SectionsCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SectionsCreated) MarshalJSON

func (m SectionsCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SectionsCreated) SetCreated

func (m *SectionsCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*SectionsCreated) SetID

func (m *SectionsCreated) SetID(val string)

SetID sets the id of this subtype

func (*SectionsCreated) SetType

func (m *SectionsCreated) SetType(val string)

SetType sets the type of this subtype

func (*SectionsCreated) Type

func (m *SectionsCreated) Type() string

Type gets the type of this subtype

func (*SectionsCreated) UnmarshalBinary

func (m *SectionsCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionsCreated) UnmarshalJSON

func (m *SectionsCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SectionsCreated) Validate

func (m *SectionsCreated) Validate(formats strfmt.Registry) error

Validate validates this sections created

type SectionsDeleted

type SectionsDeleted struct {

	// data
	Data *SectionObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

SectionsDeleted sections deleted

swagger:model sections.deleted

func (*SectionsDeleted) ContextValidate

func (m *SectionsDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sections deleted based on the context it is used

func (*SectionsDeleted) Created

func (m *SectionsDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*SectionsDeleted) ID

func (m *SectionsDeleted) ID() string

ID gets the id of this subtype

func (*SectionsDeleted) MarshalBinary

func (m *SectionsDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SectionsDeleted) MarshalJSON

func (m SectionsDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SectionsDeleted) SetCreated

func (m *SectionsDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*SectionsDeleted) SetID

func (m *SectionsDeleted) SetID(val string)

SetID sets the id of this subtype

func (*SectionsDeleted) SetType

func (m *SectionsDeleted) SetType(val string)

SetType sets the type of this subtype

func (*SectionsDeleted) Type

func (m *SectionsDeleted) Type() string

Type gets the type of this subtype

func (*SectionsDeleted) UnmarshalBinary

func (m *SectionsDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionsDeleted) UnmarshalJSON

func (m *SectionsDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SectionsDeleted) Validate

func (m *SectionsDeleted) Validate(formats strfmt.Registry) error

Validate validates this sections deleted

type SectionsResponse

type SectionsResponse struct {

	// data
	Data []*SectionResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

SectionsResponse sections response

swagger:model SectionsResponse

func (*SectionsResponse) ContextValidate

func (m *SectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sections response based on the context it is used

func (*SectionsResponse) MarshalBinary

func (m *SectionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionsResponse) UnmarshalBinary

func (m *SectionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionsResponse) Validate

func (m *SectionsResponse) Validate(formats strfmt.Registry) error

Validate validates this sections response

type SectionsUpdated

type SectionsUpdated struct {

	// data
	Data *SectionObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

SectionsUpdated sections updated

swagger:model sections.updated

func (*SectionsUpdated) ContextValidate

func (m *SectionsUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sections updated based on the context it is used

func (*SectionsUpdated) Created

func (m *SectionsUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*SectionsUpdated) ID

func (m *SectionsUpdated) ID() string

ID gets the id of this subtype

func (*SectionsUpdated) MarshalBinary

func (m *SectionsUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SectionsUpdated) MarshalJSON

func (m SectionsUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SectionsUpdated) SetCreated

func (m *SectionsUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*SectionsUpdated) SetID

func (m *SectionsUpdated) SetID(val string)

SetID sets the id of this subtype

func (*SectionsUpdated) SetType

func (m *SectionsUpdated) SetType(val string)

SetType sets the type of this subtype

func (*SectionsUpdated) Type

func (m *SectionsUpdated) Type() string

Type gets the type of this subtype

func (*SectionsUpdated) UnmarshalBinary

func (m *SectionsUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionsUpdated) UnmarshalJSON

func (m *SectionsUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SectionsUpdated) Validate

func (m *SectionsUpdated) Validate(formats strfmt.Registry) error

Validate validates this sections updated

type Staff

type Staff struct {

	// credentials
	Credentials *Credentials `json:"credentials,omitempty"`

	// department
	Department *string `json:"department,omitempty"`

	// ext
	Ext interface{} `json:"ext,omitempty"`

	// legacy id
	LegacyID string `json:"legacy_id,omitempty"`

	// roles
	Roles []string `json:"roles"`

	// schools
	Schools []string `json:"schools"`

	// staff id
	StaffID string `json:"staff_id,omitempty"`

	// title
	Title *string `json:"title,omitempty"`
}

Staff staff

swagger:model Staff

func (*Staff) ContextValidate

func (m *Staff) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this staff based on the context it is used

func (*Staff) MarshalBinary

func (m *Staff) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Staff) UnmarshalBinary

func (m *Staff) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Staff) Validate

func (m *Staff) Validate(formats strfmt.Registry) error

Validate validates this staff

type Student

type Student struct {

	// created
	// Format: datetime
	Created strfmt.DateTime `json:"created,omitempty"`

	// credentials
	Credentials *Credentials `json:"credentials,omitempty"`

	// dob
	// Pattern: (?:[0-9]{1,2})/([0-9]{1,2})/([0-9]{4})
	Dob *string `json:"dob,omitempty"`

	// ell status
	// Enum: [Y N ]
	EllStatus *string `json:"ell_status,omitempty"`

	// enrollments
	Enrollments []*SchoolEnrollment `json:"enrollments"`

	// ext
	Ext interface{} `json:"ext,omitempty"`

	// gender
	// Enum: [M F X ]
	Gender *string `json:"gender,omitempty"`

	// grade
	// Enum: [InfantToddler Preschool PreKindergarten TransitionalKindergarten Kindergarten 1 2 3 4 5 6 7 8 9 10 11 12 13 PostGraduate Ungraded Other ]
	Grade *string `json:"grade,omitempty"`

	// graduation year
	GraduationYear *string `json:"graduation_year,omitempty"`

	// hispanic ethnicity
	// Enum: [Y N ]
	HispanicEthnicity *string `json:"hispanic_ethnicity,omitempty"`

	// home language
	// Enum: [English Albanian Amharic Arabic Bengali Bosnian Burmese Cantonese Chinese Dutch Farsi French German Hebrew Hindi Hmong Ilocano Japanese Javanese Karen Khmer Korean Laotian Latvian Malay Mandarin Nepali Oromo Polish Portuguese Punjabi Romanian Russian Samoan Serbian Somali Spanish Swahili Tagalog Tamil Telugu Thai Tigrinya Turkish Ukrainian Urdu Vietnamese ]
	HomeLanguage *string `json:"home_language,omitempty"`

	// iep status
	IepStatus *string `json:"iep_status,omitempty"`

	// last modified
	// Format: datetime
	LastModified strfmt.DateTime `json:"last_modified,omitempty"`

	// legacy id
	LegacyID string `json:"legacy_id,omitempty"`

	// location
	Location *Location `json:"location,omitempty"`

	// race
	// Enum: [Caucasian Asian Black or African American American Indian Hawaiian or Other Pacific Islander Two or More Races Unknown ]
	Race *string `json:"race,omitempty"`

	// school
	School string `json:"school,omitempty"`

	// schools
	Schools []string `json:"schools"`

	// sis id
	SisID string `json:"sis_id,omitempty"`

	// state id
	StateID *string `json:"state_id,omitempty"`

	// student number
	StudentNumber *string `json:"student_number,omitempty"`

	// unweighted gpa
	UnweightedGpa *string `json:"unweighted_gpa,omitempty"`

	// weighted gpa
	WeightedGpa *string `json:"weighted_gpa,omitempty"`
}

Student student

swagger:model Student

func (*Student) ContextValidate

func (m *Student) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this student based on the context it is used

func (*Student) MarshalBinary

func (m *Student) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Student) UnmarshalBinary

func (m *Student) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Student) Validate

func (m *Student) Validate(formats strfmt.Registry) error

Validate validates this student

type StudentRelationship

type StudentRelationship struct {

	// relationship
	// Enum: [Parent Grandparent Self Aunt/Uncle Sibling Other ]
	Relationship *string `json:"relationship,omitempty"`

	// student
	Student string `json:"student,omitempty"`

	// type
	// Enum: [Parent/Guardian Emergency Primary Secondary Family Other ]
	Type *string `json:"type,omitempty"`
}

StudentRelationship student relationship

swagger:model StudentRelationship

func (*StudentRelationship) ContextValidate

func (m *StudentRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this student relationship based on context it is used

func (*StudentRelationship) MarshalBinary

func (m *StudentRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StudentRelationship) UnmarshalBinary

func (m *StudentRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StudentRelationship) Validate

func (m *StudentRelationship) Validate(formats strfmt.Registry) error

Validate validates this student relationship

type Teacher

type Teacher struct {

	// created
	// Format: datetime
	Created strfmt.DateTime `json:"created,omitempty"`

	// credentials
	Credentials *Credentials `json:"credentials,omitempty"`

	// district
	District string `json:"district,omitempty"`

	// ext
	Ext interface{} `json:"ext,omitempty"`

	// last modified
	// Format: datetime
	LastModified strfmt.DateTime `json:"last_modified,omitempty"`

	// legacy id
	LegacyID string `json:"legacy_id,omitempty"`

	// name
	Name *Name `json:"name,omitempty"`

	// school
	School string `json:"school,omitempty"`

	// schools
	Schools []string `json:"schools"`

	// sis id
	SisID string `json:"sis_id,omitempty"`

	// state id
	StateID *string `json:"state_id,omitempty"`

	// teacher number
	TeacherNumber *string `json:"teacher_number,omitempty"`

	// title
	Title *string `json:"title,omitempty"`
}

Teacher teacher

swagger:model Teacher

func (*Teacher) ContextValidate

func (m *Teacher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this teacher based on the context it is used

func (*Teacher) MarshalBinary

func (m *Teacher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Teacher) UnmarshalBinary

func (m *Teacher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Teacher) Validate

func (m *Teacher) Validate(formats strfmt.Registry) error

Validate validates this teacher

type Term

type Term struct {

	// district
	District string `json:"district,omitempty"`

	// end date
	EndDate *string `json:"end_date,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// start date
	StartDate *string `json:"start_date,omitempty"`
}

Term term

swagger:model Term

func (*Term) ContextValidate

func (m *Term) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this term based on context it is used

func (*Term) MarshalBinary

func (m *Term) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Term) UnmarshalBinary

func (m *Term) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Term) Validate

func (m *Term) Validate(formats strfmt.Registry) error

Validate validates this term

type TermObject

type TermObject struct {

	// object
	Object *Term `json:"object,omitempty"`
}

TermObject term object

swagger:model TermObject

func (*TermObject) ContextValidate

func (m *TermObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this term object based on the context it is used

func (*TermObject) MarshalBinary

func (m *TermObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TermObject) UnmarshalBinary

func (m *TermObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermObject) Validate

func (m *TermObject) Validate(formats strfmt.Registry) error

Validate validates this term object

type TermResponse

type TermResponse struct {

	// data
	Data *Term `json:"data,omitempty"`
}

TermResponse term response

swagger:model TermResponse

func (*TermResponse) ContextValidate

func (m *TermResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this term response based on the context it is used

func (*TermResponse) MarshalBinary

func (m *TermResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TermResponse) UnmarshalBinary

func (m *TermResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermResponse) Validate

func (m *TermResponse) Validate(formats strfmt.Registry) error

Validate validates this term response

type TermsCreated

type TermsCreated struct {

	// data
	Data *TermObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

TermsCreated terms created

swagger:model terms.created

func (*TermsCreated) ContextValidate

func (m *TermsCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terms created based on the context it is used

func (*TermsCreated) Created

func (m *TermsCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*TermsCreated) ID

func (m *TermsCreated) ID() string

ID gets the id of this subtype

func (*TermsCreated) MarshalBinary

func (m *TermsCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (TermsCreated) MarshalJSON

func (m TermsCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*TermsCreated) SetCreated

func (m *TermsCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*TermsCreated) SetID

func (m *TermsCreated) SetID(val string)

SetID sets the id of this subtype

func (*TermsCreated) SetType

func (m *TermsCreated) SetType(val string)

SetType sets the type of this subtype

func (*TermsCreated) Type

func (m *TermsCreated) Type() string

Type gets the type of this subtype

func (*TermsCreated) UnmarshalBinary

func (m *TermsCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermsCreated) UnmarshalJSON

func (m *TermsCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*TermsCreated) Validate

func (m *TermsCreated) Validate(formats strfmt.Registry) error

Validate validates this terms created

type TermsDeleted

type TermsDeleted struct {

	// data
	Data *TermObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

TermsDeleted terms deleted

swagger:model terms.deleted

func (*TermsDeleted) ContextValidate

func (m *TermsDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terms deleted based on the context it is used

func (*TermsDeleted) Created

func (m *TermsDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*TermsDeleted) ID

func (m *TermsDeleted) ID() string

ID gets the id of this subtype

func (*TermsDeleted) MarshalBinary

func (m *TermsDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (TermsDeleted) MarshalJSON

func (m TermsDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*TermsDeleted) SetCreated

func (m *TermsDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*TermsDeleted) SetID

func (m *TermsDeleted) SetID(val string)

SetID sets the id of this subtype

func (*TermsDeleted) SetType

func (m *TermsDeleted) SetType(val string)

SetType sets the type of this subtype

func (*TermsDeleted) Type

func (m *TermsDeleted) Type() string

Type gets the type of this subtype

func (*TermsDeleted) UnmarshalBinary

func (m *TermsDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermsDeleted) UnmarshalJSON

func (m *TermsDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*TermsDeleted) Validate

func (m *TermsDeleted) Validate(formats strfmt.Registry) error

Validate validates this terms deleted

type TermsResponse

type TermsResponse struct {

	// data
	Data []*TermResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

TermsResponse terms response

swagger:model TermsResponse

func (*TermsResponse) ContextValidate

func (m *TermsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terms response based on the context it is used

func (*TermsResponse) MarshalBinary

func (m *TermsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TermsResponse) UnmarshalBinary

func (m *TermsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermsResponse) Validate

func (m *TermsResponse) Validate(formats strfmt.Registry) error

Validate validates this terms response

type TermsUpdated

type TermsUpdated struct {

	// data
	Data *TermObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

TermsUpdated terms updated

swagger:model terms.updated

func (*TermsUpdated) ContextValidate

func (m *TermsUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this terms updated based on the context it is used

func (*TermsUpdated) Created

func (m *TermsUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*TermsUpdated) ID

func (m *TermsUpdated) ID() string

ID gets the id of this subtype

func (*TermsUpdated) MarshalBinary

func (m *TermsUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (TermsUpdated) MarshalJSON

func (m TermsUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*TermsUpdated) SetCreated

func (m *TermsUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*TermsUpdated) SetID

func (m *TermsUpdated) SetID(val string)

SetID sets the id of this subtype

func (*TermsUpdated) SetType

func (m *TermsUpdated) SetType(val string)

SetType sets the type of this subtype

func (*TermsUpdated) Type

func (m *TermsUpdated) Type() string

Type gets the type of this subtype

func (*TermsUpdated) UnmarshalBinary

func (m *TermsUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermsUpdated) UnmarshalJSON

func (m *TermsUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*TermsUpdated) Validate

func (m *TermsUpdated) Validate(formats strfmt.Registry) error

Validate validates this terms updated

type User

type User struct {

	// created
	// Format: datetime
	Created strfmt.DateTime `json:"created,omitempty"`

	// district
	District string `json:"district,omitempty"`

	// email
	Email *string `json:"email,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last modified
	// Format: datetime
	LastModified strfmt.DateTime `json:"last_modified,omitempty"`

	// name
	Name *Name `json:"name,omitempty"`

	// roles
	Roles *Roles `json:"roles,omitempty"`
}

User user

swagger:model User

func (*User) ContextValidate

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserObject

type UserObject struct {

	// object
	Object *User `json:"object,omitempty"`
}

UserObject user object

swagger:model UserObject

func (*UserObject) ContextValidate

func (m *UserObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user object based on the context it is used

func (*UserObject) MarshalBinary

func (m *UserObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserObject) UnmarshalBinary

func (m *UserObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserObject) Validate

func (m *UserObject) Validate(formats strfmt.Registry) error

Validate validates this user object

type UserResponse

type UserResponse struct {

	// data
	Data *User `json:"data,omitempty"`
}

UserResponse user response

swagger:model UserResponse

func (*UserResponse) ContextValidate

func (m *UserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user response based on the context it is used

func (*UserResponse) MarshalBinary

func (m *UserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserResponse) UnmarshalBinary

func (m *UserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserResponse) Validate

func (m *UserResponse) Validate(formats strfmt.Registry) error

Validate validates this user response

type UsersCreated

type UsersCreated struct {

	// data
	Data *UserObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

UsersCreated users created

swagger:model users.created

func (*UsersCreated) ContextValidate

func (m *UsersCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users created based on the context it is used

func (*UsersCreated) Created

func (m *UsersCreated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*UsersCreated) ID

func (m *UsersCreated) ID() string

ID gets the id of this subtype

func (*UsersCreated) MarshalBinary

func (m *UsersCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (UsersCreated) MarshalJSON

func (m UsersCreated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*UsersCreated) SetCreated

func (m *UsersCreated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*UsersCreated) SetID

func (m *UsersCreated) SetID(val string)

SetID sets the id of this subtype

func (*UsersCreated) SetType

func (m *UsersCreated) SetType(val string)

SetType sets the type of this subtype

func (*UsersCreated) Type

func (m *UsersCreated) Type() string

Type gets the type of this subtype

func (*UsersCreated) UnmarshalBinary

func (m *UsersCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersCreated) UnmarshalJSON

func (m *UsersCreated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*UsersCreated) Validate

func (m *UsersCreated) Validate(formats strfmt.Registry) error

Validate validates this users created

type UsersDeleted

type UsersDeleted struct {

	// data
	Data *UserObject `json:"data,omitempty"`
	// contains filtered or unexported fields
}

UsersDeleted users deleted

swagger:model users.deleted

func (*UsersDeleted) ContextValidate

func (m *UsersDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users deleted based on the context it is used

func (*UsersDeleted) Created

func (m *UsersDeleted) Created() strfmt.DateTime

Created gets the created of this subtype

func (*UsersDeleted) ID

func (m *UsersDeleted) ID() string

ID gets the id of this subtype

func (*UsersDeleted) MarshalBinary

func (m *UsersDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (UsersDeleted) MarshalJSON

func (m UsersDeleted) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*UsersDeleted) SetCreated

func (m *UsersDeleted) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*UsersDeleted) SetID

func (m *UsersDeleted) SetID(val string)

SetID sets the id of this subtype

func (*UsersDeleted) SetType

func (m *UsersDeleted) SetType(val string)

SetType sets the type of this subtype

func (*UsersDeleted) Type

func (m *UsersDeleted) Type() string

Type gets the type of this subtype

func (*UsersDeleted) UnmarshalBinary

func (m *UsersDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersDeleted) UnmarshalJSON

func (m *UsersDeleted) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*UsersDeleted) Validate

func (m *UsersDeleted) Validate(formats strfmt.Registry) error

Validate validates this users deleted

type UsersResponse

type UsersResponse struct {

	// data
	Data []*UserResponse `json:"data"`

	// links
	Links []*Link `json:"links"`
}

UsersResponse users response

swagger:model UsersResponse

func (*UsersResponse) ContextValidate

func (m *UsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users response based on the context it is used

func (*UsersResponse) MarshalBinary

func (m *UsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersResponse) UnmarshalBinary

func (m *UsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersResponse) Validate

func (m *UsersResponse) Validate(formats strfmt.Registry) error

Validate validates this users response

type UsersUpdated

type UsersUpdated struct {

	// data
	Data *UserObject `json:"data,omitempty"`

	// previous attributes
	PreviousAttributes map[string]interface{} `json:"previous_attributes,omitempty"`
	// contains filtered or unexported fields
}

UsersUpdated users updated

swagger:model users.updated

func (*UsersUpdated) ContextValidate

func (m *UsersUpdated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users updated based on the context it is used

func (*UsersUpdated) Created

func (m *UsersUpdated) Created() strfmt.DateTime

Created gets the created of this subtype

func (*UsersUpdated) ID

func (m *UsersUpdated) ID() string

ID gets the id of this subtype

func (*UsersUpdated) MarshalBinary

func (m *UsersUpdated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (UsersUpdated) MarshalJSON

func (m UsersUpdated) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*UsersUpdated) SetCreated

func (m *UsersUpdated) SetCreated(val strfmt.DateTime)

SetCreated sets the created of this subtype

func (*UsersUpdated) SetID

func (m *UsersUpdated) SetID(val string)

SetID sets the id of this subtype

func (*UsersUpdated) SetType

func (m *UsersUpdated) SetType(val string)

SetType sets the type of this subtype

func (*UsersUpdated) Type

func (m *UsersUpdated) Type() string

Type gets the type of this subtype

func (*UsersUpdated) UnmarshalBinary

func (m *UsersUpdated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUpdated) UnmarshalJSON

func (m *UsersUpdated) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*UsersUpdated) Validate

func (m *UsersUpdated) Validate(formats strfmt.Registry) error

Validate validates this users updated

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL