models

package
v0.0.0-...-be68522 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Value string `json:"value"`
	Type  string `json:"type"`
}

type Answer

type Answer struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

type Application

type Application struct {
	ID                    int               `json:"id"`
	CandidateID           int               `json:"candidate_id"`
	Prospect              bool              `json:"prospect"`
	AppliedAt             time.Time         `json:"applied_at"`
	RejectedAt            time.Time         `json:"rejected_at"`
	LastActivityAt        time.Time         `json:"last_activity_at"`
	Location              Location          `json:"location"`
	Source                Source            `json:"source"`
	CreditedTo            Employee          `json:"credited_to"`
	RejectionReason       *RejectionReason  `json:"rejection_reason"`
	RejectionDetails      *RejectionDetails `json:"rejection_details"`
	Jobs                  []Job             `json:"jobs"`
	JobPostID             int               `json:"job_post_id,omitempty"`
	Status                string            `json:"status"`
	CurrentStage          Stage             `json:"current_stage"`
	Answers               []Answer          `json:"answers"`
	ProspectiveOffice     interface{}       `json:"prospective_office"`
	ProspectiveDepartment interface{}       `json:"prospective_department"`
	ProspectDetail        ProspectDetail    `json:"prospect_detail"`
	Attachments           []Attachment      `json:"attachments"`
}

type Attachment

type Attachment struct {
	Filename string `json:"filename"`
	URL      string `json:"url"`
	Type     string `json:"type"`
}

type Candidate

type Candidate struct {
	ID                   int                               `json:"id"`
	FirstName            string                            `json:"first_name"`
	LastName             string                            `json:"last_name"`
	Company              string                            `json:"company"`
	Title                string                            `json:"title"`
	CreatedAt            time.Time                         `json:"created_at"`
	UpdatedAt            time.Time                         `json:"updated_at"`
	LastActivity         time.Time                         `json:"last_activity"`
	IsPrivate            bool                              `json:"is_private"`
	PhotoURL             string                            `json:"photo_url"`
	Attachments          []Attachment                      `json:"attachments"`
	ApplicationIDs       []int                             `json:"application_ids"`
	PhoneNumbers         []PhoneNumber                     `json:"phone_numbers"`
	Addresses            []Address                         `json:"addresses"`
	EmailAddresses       []EmailAddress                    `json:"email_addresses"`
	WebsiteAddresses     []WebsiteAddress                  `json:"website_addresses"`
	SocialMediaAddresses []SocialMediaAddress              `json:"social_media_addresses"`
	Recruiter            Employee                          `json:"recruiter"`
	Coordinator          Employee                          `json:"coordinator"`
	CanEmail             bool                              `json:"can_email"`
	Tags                 []string                          `json:"tags"`
	Applications         []Application                     `json:"applications"`
	Educations           []Education                       `json:"educations"`
	Employments          []Employment                      `json:"employments"`
	LinkedUserIds        []int                             `json:"linked_user_ids"`
	CustomFields         map[string]interface{}            `json:"custom_fields"`
	KeyedCustomFields    map[string]map[string]interface{} `json:"keyed_custom_fields"`
}

type Education

type Education struct {
	ID         int       `json:"id"`
	SchoolName string    `json:"school_name"`
	Degree     string    `json:"degree"`
	Discipline string    `json:"discipline"`
	StartDate  time.Time `json:"start_date"`
	EndDate    time.Time `json:"end_date"`
}

type EmailAddress

type EmailAddress struct {
	Value string `json:"value"`
	Type  string `json:"type"`
}

type Employee

type Employee struct {
	ID         int     `json:"id"`
	FirstName  string  `json:"first_name"`
	LastName   string  `json:"last_name"`
	Name       string  `json:"name"`
	EmployeeID *string `json:"employee_id"`
}

type Employment

type Employment struct {
	ID          int       `json:"id"`
	CompanyName string    `json:"company_name"`
	Title       string    `json:"title"`
	StartDate   time.Time `json:"start_date"`
	EndDate     time.Time `json:"end_date"`
}

type Job

type Job struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type Location

type Location struct {
	Address string `json:"address"`
}

type PhoneNumber

type PhoneNumber struct {
	Value string `json:"value"`
	Type  string `json:"type"`
}

type ProspectDetail

type ProspectDetail struct {
	ProspectPool  interface{} `json:"prospect_pool"`
	ProspectStage interface{} `json:"prospect_stage"`
	ProspectOwner interface{} `json:"prospect_owner"`
}

type RejectionDetails

type RejectionDetails struct {
	CustomFields      map[string]interface{}            `json:"custom_fields"`
	KeyedCustomFields map[string]map[string]interface{} `json:"keyed_custom_fields"`
}

type RejectionReason

type RejectionReason struct {
	ID   int                 `json:"id"`
	Name string              `json:"name"`
	Type RejectionReasonType `json:"type"`
}

type RejectionReasonType

type RejectionReasonType struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type SocialMediaAddress

type SocialMediaAddress struct {
	Value string `json:"value"`
}

type Source

type Source struct {
	ID         int    `json:"id"`
	PublicName string `json:"public_name"`
}

type Stage

type Stage struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type WebsiteAddress

type WebsiteAddress struct {
	Value string `json:"value"`
	Type  string `json:"type"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL