Documentation
¶
Index ¶
- type ApplicationState
- type CandidacyComment
- type CandidacyState
- type City
- type CommenterType
- type CountryCode
- type Currency
- type EducationLevel
- type EmailAddress
- type FilterOpeningTagsRequest
- type GetCandidacyCommentsRequest
- type GetCandidacyInfoRequest
- type Handle
- type InterviewState
- type InterviewType
- type InterviewersDecision
- type OpeningState
- type OpeningTag
- type OpeningTagID
- type OpeningTags
- type OpeningType
- type OrgUserRole
- type OrgUserRoles
- type Password
- type RSVPInterviewRequest
- type RSVPStatus
- type Salary
- type TimeZone
- type ValidationErrors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationState ¶
type ApplicationState string
const ( // Any change here should reflect in the IsValid() method too AppliedAppState ApplicationState = "APPLIED" // TODO: Remember to Reject all open applications when an Opening is closed RejectedAppState ApplicationState = "REJECTED" ShortlistedAppState ApplicationState = "SHORTLISTED" WithdrawnAppState ApplicationState = "WITHDRAWN" ExpiredAppState ApplicationState = "EXPIRED" )
func (ApplicationState) IsValid ¶
func (s ApplicationState) IsValid() bool
type CandidacyComment ¶
type CandidacyState ¶
type CandidacyState string
const ( InterviewingCandidacyState CandidacyState = "INTERVIEWING" OfferedCandidacyState CandidacyState = "OFFERED" OfferDeclinedCandidacyState CandidacyState = "OFFER_DECLINED" OfferAcceptedCandidacyState CandidacyState = "OFFER_ACCEPTED" CandidateUnsuitableCandidacyState CandidacyState = "CANDIDATE_UNSUITABLE" CandidateNotRespondingCandidacyState CandidacyState = "CANDIDATE_NOT_RESPONDING" CandidateWithdrewCandidacyState CandidacyState = "CANDIDATE_WITHDREW" EmployerDefunctCandidacyState CandidacyState = "EMPLOYER_DEFUNCT" )
func (CandidacyState) IsValid ¶
func (s CandidacyState) IsValid() bool
type CommenterType ¶
type CommenterType string
const ( CommenterTypeOrgUser CommenterType = "ORG_USER" CommenterTypeHubUser CommenterType = "HUB_USER" )
type EducationLevel ¶
type EducationLevel string
const ( BachelorEducation EducationLevel = "BACHELOR_EDUCATION" MasterEducation EducationLevel = "MASTER_EDUCATION" DoctorateEducation EducationLevel = "DOCTORATE_EDUCATION" NotMattersEducation EducationLevel = "NOT_MATTERS_EDUCATION" UnspecifiedEducation EducationLevel = "UNSPECIFIED_EDUCATION" )
func (EducationLevel) IsValid ¶
func (e EducationLevel) IsValid() bool
type EmailAddress ¶
type EmailAddress string
type FilterOpeningTagsRequest ¶
type FilterOpeningTagsRequest struct {
Prefix *string `json:"prefix,omitempty"`
}
type GetCandidacyCommentsRequest ¶
type GetCandidacyCommentsRequest struct {
CandidacyID string `json:"candidacy_id"`
}
type GetCandidacyInfoRequest ¶
type GetCandidacyInfoRequest struct {
CandidacyID string `json:"candidacy_id"`
}
type InterviewState ¶
type InterviewState string
const ( ScheduledInterviewState InterviewState = "SCHEDULED_INTERVIEW" CompletedInterviewState InterviewState = "COMPLETED_INTERVIEW" CancelledInterviewState InterviewState = "CANCELLED_INTERVIEW" )
func (InterviewState) IsValid ¶
func (s InterviewState) IsValid() bool
type InterviewType ¶
type InterviewType string
const ( InPersonInterviewType InterviewType = "IN_PERSON" VideoCallInterviewType InterviewType = "VIDEO_CALL" TakeHomeInterviewType InterviewType = "TAKE_HOME" OtherInterviewType InterviewType = "OTHER_INTERVIEW" )
func (InterviewType) IsValid ¶
func (i InterviewType) IsValid() bool
type InterviewersDecision ¶
type InterviewersDecision string
const ( StrongYesInterviewersDecision InterviewersDecision = "STRONG_YES" YesInterviewersDecision InterviewersDecision = "YES" NeutralInterviewersDecision InterviewersDecision = "NEUTRAL" NoInterviewersDecision InterviewersDecision = "NO" StrongNoInterviewersDecision InterviewersDecision = "STRONG_NO" )
func (InterviewersDecision) IsValid ¶
func (d InterviewersDecision) IsValid() bool
type OpeningState ¶
type OpeningState string
const ( DraftOpening OpeningState = "DRAFT_OPENING_STATE" ActiveOpening OpeningState = "ACTIVE_OPENING_STATE" SuspendedOpening OpeningState = "SUSPENDED_OPENING_STATE" ClosedOpening OpeningState = "CLOSED_OPENING_STATE" )
type OpeningTag ¶
type OpeningTag struct { ID OpeningTagID `json:"id"` Name string `json:"name"` }
type OpeningTagID ¶
type OpeningTagID string
type OpeningTags ¶
type OpeningTags struct {
Tags []OpeningTag `json:"tags" validate:"required"`
}
type OpeningType ¶
type OpeningType string
const ( // Any changes to here should be reflected also in the IsValid() method FullTimeOpening OpeningType = "FULL_TIME_OPENING" PartTimeOpening OpeningType = "PART_TIME_OPENING" ContractOpening OpeningType = "CONTRACT_OPENING" InternshipOpening OpeningType = "INTERNSHIP_OPENING" UnspecifiedOpening OpeningType = "UNSPECIFIED_OPENING" )
func (OpeningType) IsValid ¶
func (o OpeningType) IsValid() bool
type OrgUserRole ¶
type OrgUserRole string
const ( Admin OrgUserRole = "ADMIN" // This ANY role is not saved in database. If this role is the value for // the allowedRoles in the middleware, then any OrgUser in that Org can // access that route. Any OrgUserRole = "ANY" ApplicationsCRUD OrgUserRole = "APPLICATIONS_CRUD" ApplicationsViewer OrgUserRole = "APPLICATIONS_VIEWER" CostCentersCRUD OrgUserRole = "COST_CENTERS_CRUD" CostCentersViewer OrgUserRole = "COST_CENTERS_VIEWER" LocationsCRUD OrgUserRole = "LOCATIONS_CRUD" LocationsViewer OrgUserRole = "LOCATIONS_VIEWER" OpeningsCRUD OrgUserRole = "OPENINGS_CRUD" OpeningsViewer OrgUserRole = "OPENINGS_VIEWER" OrgUsersCRUD OrgUserRole = "ORG_USERS_CRUD" OrgUsersViewer OrgUserRole = "ORG_USERS_VIEWER" )
func (OrgUserRole) IsValid ¶
func (r OrgUserRole) IsValid() bool
type OrgUserRoles ¶
type OrgUserRoles []OrgUserRole
func (OrgUserRoles) IsValid ¶
func (roles OrgUserRoles) IsValid() bool
func (OrgUserRoles) StringArray ¶
func (roles OrgUserRoles) StringArray() []string
type RSVPInterviewRequest ¶
type RSVPInterviewRequest struct { InterviewID string `json:"interview_id" validate:"required"` RSVPStatus RSVPStatus `json:"rsvp_status" validate:"required,validate_rsvp_request"` }
func (RSVPInterviewRequest) IsValid ¶
func (r RSVPInterviewRequest) IsValid() bool
type RSVPStatus ¶
type RSVPStatus string
const ( YesRSVP RSVPStatus = "YES" NoRSVP RSVPStatus = "NO" NotSetRSVP RSVPStatus = "NOT_SET" )
func (RSVPStatus) IsValidRequest ¶
func (s RSVPStatus) IsValidRequest() bool
type ValidationErrors ¶
type ValidationErrors struct {
Errors []string `json:"errors"`
}
Click to show internal directories.
Click to hide internal directories.