Documentation ¶
Overview ¶
Package alihealth 包含阿里健康医相关结构体
Index ¶
- func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest(v *AlibabaAlihealthPrescriptionAuthGetAPIRequest)
- func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse(v *AlibabaAlihealthPrescriptionAuthGetAPIResponse)
- func ReleasePrescriptionDoctorAuthRequest(v *PrescriptionDoctorAuthRequest)
- func ReleaseServiceResult(v *ServiceResult)
- type AlibabaAlihealthPrescriptionAuthGetAPIRequest
- func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiMethodName() string
- func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetPrescriptionRequest() *PrescriptionDoctorAuthRequest
- func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetRawParams() model.Params
- func (r *AlibabaAlihealthPrescriptionAuthGetAPIRequest) Reset()
- func (r *AlibabaAlihealthPrescriptionAuthGetAPIRequest) SetPrescriptionRequest(_prescriptionRequest *PrescriptionDoctorAuthRequest) error
- type AlibabaAlihealthPrescriptionAuthGetAPIResponse
- type AlibabaAlihealthPrescriptionAuthGetAPIResponseModel
- type PrescriptionDoctorAuthRequest
- type ServiceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest ¶ added in v1.3.4
func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest(v *AlibabaAlihealthPrescriptionAuthGetAPIRequest)
ReleaseAlibabaAlihealthPrescriptionAuthGetAPIRequest 将 AlibabaAlihealthPrescriptionAuthGetAPIRequest 放入 sync.Pool
func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse ¶ added in v1.3.4
func ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse(v *AlibabaAlihealthPrescriptionAuthGetAPIResponse)
ReleaseAlibabaAlihealthPrescriptionAuthGetAPIResponse 将 AlibabaAlihealthPrescriptionAuthGetAPIResponse 保存到 sync.Pool
func ReleasePrescriptionDoctorAuthRequest ¶ added in v1.3.4
func ReleasePrescriptionDoctorAuthRequest(v *PrescriptionDoctorAuthRequest)
ReleasePrescriptionDoctorAuthRequest 释放PrescriptionDoctorAuthRequest
func ReleaseServiceResult ¶ added in v1.3.4
func ReleaseServiceResult(v *ServiceResult)
ReleaseServiceResult 释放ServiceResult
Types ¶
type AlibabaAlihealthPrescriptionAuthGetAPIRequest ¶ added in v1.2.0
type AlibabaAlihealthPrescriptionAuthGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAlihealthPrescriptionAuthGetAPIRequest 阿里健康处方平台获取授权码 API请求 alibaba.alihealth.prescription.auth.get
获取处方用户授权
func GetAlibabaAlihealthPrescriptionAuthGetAPIRequest ¶ added in v1.3.4
func GetAlibabaAlihealthPrescriptionAuthGetAPIRequest() *AlibabaAlihealthPrescriptionAuthGetAPIRequest
GetAlibabaAlihealthPrescriptionAuthGetRequest 从 sync.Pool 获取 AlibabaAlihealthPrescriptionAuthGetAPIRequest
func NewAlibabaAlihealthPrescriptionAuthGetRequest ¶
func NewAlibabaAlihealthPrescriptionAuthGetRequest() *AlibabaAlihealthPrescriptionAuthGetAPIRequest
NewAlibabaAlihealthPrescriptionAuthGetRequest 初始化AlibabaAlihealthPrescriptionAuthGetAPIRequest对象
func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetPrescriptionRequest ¶ added in v1.2.0
func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetPrescriptionRequest() *PrescriptionDoctorAuthRequest
GetPrescriptionRequest PrescriptionRequest Getter
func (AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaAlihealthPrescriptionAuthGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaAlihealthPrescriptionAuthGetAPIRequest) Reset ¶ added in v1.3.4
func (r *AlibabaAlihealthPrescriptionAuthGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlibabaAlihealthPrescriptionAuthGetAPIRequest) SetPrescriptionRequest ¶ added in v1.2.0
func (r *AlibabaAlihealthPrescriptionAuthGetAPIRequest) SetPrescriptionRequest(_prescriptionRequest *PrescriptionDoctorAuthRequest) error
SetPrescriptionRequest is PrescriptionRequest Setter 请求入参
type AlibabaAlihealthPrescriptionAuthGetAPIResponse ¶
type AlibabaAlihealthPrescriptionAuthGetAPIResponse struct { model.CommonResponse AlibabaAlihealthPrescriptionAuthGetAPIResponseModel }
AlibabaAlihealthPrescriptionAuthGetAPIResponse 阿里健康处方平台获取授权码 API返回值 alibaba.alihealth.prescription.auth.get
获取处方用户授权
func GetAlibabaAlihealthPrescriptionAuthGetAPIResponse ¶ added in v1.3.4
func GetAlibabaAlihealthPrescriptionAuthGetAPIResponse() *AlibabaAlihealthPrescriptionAuthGetAPIResponse
GetAlibabaAlihealthPrescriptionAuthGetAPIResponse 从 sync.Pool 获取 AlibabaAlihealthPrescriptionAuthGetAPIResponse
func (*AlibabaAlihealthPrescriptionAuthGetAPIResponse) Reset ¶ added in v1.3.4
func (m *AlibabaAlihealthPrescriptionAuthGetAPIResponse) Reset()
Reset 清空结构体
type AlibabaAlihealthPrescriptionAuthGetAPIResponseModel ¶ added in v1.2.0
type AlibabaAlihealthPrescriptionAuthGetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_alihealth_prescription_auth_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // alinkappserver系统返回的通用结果类 ServiceResult *ServiceResult `json:"service_result,omitempty" xml:"service_result,omitempty"` }
AlibabaAlihealthPrescriptionAuthGetAPIResponseModel is 阿里健康处方平台获取授权码 成功返回结果
func (*AlibabaAlihealthPrescriptionAuthGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlibabaAlihealthPrescriptionAuthGetAPIResponseModel) Reset()
Reset 清空结构体
type PrescriptionDoctorAuthRequest ¶
type PrescriptionDoctorAuthRequest struct { // 医生id(非空) DoctorId string `json:"doctor_id,omitempty" xml:"doctor_id,omitempty"` // 支付宝userId(非空) AlipayUserId string `json:"alipay_user_id,omitempty" xml:"alipay_user_id,omitempty"` // 医院id(非空) HospitalId string `json:"hospital_id,omitempty" xml:"hospital_id,omitempty"` }
PrescriptionDoctorAuthRequest 结构体
func GetPrescriptionDoctorAuthRequest ¶ added in v1.3.4
func GetPrescriptionDoctorAuthRequest() *PrescriptionDoctorAuthRequest
GetPrescriptionDoctorAuthRequest() 从对象池中获取PrescriptionDoctorAuthRequest
type ServiceResult ¶
type ServiceResult struct { // errMessage ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"` // token Data string `json:"data,omitempty" xml:"data,omitempty"` // errCode ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ServiceResult 结构体
func GetServiceResult ¶ added in v1.3.4
func GetServiceResult() *ServiceResult
GetServiceResult() 从对象池中获取ServiceResult