Documentation
¶
Overview ¶
Package idleparttime 包含闲鱼兼职相关结构体
Index ¶
- type AlibabaidleparttimejobsyncAPIRequest
- func (r AlibabaidleparttimejobsyncAPIRequest) GetApiMethodName() string
- func (r AlibabaidleparttimejobsyncAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaidleparttimejobsyncAPIRequest) GetJobList() []PartTimeJob
- func (r AlibabaidleparttimejobsyncAPIRequest) GetRawParams() model.Params
- func (r AlibabaidleparttimejobsyncAPIRequest) GetSyncTime() int64
- func (r *AlibabaidleparttimejobsyncAPIRequest) SetJobList(_jobList []PartTimeJob) error
- func (r *AlibabaidleparttimejobsyncAPIRequest) SetSyncTime(_syncTime int64) error
- type AlibabaidleparttimejobsyncAPIResponse
- type AlibabaidleparttimejobsyncAPIResponseModel
- type AlibabaidleparttimenotifyAPIRequest
- func (r AlibabaidleparttimenotifyAPIRequest) GetApiMethodName() string
- func (r AlibabaidleparttimenotifyAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaidleparttimenotifyAPIRequest) GetApplyId() int64
- func (r AlibabaidleparttimenotifyAPIRequest) GetJobId() int64
- func (r AlibabaidleparttimenotifyAPIRequest) GetMessage() string
- func (r AlibabaidleparttimenotifyAPIRequest) GetRawParams() model.Params
- func (r AlibabaidleparttimenotifyAPIRequest) GetStatus() int64
- func (r AlibabaidleparttimenotifyAPIRequest) GetSyncTime() int64
- func (r AlibabaidleparttimenotifyAPIRequest) GetType() int64
- func (r AlibabaidleparttimenotifyAPIRequest) GetUserId() int64
- func (r *AlibabaidleparttimenotifyAPIRequest) SetApplyId(_applyId int64) error
- func (r *AlibabaidleparttimenotifyAPIRequest) SetJobId(_jobId int64) error
- func (r *AlibabaidleparttimenotifyAPIRequest) SetMessage(_message string) error
- func (r *AlibabaidleparttimenotifyAPIRequest) SetStatus(_status int64) error
- func (r *AlibabaidleparttimenotifyAPIRequest) SetSyncTime(_syncTime int64) error
- func (r *AlibabaidleparttimenotifyAPIRequest) SetType(_type int64) error
- func (r *AlibabaidleparttimenotifyAPIRequest) SetUserId(_userId int64) error
- type AlibabaidleparttimenotifyAPIResponse
- type AlibabaidleparttimenotifyAPIResponseModel
- type AlibabaidleparttimesynclogAPIRequest
- func (r AlibabaidleparttimesynclogAPIRequest) GetApiMethodName() string
- func (r AlibabaidleparttimesynclogAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaidleparttimesynclogAPIRequest) GetEndTime() int64
- func (r AlibabaidleparttimesynclogAPIRequest) GetPageNum() int64
- func (r AlibabaidleparttimesynclogAPIRequest) GetPageSize() int64
- func (r AlibabaidleparttimesynclogAPIRequest) GetRawParams() model.Params
- func (r AlibabaidleparttimesynclogAPIRequest) GetStartTime() int64
- func (r AlibabaidleparttimesynclogAPIRequest) GetSyncIds() []string
- func (r AlibabaidleparttimesynclogAPIRequest) GetType() int64
- func (r *AlibabaidleparttimesynclogAPIRequest) SetEndTime(_endTime int64) error
- func (r *AlibabaidleparttimesynclogAPIRequest) SetPageNum(_pageNum int64) error
- func (r *AlibabaidleparttimesynclogAPIRequest) SetPageSize(_pageSize int64) error
- func (r *AlibabaidleparttimesynclogAPIRequest) SetStartTime(_startTime int64) error
- func (r *AlibabaidleparttimesynclogAPIRequest) SetSyncIds(_syncIds []string) error
- func (r *AlibabaidleparttimesynclogAPIRequest) SetType(_type int64) error
- type AlibabaidleparttimesynclogAPIResponse
- type AlibabaidleparttimesynclogAPIResponseModel
- type AlibabaidleparttimesynclogData
- type AlibabaidleparttimesynclogResult
- type PartTimeJob
- type PartTimeJobSyncLogList
- type PartTimeJobTransNodes
- type PartTimeRequireSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaidleparttimejobsyncAPIRequest ¶ added in v1.3.1
type AlibabaidleparttimejobsyncAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaidleparttimejobsyncAPIRequest 兼职岗位同步 API请求 alibaba.idle.parttime.jobsync
服务商同步岗位信息给闲鱼
func NewAlibabaidleparttimejobsyncRequest ¶ added in v1.3.1
func NewAlibabaidleparttimejobsyncRequest() *AlibabaidleparttimejobsyncAPIRequest
NewAlibabaidleparttimejobsyncRequest 初始化AlibabaidleparttimejobsyncAPIRequest对象
func (AlibabaidleparttimejobsyncAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaidleparttimejobsyncAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaidleparttimejobsyncAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaidleparttimejobsyncAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaidleparttimejobsyncAPIRequest) GetJobList ¶ added in v1.3.1
func (r AlibabaidleparttimejobsyncAPIRequest) GetJobList() []PartTimeJob
GetJobList JobList Getter
func (AlibabaidleparttimejobsyncAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaidleparttimejobsyncAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaidleparttimejobsyncAPIRequest) GetSyncTime ¶ added in v1.3.1
func (r AlibabaidleparttimejobsyncAPIRequest) GetSyncTime() int64
GetSyncTime SyncTime Getter
func (*AlibabaidleparttimejobsyncAPIRequest) SetJobList ¶ added in v1.3.1
func (r *AlibabaidleparttimejobsyncAPIRequest) SetJobList(_jobList []PartTimeJob) error
SetJobList is JobList Setter 岗位列表
func (*AlibabaidleparttimejobsyncAPIRequest) SetSyncTime ¶ added in v1.3.1
func (r *AlibabaidleparttimejobsyncAPIRequest) SetSyncTime(_syncTime int64) error
SetSyncTime is SyncTime Setter 同步数据的时间
type AlibabaidleparttimejobsyncAPIResponse ¶ added in v1.3.1
type AlibabaidleparttimejobsyncAPIResponse struct { model.CommonResponse AlibabaidleparttimejobsyncAPIResponseModel }
AlibabaidleparttimejobsyncAPIResponse 兼职岗位同步 API返回值 alibaba.idle.parttime.jobsync
服务商同步岗位信息给闲鱼
type AlibabaidleparttimejobsyncAPIResponseModel ¶ added in v1.3.1
type AlibabaidleparttimejobsyncAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_idle_parttime_jobsync_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 请求是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlibabaidleparttimejobsyncAPIResponseModel is 兼职岗位同步 成功返回结果
type AlibabaidleparttimenotifyAPIRequest ¶ added in v1.3.1
type AlibabaidleparttimenotifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaidleparttimenotifyAPIRequest 兼职通知接口 API请求 alibaba.idle.parttime.notify
服务商侧有岗位状态变更对我们进行通知(岗位关闭, 录取状态)
func NewAlibabaidleparttimenotifyRequest ¶ added in v1.3.1
func NewAlibabaidleparttimenotifyRequest() *AlibabaidleparttimenotifyAPIRequest
NewAlibabaidleparttimenotifyRequest 初始化AlibabaidleparttimenotifyAPIRequest对象
func (AlibabaidleparttimenotifyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaidleparttimenotifyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaidleparttimenotifyAPIRequest) GetApplyId ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetApplyId() int64
GetApplyId ApplyId Getter
func (AlibabaidleparttimenotifyAPIRequest) GetJobId ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetJobId() int64
GetJobId JobId Getter
func (AlibabaidleparttimenotifyAPIRequest) GetMessage ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetMessage() string
GetMessage Message Getter
func (AlibabaidleparttimenotifyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaidleparttimenotifyAPIRequest) GetStatus ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetStatus() int64
GetStatus Status Getter
func (AlibabaidleparttimenotifyAPIRequest) GetSyncTime ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetSyncTime() int64
GetSyncTime SyncTime Getter
func (AlibabaidleparttimenotifyAPIRequest) GetType ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetType() int64
GetType Type Getter
func (AlibabaidleparttimenotifyAPIRequest) GetUserId ¶ added in v1.3.1
func (r AlibabaidleparttimenotifyAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*AlibabaidleparttimenotifyAPIRequest) SetApplyId ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetApplyId(_applyId int64) error
SetApplyId is ApplyId Setter 报名id
func (*AlibabaidleparttimenotifyAPIRequest) SetJobId ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetJobId(_jobId int64) error
SetJobId is JobId Setter 岗位id
func (*AlibabaidleparttimenotifyAPIRequest) SetMessage ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetMessage(_message string) error
SetMessage is Message Setter 通知消息
func (*AlibabaidleparttimenotifyAPIRequest) SetStatus ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 岗位: 0关闭 ; 录取: 0不录取, 1录取
func (*AlibabaidleparttimenotifyAPIRequest) SetSyncTime ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetSyncTime(_syncTime int64) error
SetSyncTime is SyncTime Setter 同步时间
func (*AlibabaidleparttimenotifyAPIRequest) SetType ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetType(_type int64) error
SetType is Type Setter 实时同步类型, 0: 岗位状态, 1: 录取状态
func (*AlibabaidleparttimenotifyAPIRequest) SetUserId ¶ added in v1.3.1
func (r *AlibabaidleparttimenotifyAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 用户id
type AlibabaidleparttimenotifyAPIResponse ¶ added in v1.3.1
type AlibabaidleparttimenotifyAPIResponse struct { model.CommonResponse AlibabaidleparttimenotifyAPIResponseModel }
AlibabaidleparttimenotifyAPIResponse 兼职通知接口 API返回值 alibaba.idle.parttime.notify
服务商侧有岗位状态变更对我们进行通知(岗位关闭, 录取状态)
type AlibabaidleparttimenotifyAPIResponseModel ¶ added in v1.3.1
type AlibabaidleparttimenotifyAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_idle_parttime_notify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlibabaidleparttimenotifyAPIResponseModel is 兼职通知接口 成功返回结果
type AlibabaidleparttimesynclogAPIRequest ¶ added in v1.3.1
type AlibabaidleparttimesynclogAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaidleparttimesynclogAPIRequest 兼职同步日志 API请求 alibaba.idle.parttime.synclog
提供给供应商查询的接口
func NewAlibabaidleparttimesynclogRequest ¶ added in v1.3.1
func NewAlibabaidleparttimesynclogRequest() *AlibabaidleparttimesynclogAPIRequest
NewAlibabaidleparttimesynclogRequest 初始化AlibabaidleparttimesynclogAPIRequest对象
func (AlibabaidleparttimesynclogAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaidleparttimesynclogAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaidleparttimesynclogAPIRequest) GetEndTime ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetEndTime() int64
GetEndTime EndTime Getter
func (AlibabaidleparttimesynclogAPIRequest) GetPageNum ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (AlibabaidleparttimesynclogAPIRequest) GetPageSize ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (AlibabaidleparttimesynclogAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaidleparttimesynclogAPIRequest) GetStartTime ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetStartTime() int64
GetStartTime StartTime Getter
func (AlibabaidleparttimesynclogAPIRequest) GetSyncIds ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetSyncIds() []string
GetSyncIds SyncIds Getter
func (AlibabaidleparttimesynclogAPIRequest) GetType ¶ added in v1.3.1
func (r AlibabaidleparttimesynclogAPIRequest) GetType() int64
GetType Type Getter
func (*AlibabaidleparttimesynclogAPIRequest) SetEndTime ¶ added in v1.3.1
func (r *AlibabaidleparttimesynclogAPIRequest) SetEndTime(_endTime int64) error
SetEndTime is EndTime Setter 查询岗位同步结束时间
func (*AlibabaidleparttimesynclogAPIRequest) SetPageNum ¶ added in v1.3.1
func (r *AlibabaidleparttimesynclogAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 第几页, 从0开始
func (*AlibabaidleparttimesynclogAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *AlibabaidleparttimesynclogAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小
func (*AlibabaidleparttimesynclogAPIRequest) SetStartTime ¶ added in v1.3.1
func (r *AlibabaidleparttimesynclogAPIRequest) SetStartTime(_startTime int64) error
SetStartTime is StartTime Setter 查询岗位同步开始时间
func (*AlibabaidleparttimesynclogAPIRequest) SetSyncIds ¶ added in v1.3.1
func (r *AlibabaidleparttimesynclogAPIRequest) SetSyncIds(_syncIds []string) error
SetSyncIds is SyncIds Setter 同步的id
func (*AlibabaidleparttimesynclogAPIRequest) SetType ¶ added in v1.3.1
func (r *AlibabaidleparttimesynclogAPIRequest) SetType(_type int64) error
SetType is Type Setter 查询的类型, 0:岗位
type AlibabaidleparttimesynclogAPIResponse ¶ added in v1.3.1
type AlibabaidleparttimesynclogAPIResponse struct { model.CommonResponse AlibabaidleparttimesynclogAPIResponseModel }
AlibabaidleparttimesynclogAPIResponse 兼职同步日志 API返回值 alibaba.idle.parttime.synclog
提供给供应商查询的接口
type AlibabaidleparttimesynclogAPIResponseModel ¶ added in v1.3.1
type AlibabaidleparttimesynclogAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_idle_parttime_synclog_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaidleparttimesynclogResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaidleparttimesynclogAPIResponseModel is 兼职同步日志 成功返回结果
type AlibabaidleparttimesynclogData ¶ added in v1.3.1
type AlibabaidleparttimesynclogData struct { // 岗位列表 PartTimeJobSyncLogList []PartTimeJobSyncLogList `json:"part_time_job_sync_log_list,omitempty" xml:"part_time_job_sync_log_list>part_time_job_sync_log_list,omitempty"` }
AlibabaidleparttimesynclogData 结构体
type AlibabaidleparttimesynclogResult ¶ added in v1.3.1
type AlibabaidleparttimesynclogResult struct { // 返回码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 返回信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回数据结构 Data *AlibabaidleparttimesynclogData `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaidleparttimesynclogResult 结构体
type PartTimeJob ¶
type PartTimeJob struct { // 岗位具体的要求和要求的类型 JobRequirements []PartTimeRequireSchema `json:"job_requirements,omitempty" xml:"job_requirements>part_time_require_schema,omitempty"` // 商品标题: 职位在 Feed 流中展示的标题, JobItemTitle string `json:"job_item_title,omitempty" xml:"job_item_title,omitempty"` // 岗位种类: 该兼职信息的性质 JobType string `json:"job_type,omitempty" xml:"job_type,omitempty"` // 岗位名称: 该兼职岗位的名称 JobTitle string `json:"job_title,omitempty" xml:"job_title,omitempty"` // 工资 Salary string `json:"salary,omitempty" xml:"salary,omitempty"` // 支付方式, 支付宝/微信/现金等 PayWay string `json:"pay_way,omitempty" xml:"pay_way,omitempty"` // 工作地点 Location string `json:"location,omitempty" xml:"location,omitempty"` // 工作描述 JobDescription string `json:"job_description,omitempty" xml:"job_description,omitempty"` // 津贴 Royalties string `json:"royalties,omitempty" xml:"royalties,omitempty"` // 工作时长 WorkDuration string `json:"work_duration,omitempty" xml:"work_duration,omitempty"` // 工作时间 WorkTime string `json:"work_time,omitempty" xml:"work_time,omitempty"` // 招聘公司 Company string `json:"company,omitempty" xml:"company,omitempty"` // 招聘公司描述 CompanyDescription string `json:"company_description,omitempty" xml:"company_description,omitempty"` // 企业logo, 是一个图片的URL CompanyLogo string `json:"company_logo,omitempty" xml:"company_logo,omitempty"` // 工作点点的经纬度 Gps string `json:"gps,omitempty" xml:"gps,omitempty"` // 岗位类目 Category string `json:"category,omitempty" xml:"category,omitempty"` // 联系人手机号码 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 发布岗位的经纬度 PublishGps string `json:"publish_gps,omitempty" xml:"publish_gps,omitempty"` // 招聘人数 RecruitCount int64 `json:"recruit_count,omitempty" xml:"recruit_count,omitempty"` // 岗位id JobId int64 `json:"job_id,omitempty" xml:"job_id,omitempty"` // 岗位是否新增, 0: 是 1: 否 IsAdd int64 `json:"is_add,omitempty" xml:"is_add,omitempty"` // 是否显示"取消报名" 0: 显示 1: 不显示 ShowCancel int64 `json:"show_cancel,omitempty" xml:"show_cancel,omitempty"` // 是否可以主动联系商家, 0: 可以, 1: 不可以 ContactMerchant int64 `json:"contact_merchant,omitempty" xml:"contact_merchant,omitempty"` }
PartTimeJob 结构体
type PartTimeJobSyncLogList ¶
type PartTimeJobSyncLogList struct { // 日志节点 PartTimeJobTransNodes []PartTimeJobTransNodes `json:"part_time_job_trans_nodes,omitempty" xml:"part_time_job_trans_nodes>part_time_job_trans_nodes,omitempty"` // 当前状态描述 CurrentStatus string `json:"current_status,omitempty" xml:"current_status,omitempty"` // 岗位id JobId int64 `json:"job_id,omitempty" xml:"job_id,omitempty"` // 岗位创建时间 CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"` }
PartTimeJobSyncLogList 结构体
type PartTimeJobTransNodes ¶
type PartTimeJobTransNodes struct { // 节点描述 NodeDescription string `json:"node_description,omitempty" xml:"node_description,omitempty"` // 节点创建时间 CreateTime int64 `json:"create_time,omitempty" xml:"create_time,omitempty"` }
PartTimeJobTransNodes 结构体
type PartTimeRequireSchema ¶
type PartTimeRequireSchema struct { // 要求 Description string `json:"description,omitempty" xml:"description,omitempty"` // 要求描述 Requirement string `json:"requirement,omitempty" xml:"requirement,omitempty"` // 类型, 1:文本 2: 图片 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
PartTimeRequireSchema 结构体
Source Files
¶
- AlibabaIdleParttimeJobsyncAPIRequest.go
- AlibabaIdleParttimeJobsyncAPIResponse.go
- AlibabaIdleParttimeNotifyAPIRequest.go
- AlibabaIdleParttimeNotifyAPIResponse.go
- AlibabaIdleParttimeSynclogAPIRequest.go
- AlibabaIdleParttimeSynclogAPIResponse.go
- AlibabaIdleParttimeSynclogData.go
- AlibabaIdleParttimeSynclogResult.go
- PartTimeJob.go
- PartTimeJobSyncLogList.go
- PartTimeJobTransNodes.go
- PartTimeRequireSchema.go
- doc.go