func (t *OrientationType) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch OrientationType(in.String()) {
	case OrientationTypePortraitPrimary:
		*t = OrientationTypePortraitPrimary
	case OrientationTypePortraitSecondary:
		*t = OrientationTypePortraitSecondary
	case OrientationTypeLandscapePrimary:
		*t = OrientationTypeLandscapePrimary
	case OrientationTypeLandscapeSecondary:
		*t = OrientationTypeLandscapeSecondary

	default:
		in.AddError(errors.New("unknown OrientationType value"))
	}
}
func (t *OrientationType) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch OrientationType(in.String()) {
	case OrientationTypePortraitPrimary:
		*t = OrientationTypePortraitPrimary
	case OrientationTypePortraitSecondary:
		*t = OrientationTypePortraitSecondary
	case OrientationTypeLandscapePrimary:
		*t = OrientationTypeLandscapePrimary
	case OrientationTypeLandscapeSecondary:
		*t = OrientationTypeLandscapeSecondary

	default:
		in.AddError(errors.New("unknown OrientationType value"))
	}
}
func ( t * OrientationType ) UnmarshalEasyJSON ( in * jlexer . Lexer ) { switch OrientationType ( in . String ( ) ) { case OrientationTypePortraitPrimary : * t = OrientationTypePortraitPrimary case OrientationTypePortraitSecondary : * t = OrientationTypePortraitSecondary case OrientationTypeLandscapePrimary : * t = OrientationTypeLandscapePrimary case OrientationTypeLandscapeSecondary : * t = OrientationTypeLandscapeSecondary default : in . AddError ( errors . New ( " " ) ) } }
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalEasyJSON satisfies easyjson . Unmarshaler .