client

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchSaveInstructionStatusRequest added in v2.1.0

type BatchSaveInstructionStatusRequest struct {
	// example:
	//
	// ***
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	// example:
	//
	// ib
	PKey       *string `json:"pKey,omitempty" xml:"pKey,omitempty"`
	StatusList *string `json:"statusList,omitempty" xml:"statusList,omitempty"`
}

func (BatchSaveInstructionStatusRequest) GoString added in v2.1.0

func (*BatchSaveInstructionStatusRequest) SetFactoryId added in v2.1.0

func (*BatchSaveInstructionStatusRequest) SetPKey added in v2.1.0

func (*BatchSaveInstructionStatusRequest) SetStatusList added in v2.1.0

func (BatchSaveInstructionStatusRequest) String added in v2.1.0

type BatchSaveInstructionStatusResponse added in v2.1.0

type BatchSaveInstructionStatusResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BatchSaveInstructionStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (BatchSaveInstructionStatusResponse) GoString added in v2.1.0

func (*BatchSaveInstructionStatusResponse) SetBody added in v2.1.0

func (*BatchSaveInstructionStatusResponse) SetHeaders added in v2.1.0

func (*BatchSaveInstructionStatusResponse) SetStatusCode added in v2.1.0

func (BatchSaveInstructionStatusResponse) String added in v2.1.0

type BatchSaveInstructionStatusResponseBody added in v2.1.0

type BatchSaveInstructionStatusResponseBody struct {
	// true
	//
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (BatchSaveInstructionStatusResponseBody) GoString added in v2.1.0

func (*BatchSaveInstructionStatusResponseBody) SetData added in v2.1.0

func (*BatchSaveInstructionStatusResponseBody) SetRequestId added in v2.1.0

func (BatchSaveInstructionStatusResponseBody) String added in v2.1.0

type BatchUpdateSystemRunningPlanRequest added in v2.1.0

type BatchUpdateSystemRunningPlanRequest struct {
	// example:
	//
	// 0
	ControlType *int32 `json:"controlType,omitempty" xml:"controlType,omitempty"`
	// example:
	//
	// 0
	DateType *int32 `json:"dateType,omitempty" xml:"dateType,omitempty"`
	// example:
	//
	// 05:00:00
	EarliestStartupTime *string `json:"earliestStartupTime,omitempty" xml:"earliestStartupTime,omitempty"`
	// example:
	//
	// 2024-08-30
	EndTime *string `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// example:
	//
	// ***
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	// example:
	//
	// 05:30:00
	LatestShutdownTime *string `json:"latestShutdownTime,omitempty" xml:"latestShutdownTime,omitempty"`
	// example:
	//
	// 37.1
	MaxCarbonDioxide *float64 `json:"maxCarbonDioxide,omitempty" xml:"maxCarbonDioxide,omitempty"`
	// example:
	//
	// 25.3
	MaxTem *float64 `json:"maxTem,omitempty" xml:"maxTem,omitempty"`
	// example:
	//
	// 20.1
	MinTem *float64 `json:"minTem,omitempty" xml:"minTem,omitempty"`
	// example:
	//
	// 0
	SeasonMode *int32 `json:"seasonMode,omitempty" xml:"seasonMode,omitempty"`
	// example:
	//
	// 2024-08-21
	StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// example:
	//
	// system1
	SystemId *string `json:"systemId,omitempty" xml:"systemId,omitempty"`
	// example:
	//
	// 05:30:00
	WorkingEndTime *string `json:"workingEndTime,omitempty" xml:"workingEndTime,omitempty"`
	// example:
	//
	// 05:00:00
	WorkingStartTime *string `json:"workingStartTime,omitempty" xml:"workingStartTime,omitempty"`
}

func (BatchUpdateSystemRunningPlanRequest) GoString added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetControlType added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetDateType added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetEarliestStartupTime added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetEndTime added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetFactoryId added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetLatestShutdownTime added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetMaxCarbonDioxide added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetMaxTem added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetMinTem added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetSeasonMode added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetStartTime added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetSystemId added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetWorkingEndTime added in v2.1.0

func (*BatchUpdateSystemRunningPlanRequest) SetWorkingStartTime added in v2.1.0

func (BatchUpdateSystemRunningPlanRequest) String added in v2.1.0

type BatchUpdateSystemRunningPlanResponse added in v2.1.0

type BatchUpdateSystemRunningPlanResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *BatchUpdateSystemRunningPlanResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (BatchUpdateSystemRunningPlanResponse) GoString added in v2.1.0

func (*BatchUpdateSystemRunningPlanResponse) SetBody added in v2.1.0

func (*BatchUpdateSystemRunningPlanResponse) SetHeaders added in v2.1.0

func (*BatchUpdateSystemRunningPlanResponse) SetStatusCode added in v2.1.0

func (BatchUpdateSystemRunningPlanResponse) String added in v2.1.0

type BatchUpdateSystemRunningPlanResponseBody added in v2.1.0

type BatchUpdateSystemRunningPlanResponseBody struct {
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (BatchUpdateSystemRunningPlanResponseBody) GoString added in v2.1.0

func (*BatchUpdateSystemRunningPlanResponseBody) SetData added in v2.1.0

func (*BatchUpdateSystemRunningPlanResponseBody) SetRequestId added in v2.1.0

func (BatchUpdateSystemRunningPlanResponseBody) String added in v2.1.0

type CarbonEmissionElecSummaryItem

type CarbonEmissionElecSummaryItem struct {
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	DataUnit           *string  `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	Name               *string  `json:"name,omitempty" xml:"name,omitempty"`
	Ratio              *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	RawData            *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (CarbonEmissionElecSummaryItem) GoString

func (*CarbonEmissionElecSummaryItem) SetCarbonEmissionData

func (*CarbonEmissionElecSummaryItem) SetDataUnit

func (*CarbonEmissionElecSummaryItem) SetName

func (*CarbonEmissionElecSummaryItem) SetRatio

func (*CarbonEmissionElecSummaryItem) SetRawData

func (CarbonEmissionElecSummaryItem) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) BatchSaveInstructionStatus added in v2.1.0

func (client *Client) BatchSaveInstructionStatus(request *BatchSaveInstructionStatusRequest) (_result *BatchSaveInstructionStatusResponse, _err error)

Summary:

策略执行状态反馈

@param request - BatchSaveInstructionStatusRequest

@return BatchSaveInstructionStatusResponse

func (*Client) BatchSaveInstructionStatusWithOptions added in v2.1.0

func (client *Client) BatchSaveInstructionStatusWithOptions(request *BatchSaveInstructionStatusRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *BatchSaveInstructionStatusResponse, _err error)

Summary:

策略执行状态反馈

@param request - BatchSaveInstructionStatusRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return BatchSaveInstructionStatusResponse

func (*Client) BatchUpdateSystemRunningPlan added in v2.1.0

func (client *Client) BatchUpdateSystemRunningPlan(request *BatchUpdateSystemRunningPlanRequest) (_result *BatchUpdateSystemRunningPlanResponse, _err error)

Summary:

批量设置空调站点运行计划

@param request - BatchUpdateSystemRunningPlanRequest

@return BatchUpdateSystemRunningPlanResponse

func (*Client) BatchUpdateSystemRunningPlanWithOptions added in v2.1.0

func (client *Client) BatchUpdateSystemRunningPlanWithOptions(request *BatchUpdateSystemRunningPlanRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *BatchUpdateSystemRunningPlanResponse, _err error)

Summary:

批量设置空调站点运行计划

@param request - BatchUpdateSystemRunningPlanRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return BatchUpdateSystemRunningPlanResponse

func (*Client) EditProhibitedDevices added in v2.1.0

func (client *Client) EditProhibitedDevices(request *EditProhibitedDevicesRequest) (_result *EditProhibitedDevicesResponse, _err error)

Summary:

编辑禁用设备

@param request - EditProhibitedDevicesRequest

@return EditProhibitedDevicesResponse

func (*Client) EditProhibitedDevicesWithOptions added in v2.1.0

func (client *Client) EditProhibitedDevicesWithOptions(request *EditProhibitedDevicesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *EditProhibitedDevicesResponse, _err error)

Summary:

编辑禁用设备

@param request - EditProhibitedDevicesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return EditProhibitedDevicesResponse

func (*Client) EditUnfavorableAreaDevices added in v2.1.0

func (client *Client) EditUnfavorableAreaDevices(request *EditUnfavorableAreaDevicesRequest) (_result *EditUnfavorableAreaDevicesResponse, _err error)

Summary:

编辑不利区设备

@param request - EditUnfavorableAreaDevicesRequest

@return EditUnfavorableAreaDevicesResponse

func (*Client) EditUnfavorableAreaDevicesWithOptions added in v2.1.0

func (client *Client) EditUnfavorableAreaDevicesWithOptions(request *EditUnfavorableAreaDevicesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *EditUnfavorableAreaDevicesResponse, _err error)

Summary:

编辑不利区设备

@param request - EditUnfavorableAreaDevicesRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return EditUnfavorableAreaDevicesResponse

func (*Client) GenerateResult

func (client *Client) GenerateResult(request *GenerateResultRequest) (_result *GenerateResultResponse, _err error)

Summary:

Generate a report of the specified carbon footprint.

Description:

Given a product ID, this API initiates a task to calculate the carbon footprint result for the corresponding product. The task\\"s status can be checked using the `IsCompleted` API. Following the generation of results, other result inquiry APIs can be accessed for display content.

@param request - GenerateResultRequest

@return GenerateResultResponse

func (*Client) GenerateResultWithOptions

func (client *Client) GenerateResultWithOptions(request *GenerateResultRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GenerateResultResponse, _err error)

Summary:

Generate a report of the specified carbon footprint.

Description:

Given a product ID, this API initiates a task to calculate the carbon footprint result for the corresponding product. The task\\"s status can be checked using the `IsCompleted` API. Following the generation of results, other result inquiry APIs can be accessed for display content.

@param request - GenerateResultRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GenerateResultResponse

func (*Client) GetAreaElecConstitute

func (client *Client) GetAreaElecConstitute(request *GetAreaElecConstituteRequest) (_result *GetAreaElecConstituteResponse, _err error)

Summary:

This interface is used to obtain electrical constitute analysis data.

@param request - GetAreaElecConstituteRequest

@return GetAreaElecConstituteResponse

func (*Client) GetAreaElecConstituteWithOptions

func (client *Client) GetAreaElecConstituteWithOptions(request *GetAreaElecConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAreaElecConstituteResponse, _err error)

Summary:

This interface is used to obtain electrical constitute analysis data.

@param request - GetAreaElecConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetAreaElecConstituteResponse

func (*Client) GetCarbonEmissionTrend

func (client *Client) GetCarbonEmissionTrend(request *GetCarbonEmissionTrendRequest) (_result *GetCarbonEmissionTrendResponse, _err error)

Summary:

Get trends in carbon emissions.

@param request - GetCarbonEmissionTrendRequest

@return GetCarbonEmissionTrendResponse

func (*Client) GetCarbonEmissionTrendWithOptions

func (client *Client) GetCarbonEmissionTrendWithOptions(request *GetCarbonEmissionTrendRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetCarbonEmissionTrendResponse, _err error)

Summary:

Get trends in carbon emissions.

@param request - GetCarbonEmissionTrendRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetCarbonEmissionTrendResponse

func (*Client) GetDataItemList

func (client *Client) GetDataItemList(request *GetDataItemListRequest) (_result *GetDataItemListResponse, _err error)

Summary:

This interface is used to obtain the details category of a data item.

Description:

- obtain data item detail list under the current enterprise.

@param request - GetDataItemListRequest

@return GetDataItemListResponse

func (*Client) GetDataItemListWithOptions

func (client *Client) GetDataItemListWithOptions(request *GetDataItemListRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDataItemListResponse, _err error)

Summary:

This interface is used to obtain the details category of a data item.

Description:

- obtain data item detail list under the current enterprise.

@param request - GetDataItemListRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetDataItemListResponse

func (*Client) GetDataQualityAnalysis

func (client *Client) GetDataQualityAnalysis(request *GetDataQualityAnalysisRequest) (_result *GetDataQualityAnalysisResponse, _err error)

Summary:

Obtain the data quality evaluation results DQR and DQI.

Description:

This API returns the data quality evaluation results based on the user-provided product ID. It\\"s useful for understanding the data quality of the carbon emission factors for each inventory of the product.

@param request - GetDataQualityAnalysisRequest

@return GetDataQualityAnalysisResponse

func (*Client) GetDataQualityAnalysisWithOptions

func (client *Client) GetDataQualityAnalysisWithOptions(request *GetDataQualityAnalysisRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDataQualityAnalysisResponse, _err error)

Summary:

Obtain the data quality evaluation results DQR and DQI.

Description:

This API returns the data quality evaluation results based on the user-provided product ID. It\\"s useful for understanding the data quality of the carbon emission factors for each inventory of the product.

@param request - GetDataQualityAnalysisRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetDataQualityAnalysisResponse

func (*Client) GetDeviceInfo

func (client *Client) GetDeviceInfo(request *GetDeviceInfoRequest) (_result *GetDeviceInfoResponse, _err error)

Summary:

Queries the information about a device at a site that is activated by using an Alibaba Cloud account.

Description:

  You can call this operation to query the parameters of a data collection device based on the device ID. If the verification is passed, the device parameters are returned. If the verification fails, a null value is returned.

	- You can query the parameters of a single device by day. If data of the device does not exist, a null value is returned.

- By current, endpoint only supports Hangzhou: `energyexpertexternal.cn-hangzhou.aliyuncs.com`.

- To use this API, you need to be added to the whitelist. Please contact us through <props="china">[official website](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)

<props="intl">[official website](https://energy.alibabacloud.com/common?adapter=aliyun&lang=en-US#/home/en) to apply for whitelist activation.

@param request - GetDeviceInfoRequest

@return GetDeviceInfoResponse

func (*Client) GetDeviceInfoWithOptions

func (client *Client) GetDeviceInfoWithOptions(request *GetDeviceInfoRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDeviceInfoResponse, _err error)

Summary:

Queries the information about a device at a site that is activated by using an Alibaba Cloud account.

Description:

  You can call this operation to query the parameters of a data collection device based on the device ID. If the verification is passed, the device parameters are returned. If the verification fails, a null value is returned.

	- You can query the parameters of a single device by day. If data of the device does not exist, a null value is returned.

- By current, endpoint only supports Hangzhou: `energyexpertexternal.cn-hangzhou.aliyuncs.com`.

- To use this API, you need to be added to the whitelist. Please contact us through <props="china">[official website](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)

<props="intl">[official website](https://energy.alibabacloud.com/common?adapter=aliyun&lang=en-US#/home/en) to apply for whitelist activation.

@param request - GetDeviceInfoRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetDeviceInfoResponse

func (*Client) GetDeviceList

func (client *Client) GetDeviceList(request *GetDeviceListRequest) (_result *GetDeviceListResponse, _err error)

Summary:

Queries the devices of a site that is activated by using an Alibaba Cloud account.

Description:

  You can query the information about data collection devices of a site based on the ID of the site. If the verification is passed, the information about the devices of the site is returned. If the verification fails, a null value is returned.

	- Virtual meters at the site are not returned.

- By current, endpoint only supports Hangzhou: `energyexpertexternal.cn-hangzhou.aliyuncs.com`.

- To use this API, you need to be added to the whitelist. Please contact us through <props="china">[official website](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)

<props="intl">[official website](https://energy.alibabacloud.com/common?adapter=aliyun&lang=en-US#/home/en) to apply for whitelist activation.

@param request - GetDeviceListRequest

@return GetDeviceListResponse

func (*Client) GetDeviceListWithOptions

func (client *Client) GetDeviceListWithOptions(request *GetDeviceListRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDeviceListResponse, _err error)

Summary:

Queries the devices of a site that is activated by using an Alibaba Cloud account.

Description:

  You can query the information about data collection devices of a site based on the ID of the site. If the verification is passed, the information about the devices of the site is returned. If the verification fails, a null value is returned.

	- Virtual meters at the site are not returned.

- By current, endpoint only supports Hangzhou: `energyexpertexternal.cn-hangzhou.aliyuncs.com`.

- To use this API, you need to be added to the whitelist. Please contact us through <props="china">[official website](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)

<props="intl">[official website](https://energy.alibabacloud.com/common?adapter=aliyun&lang=en-US#/home/en) to apply for whitelist activation.

@param request - GetDeviceListRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetDeviceListResponse

func (*Client) GetDocumentAnalyzeResult

func (client *Client) GetDocumentAnalyzeResult(request *GetDocumentAnalyzeResultRequest) (_result *GetDocumentAnalyzeResultResponse, _err error)

Summary:

获取文档结果

@param request - GetDocumentAnalyzeResultRequest

@return GetDocumentAnalyzeResultResponse

func (*Client) GetDocumentAnalyzeResultWithOptions

func (client *Client) GetDocumentAnalyzeResultWithOptions(request *GetDocumentAnalyzeResultRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDocumentAnalyzeResultResponse, _err error)

Summary:

获取文档结果

@param request - GetDocumentAnalyzeResultRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetDocumentAnalyzeResultResponse

func (*Client) GetElecConstitute

func (client *Client) GetElecConstitute(request *GetElecConstituteRequest) (_result *GetElecConstituteResponse, _err error)

Summary:

This interface is used to obtain power composition analysis data.

@param request - GetElecConstituteRequest

@return GetElecConstituteResponse

func (*Client) GetElecConstituteWithOptions

func (client *Client) GetElecConstituteWithOptions(request *GetElecConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetElecConstituteResponse, _err error)

Summary:

This interface is used to obtain power composition analysis data.

@param request - GetElecConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetElecConstituteResponse

func (*Client) GetElecTrend

func (client *Client) GetElecTrend(request *GetElecTrendRequest) (_result *GetElecTrendResponse, _err error)

Summary:

This interface is used to obtain power trend analysis data.

@param request - GetElecTrendRequest

@return GetElecTrendResponse

func (*Client) GetElecTrendWithOptions

func (client *Client) GetElecTrendWithOptions(request *GetElecTrendRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetElecTrendResponse, _err error)

Summary:

This interface is used to obtain power trend analysis data.

@param request - GetElecTrendRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetElecTrendResponse

func (*Client) GetEmissionSourceConstitute

func (client *Client) GetEmissionSourceConstitute(request *GetEmissionSourceConstituteRequest) (_result *GetEmissionSourceConstituteResponse, _err error)

Summary:

Obtain the emission source composition.

@param request - GetEmissionSourceConstituteRequest

@return GetEmissionSourceConstituteResponse

func (*Client) GetEmissionSourceConstituteWithOptions

func (client *Client) GetEmissionSourceConstituteWithOptions(request *GetEmissionSourceConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetEmissionSourceConstituteResponse, _err error)

Summary:

Obtain the emission source composition.

@param request - GetEmissionSourceConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetEmissionSourceConstituteResponse

func (*Client) GetEmissionSummary

func (client *Client) GetEmissionSummary(request *GetEmissionSummaryRequest) (_result *GetEmissionSummaryResponse, _err error)

Summary:

Get a summary of carbon emissions.

@param request - GetEmissionSummaryRequest

@return GetEmissionSummaryResponse

func (*Client) GetEmissionSummaryWithOptions

func (client *Client) GetEmissionSummaryWithOptions(request *GetEmissionSummaryRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetEmissionSummaryResponse, _err error)

Summary:

Get a summary of carbon emissions.

@param request - GetEmissionSummaryRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetEmissionSummaryResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetEpdInventoryConstitute

func (client *Client) GetEpdInventoryConstitute(request *GetEpdInventoryConstituteRequest) (_result *GetEpdInventoryConstituteResponse, _err error)

Summary:

Gets the result details of the environmental impact category.

Description:

This API returns the emission amounts for various environmental impact categories at different levels for the given product ID. It helps understand the emission quantities for different environmental impact categories and inventories of the product.

@param request - GetEpdInventoryConstituteRequest

@return GetEpdInventoryConstituteResponse

func (*Client) GetEpdInventoryConstituteWithOptions

func (client *Client) GetEpdInventoryConstituteWithOptions(request *GetEpdInventoryConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetEpdInventoryConstituteResponse, _err error)

Summary:

Gets the result details of the environmental impact category.

Description:

This API returns the emission amounts for various environmental impact categories at different levels for the given product ID. It helps understand the emission quantities for different environmental impact categories and inventories of the product.

@param request - GetEpdInventoryConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetEpdInventoryConstituteResponse

func (*Client) GetEpdSummary

func (client *Client) GetEpdSummary(request *GetEpdSummaryRequest) (_result *GetEpdSummaryResponse, _err error)

Summary:

Obtain the total amount of emissions for various environmental impacts.

Description:

This API takes a product ID from the user and returns the summary of environmental impact generated for the product. This info helps understand the overall emissions for different environmental impact categories of the product.

@param request - GetEpdSummaryRequest

@return GetEpdSummaryResponse

func (*Client) GetEpdSummaryWithOptions

func (client *Client) GetEpdSummaryWithOptions(request *GetEpdSummaryRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetEpdSummaryResponse, _err error)

Summary:

Obtain the total amount of emissions for various environmental impacts.

Description:

This API takes a product ID from the user and returns the summary of environmental impact generated for the product. This info helps understand the overall emissions for different environmental impact categories of the product.

@param request - GetEpdSummaryRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetEpdSummaryResponse

func (*Client) GetFootprintList

func (client *Client) GetFootprintList(request *GetFootprintListRequest) (_result *GetFootprintListResponse, _err error)

Summary:

Get the list of product carbon footprints.

Description:

With user-specified parameters such as enterprise code, current page, and page size, this API returns a list of matching product carbon footprints (or supply chain carbon footprints), including product names and product IDs. The product ID can be used as input parameters in other APIs to get the corresponding product\\"s detailed information.

@param request - GetFootprintListRequest

@return GetFootprintListResponse

func (*Client) GetFootprintListWithOptions

func (client *Client) GetFootprintListWithOptions(request *GetFootprintListRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetFootprintListResponse, _err error)

Summary:

Get the list of product carbon footprints.

Description:

With user-specified parameters such as enterprise code, current page, and page size, this API returns a list of matching product carbon footprints (or supply chain carbon footprints), including product names and product IDs. The product ID can be used as input parameters in other APIs to get the corresponding product\\"s detailed information.

@param request - GetFootprintListRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetFootprintListResponse

func (*Client) GetGasConstitute

func (client *Client) GetGasConstitute(request *GetGasConstituteRequest) (_result *GetGasConstituteResponse, _err error)

Summary:

This interface is used to obtain gas composition analysis.

@param request - GetGasConstituteRequest

@return GetGasConstituteResponse

func (*Client) GetGasConstituteWithOptions

func (client *Client) GetGasConstituteWithOptions(request *GetGasConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetGasConstituteResponse, _err error)

Summary:

This interface is used to obtain gas composition analysis.

@param request - GetGasConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetGasConstituteResponse

func (*Client) GetGwpBenchmarkList

func (client *Client) GetGwpBenchmarkList(request *GetGwpBenchmarkListRequest) (_result *GetGwpBenchmarkListResponse, _err error)

Summary:

obtain the active carbon reduction ranking list.

Description:

This interface returns a list of proactive carbon reduction information given product ID. It\\"s used to understand the carbon reduction efforts at various levels of the product.

@param request - GetGwpBenchmarkListRequest

@return GetGwpBenchmarkListResponse

func (*Client) GetGwpBenchmarkListWithOptions

func (client *Client) GetGwpBenchmarkListWithOptions(request *GetGwpBenchmarkListRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetGwpBenchmarkListResponse, _err error)

Summary:

obtain the active carbon reduction ranking list.

Description:

This interface returns a list of proactive carbon reduction information given product ID. It\\"s used to understand the carbon reduction efforts at various levels of the product.

@param request - GetGwpBenchmarkListRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetGwpBenchmarkListResponse

func (*Client) GetGwpBenchmarkSummary

func (client *Client) GetGwpBenchmarkSummary(request *GetGwpBenchmarkSummaryRequest) (_result *GetGwpBenchmarkSummaryResponse, _err error)

Summary:

This API is to obtain the total amount of active carbon reduction.

Description:

The API takes a product ID and returns data on the carbon emissions reduction along with a list of the top four contributors to carbon reduction. This info helps understand the total carbon reduction of the product and its main sources.

@param request - GetGwpBenchmarkSummaryRequest

@return GetGwpBenchmarkSummaryResponse

func (*Client) GetGwpBenchmarkSummaryWithOptions

func (client *Client) GetGwpBenchmarkSummaryWithOptions(request *GetGwpBenchmarkSummaryRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetGwpBenchmarkSummaryResponse, _err error)

Summary:

This API is to obtain the total amount of active carbon reduction.

Description:

The API takes a product ID and returns data on the carbon emissions reduction along with a list of the top four contributors to carbon reduction. This info helps understand the total carbon reduction of the product and its main sources.

@param request - GetGwpBenchmarkSummaryRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetGwpBenchmarkSummaryResponse

func (*Client) GetGwpInventoryConstitute

func (client *Client) GetGwpInventoryConstitute(request *GetGwpInventoryConstituteRequest) (_result *GetGwpInventoryConstituteResponse, _err error)

Summary:

Used to obtain the carbon emission composition analysis of a specified product. Carbon emission composition analysis includes two analysis dimensions: inventory and type. In the rendering effect, including a hierarchical list and pie chart.

Description:

Used to obtain the carbon emission composition analysis of a specified product. Carbon emission composition analysis includes two analysis dimensions: inventory and type. In the rendering effect, including a hierarchical list and pie chart.

@param request - GetGwpInventoryConstituteRequest

@return GetGwpInventoryConstituteResponse

func (*Client) GetGwpInventoryConstituteWithOptions

func (client *Client) GetGwpInventoryConstituteWithOptions(request *GetGwpInventoryConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetGwpInventoryConstituteResponse, _err error)

Summary:

Used to obtain the carbon emission composition analysis of a specified product. Carbon emission composition analysis includes two analysis dimensions: inventory and type. In the rendering effect, including a hierarchical list and pie chart.

Description:

Used to obtain the carbon emission composition analysis of a specified product. Carbon emission composition analysis includes two analysis dimensions: inventory and type. In the rendering effect, including a hierarchical list and pie chart.

@param request - GetGwpInventoryConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetGwpInventoryConstituteResponse

func (*Client) GetGwpInventorySummary

func (client *Client) GetGwpInventorySummary(request *GetGwpInventorySummaryRequest) (_result *GetGwpInventorySummaryResponse, _err error)

Summary:

This API is used to obtain the total carbon footprint of a product and the top four types of carbon footprint contribution.

Description:

Returns the total carbon footprint data for the user-specified product ID, along with details on the top four contributors to the carbon footprint, helping to understand the overall carbon footprint and its main components.

@param request - GetGwpInventorySummaryRequest

@return GetGwpInventorySummaryResponse

func (*Client) GetGwpInventorySummaryWithOptions

func (client *Client) GetGwpInventorySummaryWithOptions(request *GetGwpInventorySummaryRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetGwpInventorySummaryResponse, _err error)

Summary:

This API is used to obtain the total carbon footprint of a product and the top four types of carbon footprint contribution.

Description:

Returns the total carbon footprint data for the user-specified product ID, along with details on the top four contributors to the carbon footprint, helping to understand the overall carbon footprint and its main components.

@param request - GetGwpInventorySummaryRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetGwpInventorySummaryResponse

func (*Client) GetInventoryList

func (client *Client) GetInventoryList(request *GetInventoryListRequest) (_result *GetInventoryListResponse, _err error)

Summary:

Get the list of emissions in descending order under the specified environmental impact (methodType), specified aggregate level (group), and specified calculation mode (emissionType).

Description:

This interface retrieves a descending order list of emissions for a specified product ID, environmental impact method, group level, and calculation method. It\\"s used to understand various environmental impact emission scenarios.

@param request - GetInventoryListRequest

@return GetInventoryListResponse

func (*Client) GetInventoryListWithOptions

func (client *Client) GetInventoryListWithOptions(request *GetInventoryListRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInventoryListResponse, _err error)

Summary:

Get the list of emissions in descending order under the specified environmental impact (methodType), specified aggregate level (group), and specified calculation mode (emissionType).

Description:

This interface retrieves a descending order list of emissions for a specified product ID, environmental impact method, group level, and calculation method. It\\"s used to understand various environmental impact emission scenarios.

@param request - GetInventoryListRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetInventoryListResponse

func (*Client) GetOrgAndFactory

func (client *Client) GetOrgAndFactory() (_result *GetOrgAndFactoryResponse, _err error)

Summary:

Queries the organizations and sites that are activated by using an Alibaba Cloud account. You cannot call this operation to query the organizations or sites that have not been activated in the console.

Description:

If an activated site exists, the information about the site and the organization to which the site belongs is returned. If no activated site exists, null is returned.

- By current, endpoint only supports Hangzhou: `energyexpertexternal.cn-hangzhou.aliyuncs.com`.

- To use this API, you need to be added to the whitelist. Please contact us through <props="china">[official website](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)

<props="intl">[official website](https://energy.alibabacloud.com/common?adapter=aliyun&lang=en-US#/home/en) to apply for whitelist activation.

@return GetOrgAndFactoryResponse

func (*Client) GetOrgAndFactoryWithOptions

func (client *Client) GetOrgAndFactoryWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetOrgAndFactoryResponse, _err error)

Summary:

Queries the organizations and sites that are activated by using an Alibaba Cloud account. You cannot call this operation to query the organizations or sites that have not been activated in the console.

Description:

If an activated site exists, the information about the site and the organization to which the site belongs is returned. If no activated site exists, null is returned.

- By current, endpoint only supports Hangzhou: `energyexpertexternal.cn-hangzhou.aliyuncs.com`.

- To use this API, you need to be added to the whitelist. Please contact us through <props="china">[official website](https://energy.aliyun.com/ifa/web/defaultLoginPage?adapter=aliyun#/consult?source=%E8%83%BD%E8%80%97%E5%AE%9D%E7%99%BB%E5%BD%95%E9%A1%B5%EF%BC%88WEB%EF%BC%89)

<props="intl">[official website](https://energy.alibabacloud.com/common?adapter=aliyun&lang=en-US#/home/en) to apply for whitelist activation.

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetOrgAndFactoryResponse

func (*Client) GetOrgConstitute

func (client *Client) GetOrgConstitute(request *GetOrgConstituteRequest) (_result *GetOrgConstituteResponse, _err error)

Summary:

This interface is used to obtain carbon inventory organization analysis data.

@param request - GetOrgConstituteRequest

@return GetOrgConstituteResponse

func (*Client) GetOrgConstituteWithOptions

func (client *Client) GetOrgConstituteWithOptions(request *GetOrgConstituteRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetOrgConstituteResponse, _err error)

Summary:

This interface is used to obtain carbon inventory organization analysis data.

@param request - GetOrgConstituteRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetOrgConstituteResponse

func (*Client) GetPcrInfo

func (client *Client) GetPcrInfo(request *GetPcrInfoRequest) (_result *GetPcrInfoResponse, _err error)

Summary:

Obtains the oss address of the Product Carbon footprint Report.

Description:

With the user-specified product ID, this interface retrieves detailed information and download links for previously generated PCR reports. To use it, two conditions must be met: 1) the result has already been generated; 2) the PCR report has been created.

@param request - GetPcrInfoRequest

@return GetPcrInfoResponse

func (*Client) GetPcrInfoWithOptions

func (client *Client) GetPcrInfoWithOptions(request *GetPcrInfoRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetPcrInfoResponse, _err error)

Summary:

Obtains the oss address of the Product Carbon footprint Report.

Description:

With the user-specified product ID, this interface retrieves detailed information and download links for previously generated PCR reports. To use it, two conditions must be met: 1) the result has already been generated; 2) the PCR report has been created.

@param request - GetPcrInfoRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetPcrInfoResponse

func (*Client) GetReductionProposal

func (client *Client) GetReductionProposal(request *GetReductionProposalRequest) (_result *GetReductionProposalResponse, _err error)

Summary:

Get carbon reduction recommendations.

Description:

This API returns carbon reduction proposals based on the product ID. It\\"s useful for understanding optimization tips to reduce the carbon emissions associated with a product.

@param request - GetReductionProposalRequest

@return GetReductionProposalResponse

func (*Client) GetReductionProposalWithOptions

func (client *Client) GetReductionProposalWithOptions(request *GetReductionProposalRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetReductionProposalResponse, _err error)

Summary:

Get carbon reduction recommendations.

Description:

This API returns carbon reduction proposals based on the product ID. It\\"s useful for understanding optimization tips to reduce the carbon emissions associated with a product.

@param request - GetReductionProposalRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetReductionProposalResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) IsCompleted

func (client *Client) IsCompleted(request *IsCompletedRequest) (_result *IsCompletedResponse, _err error)

Summary:

Check if the result generation is complete.

Description:

This API checks the completion status of generating a report. It should be used before calling other result APIs, as they will only display content once the report generation is complete.

@param request - IsCompletedRequest

@return IsCompletedResponse

func (*Client) IsCompletedWithOptions

func (client *Client) IsCompletedWithOptions(request *IsCompletedRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *IsCompletedResponse, _err error)

Summary:

Check if the result generation is complete.

Description:

This API checks the completion status of generating a report. It should be used before calling other result APIs, as they will only display content once the report generation is complete.

@param request - IsCompletedRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return IsCompletedResponse

func (*Client) PushDeviceData

func (client *Client) PushDeviceData(request *PushDeviceDataRequest) (_result *PushDeviceDataResponse, _err error)

Summary:

This interface is used to push device measuring point data, such as power meter voltage and other data.

@param request - PushDeviceDataRequest

@return PushDeviceDataResponse

func (*Client) PushDeviceDataWithOptions

func (client *Client) PushDeviceDataWithOptions(request *PushDeviceDataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PushDeviceDataResponse, _err error)

Summary:

This interface is used to push device measuring point data, such as power meter voltage and other data.

@param request - PushDeviceDataRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return PushDeviceDataResponse

func (*Client) PushItemData

func (client *Client) PushItemData(request *PushItemDataRequest) (_result *PushItemDataResponse, _err error)

Summary:

This interface is used to push data items.

Description:

- This interface is used for individual data item data.

- Data items can link data to services such as carbon footprints and carbon inventories.

- Depending on the platform configuration, active data on a yearly and monthly basis is supported.

@param request - PushItemDataRequest

@return PushItemDataResponse

func (*Client) PushItemDataWithOptions

func (client *Client) PushItemDataWithOptions(request *PushItemDataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PushItemDataResponse, _err error)

Summary:

This interface is used to push data items.

Description:

- This interface is used for individual data item data.

- Data items can link data to services such as carbon footprints and carbon inventories.

- Depending on the platform configuration, active data on a yearly and monthly basis is supported.

@param request - PushItemDataRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return PushItemDataResponse

func (*Client) RecalculateCarbonEmission

func (client *Client) RecalculateCarbonEmission(request *RecalculateCarbonEmissionRequest) (_result *RecalculateCarbonEmissionResponse, _err error)

Summary:

Recalculate carbon emissions.

Description:

- After uploading the data items, you need to call this interface to recalculate the carbon inventory data.

@param request - RecalculateCarbonEmissionRequest

@return RecalculateCarbonEmissionResponse

func (*Client) RecalculateCarbonEmissionWithOptions

func (client *Client) RecalculateCarbonEmissionWithOptions(request *RecalculateCarbonEmissionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RecalculateCarbonEmissionResponse, _err error)

Summary:

Recalculate carbon emissions.

Description:

- After uploading the data items, you need to call this interface to recalculate the carbon inventory data.

@param request - RecalculateCarbonEmissionRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return RecalculateCarbonEmissionResponse

func (*Client) SendDocumentAskQuestion

func (client *Client) SendDocumentAskQuestion(request *SendDocumentAskQuestionRequest) (_result *SendDocumentAskQuestionResponse, _err error)

Summary:

在线文档问答

@param request - SendDocumentAskQuestionRequest

@return SendDocumentAskQuestionResponse

func (*Client) SendDocumentAskQuestionWithOptions

func (client *Client) SendDocumentAskQuestionWithOptions(request *SendDocumentAskQuestionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SendDocumentAskQuestionResponse, _err error)

Summary:

在线文档问答

@param request - SendDocumentAskQuestionRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return SendDocumentAskQuestionResponse

func (*Client) SetRunningPlan added in v2.1.0

func (client *Client) SetRunningPlan(request *SetRunningPlanRequest) (_result *SetRunningPlanResponse, _err error)

Summary:

设置运行计划

@param request - SetRunningPlanRequest

@return SetRunningPlanResponse

func (*Client) SetRunningPlanWithOptions added in v2.1.0

func (client *Client) SetRunningPlanWithOptions(request *SetRunningPlanRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SetRunningPlanResponse, _err error)

Summary:

设置运行计划

@param request - SetRunningPlanRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return SetRunningPlanResponse

func (*Client) SubmitDocumentAnalyzeJob

func (client *Client) SubmitDocumentAnalyzeJob(request *SubmitDocumentAnalyzeJobRequest) (_result *SubmitDocumentAnalyzeJobResponse, _err error)

Summary:

获取文档结果

@param request - SubmitDocumentAnalyzeJobRequest

@return SubmitDocumentAnalyzeJobResponse

func (*Client) SubmitDocumentAnalyzeJobAdvance

func (client *Client) SubmitDocumentAnalyzeJobAdvance(request *SubmitDocumentAnalyzeJobAdvanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SubmitDocumentAnalyzeJobResponse, _err error)

func (*Client) SubmitDocumentAnalyzeJobWithOptions

func (client *Client) SubmitDocumentAnalyzeJobWithOptions(request *SubmitDocumentAnalyzeJobRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SubmitDocumentAnalyzeJobResponse, _err error)

Summary:

获取文档结果

@param request - SubmitDocumentAnalyzeJobRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return SubmitDocumentAnalyzeJobResponse

type ConstituteItem

type ConstituteItem struct {
	CarbonEmissionData *float64                         `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	DataUnit           *string                          `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	EmissionSource     *string                          `json:"emissionSource,omitempty" xml:"emissionSource,omitempty"`
	EmissionSourceKey  *string                          `json:"emissionSourceKey,omitempty" xml:"emissionSourceKey,omitempty"`
	EnterpriseName     *string                          `json:"enterpriseName,omitempty" xml:"enterpriseName,omitempty"`
	EnvGasEmissions    []*ConstituteItemEnvGasEmissions `json:"envGasEmissions,omitempty" xml:"envGasEmissions,omitempty" type:"Repeated"`
	Name               *string                          `json:"name,omitempty" xml:"name,omitempty"`
	NameKey            *string                          `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	Ratio              *float64                         `json:"ratio,omitempty" xml:"ratio,omitempty"`
	RawData            *float64                         `json:"rawData,omitempty" xml:"rawData,omitempty"`
	SubConstituteItems []*ConstituteItem                `json:"subConstituteItems,omitempty" xml:"subConstituteItems,omitempty" type:"Repeated"`
}

func (ConstituteItem) GoString

func (s ConstituteItem) GoString() string

func (*ConstituteItem) SetCarbonEmissionData

func (s *ConstituteItem) SetCarbonEmissionData(v float64) *ConstituteItem

func (*ConstituteItem) SetDataUnit

func (s *ConstituteItem) SetDataUnit(v string) *ConstituteItem

func (*ConstituteItem) SetEmissionSource

func (s *ConstituteItem) SetEmissionSource(v string) *ConstituteItem

func (*ConstituteItem) SetEmissionSourceKey

func (s *ConstituteItem) SetEmissionSourceKey(v string) *ConstituteItem

func (*ConstituteItem) SetEnterpriseName

func (s *ConstituteItem) SetEnterpriseName(v string) *ConstituteItem

func (*ConstituteItem) SetEnvGasEmissions

func (s *ConstituteItem) SetEnvGasEmissions(v []*ConstituteItemEnvGasEmissions) *ConstituteItem

func (*ConstituteItem) SetName

func (s *ConstituteItem) SetName(v string) *ConstituteItem

func (*ConstituteItem) SetNameKey

func (s *ConstituteItem) SetNameKey(v string) *ConstituteItem

func (*ConstituteItem) SetRatio

func (s *ConstituteItem) SetRatio(v float64) *ConstituteItem

func (*ConstituteItem) SetRawData

func (s *ConstituteItem) SetRawData(v float64) *ConstituteItem

func (*ConstituteItem) SetSubConstituteItems

func (s *ConstituteItem) SetSubConstituteItems(v []*ConstituteItem) *ConstituteItem

func (ConstituteItem) String

func (s ConstituteItem) String() string

type ConstituteItemEnvGasEmissions

type ConstituteItemEnvGasEmissions struct {
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	GasEmissionData    *float64 `json:"gasEmissionData,omitempty" xml:"gasEmissionData,omitempty"`
	Name               *string  `json:"name,omitempty" xml:"name,omitempty"`
	Type               *string  `json:"type,omitempty" xml:"type,omitempty"`
}

func (ConstituteItemEnvGasEmissions) GoString

func (*ConstituteItemEnvGasEmissions) SetCarbonEmissionData

func (*ConstituteItemEnvGasEmissions) SetGasEmissionData

func (*ConstituteItemEnvGasEmissions) SetName

func (*ConstituteItemEnvGasEmissions) SetType

func (ConstituteItemEnvGasEmissions) String

type ContentItem

type ContentItem struct {
	ExtInfo []*ContentItemExtInfo `json:"extInfo,omitempty" xml:"extInfo,omitempty" type:"Repeated"`
	// example:
	//
	// 0.45
	Score *float64 `json:"score,omitempty" xml:"score,omitempty"`
	Text  *string  `json:"text,omitempty" xml:"text,omitempty"`
	// example:
	//
	// img
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (ContentItem) GoString

func (s ContentItem) GoString() string

func (*ContentItem) SetExtInfo

func (s *ContentItem) SetExtInfo(v []*ContentItemExtInfo) *ContentItem

func (*ContentItem) SetScore

func (s *ContentItem) SetScore(v float64) *ContentItem

func (*ContentItem) SetText

func (s *ContentItem) SetText(v string) *ContentItem

func (*ContentItem) SetType

func (s *ContentItem) SetType(v string) *ContentItem

func (ContentItem) String

func (s ContentItem) String() string

type ContentItemExtInfo

type ContentItemExtInfo struct {
	// example:
	//
	// center
	Alignment *string `json:"alignment,omitempty" xml:"alignment,omitempty"`
	// example:
	//
	// 8
	Index *int64 `json:"index,omitempty" xml:"index,omitempty"`
	// example:
	//
	// 2
	Level   *int64                   `json:"level,omitempty" xml:"level,omitempty"`
	PageNum []*int64                 `json:"pageNum,omitempty" xml:"pageNum,omitempty" type:"Repeated"`
	Pos     []*ContentItemExtInfoPos `json:"pos,omitempty" xml:"pos,omitempty" type:"Repeated"`
	// example:
	//
	// picture
	SubType *string `json:"subType,omitempty" xml:"subType,omitempty"`
	// example:
	//
	// 版面内容
	Text *string `json:"text,omitempty" xml:"text,omitempty"`
	// example:
	//
	// table
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// example:
	//
	// 88c712db271443dd4e3697cb9b5dab3a
	UniqueId *string `json:"uniqueId,omitempty" xml:"uniqueId,omitempty"`
}

func (ContentItemExtInfo) GoString

func (s ContentItemExtInfo) GoString() string

func (*ContentItemExtInfo) SetAlignment

func (s *ContentItemExtInfo) SetAlignment(v string) *ContentItemExtInfo

func (*ContentItemExtInfo) SetIndex

func (*ContentItemExtInfo) SetLevel

func (*ContentItemExtInfo) SetPageNum

func (s *ContentItemExtInfo) SetPageNum(v []*int64) *ContentItemExtInfo

func (*ContentItemExtInfo) SetPos

func (*ContentItemExtInfo) SetSubType

func (s *ContentItemExtInfo) SetSubType(v string) *ContentItemExtInfo

func (*ContentItemExtInfo) SetText

func (*ContentItemExtInfo) SetType

func (*ContentItemExtInfo) SetUniqueId

func (s *ContentItemExtInfo) SetUniqueId(v string) *ContentItemExtInfo

func (ContentItemExtInfo) String

func (s ContentItemExtInfo) String() string

type ContentItemExtInfoPos

type ContentItemExtInfoPos struct {
	// example:
	//
	// 1
	X *int64 `json:"x,omitempty" xml:"x,omitempty"`
	// example:
	//
	// 2
	Y *int64 `json:"y,omitempty" xml:"y,omitempty"`
}

func (ContentItemExtInfoPos) GoString

func (s ContentItemExtInfoPos) GoString() string

func (*ContentItemExtInfoPos) SetX

func (*ContentItemExtInfoPos) SetY

func (ContentItemExtInfoPos) String

func (s ContentItemExtInfoPos) String() string

type EditProhibitedDevicesRequest added in v2.1.0

type EditProhibitedDevicesRequest struct {
	// example:
	//
	// ***
	FactoryId              *string                                               `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	HvacDeviceConfigVOList []*EditProhibitedDevicesRequestHvacDeviceConfigVOList `json:"hvacDeviceConfigVOList,omitempty" xml:"hvacDeviceConfigVOList,omitempty" type:"Repeated"`
	// example:
	//
	// system1
	SystemId *string `json:"systemId,omitempty" xml:"systemId,omitempty"`
}

func (EditProhibitedDevicesRequest) GoString added in v2.1.0

func (s EditProhibitedDevicesRequest) GoString() string

func (*EditProhibitedDevicesRequest) SetFactoryId added in v2.1.0

func (*EditProhibitedDevicesRequest) SetHvacDeviceConfigVOList added in v2.1.0

func (*EditProhibitedDevicesRequest) SetSystemId added in v2.1.0

func (EditProhibitedDevicesRequest) String added in v2.1.0

type EditProhibitedDevicesRequestHvacDeviceConfigVOList added in v2.1.0

type EditProhibitedDevicesRequestHvacDeviceConfigVOList struct {
	// example:
	//
	// build_01
	BuildingId *string `json:"buildingId,omitempty" xml:"buildingId,omitempty"`
	// example:
	//
	// id1
	DeviceId *string `json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	// example:
	//
	// name1
	DeviceName *string `json:"deviceName,omitempty" xml:"deviceName,omitempty"`
	// example:
	//
	// 1
	DeviceType *string `json:"deviceType,omitempty" xml:"deviceType,omitempty"`
	// example:
	//
	// fence_01
	FenceId *string `json:"fenceId,omitempty" xml:"fenceId,omitempty"`
	// example:
	//
	// floor_01
	FloorId *string `json:"floorId,omitempty" xml:"floorId,omitempty"`
	// example:
	//
	// 1
	IsForbidden *int32 `json:"isForbidden,omitempty" xml:"isForbidden,omitempty"`
	// example:
	//
	// 1
	IsUnfavorableArea *int32 `json:"isUnfavorableArea,omitempty" xml:"isUnfavorableArea,omitempty"`
}

func (EditProhibitedDevicesRequestHvacDeviceConfigVOList) GoString added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetBuildingId added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetDeviceId added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetDeviceName added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetDeviceType added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetFenceId added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetFloorId added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetIsForbidden added in v2.1.0

func (*EditProhibitedDevicesRequestHvacDeviceConfigVOList) SetIsUnfavorableArea added in v2.1.0

func (EditProhibitedDevicesRequestHvacDeviceConfigVOList) String added in v2.1.0

type EditProhibitedDevicesResponse added in v2.1.0

type EditProhibitedDevicesResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EditProhibitedDevicesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EditProhibitedDevicesResponse) GoString added in v2.1.0

func (*EditProhibitedDevicesResponse) SetBody added in v2.1.0

func (*EditProhibitedDevicesResponse) SetHeaders added in v2.1.0

func (*EditProhibitedDevicesResponse) SetStatusCode added in v2.1.0

func (EditProhibitedDevicesResponse) String added in v2.1.0

type EditProhibitedDevicesResponseBody added in v2.1.0

type EditProhibitedDevicesResponseBody struct {
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 9bc20a5a-b26b-4c28-922a-7cd10b61f96f
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (EditProhibitedDevicesResponseBody) GoString added in v2.1.0

func (*EditProhibitedDevicesResponseBody) SetData added in v2.1.0

func (*EditProhibitedDevicesResponseBody) SetRequestId added in v2.1.0

func (EditProhibitedDevicesResponseBody) String added in v2.1.0

type EditUnfavorableAreaDevicesRequest added in v2.1.0

type EditUnfavorableAreaDevicesRequest struct {
	// example:
	//
	// ***
	FactoryId              *string                                                    `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	HvacDeviceConfigVOList []*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList `json:"hvacDeviceConfigVOList,omitempty" xml:"hvacDeviceConfigVOList,omitempty" type:"Repeated"`
	// example:
	//
	// system1
	SystemId *string `json:"systemId,omitempty" xml:"systemId,omitempty"`
}

func (EditUnfavorableAreaDevicesRequest) GoString added in v2.1.0

func (*EditUnfavorableAreaDevicesRequest) SetFactoryId added in v2.1.0

func (*EditUnfavorableAreaDevicesRequest) SetHvacDeviceConfigVOList added in v2.1.0

func (*EditUnfavorableAreaDevicesRequest) SetSystemId added in v2.1.0

func (EditUnfavorableAreaDevicesRequest) String added in v2.1.0

type EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList added in v2.1.0

type EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList struct {
	// example:
	//
	// buildingId1
	BuildingId *string `json:"buildingId,omitempty" xml:"buildingId,omitempty"`
	// example:
	//
	// id1
	DeviceId *string `json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	// example:
	//
	// name1
	DeviceName *string `json:"deviceName,omitempty" xml:"deviceName,omitempty"`
	// example:
	//
	// 1
	DeviceType *string `json:"deviceType,omitempty" xml:"deviceType,omitempty"`
	// example:
	//
	// fenceId1
	FenceId *string `json:"fenceId,omitempty" xml:"fenceId,omitempty"`
	// example:
	//
	// floorId2
	FloorId *string `json:"floorId,omitempty" xml:"floorId,omitempty"`
	// example:
	//
	// 1
	IsForbidden *int32 `json:"isForbidden,omitempty" xml:"isForbidden,omitempty"`
	// example:
	//
	// 1
	IsUnfavorableArea *int32 `json:"isUnfavorableArea,omitempty" xml:"isUnfavorableArea,omitempty"`
}

func (EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) GoString added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetBuildingId added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetDeviceId added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetDeviceName added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetDeviceType added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetFenceId added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetFloorId added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetIsForbidden added in v2.1.0

func (*EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) SetIsUnfavorableArea added in v2.1.0

func (EditUnfavorableAreaDevicesRequestHvacDeviceConfigVOList) String added in v2.1.0

type EditUnfavorableAreaDevicesResponse added in v2.1.0

type EditUnfavorableAreaDevicesResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EditUnfavorableAreaDevicesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EditUnfavorableAreaDevicesResponse) GoString added in v2.1.0

func (*EditUnfavorableAreaDevicesResponse) SetBody added in v2.1.0

func (*EditUnfavorableAreaDevicesResponse) SetHeaders added in v2.1.0

func (*EditUnfavorableAreaDevicesResponse) SetStatusCode added in v2.1.0

func (EditUnfavorableAreaDevicesResponse) String added in v2.1.0

type EditUnfavorableAreaDevicesResponseBody added in v2.1.0

type EditUnfavorableAreaDevicesResponseBody struct {
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (EditUnfavorableAreaDevicesResponseBody) GoString added in v2.1.0

func (*EditUnfavorableAreaDevicesResponseBody) SetData added in v2.1.0

func (*EditUnfavorableAreaDevicesResponseBody) SetRequestId added in v2.1.0

func (EditUnfavorableAreaDevicesResponseBody) String added in v2.1.0

type EpdInventoryConstituteItem

type EpdInventoryConstituteItem struct {
	CarbonEmission               *float64                      `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	Factor                       *string                       `json:"factor,omitempty" xml:"factor,omitempty"`
	FactorDataset                *string                       `json:"factorDataset,omitempty" xml:"factorDataset,omitempty"`
	FactorId                     *string                       `json:"factorId,omitempty" xml:"factorId,omitempty"`
	FactorType                   *int32                        `json:"factorType,omitempty" xml:"factorType,omitempty"`
	FactorUnit                   *string                       `json:"factorUnit,omitempty" xml:"factorUnit,omitempty"`
	InventoryId                  *int64                        `json:"inventoryId,omitempty" xml:"inventoryId,omitempty"`
	InventoryUnit                *string                       `json:"inventoryUnit,omitempty" xml:"inventoryUnit,omitempty"`
	InventoryValue               *float64                      `json:"inventoryValue,omitempty" xml:"inventoryValue,omitempty"`
	InventoryValuePerProduct     *float64                      `json:"inventoryValuePerProduct,omitempty" xml:"inventoryValuePerProduct,omitempty"`
	InventoryValuePerProductUnit *string                       `json:"inventoryValuePerProductUnit,omitempty" xml:"inventoryValuePerProductUnit,omitempty"`
	Items                        []*EpdInventoryConstituteItem `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	Name                         *string                       `json:"name,omitempty" xml:"name,omitempty"`
	Num                          *int64                        `json:"num,omitempty" xml:"num,omitempty"`
	Percent                      *float64                      `json:"percent,omitempty" xml:"percent,omitempty"`
	Quantity                     *float64                      `json:"quantity,omitempty" xml:"quantity,omitempty"`
	ResourceType                 *string                       `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	State                        *int32                        `json:"state,omitempty" xml:"state,omitempty"`
	Unit                         *string                       `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (EpdInventoryConstituteItem) GoString

func (s EpdInventoryConstituteItem) GoString() string

func (*EpdInventoryConstituteItem) SetCarbonEmission

func (*EpdInventoryConstituteItem) SetFactor

func (*EpdInventoryConstituteItem) SetFactorDataset

func (*EpdInventoryConstituteItem) SetFactorId

func (*EpdInventoryConstituteItem) SetFactorType

func (*EpdInventoryConstituteItem) SetFactorUnit

func (*EpdInventoryConstituteItem) SetInventoryId

func (*EpdInventoryConstituteItem) SetInventoryUnit

func (*EpdInventoryConstituteItem) SetInventoryValue

func (*EpdInventoryConstituteItem) SetInventoryValuePerProduct

func (s *EpdInventoryConstituteItem) SetInventoryValuePerProduct(v float64) *EpdInventoryConstituteItem

func (*EpdInventoryConstituteItem) SetInventoryValuePerProductUnit

func (s *EpdInventoryConstituteItem) SetInventoryValuePerProductUnit(v string) *EpdInventoryConstituteItem

func (*EpdInventoryConstituteItem) SetItems

func (*EpdInventoryConstituteItem) SetName

func (*EpdInventoryConstituteItem) SetNum

func (*EpdInventoryConstituteItem) SetPercent

func (*EpdInventoryConstituteItem) SetQuantity

func (*EpdInventoryConstituteItem) SetResourceType

func (*EpdInventoryConstituteItem) SetState

func (*EpdInventoryConstituteItem) SetUnit

func (EpdInventoryConstituteItem) String

type GenerateResultRequest

type GenerateResultRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GenerateResultRequest) GoString

func (s GenerateResultRequest) GoString() string

func (*GenerateResultRequest) SetCode

func (*GenerateResultRequest) SetProductId

func (*GenerateResultRequest) SetProductType

func (s *GenerateResultRequest) SetProductType(v int64) *GenerateResultRequest

func (GenerateResultRequest) String

func (s GenerateResultRequest) String() string

type GenerateResultResponse

type GenerateResultResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GenerateResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GenerateResultResponse) GoString

func (s GenerateResultResponse) GoString() string

func (*GenerateResultResponse) SetBody

func (*GenerateResultResponse) SetHeaders

func (*GenerateResultResponse) SetStatusCode

func (GenerateResultResponse) String

func (s GenerateResultResponse) String() string

type GenerateResultResponseBody

type GenerateResultResponseBody struct {
	// The returned data. `true` indicates that the request is successful, `false` indicates that the request fails.
	//
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GenerateResultResponseBody) GoString

func (s GenerateResultResponseBody) GoString() string

func (*GenerateResultResponseBody) SetData

func (*GenerateResultResponseBody) SetRequestId

func (GenerateResultResponseBody) String

type GetAreaElecConstituteRequest

type GetAreaElecConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// Z-20240115-2
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Year.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *int32 `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetAreaElecConstituteRequest) GoString

func (s GetAreaElecConstituteRequest) GoString() string

func (*GetAreaElecConstituteRequest) SetCode

func (*GetAreaElecConstituteRequest) SetYear

func (GetAreaElecConstituteRequest) String

type GetAreaElecConstituteResponse

type GetAreaElecConstituteResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAreaElecConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAreaElecConstituteResponse) GoString

func (*GetAreaElecConstituteResponse) SetBody

func (*GetAreaElecConstituteResponse) SetHeaders

func (*GetAreaElecConstituteResponse) SetStatusCode

func (GetAreaElecConstituteResponse) String

type GetAreaElecConstituteResponseBody

type GetAreaElecConstituteResponseBody struct {
	// The code returned for the request. A value of Success indicates that the request was successful. Other values indicate that the request failed. You can troubleshoot the error by viewing the error message returned.
	//
	// example:
	//
	// 200
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned data.
	Data *GetAreaElecConstituteResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetAreaElecConstituteResponseBody) GoString

func (*GetAreaElecConstituteResponseBody) SetCode

func (*GetAreaElecConstituteResponseBody) SetRequestId

func (GetAreaElecConstituteResponseBody) String

type GetAreaElecConstituteResponseBodyData

type GetAreaElecConstituteResponseBodyData struct {
	// Photoelectric power consumption and carbon emission data of each enterprise.
	Light []*CarbonEmissionElecSummaryItem `json:"light,omitempty" xml:"light,omitempty" type:"Repeated"`
	// Data on nuclear power consumption and carbon emissions at each enterprise.
	Nuclear []*CarbonEmissionElecSummaryItem `json:"nuclear,omitempty" xml:"nuclear,omitempty" type:"Repeated"`
	// Data on renewable electricity consumption and carbon emissions at each enterprise.
	Renewing []*CarbonEmissionElecSummaryItem `json:"renewing,omitempty" xml:"renewing,omitempty" type:"Repeated"`
	// Data on mains electricity consumption and carbon emission of each enterprise.
	Urban []*CarbonEmissionElecSummaryItem `json:"urban,omitempty" xml:"urban,omitempty" type:"Repeated"`
	// Hydropower consumption and carbon emission data of each enterprise.
	Water []*CarbonEmissionElecSummaryItem `json:"water,omitempty" xml:"water,omitempty" type:"Repeated"`
	// Wind power consumption and carbon emission data of each enterprise.
	Wind []*CarbonEmissionElecSummaryItem `json:"wind,omitempty" xml:"wind,omitempty" type:"Repeated"`
	// Data of zero electricity consumption and carbon emission of each enterprise.
	Zero []*CarbonEmissionElecSummaryItem `json:"zero,omitempty" xml:"zero,omitempty" type:"Repeated"`
}

func (GetAreaElecConstituteResponseBodyData) GoString

func (*GetAreaElecConstituteResponseBodyData) SetLight

func (*GetAreaElecConstituteResponseBodyData) SetNuclear

func (*GetAreaElecConstituteResponseBodyData) SetRenewing

func (*GetAreaElecConstituteResponseBodyData) SetUrban

func (*GetAreaElecConstituteResponseBodyData) SetWater

func (*GetAreaElecConstituteResponseBodyData) SetWind

func (*GetAreaElecConstituteResponseBodyData) SetZero

func (GetAreaElecConstituteResponseBodyData) String

type GetCarbonEmissionTrendRequest

type GetCarbonEmissionTrendRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240119-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Module code.
	//
	// example:
	//
	// carbonInventory.check.scope_1_direct_ghg_emissions
	ModuleCode *string `json:"moduleCode,omitempty" xml:"moduleCode,omitempty"`
	// Module type.
	//
	// example:
	//
	// 3
	ModuleType *int32 `json:"moduleType,omitempty" xml:"moduleType,omitempty"`
	// Trend Type.
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	TrendType *int32 `json:"trendType,omitempty" xml:"trendType,omitempty"`
	// The list of inventory year.
	//
	// This parameter is required.
	YearList []*int32 `json:"yearList,omitempty" xml:"yearList,omitempty" type:"Repeated"`
}

func (GetCarbonEmissionTrendRequest) GoString

func (*GetCarbonEmissionTrendRequest) SetCode

func (*GetCarbonEmissionTrendRequest) SetModuleCode

func (*GetCarbonEmissionTrendRequest) SetModuleType

func (*GetCarbonEmissionTrendRequest) SetTrendType

func (*GetCarbonEmissionTrendRequest) SetYearList

func (GetCarbonEmissionTrendRequest) String

type GetCarbonEmissionTrendResponse

type GetCarbonEmissionTrendResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetCarbonEmissionTrendResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetCarbonEmissionTrendResponse) GoString

func (*GetCarbonEmissionTrendResponse) SetHeaders

func (*GetCarbonEmissionTrendResponse) SetStatusCode

func (GetCarbonEmissionTrendResponse) String

type GetCarbonEmissionTrendResponseBody

type GetCarbonEmissionTrendResponseBody struct {
	// The response parameters.
	Data *GetCarbonEmissionTrendResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// Id of the request.
	//
	// example:
	//
	// 9bc20a5a-b26b-4c28-922a-7cd10b61f96f
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetCarbonEmissionTrendResponseBody) GoString

func (*GetCarbonEmissionTrendResponseBody) SetRequestId

func (GetCarbonEmissionTrendResponseBody) String

type GetCarbonEmissionTrendResponseBodyData

type GetCarbonEmissionTrendResponseBodyData struct {
	// Actual emission list.
	ActualEmissionList []*GetCarbonEmissionTrendResponseBodyDataActualEmissionList `json:"actualEmissionList,omitempty" xml:"actualEmissionList,omitempty" type:"Repeated"`
	// Target Emission List.
	TargetEmissionList []*GetCarbonEmissionTrendResponseBodyDataTargetEmissionList `json:"targetEmissionList,omitempty" xml:"targetEmissionList,omitempty" type:"Repeated"`
}

func (GetCarbonEmissionTrendResponseBodyData) GoString

func (GetCarbonEmissionTrendResponseBodyData) String

type GetCarbonEmissionTrendResponseBodyDataActualEmissionList

type GetCarbonEmissionTrendResponseBodyDataActualEmissionList struct {
	// Data item list.
	Items []*GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// The year.
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetCarbonEmissionTrendResponseBodyDataActualEmissionList) GoString

func (*GetCarbonEmissionTrendResponseBodyDataActualEmissionList) SetYear

func (GetCarbonEmissionTrendResponseBodyDataActualEmissionList) String

type GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems

type GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems struct {
	// Carbon emissions.
	//
	// example:
	//
	// 20.22
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The month.
	//
	// example:
	//
	// 11
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// The year.
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems) GoString

func (*GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems) SetCarbonEmissionData

func (*GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems) SetMonth

func (*GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems) SetYear

func (GetCarbonEmissionTrendResponseBodyDataActualEmissionListItems) String

type GetCarbonEmissionTrendResponseBodyDataTargetEmissionList

type GetCarbonEmissionTrendResponseBodyDataTargetEmissionList struct {
	// Data item list.
	Items []*GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// The year.
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetCarbonEmissionTrendResponseBodyDataTargetEmissionList) GoString

func (*GetCarbonEmissionTrendResponseBodyDataTargetEmissionList) SetYear

func (GetCarbonEmissionTrendResponseBodyDataTargetEmissionList) String

type GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems

type GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems struct {
	// Carbon emissions.
	//
	// example:
	//
	// 20.22
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The month.
	//
	// example:
	//
	// 10
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// The year.
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems) GoString

func (*GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems) SetCarbonEmissionData

func (*GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems) SetMonth

func (*GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems) SetYear

func (GetCarbonEmissionTrendResponseBodyDataTargetEmissionListItems) String

type GetDataItemListRequest

type GetDataItemListRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-202302-01
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
}

func (GetDataItemListRequest) GoString

func (s GetDataItemListRequest) GoString() string

func (*GetDataItemListRequest) SetCode

func (GetDataItemListRequest) String

func (s GetDataItemListRequest) String() string

type GetDataItemListResponse

type GetDataItemListResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDataItemListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDataItemListResponse) GoString

func (s GetDataItemListResponse) GoString() string

func (*GetDataItemListResponse) SetBody

func (*GetDataItemListResponse) SetHeaders

func (*GetDataItemListResponse) SetStatusCode

func (GetDataItemListResponse) String

func (s GetDataItemListResponse) String() string

type GetDataItemListResponseBody

type GetDataItemListResponseBody struct {
	// Response parameters.
	Data []*GetDataItemListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetDataItemListResponseBody) GoString

func (s GetDataItemListResponseBody) GoString() string

func (*GetDataItemListResponseBody) SetData

func (*GetDataItemListResponseBody) SetRequestId

func (GetDataItemListResponseBody) String

type GetDataItemListResponseBodyData

type GetDataItemListResponseBodyData struct {
	// The identifier of the data item.
	//
	// example:
	//
	// demo_api_code
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The name of the data item.
	//
	// example:
	//
	// name_bbb
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Data filling method, 1: monthly value 2: annual value.
	//
	// example:
	//
	// 1
	Period *int32 `json:"period,omitempty" xml:"period,omitempty"`
	// The data item unit.
	//
	// example:
	//
	// kg
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetDataItemListResponseBodyData) GoString

func (*GetDataItemListResponseBodyData) SetCode

func (*GetDataItemListResponseBodyData) SetName

func (*GetDataItemListResponseBodyData) SetPeriod

func (*GetDataItemListResponseBodyData) SetUnit

func (GetDataItemListResponseBodyData) String

type GetDataQualityAnalysisRequest

type GetDataQualityAnalysisRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Data quality assessment type: 1 is DQI and 2 is DQR.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	DataQualityEvaluationType *int64 `json:"dataQualityEvaluationType,omitempty" xml:"dataQualityEvaluationType,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetDataQualityAnalysisRequest) GoString

func (*GetDataQualityAnalysisRequest) SetCode

func (*GetDataQualityAnalysisRequest) SetDataQualityEvaluationType

func (s *GetDataQualityAnalysisRequest) SetDataQualityEvaluationType(v int64) *GetDataQualityAnalysisRequest

func (*GetDataQualityAnalysisRequest) SetProductId

func (*GetDataQualityAnalysisRequest) SetProductType

func (GetDataQualityAnalysisRequest) String

type GetDataQualityAnalysisResponse

type GetDataQualityAnalysisResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDataQualityAnalysisResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDataQualityAnalysisResponse) GoString

func (*GetDataQualityAnalysisResponse) SetHeaders

func (*GetDataQualityAnalysisResponse) SetStatusCode

func (GetDataQualityAnalysisResponse) String

type GetDataQualityAnalysisResponseBody

type GetDataQualityAnalysisResponseBody struct {
	// The response parameters.
	Data *GetDataQualityAnalysisResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 4A0AEC56-5C9A-5D47-93DF-7227836FFF82
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetDataQualityAnalysisResponseBody) GoString

func (*GetDataQualityAnalysisResponseBody) SetRequestId

func (GetDataQualityAnalysisResponseBody) String

type GetDataQualityAnalysisResponseBodyData

type GetDataQualityAnalysisResponseBodyData struct {
	// Score of each inventory.
	DataQuality []*GetDataQualityAnalysisResponseBodyDataDataQuality `json:"dataQuality,omitempty" xml:"dataQuality,omitempty" type:"Repeated"`
	// Data quality result.
	DataQualityResult *GetDataQualityAnalysisResponseBodyDataDataQualityResult `json:"dataQualityResult,omitempty" xml:"dataQualityResult,omitempty" type:"Struct"`
	// Sensitivity analysis list
	SensitivityList []*GetDataQualityAnalysisResponseBodyDataSensitivityList `json:"sensitivityList,omitempty" xml:"sensitivityList,omitempty" type:"Repeated"`
	// Uncertainty value. The model\\"s overall percentage uncertainty results. "10.00%" symbolizes a 10.00% uncertainty, indicating that the carbon footprint lies within ±10.00%. This is derived from a weighted aggregation of individual inventory uncertainties.
	//
	// example:
	//
	// 10.00
	Uncertainty *string `json:"uncertainty,omitempty" xml:"uncertainty,omitempty"`
	// Uncertainty list
	UncertaintyValues []*GetDataQualityAnalysisResponseBodyDataUncertaintyValues `json:"uncertaintyValues,omitempty" xml:"uncertaintyValues,omitempty" type:"Repeated"`
}

func (GetDataQualityAnalysisResponseBodyData) GoString

func (*GetDataQualityAnalysisResponseBodyData) SetUncertainty

func (GetDataQualityAnalysisResponseBodyData) String

type GetDataQualityAnalysisResponseBodyDataDataQuality

type GetDataQualityAnalysisResponseBodyDataDataQuality struct {
	// Inventory name
	//
	// example:
	//
	// energy
	Inventory *string `json:"inventory,omitempty" xml:"inventory,omitempty"`
	// Score. The distribution ranges from 1 to 5. A value closer to 1 indicates better data quality.
	Score *GetDataQualityAnalysisResponseBodyDataDataQualityScore `json:"score,omitempty" xml:"score,omitempty" type:"Struct"`
}

func (GetDataQualityAnalysisResponseBodyDataDataQuality) GoString

func (*GetDataQualityAnalysisResponseBodyDataDataQuality) SetInventory

func (GetDataQualityAnalysisResponseBodyDataDataQuality) String

type GetDataQualityAnalysisResponseBodyDataDataQualityResult

type GetDataQualityAnalysisResponseBodyDataDataQualityResult struct {
	// The score. This parameter is applicable to DQR results. The distribution ranges from 1 to 5. A value closer to 1 indicates better data quality. The number of valid digits is kept to four decimal places.
	//
	// example:
	//
	// 1.2345
	DataQualityScore *float64 `json:"data_quality_score,omitempty" xml:"data_quality_score,omitempty"`
	// Data quality evaluation indicator 1: activity data credibility.
	//
	// example:
	//
	// 1.2345
	G1 *float64 `json:"g1,omitempty" xml:"g1,omitempty"`
	// Data quality evaluation indicator 2: data factor reliability.
	//
	// example:
	//
	// 1.2345
	G2 *float64 `json:"g2,omitempty" xml:"g2,omitempty"`
	// Data quality evaluation indicator 3: time representativeness.
	//
	// example:
	//
	// 1.2345
	G3 *float64 `json:"g3,omitempty" xml:"g3,omitempty"`
	// Data quality evaluation indicator 4: geographic representativeness.
	//
	// example:
	//
	// 1.2345
	G4 *float64 `json:"g4,omitempty" xml:"g4,omitempty"`
}

func (GetDataQualityAnalysisResponseBodyDataDataQualityResult) GoString

func (*GetDataQualityAnalysisResponseBodyDataDataQualityResult) SetDataQualityScore

func (*GetDataQualityAnalysisResponseBodyDataDataQualityResult) SetG1

func (*GetDataQualityAnalysisResponseBodyDataDataQualityResult) SetG2

func (*GetDataQualityAnalysisResponseBodyDataDataQualityResult) SetG3

func (*GetDataQualityAnalysisResponseBodyDataDataQualityResult) SetG4

func (GetDataQualityAnalysisResponseBodyDataDataQualityResult) String

type GetDataQualityAnalysisResponseBodyDataDataQualityScore

type GetDataQualityAnalysisResponseBodyDataDataQualityScore struct {
	// Data quality evaluation indicator 1: activity data credibility.
	//
	// example:
	//
	// 3
	G1 *float64 `json:"g1,omitempty" xml:"g1,omitempty"`
	// Data quality evaluation indicator 2: data factor reliability.
	//
	// example:
	//
	// 3
	G2 *float64 `json:"g2,omitempty" xml:"g2,omitempty"`
	// Data quality evaluation indicator 3: time representativeness.
	//
	// example:
	//
	// 3
	G3 *float64 `json:"g3,omitempty" xml:"g3,omitempty"`
	// Data quality evaluation indicator 4: geographic representativeness.
	//
	// example:
	//
	// 3
	G4 *float64 `json:"g4,omitempty" xml:"g4,omitempty"`
}

func (GetDataQualityAnalysisResponseBodyDataDataQualityScore) GoString

func (*GetDataQualityAnalysisResponseBodyDataDataQualityScore) SetG1

func (*GetDataQualityAnalysisResponseBodyDataDataQualityScore) SetG2

func (*GetDataQualityAnalysisResponseBodyDataDataQualityScore) SetG3

func (*GetDataQualityAnalysisResponseBodyDataDataQualityScore) SetG4

func (GetDataQualityAnalysisResponseBodyDataDataQualityScore) String

type GetDataQualityAnalysisResponseBodyDataSensitivityList

type GetDataQualityAnalysisResponseBodyDataSensitivityList struct {
	// Inventory id
	//
	// example:
	//
	// 1
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// Name of the inventory item.
	//
	// example:
	//
	// energy
	Inventory *string `json:"inventory,omitempty" xml:"inventory,omitempty"`
	// List of emission reduction measures.
	ReductionList []*string `json:"reductionList,omitempty" xml:"reductionList,omitempty" type:"Repeated"`
	// Sensitivity percentage.
	//
	// example:
	//
	// 91.7
	Sensitivity *float64 `json:"sensitivity,omitempty" xml:"sensitivity,omitempty"`
}

func (GetDataQualityAnalysisResponseBodyDataSensitivityList) GoString

func (*GetDataQualityAnalysisResponseBodyDataSensitivityList) SetId

func (*GetDataQualityAnalysisResponseBodyDataSensitivityList) SetInventory

func (*GetDataQualityAnalysisResponseBodyDataSensitivityList) SetReductionList

func (*GetDataQualityAnalysisResponseBodyDataSensitivityList) SetSensitivity

func (GetDataQualityAnalysisResponseBodyDataSensitivityList) String

type GetDataQualityAnalysisResponseBodyDataUncertaintyValues

type GetDataQualityAnalysisResponseBodyDataUncertaintyValues struct {
	// The name of the inventory. Format: process name / inventory name.
	//
	// example:
	//
	// process-1/inventory-1
	Inventory *string `json:"inventory,omitempty" xml:"inventory,omitempty"`
	// Inventory uncertainty absolute contribution size. The impact of the quality of each inventory data on the carbon footprint results in the modeling process, when the uncertain contribution of a list is large, please improve its data quality as much as possible to improve the accuracy of carbon footprint analysis. The meaning of "1.4964" is not determined to contribute 1.4964 kgCO₂ e/unit, where unit is the unit of the product.
	//
	// example:
	//
	// 1.4964
	UncertaintyContribution *string `json:"uncertaintyContribution,omitempty" xml:"uncertaintyContribution,omitempty"`
}

func (GetDataQualityAnalysisResponseBodyDataUncertaintyValues) GoString

func (*GetDataQualityAnalysisResponseBodyDataUncertaintyValues) SetInventory

func (*GetDataQualityAnalysisResponseBodyDataUncertaintyValues) SetUncertaintyContribution

func (GetDataQualityAnalysisResponseBodyDataUncertaintyValues) String

type GetDeviceInfoRequest

type GetDeviceInfoRequest struct {
	// The ID of the device.
	//
	// This parameter is required.
	//
	// example:
	//
	// pn_69873
	DeviceId *string `json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	// The time string in the YYYY-mm-dd format.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2022-07-26
	Ds *string `json:"ds,omitempty" xml:"ds,omitempty"`
	// The ID of the site.
	//
	// This parameter is required.
	//
	// example:
	//
	// pn_95
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
}

func (GetDeviceInfoRequest) GoString

func (s GetDeviceInfoRequest) GoString() string

func (*GetDeviceInfoRequest) SetDeviceId

func (*GetDeviceInfoRequest) SetDs

func (*GetDeviceInfoRequest) SetFactoryId

func (s *GetDeviceInfoRequest) SetFactoryId(v string) *GetDeviceInfoRequest

func (GetDeviceInfoRequest) String

func (s GetDeviceInfoRequest) String() string

type GetDeviceInfoResponse

type GetDeviceInfoResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDeviceInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDeviceInfoResponse) GoString

func (s GetDeviceInfoResponse) GoString() string

func (*GetDeviceInfoResponse) SetBody

func (*GetDeviceInfoResponse) SetHeaders

func (*GetDeviceInfoResponse) SetStatusCode

func (s *GetDeviceInfoResponse) SetStatusCode(v int32) *GetDeviceInfoResponse

func (GetDeviceInfoResponse) String

func (s GetDeviceInfoResponse) String() string

type GetDeviceInfoResponseBody

type GetDeviceInfoResponseBody struct {
	// The code returned for the request. A value of Success indicates that the request was successful. Other values indicate that the request failed. You can troubleshoot the error by viewing the error message returned.
	//
	// example:
	//
	// Success
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The data returned.
	Data *GetDeviceInfoResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The HTTP status code.
	//
	// example:
	//
	// 200
	HttpCode *int32 `json:"httpCode,omitempty" xml:"httpCode,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the request was successful.
	//
	// example:
	//
	// True
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetDeviceInfoResponseBody) GoString

func (s GetDeviceInfoResponseBody) GoString() string

func (*GetDeviceInfoResponseBody) SetCode

func (*GetDeviceInfoResponseBody) SetData

func (*GetDeviceInfoResponseBody) SetHttpCode

func (*GetDeviceInfoResponseBody) SetRequestId

func (*GetDeviceInfoResponseBody) SetSuccess

func (GetDeviceInfoResponseBody) String

func (s GetDeviceInfoResponseBody) String() string

type GetDeviceInfoResponseBodyData

type GetDeviceInfoResponseBodyData struct {
	// The ID of the device.
	//
	// example:
	//
	// pn_69873
	DeviceId *string `json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	// The name of the device.
	//
	// example:
	//
	// Main transformer 4#
	DeviceName *string `json:"deviceName,omitempty" xml:"deviceName,omitempty"`
	// The level 1 meter type.
	//
	// example:
	//
	// Electric meter
	FirstTypeName *string `json:"firstTypeName,omitempty" xml:"firstTypeName,omitempty"`
	// The device parameters.
	RecordList []*GetDeviceInfoResponseBodyDataRecordList `json:"recordList,omitempty" xml:"recordList,omitempty" type:"Repeated"`
	// The level 2 meter type.
	//
	// example:
	//
	// Gateway meter
	SecondTypeName *string `json:"secondTypeName,omitempty" xml:"secondTypeName,omitempty"`
}

func (GetDeviceInfoResponseBodyData) GoString

func (*GetDeviceInfoResponseBodyData) SetDeviceId

func (*GetDeviceInfoResponseBodyData) SetDeviceName

func (*GetDeviceInfoResponseBodyData) SetFirstTypeName

func (*GetDeviceInfoResponseBodyData) SetRecordList

func (*GetDeviceInfoResponseBodyData) SetSecondTypeName

func (GetDeviceInfoResponseBodyData) String

type GetDeviceInfoResponseBodyDataRecordList

type GetDeviceInfoResponseBodyDataRecordList struct {
	// The device identifier.
	//
	// example:
	//
	// Ia
	Identifier *string `json:"identifier,omitempty" xml:"identifier,omitempty"`
	// The parameter name.
	//
	// example:
	//
	// Phase A current
	ParamName *string `json:"paramName,omitempty" xml:"paramName,omitempty"`
	// The date on which the statistics were collected.
	//
	// example:
	//
	// 2022-07-26 00:00:00
	StatisticsDate *string `json:"statisticsDate,omitempty" xml:"statisticsDate,omitempty"`
	// The type of the measuring point.
	//
	// example:
	//
	// DOUBLE
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// The unit of the parameter value.
	//
	// example:
	//
	// A
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
	// The value of the measuring point.
	//
	// example:
	//
	// 20.00
	Value *float64 `json:"value,omitempty" xml:"value,omitempty"`
}

func (GetDeviceInfoResponseBodyDataRecordList) GoString

func (*GetDeviceInfoResponseBodyDataRecordList) SetIdentifier

func (*GetDeviceInfoResponseBodyDataRecordList) SetParamName

func (*GetDeviceInfoResponseBodyDataRecordList) SetStatisticsDate

func (*GetDeviceInfoResponseBodyDataRecordList) SetType

func (*GetDeviceInfoResponseBodyDataRecordList) SetUnit

func (*GetDeviceInfoResponseBodyDataRecordList) SetValue

func (GetDeviceInfoResponseBodyDataRecordList) String

type GetDeviceListRequest

type GetDeviceListRequest struct {
	// The ID of the site.
	//
	// This parameter is required.
	//
	// example:
	//
	// pn_95
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
}

func (GetDeviceListRequest) GoString

func (s GetDeviceListRequest) GoString() string

func (*GetDeviceListRequest) SetFactoryId

func (s *GetDeviceListRequest) SetFactoryId(v string) *GetDeviceListRequest

func (GetDeviceListRequest) String

func (s GetDeviceListRequest) String() string

type GetDeviceListResponse

type GetDeviceListResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDeviceListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDeviceListResponse) GoString

func (s GetDeviceListResponse) GoString() string

func (*GetDeviceListResponse) SetBody

func (*GetDeviceListResponse) SetHeaders

func (*GetDeviceListResponse) SetStatusCode

func (s *GetDeviceListResponse) SetStatusCode(v int32) *GetDeviceListResponse

func (GetDeviceListResponse) String

func (s GetDeviceListResponse) String() string

type GetDeviceListResponseBody

type GetDeviceListResponseBody struct {
	// The response code.
	//
	// example:
	//
	// Success
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The data returned.
	Data *GetDeviceListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The HTTP status code.
	//
	// example:
	//
	// 200
	HttpCode *int32 `json:"httpCode,omitempty" xml:"httpCode,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the request was successful.
	//
	// example:
	//
	// true
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetDeviceListResponseBody) GoString

func (s GetDeviceListResponseBody) GoString() string

func (*GetDeviceListResponseBody) SetCode

func (*GetDeviceListResponseBody) SetData

func (*GetDeviceListResponseBody) SetHttpCode

func (*GetDeviceListResponseBody) SetRequestId

func (*GetDeviceListResponseBody) SetSuccess

func (GetDeviceListResponseBody) String

func (s GetDeviceListResponseBody) String() string

type GetDeviceListResponseBodyData

type GetDeviceListResponseBodyData struct {
	// The code returned for the request.
	//
	// example:
	//
	// Success
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The devices.
	DeviceList []*GetDeviceListResponseBodyDataDeviceList `json:"deviceList,omitempty" xml:"deviceList,omitempty" type:"Repeated"`
	// The ID of the site.
	//
	// example:
	//
	// pn_95
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	// The HTTP status code.
	//
	// example:
	//
	// 200
	HttpCode *int32 `json:"httpCode,omitempty" xml:"httpCode,omitempty"`
	// Indicates whether the request was successful.
	//
	// example:
	//
	// True
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetDeviceListResponseBodyData) GoString

func (*GetDeviceListResponseBodyData) SetCode

func (*GetDeviceListResponseBodyData) SetDeviceList

func (*GetDeviceListResponseBodyData) SetFactoryId

func (*GetDeviceListResponseBodyData) SetHttpCode

func (*GetDeviceListResponseBodyData) SetSuccess

func (GetDeviceListResponseBodyData) String

type GetDeviceListResponseBodyDataDeviceList

type GetDeviceListResponseBodyDataDeviceList struct {
	// The device ID.
	//
	// example:
	//
	// pn_69873
	DeviceId *string `json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	// The device name.
	//
	// example:
	//
	// Main transformer 4#
	DeviceName *string `json:"deviceName,omitempty" xml:"deviceName,omitempty"`
	// The level 1 meter type.
	//
	// example:
	//
	// Electric meter
	FirstTypeName *string `json:"firstTypeName,omitempty" xml:"firstTypeName,omitempty"`
	// The device information.
	Info *GetDeviceListResponseBodyDataDeviceListInfo `json:"info,omitempty" xml:"info,omitempty" type:"Struct"`
	// The ID of the parent device.
	//
	// example:
	//
	// pn_6987
	ParentDevice *string `json:"parentDevice,omitempty" xml:"parentDevice,omitempty"`
	// The level 2 meter type.
	//
	// example:
	//
	// Gateway meter
	SecondTypeName *string `json:"secondTypeName,omitempty" xml:"secondTypeName,omitempty"`
}

func (GetDeviceListResponseBodyDataDeviceList) GoString

func (*GetDeviceListResponseBodyDataDeviceList) SetDeviceId

func (*GetDeviceListResponseBodyDataDeviceList) SetDeviceName

func (*GetDeviceListResponseBodyDataDeviceList) SetFirstTypeName

func (*GetDeviceListResponseBodyDataDeviceList) SetParentDevice

func (*GetDeviceListResponseBodyDataDeviceList) SetSecondTypeName

func (GetDeviceListResponseBodyDataDeviceList) String

type GetDeviceListResponseBodyDataDeviceListInfo

type GetDeviceListResponseBodyDataDeviceListInfo struct {
	// The rated capacity.
	//
	// Unit is kVA.
	//
	// example:
	//
	// 100
	ConstKva *int32 `json:"constKva,omitempty" xml:"constKva,omitempty"`
	// The transformation ratio of current.
	//
	// example:
	//
	// 1
	Ct *int32 `json:"ct,omitempty" xml:"ct,omitempty"`
	// The magnification ratio.
	//
	// example:
	//
	// 80
	Magnification *int32 `json:"magnification,omitempty" xml:"magnification,omitempty"`
	// The high and low voltage.
	//
	// example:
	//
	// 0
	Pressure *int32 `json:"pressure,omitempty" xml:"pressure,omitempty"`
	// The transformation ratio of voltage.
	//
	// example:
	//
	// 80
	Pt *int32 `json:"pt,omitempty" xml:"pt,omitempty"`
}

func (GetDeviceListResponseBodyDataDeviceListInfo) GoString

func (*GetDeviceListResponseBodyDataDeviceListInfo) SetConstKva

func (*GetDeviceListResponseBodyDataDeviceListInfo) SetCt

func (*GetDeviceListResponseBodyDataDeviceListInfo) SetMagnification

func (*GetDeviceListResponseBodyDataDeviceListInfo) SetPressure

func (*GetDeviceListResponseBodyDataDeviceListInfo) SetPt

func (GetDeviceListResponseBodyDataDeviceListInfo) String

type GetDocumentAnalyzeResultRequest

type GetDocumentAnalyzeResultRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// bfce2248-1546-4298-8bcf-70ac26e69646
	JobId *string `json:"jobId,omitempty" xml:"jobId,omitempty"`
}

func (GetDocumentAnalyzeResultRequest) GoString

func (*GetDocumentAnalyzeResultRequest) SetJobId

func (GetDocumentAnalyzeResultRequest) String

type GetDocumentAnalyzeResultResponse

type GetDocumentAnalyzeResultResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDocumentAnalyzeResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDocumentAnalyzeResultResponse) GoString

func (*GetDocumentAnalyzeResultResponse) SetHeaders

func (*GetDocumentAnalyzeResultResponse) SetStatusCode

func (GetDocumentAnalyzeResultResponse) String

type GetDocumentAnalyzeResultResponseBody

type GetDocumentAnalyzeResultResponseBody struct {
	Data *GetDocumentAnalyzeResultResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetDocumentAnalyzeResultResponseBody) GoString

func (*GetDocumentAnalyzeResultResponseBody) SetRequestId

func (GetDocumentAnalyzeResultResponseBody) String

type GetDocumentAnalyzeResultResponseBodyData

type GetDocumentAnalyzeResultResponseBodyData struct {
	KvListInfo []*GetDocumentAnalyzeResultResponseBodyDataKvListInfo `json:"kvListInfo,omitempty" xml:"kvListInfo,omitempty" type:"Repeated"`
}

func (GetDocumentAnalyzeResultResponseBodyData) GoString

func (GetDocumentAnalyzeResultResponseBodyData) String

type GetDocumentAnalyzeResultResponseBodyDataKvListInfo

type GetDocumentAnalyzeResultResponseBodyDataKvListInfo struct {
	Context  *GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext `json:"context,omitempty" xml:"context,omitempty" type:"Struct"`
	KeyName  *string                                                    `json:"keyName,omitempty" xml:"keyName,omitempty"`
	KeyValue *string                                                    `json:"keyValue,omitempty" xml:"keyValue,omitempty"`
}

func (GetDocumentAnalyzeResultResponseBodyDataKvListInfo) GoString

func (*GetDocumentAnalyzeResultResponseBodyDataKvListInfo) SetKeyName

func (*GetDocumentAnalyzeResultResponseBodyDataKvListInfo) SetKeyValue

func (GetDocumentAnalyzeResultResponseBodyDataKvListInfo) String

type GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext

type GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext struct {
	Confidence *GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence `json:"confidence,omitempty" xml:"confidence,omitempty" type:"Struct"`
	Key        []*ContentItem                                                       `json:"key,omitempty" xml:"key,omitempty" type:"Repeated"`
	Value      []*ContentItem                                                       `json:"value,omitempty" xml:"value,omitempty" type:"Repeated"`
}

func (GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext) GoString

func (*GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext) SetKey

func (*GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext) SetValue

func (GetDocumentAnalyzeResultResponseBodyDataKvListInfoContext) String

type GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence

type GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence struct {
	// example:
	//
	// 0.9994202852249146
	KeyConfidence *float64 `json:"keyConfidence,omitempty" xml:"keyConfidence,omitempty"`
	// example:
	//
	// 0.9794202852249146
	ValueConfidence *float64 `json:"valueConfidence,omitempty" xml:"valueConfidence,omitempty"`
}

func (GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence) GoString

func (*GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence) SetKeyConfidence

func (*GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence) SetValueConfidence

func (GetDocumentAnalyzeResultResponseBodyDataKvListInfoContextConfidence) String

type GetElecConstituteRequest

type GetElecConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240202-01
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Year.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *int32 `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecConstituteRequest) GoString

func (s GetElecConstituteRequest) GoString() string

func (*GetElecConstituteRequest) SetCode

func (*GetElecConstituteRequest) SetYear

func (GetElecConstituteRequest) String

func (s GetElecConstituteRequest) String() string

type GetElecConstituteResponse

type GetElecConstituteResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetElecConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetElecConstituteResponse) GoString

func (s GetElecConstituteResponse) GoString() string

func (*GetElecConstituteResponse) SetBody

func (*GetElecConstituteResponse) SetHeaders

func (*GetElecConstituteResponse) SetStatusCode

func (GetElecConstituteResponse) String

func (s GetElecConstituteResponse) String() string

type GetElecConstituteResponseBody

type GetElecConstituteResponseBody struct {
	// The returned data.
	Data *GetElecConstituteResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// Id of the request.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetElecConstituteResponseBody) GoString

func (*GetElecConstituteResponseBody) SetData

func (*GetElecConstituteResponseBody) SetRequestId

func (GetElecConstituteResponseBody) String

type GetElecConstituteResponseBodyData

type GetElecConstituteResponseBodyData struct {
	// Photoelectric power consumption and carbon emission data of each enterprise.
	Light *GetElecConstituteResponseBodyDataLight `json:"light,omitempty" xml:"light,omitempty" type:"Struct"`
	// Data on nuclear power consumption and carbon emissions at each enterprise.
	Nuclear *GetElecConstituteResponseBodyDataNuclear `json:"nuclear,omitempty" xml:"nuclear,omitempty" type:"Struct"`
	// Data on renewable electricity consumption and carbon emissions at each enterprise.
	Renewing *GetElecConstituteResponseBodyDataRenewing `json:"renewing,omitempty" xml:"renewing,omitempty" type:"Struct"`
	// Data on mains power electricity consumption and carbon emission of each enterprise.
	Urban *GetElecConstituteResponseBodyDataUrban `json:"urban,omitempty" xml:"urban,omitempty" type:"Struct"`
	// Hydropower consumption and carbon emission data of each enterprise.
	Water *GetElecConstituteResponseBodyDataWater `json:"water,omitempty" xml:"water,omitempty" type:"Struct"`
	// Wind power consumption and carbon emission data of each enterprise.
	Wind *GetElecConstituteResponseBodyDataWind `json:"wind,omitempty" xml:"wind,omitempty" type:"Struct"`
	// Data of zero electricity consumption and carbon emission of each enterprise.
	Zero *GetElecConstituteResponseBodyDataZero `json:"zero,omitempty" xml:"zero,omitempty" type:"Struct"`
}

func (GetElecConstituteResponseBodyData) GoString

func (GetElecConstituteResponseBodyData) String

type GetElecConstituteResponseBodyDataLight

type GetElecConstituteResponseBodyDataLight struct {
	// Carbon emission.
	//
	// example:
	//
	// 1.2
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// light
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.check.light_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.2
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 1.2
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataLight) GoString

func (*GetElecConstituteResponseBodyDataLight) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataLight) SetDataUnit

func (*GetElecConstituteResponseBodyDataLight) SetName

func (*GetElecConstituteResponseBodyDataLight) SetNameKey

func (*GetElecConstituteResponseBodyDataLight) SetRatio

func (*GetElecConstituteResponseBodyDataLight) SetRawData

func (GetElecConstituteResponseBodyDataLight) String

type GetElecConstituteResponseBodyDataNuclear

type GetElecConstituteResponseBodyDataNuclear struct {
	// Carbon emission.
	//
	// example:
	//
	// 2.3
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// nuclear
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.check.nuclear_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.6
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 2
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataNuclear) GoString

func (*GetElecConstituteResponseBodyDataNuclear) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataNuclear) SetDataUnit

func (*GetElecConstituteResponseBodyDataNuclear) SetName

func (*GetElecConstituteResponseBodyDataNuclear) SetNameKey

func (*GetElecConstituteResponseBodyDataNuclear) SetRatio

func (*GetElecConstituteResponseBodyDataNuclear) SetRawData

func (GetElecConstituteResponseBodyDataNuclear) String

type GetElecConstituteResponseBodyDataRenewing

type GetElecConstituteResponseBodyDataRenewing struct {
	// Carbon emission.
	//
	// example:
	//
	// 2.3
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// renewing
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.keZaiShengZiYuan
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.44
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 4.3
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataRenewing) GoString

func (*GetElecConstituteResponseBodyDataRenewing) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataRenewing) SetDataUnit

func (*GetElecConstituteResponseBodyDataRenewing) SetName

func (*GetElecConstituteResponseBodyDataRenewing) SetNameKey

func (*GetElecConstituteResponseBodyDataRenewing) SetRatio

func (*GetElecConstituteResponseBodyDataRenewing) SetRawData

func (GetElecConstituteResponseBodyDataRenewing) String

type GetElecConstituteResponseBodyDataUrban

type GetElecConstituteResponseBodyDataUrban struct {
	// Carbon emission.
	//
	// example:
	//
	// 1.2
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// urban
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.check.urban_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.4
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 1.2
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataUrban) GoString

func (*GetElecConstituteResponseBodyDataUrban) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataUrban) SetDataUnit

func (*GetElecConstituteResponseBodyDataUrban) SetName

func (*GetElecConstituteResponseBodyDataUrban) SetNameKey

func (*GetElecConstituteResponseBodyDataUrban) SetRatio

func (*GetElecConstituteResponseBodyDataUrban) SetRawData

func (GetElecConstituteResponseBodyDataUrban) String

type GetElecConstituteResponseBodyDataWater

type GetElecConstituteResponseBodyDataWater struct {
	// Carbon emission.
	//
	// example:
	//
	// 2.1
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// water
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.check.water_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.4
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 1.2
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataWater) GoString

func (*GetElecConstituteResponseBodyDataWater) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataWater) SetDataUnit

func (*GetElecConstituteResponseBodyDataWater) SetName

func (*GetElecConstituteResponseBodyDataWater) SetNameKey

func (*GetElecConstituteResponseBodyDataWater) SetRatio

func (*GetElecConstituteResponseBodyDataWater) SetRawData

func (GetElecConstituteResponseBodyDataWater) String

type GetElecConstituteResponseBodyDataWind

type GetElecConstituteResponseBodyDataWind struct {
	// Carbon emission.
	//
	// example:
	//
	// 1.2
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// wind
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.check.wind_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.3
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 1.1
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataWind) GoString

func (*GetElecConstituteResponseBodyDataWind) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataWind) SetDataUnit

func (*GetElecConstituteResponseBodyDataWind) SetName

func (*GetElecConstituteResponseBodyDataWind) SetNameKey

func (*GetElecConstituteResponseBodyDataWind) SetRatio

func (*GetElecConstituteResponseBodyDataWind) SetRawData

func (GetElecConstituteResponseBodyDataWind) String

type GetElecConstituteResponseBodyDataZero

type GetElecConstituteResponseBodyDataZero struct {
	// Carbon emission.
	//
	// example:
	//
	// 1.2
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// The name.
	//
	// example:
	//
	// zero
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The unique identifier of name.
	//
	// example:
	//
	// carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.33
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 444.3
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
}

func (GetElecConstituteResponseBodyDataZero) GoString

func (*GetElecConstituteResponseBodyDataZero) SetCarbonEmissionData

func (*GetElecConstituteResponseBodyDataZero) SetDataUnit

func (*GetElecConstituteResponseBodyDataZero) SetName

func (*GetElecConstituteResponseBodyDataZero) SetNameKey

func (*GetElecConstituteResponseBodyDataZero) SetRatio

func (*GetElecConstituteResponseBodyDataZero) SetRawData

func (GetElecConstituteResponseBodyDataZero) String

type GetElecTrendRequest

type GetElecTrendRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240115-3
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// List of years.
	//
	// This parameter is required.
	YearList []*int32 `json:"yearList,omitempty" xml:"yearList,omitempty" type:"Repeated"`
}

func (GetElecTrendRequest) GoString

func (s GetElecTrendRequest) GoString() string

func (*GetElecTrendRequest) SetCode

func (*GetElecTrendRequest) SetYearList

func (s *GetElecTrendRequest) SetYearList(v []*int32) *GetElecTrendRequest

func (GetElecTrendRequest) String

func (s GetElecTrendRequest) String() string

type GetElecTrendResponse

type GetElecTrendResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetElecTrendResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetElecTrendResponse) GoString

func (s GetElecTrendResponse) GoString() string

func (*GetElecTrendResponse) SetBody

func (*GetElecTrendResponse) SetHeaders

func (s *GetElecTrendResponse) SetHeaders(v map[string]*string) *GetElecTrendResponse

func (*GetElecTrendResponse) SetStatusCode

func (s *GetElecTrendResponse) SetStatusCode(v int32) *GetElecTrendResponse

func (GetElecTrendResponse) String

func (s GetElecTrendResponse) String() string

type GetElecTrendResponseBody

type GetElecTrendResponseBody struct {
	// The code returned for the request. A value of Success indicates that the request was successful. Other values indicate that the request failed. You can troubleshoot the error by viewing the error message returned.
	//
	// example:
	//
	// 200
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned data.
	Data *GetElecTrendResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetElecTrendResponseBody) GoString

func (s GetElecTrendResponseBody) GoString() string

func (*GetElecTrendResponseBody) SetCode

func (*GetElecTrendResponseBody) SetData

func (*GetElecTrendResponseBody) SetRequestId

func (GetElecTrendResponseBody) String

func (s GetElecTrendResponseBody) String() string

type GetElecTrendResponseBodyData

type GetElecTrendResponseBodyData struct {
	// Photoelectricity monthly electricity consumption and carbon emissions and other data.
	Light []*GetElecTrendResponseBodyDataLight `json:"light,omitempty" xml:"light,omitempty" type:"Repeated"`
	// Monthly electricity consumption and carbon emissions data for nuclear power
	Nuclear []*GetElecTrendResponseBodyDataNuclear `json:"nuclear,omitempty" xml:"nuclear,omitempty" type:"Repeated"`
	// Monthly data on renewable electricity consumption and carbon emissions
	Renewing []*GetElecTrendResponseBodyDataRenewing `json:"renewing,omitempty" xml:"renewing,omitempty" type:"Repeated"`
	// Data such as monthly electricity consumption and carbon emissions from the mains.
	Urban []*GetElecTrendResponseBodyDataUrban `json:"urban,omitempty" xml:"urban,omitempty" type:"Repeated"`
	// Monthly data on electricity consumption and carbon emissions for hydropower.
	Water []*GetElecTrendResponseBodyDataWater `json:"water,omitempty" xml:"water,omitempty" type:"Repeated"`
	// Monthly wind power consumption and carbon emission data
	Wind []*GetElecTrendResponseBodyDataWind `json:"wind,omitempty" xml:"wind,omitempty" type:"Repeated"`
	// Zero electricity monthly electricity consumption and carbon emissions and other data.
	Zero []*GetElecTrendResponseBodyDataZero `json:"zero,omitempty" xml:"zero,omitempty" type:"Repeated"`
}

func (GetElecTrendResponseBodyData) GoString

func (s GetElecTrendResponseBodyData) GoString() string

func (*GetElecTrendResponseBodyData) SetLight

func (*GetElecTrendResponseBodyData) SetNuclear

func (*GetElecTrendResponseBodyData) SetRenewing

func (*GetElecTrendResponseBodyData) SetUrban

func (*GetElecTrendResponseBodyData) SetWater

func (*GetElecTrendResponseBodyData) SetWind

func (*GetElecTrendResponseBodyData) SetZero

func (GetElecTrendResponseBodyData) String

type GetElecTrendResponseBodyDataLight

type GetElecTrendResponseBodyDataLight struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power type name.
	//
	// example:
	//
	// Solar Power
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.check.light_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e. 50%).
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataLight) GoString

func (*GetElecTrendResponseBodyDataLight) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataLight) SetDataUnit

func (*GetElecTrendResponseBodyDataLight) SetMonth

func (*GetElecTrendResponseBodyDataLight) SetName

func (*GetElecTrendResponseBodyDataLight) SetNameKey

func (*GetElecTrendResponseBodyDataLight) SetRatio

func (*GetElecTrendResponseBodyDataLight) SetRawData

func (*GetElecTrendResponseBodyDataLight) SetYear

func (GetElecTrendResponseBodyDataLight) String

type GetElecTrendResponseBodyDataNuclear

type GetElecTrendResponseBodyDataNuclear struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The price unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power Type Name
	//
	// example:
	//
	// Nuclear power
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.check.nuclear_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataNuclear) GoString

func (*GetElecTrendResponseBodyDataNuclear) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataNuclear) SetDataUnit

func (*GetElecTrendResponseBodyDataNuclear) SetMonth

func (*GetElecTrendResponseBodyDataNuclear) SetName

func (*GetElecTrendResponseBodyDataNuclear) SetNameKey

func (*GetElecTrendResponseBodyDataNuclear) SetRatio

func (*GetElecTrendResponseBodyDataNuclear) SetRawData

func (*GetElecTrendResponseBodyDataNuclear) SetYear

func (GetElecTrendResponseBodyDataNuclear) String

type GetElecTrendResponseBodyDataRenewing

type GetElecTrendResponseBodyDataRenewing struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The price unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power Type Name
	//
	// example:
	//
	// Renewable electricity
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataRenewing) GoString

func (*GetElecTrendResponseBodyDataRenewing) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataRenewing) SetDataUnit

func (*GetElecTrendResponseBodyDataRenewing) SetMonth

func (*GetElecTrendResponseBodyDataRenewing) SetName

func (*GetElecTrendResponseBodyDataRenewing) SetNameKey

func (*GetElecTrendResponseBodyDataRenewing) SetRatio

func (*GetElecTrendResponseBodyDataRenewing) SetRawData

func (*GetElecTrendResponseBodyDataRenewing) SetYear

func (GetElecTrendResponseBodyDataRenewing) String

type GetElecTrendResponseBodyDataUrban

type GetElecTrendResponseBodyDataUrban struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The price unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power Type Name
	//
	// example:
	//
	// Grid power
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.check.urban_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e. 50%).
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataUrban) GoString

func (*GetElecTrendResponseBodyDataUrban) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataUrban) SetDataUnit

func (*GetElecTrendResponseBodyDataUrban) SetMonth

func (*GetElecTrendResponseBodyDataUrban) SetName

func (*GetElecTrendResponseBodyDataUrban) SetNameKey

func (*GetElecTrendResponseBodyDataUrban) SetRatio

func (*GetElecTrendResponseBodyDataUrban) SetRawData

func (*GetElecTrendResponseBodyDataUrban) SetYear

func (GetElecTrendResponseBodyDataUrban) String

type GetElecTrendResponseBodyDataWater

type GetElecTrendResponseBodyDataWater struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power Type Name
	//
	// example:
	//
	// Hydro power
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.check.water_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e. 50%).
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataWater) GoString

func (*GetElecTrendResponseBodyDataWater) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataWater) SetDataUnit

func (*GetElecTrendResponseBodyDataWater) SetMonth

func (*GetElecTrendResponseBodyDataWater) SetName

func (*GetElecTrendResponseBodyDataWater) SetNameKey

func (*GetElecTrendResponseBodyDataWater) SetRatio

func (*GetElecTrendResponseBodyDataWater) SetRawData

func (*GetElecTrendResponseBodyDataWater) SetYear

func (GetElecTrendResponseBodyDataWater) String

type GetElecTrendResponseBodyDataWind

type GetElecTrendResponseBodyDataWind struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The price unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power Type Name
	//
	// example:
	//
	// Wind power
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.check.wind_electricity
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataWind) GoString

func (*GetElecTrendResponseBodyDataWind) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataWind) SetDataUnit

func (*GetElecTrendResponseBodyDataWind) SetMonth

func (*GetElecTrendResponseBodyDataWind) SetName

func (*GetElecTrendResponseBodyDataWind) SetNameKey

func (*GetElecTrendResponseBodyDataWind) SetRatio

func (*GetElecTrendResponseBodyDataWind) SetRawData

func (*GetElecTrendResponseBodyDataWind) SetYear

func (GetElecTrendResponseBodyDataWind) String

type GetElecTrendResponseBodyDataZero

type GetElecTrendResponseBodyDataZero struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// The price unit.
	//
	// example:
	//
	// kWh
	DataUnit *string `json:"dataUnit,omitempty" xml:"dataUnit,omitempty"`
	// Month
	//
	// example:
	//
	// 12
	Month *int32 `json:"month,omitempty" xml:"month,omitempty"`
	// Power Type Name
	//
	// example:
	//
	// Zero carbon electricity
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Power Type Code
	//
	// example:
	//
	// carbonInventory.carbonEmissionAnalysis.components.CarbonDetail.lingTanDianLi
	NameKey *string `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	// Proportion of electricity consumption to all electricity consumption in the month: example value: 0.5 (i. e., 50%)
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Electricity consumption
	//
	// example:
	//
	// 3.14
	RawData *float64 `json:"rawData,omitempty" xml:"rawData,omitempty"`
	// Year
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetElecTrendResponseBodyDataZero) GoString

func (*GetElecTrendResponseBodyDataZero) SetCarbonEmissionData

func (*GetElecTrendResponseBodyDataZero) SetDataUnit

func (*GetElecTrendResponseBodyDataZero) SetMonth

func (*GetElecTrendResponseBodyDataZero) SetName

func (*GetElecTrendResponseBodyDataZero) SetNameKey

func (*GetElecTrendResponseBodyDataZero) SetRatio

func (*GetElecTrendResponseBodyDataZero) SetRawData

func (*GetElecTrendResponseBodyDataZero) SetYear

func (GetElecTrendResponseBodyDataZero) String

type GetEmissionSourceConstituteRequest

type GetEmissionSourceConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240119-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Module code.
	//
	// example:
	//
	// carbonInventory.check.scope_1_direct_ghg_emissions
	ModuleCode *string `json:"moduleCode,omitempty" xml:"moduleCode,omitempty"`
	// Module type.
	//
	// This parameter is required.
	//
	// example:
	//
	// 3
	ModuleType *int32 `json:"moduleType,omitempty" xml:"moduleType,omitempty"`
	// Year of inventory.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *int32 `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetEmissionSourceConstituteRequest) GoString

func (*GetEmissionSourceConstituteRequest) SetCode

func (*GetEmissionSourceConstituteRequest) SetModuleCode

func (*GetEmissionSourceConstituteRequest) SetModuleType

func (*GetEmissionSourceConstituteRequest) SetYear

func (GetEmissionSourceConstituteRequest) String

type GetEmissionSourceConstituteResponse

type GetEmissionSourceConstituteResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetEmissionSourceConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetEmissionSourceConstituteResponse) GoString

func (*GetEmissionSourceConstituteResponse) SetHeaders

func (*GetEmissionSourceConstituteResponse) SetStatusCode

func (GetEmissionSourceConstituteResponse) String

type GetEmissionSourceConstituteResponseBody

type GetEmissionSourceConstituteResponseBody struct {
	// Response parameters
	Data []*ConstituteItem `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// Id of the request
	//
	// example:
	//
	// 9bc20a5a-b26b-4c28-922a-7cd10b61f96f
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetEmissionSourceConstituteResponseBody) GoString

func (*GetEmissionSourceConstituteResponseBody) SetData

func (*GetEmissionSourceConstituteResponseBody) SetRequestId

func (GetEmissionSourceConstituteResponseBody) String

type GetEmissionSummaryRequest

type GetEmissionSummaryRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240119-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Module code.
	//
	// example:
	//
	// carbonInventory.check.scope_1_direct_ghg_emissions
	ModuleCode *string `json:"moduleCode,omitempty" xml:"moduleCode,omitempty"`
	// Module type.
	//
	// example:
	//
	// 3
	ModuleType *int32 `json:"moduleType,omitempty" xml:"moduleType,omitempty"`
	// Year of inventory.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *int32 `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetEmissionSummaryRequest) GoString

func (s GetEmissionSummaryRequest) GoString() string

func (*GetEmissionSummaryRequest) SetCode

func (*GetEmissionSummaryRequest) SetModuleCode

func (*GetEmissionSummaryRequest) SetModuleType

func (*GetEmissionSummaryRequest) SetYear

func (GetEmissionSummaryRequest) String

func (s GetEmissionSummaryRequest) String() string

type GetEmissionSummaryResponse

type GetEmissionSummaryResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetEmissionSummaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetEmissionSummaryResponse) GoString

func (s GetEmissionSummaryResponse) GoString() string

func (*GetEmissionSummaryResponse) SetBody

func (*GetEmissionSummaryResponse) SetHeaders

func (*GetEmissionSummaryResponse) SetStatusCode

func (GetEmissionSummaryResponse) String

type GetEmissionSummaryResponseBody

type GetEmissionSummaryResponseBody struct {
	// Details of summarized data
	Data *GetEmissionSummaryResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// Id of the request.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetEmissionSummaryResponseBody) GoString

func (*GetEmissionSummaryResponseBody) SetRequestId

func (GetEmissionSummaryResponseBody) String

type GetEmissionSummaryResponseBodyData

type GetEmissionSummaryResponseBodyData struct {
	// Percentage of scheduled.
	//
	// example:
	//
	// 2.7657
	ActualEmissionRatio *float64 `json:"actualEmissionRatio,omitempty" xml:"actualEmissionRatio,omitempty"`
	// Carbon emissions reduction.
	//
	// example:
	//
	// 0.0
	CarbonSaveConversion *float64 `json:"carbonSaveConversion,omitempty" xml:"carbonSaveConversion,omitempty"`
	// Statistical indicators for this cycle.
	//
	// example:
	//
	// 276.4
	CurrentPeriodCarbonEmissionData *float64 `json:"currentPeriodCarbonEmissionData,omitempty" xml:"currentPeriodCarbonEmissionData,omitempty"`
	// Whether to show the weighting ratio carbon emission.
	//
	// example:
	//
	// true
	IsWeighting *bool `json:"isWeighting,omitempty" xml:"isWeighting,omitempty"`
	// Last period statistical indicators.
	//
	// example:
	//
	// 9.40100
	LastPeriodCarbonEmissionData *float64 `json:"lastPeriodCarbonEmissionData,omitempty" xml:"lastPeriodCarbonEmissionData,omitempty"`
	// Calculation of carbon emissions based on shareholding ratio in the last cycle.
	//
	// example:
	//
	// 8.4609
	LastPeriodWeightingCarbonEmissionData *float64 `json:"lastPeriodWeightingCarbonEmissionData,omitempty" xml:"lastPeriodWeightingCarbonEmissionData,omitempty"`
	// Year-on-year.
	//
	// example:
	//
	// 28.410
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Total carbon emissions.
	//
	// example:
	//
	// 276.46
	TotalCarbonEmissionData *float64 `json:"totalCarbonEmissionData,omitempty" xml:"totalCarbonEmissionData,omitempty"`
	// Calculate carbon emissions by share ratio
	//
	// example:
	//
	// 248.81400
	WeightingCarbonEmissionData *float64 `json:"weightingCarbonEmissionData,omitempty" xml:"weightingCarbonEmissionData,omitempty"`
	// Year-on-year of weighting ratio carbon emissions.
	//
	// example:
	//
	// 28.4102
	WeightingRatio *float64 `json:"weightingRatio,omitempty" xml:"weightingRatio,omitempty"`
}

func (GetEmissionSummaryResponseBodyData) GoString

func (*GetEmissionSummaryResponseBodyData) SetActualEmissionRatio

func (*GetEmissionSummaryResponseBodyData) SetCarbonSaveConversion

func (*GetEmissionSummaryResponseBodyData) SetCurrentPeriodCarbonEmissionData

func (s *GetEmissionSummaryResponseBodyData) SetCurrentPeriodCarbonEmissionData(v float64) *GetEmissionSummaryResponseBodyData

func (*GetEmissionSummaryResponseBodyData) SetIsWeighting

func (*GetEmissionSummaryResponseBodyData) SetLastPeriodCarbonEmissionData

func (s *GetEmissionSummaryResponseBodyData) SetLastPeriodCarbonEmissionData(v float64) *GetEmissionSummaryResponseBodyData

func (*GetEmissionSummaryResponseBodyData) SetLastPeriodWeightingCarbonEmissionData

func (s *GetEmissionSummaryResponseBodyData) SetLastPeriodWeightingCarbonEmissionData(v float64) *GetEmissionSummaryResponseBodyData

func (*GetEmissionSummaryResponseBodyData) SetRatio

func (*GetEmissionSummaryResponseBodyData) SetTotalCarbonEmissionData

func (*GetEmissionSummaryResponseBodyData) SetWeightingCarbonEmissionData

func (*GetEmissionSummaryResponseBodyData) SetWeightingRatio

func (GetEmissionSummaryResponseBodyData) String

type GetEpdInventoryConstituteRequest

type GetEpdInventoryConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetEpdInventoryConstituteRequest) GoString

func (*GetEpdInventoryConstituteRequest) SetCode

func (*GetEpdInventoryConstituteRequest) SetProductId

func (*GetEpdInventoryConstituteRequest) SetProductType

func (GetEpdInventoryConstituteRequest) String

type GetEpdInventoryConstituteResponse

type GetEpdInventoryConstituteResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetEpdInventoryConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetEpdInventoryConstituteResponse) GoString

func (*GetEpdInventoryConstituteResponse) SetHeaders

func (*GetEpdInventoryConstituteResponse) SetStatusCode

func (GetEpdInventoryConstituteResponse) String

type GetEpdInventoryConstituteResponseBody

type GetEpdInventoryConstituteResponseBody struct {
	// List of environmental impact results.
	Data []*EpdInventoryConstituteItem `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetEpdInventoryConstituteResponseBody) GoString

func (*GetEpdInventoryConstituteResponseBody) SetData

func (*GetEpdInventoryConstituteResponseBody) SetRequestId

func (GetEpdInventoryConstituteResponseBody) String

type GetEpdSummaryRequest

type GetEpdSummaryRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetEpdSummaryRequest) GoString

func (s GetEpdSummaryRequest) GoString() string

func (*GetEpdSummaryRequest) SetCode

func (*GetEpdSummaryRequest) SetProductId

func (s *GetEpdSummaryRequest) SetProductId(v int64) *GetEpdSummaryRequest

func (*GetEpdSummaryRequest) SetProductType

func (s *GetEpdSummaryRequest) SetProductType(v int64) *GetEpdSummaryRequest

func (GetEpdSummaryRequest) String

func (s GetEpdSummaryRequest) String() string

type GetEpdSummaryResponse

type GetEpdSummaryResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetEpdSummaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetEpdSummaryResponse) GoString

func (s GetEpdSummaryResponse) GoString() string

func (*GetEpdSummaryResponse) SetBody

func (*GetEpdSummaryResponse) SetHeaders

func (*GetEpdSummaryResponse) SetStatusCode

func (s *GetEpdSummaryResponse) SetStatusCode(v int32) *GetEpdSummaryResponse

func (GetEpdSummaryResponse) String

func (s GetEpdSummaryResponse) String() string

type GetEpdSummaryResponseBody

type GetEpdSummaryResponseBody struct {
	// Response parameters
	Data []*GetEpdSummaryResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// B91B5559-065A-55C3-8D75-DA218EBFD1DC
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetEpdSummaryResponseBody) GoString

func (s GetEpdSummaryResponseBody) GoString() string

func (*GetEpdSummaryResponseBody) SetData

func (*GetEpdSummaryResponseBody) SetRequestId

func (GetEpdSummaryResponseBody) String

func (s GetEpdSummaryResponseBody) String() string

type GetEpdSummaryResponseBodyData

type GetEpdSummaryResponseBodyData struct {
	// Emissions. The result is maintained up to 31 decimal places for precise intermediate calculation and subsequently truncated for display. It is advised to pair the emissions figure with the unit of the environmental impact result for a comprehensive understanding.
	//
	// example:
	//
	// 1009.976265540000000000000000000000
	CarbonEmission *float64 `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	// The evaluation index adopted for the environmental impact
	//
	// example:
	//
	// GWP100a
	Indicator *string `json:"indicator,omitempty" xml:"indicator,omitempty"`
	// The category key. The environmental impact category. Currently, a maximum of 19 categories are supported. Enumeration refers to [Carbon Footprint Appendices](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).
	//
	// example:
	//
	// gwp
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// Calculation method standard
	//
	// example:
	//
	// CML v4.8 2016
	Method *string `json:"method,omitempty" xml:"method,omitempty"`
	// The name of the category.
	//
	// example:
	//
	// climate change
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Category num: the unique serial number of the environmental impact category. A maximum of 19 categories are supported. Enumeration refers to [Carbon Footprint Appendices](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).
	//
	// example:
	//
	// 1
	Num *int64 `json:"num,omitempty" xml:"num,omitempty"`
	// Environmental impact result Value Unit.
	//
	// example:
	//
	// kg CO2-Eq
	PreUnit *string `json:"preUnit,omitempty" xml:"preUnit,omitempty"`
	// The data status. 1 indicates that the calculation is accurate, 2 indicates that the default data is used, and 3 indicates that the missing factor uses the value of 0.
	//
	// example:
	//
	// 1
	State *int64 `json:"state,omitempty" xml:"state,omitempty"`
}

func (GetEpdSummaryResponseBodyData) GoString

func (*GetEpdSummaryResponseBodyData) SetCarbonEmission

func (*GetEpdSummaryResponseBodyData) SetIndicator

func (*GetEpdSummaryResponseBodyData) SetKey

func (*GetEpdSummaryResponseBodyData) SetMethod

func (*GetEpdSummaryResponseBodyData) SetName

func (*GetEpdSummaryResponseBodyData) SetNum

func (*GetEpdSummaryResponseBodyData) SetPreUnit

func (*GetEpdSummaryResponseBodyData) SetState

func (GetEpdSummaryResponseBodyData) String

type GetFootprintListRequest

type GetFootprintListRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The pagination parameter. The number of the page that starts from 1.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	CurrentPage *int64 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// The number of entries returned on each page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetFootprintListRequest) GoString

func (s GetFootprintListRequest) GoString() string

func (*GetFootprintListRequest) SetCode

func (*GetFootprintListRequest) SetCurrentPage

func (*GetFootprintListRequest) SetPageSize

func (*GetFootprintListRequest) SetProductType

func (GetFootprintListRequest) String

func (s GetFootprintListRequest) String() string

type GetFootprintListResponse

type GetFootprintListResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetFootprintListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetFootprintListResponse) GoString

func (s GetFootprintListResponse) GoString() string

func (*GetFootprintListResponse) SetBody

func (*GetFootprintListResponse) SetHeaders

func (*GetFootprintListResponse) SetStatusCode

func (GetFootprintListResponse) String

func (s GetFootprintListResponse) String() string

type GetFootprintListResponseBody

type GetFootprintListResponseBody struct {
	// The response parameters.
	Data *GetFootprintListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 06DA2909-7736-5738-AA31-ACD617D828F1
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetFootprintListResponseBody) GoString

func (s GetFootprintListResponseBody) GoString() string

func (*GetFootprintListResponseBody) SetData

func (*GetFootprintListResponseBody) SetRequestId

func (GetFootprintListResponseBody) String

type GetFootprintListResponseBodyData

type GetFootprintListResponseBodyData struct {
	// The page number.
	//
	// example:
	//
	// 1
	CurrentPage *int64 `json:"currentPage,omitempty" xml:"currentPage,omitempty"`
	// The number of entries returned on each page.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// Product Detail List.
	Records []*GetFootprintListResponseBodyDataRecords `json:"records,omitempty" xml:"records,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 21
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
	// Total Pages
	//
	// example:
	//
	// 3
	TotalPage *int64 `json:"totalPage,omitempty" xml:"totalPage,omitempty"`
}

func (GetFootprintListResponseBodyData) GoString

func (*GetFootprintListResponseBodyData) SetCurrentPage

func (*GetFootprintListResponseBodyData) SetPageSize

func (*GetFootprintListResponseBodyData) SetTotal

func (*GetFootprintListResponseBodyData) SetTotalPage

func (GetFootprintListResponseBodyData) String

type GetFootprintListResponseBodyDataRecords

type GetFootprintListResponseBodyDataRecords struct {
	// The amount of the product.
	//
	// example:
	//
	// 100.0000000000000000000000000
	Amount *float64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// Authentication status enumeration value, please refer to [link](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).
	//
	// example:
	//
	// 1
	AuthStatus *int64 `json:"authStatus,omitempty" xml:"authStatus,omitempty"`
	// Calculation end time.
	//
	// example:
	//
	// 2024/01/31
	CheckEndTime *string `json:"checkEndTime,omitempty" xml:"checkEndTime,omitempty"`
	// Calculation start time.
	//
	// example:
	//
	// 2024/01/01
	CheckStartTime *string `json:"checkStartTime,omitempty" xml:"checkStartTime,omitempty"`
	// The enterprise code.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The user who created it.
	//
	// example:
	//
	// Energy Expert
	CreatedBy *string `json:"createdBy,omitempty" xml:"createdBy,omitempty"`
	// The product ID.
	//
	// example:
	//
	// 1024
	Id *int64 `json:"id,omitempty" xml:"id,omitempty"`
	// Indicates whether the demo model is a built-in model. A value of 1 indicates a true value and a value of 0 indicates a false value.
	//
	// example:
	//
	// 1
	IsDemoModel *int64 `json:"isDemoModel,omitempty" xml:"isDemoModel,omitempty"`
	// The literal expression corresponding to lifeCycleType, `From Cradle to Gate` and `From Cradle to Grave`.
	//
	// example:
	//
	// From Cradle to Gate
	LifeCycle *string `json:"lifeCycle,omitempty" xml:"lifeCycle,omitempty"`
	// 1 is `From Cradle to Gate`, and 2 is `From Cradle to Grave`.
	//
	// example:
	//
	// 1
	LifeCycleType *int64 `json:"lifeCycleType,omitempty" xml:"lifeCycleType,omitempty"`
	// The product name.
	//
	// example:
	//
	// Carbon-footprint-demo
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Product category enumeration value, please refer to [Carbon Footprint Appendices](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).
	//
	// example:
	//
	// 158-159
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// Unit enumeration value. Please refer to [Carbon Footprint Appendices](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/CarbonFootprintAppendices-en.pdf).
	//
	// example:
	//
	// 1-4
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetFootprintListResponseBodyDataRecords) GoString

func (*GetFootprintListResponseBodyDataRecords) SetAmount

func (*GetFootprintListResponseBodyDataRecords) SetAuthStatus

func (*GetFootprintListResponseBodyDataRecords) SetCheckEndTime

func (*GetFootprintListResponseBodyDataRecords) SetCheckStartTime

func (*GetFootprintListResponseBodyDataRecords) SetCode

func (*GetFootprintListResponseBodyDataRecords) SetCreatedBy

func (*GetFootprintListResponseBodyDataRecords) SetId

func (*GetFootprintListResponseBodyDataRecords) SetIsDemoModel

func (*GetFootprintListResponseBodyDataRecords) SetLifeCycle

func (*GetFootprintListResponseBodyDataRecords) SetLifeCycleType

func (*GetFootprintListResponseBodyDataRecords) SetName

func (*GetFootprintListResponseBodyDataRecords) SetType

func (*GetFootprintListResponseBodyDataRecords) SetUnit

func (GetFootprintListResponseBodyDataRecords) String

type GetGasConstituteRequest

type GetGasConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240115-3
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Module code.
	//
	// example:
	//
	// carbonInventory.check.scope_1_direct_ghg_emissions
	ModuleCode *string `json:"moduleCode,omitempty" xml:"moduleCode,omitempty"`
	// Module type.
	//
	// This parameter is required.
	//
	// example:
	//
	// 3
	ModuleType *int32 `json:"moduleType,omitempty" xml:"moduleType,omitempty"`
	// Year
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *int32 `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetGasConstituteRequest) GoString

func (s GetGasConstituteRequest) GoString() string

func (*GetGasConstituteRequest) SetCode

func (*GetGasConstituteRequest) SetModuleCode

func (*GetGasConstituteRequest) SetModuleType

func (*GetGasConstituteRequest) SetYear

func (GetGasConstituteRequest) String

func (s GetGasConstituteRequest) String() string

type GetGasConstituteResponse

type GetGasConstituteResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetGasConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetGasConstituteResponse) GoString

func (s GetGasConstituteResponse) GoString() string

func (*GetGasConstituteResponse) SetBody

func (*GetGasConstituteResponse) SetHeaders

func (*GetGasConstituteResponse) SetStatusCode

func (GetGasConstituteResponse) String

func (s GetGasConstituteResponse) String() string

type GetGasConstituteResponseBody

type GetGasConstituteResponseBody struct {
	// The data returned.
	Data []*GetGasConstituteResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetGasConstituteResponseBody) GoString

func (s GetGasConstituteResponseBody) GoString() string

func (*GetGasConstituteResponseBody) SetData

func (*GetGasConstituteResponseBody) SetRequestId

func (GetGasConstituteResponseBody) String

type GetGasConstituteResponseBodyData

type GetGasConstituteResponseBodyData struct {
	// Carbon emissions
	//
	// example:
	//
	// 3.14
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	// Gas emissions
	//
	// example:
	//
	// 3.14
	GasEmissionData *float64 `json:"gasEmissionData,omitempty" xml:"gasEmissionData,omitempty"`
	// Name of gas
	//
	// example:
	//
	// CO₂
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Proportion of carbon emissions. Example value: 0.5 (50%)
	//
	// example:
	//
	// 0.5
	Ratio *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
	// Gas Type
	//
	// example:
	//
	// 1
	Type *int32 `json:"type,omitempty" xml:"type,omitempty"`
}

func (GetGasConstituteResponseBodyData) GoString

func (*GetGasConstituteResponseBodyData) SetCarbonEmissionData

func (*GetGasConstituteResponseBodyData) SetGasEmissionData

func (*GetGasConstituteResponseBodyData) SetName

func (*GetGasConstituteResponseBodyData) SetRatio

func (*GetGasConstituteResponseBodyData) SetType

func (GetGasConstituteResponseBodyData) String

type GetGwpBenchmarkListRequest

type GetGwpBenchmarkListRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetGwpBenchmarkListRequest) GoString

func (s GetGwpBenchmarkListRequest) GoString() string

func (*GetGwpBenchmarkListRequest) SetCode

func (*GetGwpBenchmarkListRequest) SetProductId

func (*GetGwpBenchmarkListRequest) SetProductType

func (GetGwpBenchmarkListRequest) String

type GetGwpBenchmarkListResponse

type GetGwpBenchmarkListResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetGwpBenchmarkListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetGwpBenchmarkListResponse) GoString

func (s GetGwpBenchmarkListResponse) GoString() string

func (*GetGwpBenchmarkListResponse) SetBody

func (*GetGwpBenchmarkListResponse) SetHeaders

func (*GetGwpBenchmarkListResponse) SetStatusCode

func (GetGwpBenchmarkListResponse) String

type GetGwpBenchmarkListResponseBody

type GetGwpBenchmarkListResponseBody struct {
	// The response parameters.
	Data *GetGwpBenchmarkListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// A8AEC6D9-A359-5169-BD1A-BD848BA60D65
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetGwpBenchmarkListResponseBody) GoString

func (*GetGwpBenchmarkListResponseBody) SetRequestId

func (GetGwpBenchmarkListResponseBody) String

type GetGwpBenchmarkListResponseBodyData

type GetGwpBenchmarkListResponseBodyData struct {
	// Active carbon reduction ranking list.
	Items []*GetGwpBenchmarkListResponseBodyDataItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// unit of emissions. The default value is `kgCO₂e/productUnit`.
	//
	// The `productUnit` is the unit selected for the product. The unit value is changed to `tCO₂e/productUnit` or `gCO₂e/productUnit`. For more information, see the remarks in the quantity column.
	//
	// example:
	//
	// kgCO₂e/kg
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetGwpBenchmarkListResponseBodyData) GoString

func (*GetGwpBenchmarkListResponseBodyData) SetUnit

func (GetGwpBenchmarkListResponseBodyData) String

type GetGwpBenchmarkListResponseBodyDataItems

type GetGwpBenchmarkListResponseBodyDataItems struct {
	// `activeReduction=benchmarkEmission-carbonEmission` Generally, baseline emissions are greater than inventory emissions. Maintain four decimal places. Unit pertains to a higher-level unit.
	//
	// example:
	//
	// 0.2169
	ActiveReduction *float64 `json:"activeReduction,omitempty" xml:"activeReduction,omitempty"`
	// Benchmark emissions. Maintain four decimal places. Unit pertains to a higher-level unit.
	//
	// example:
	//
	// 0.0108
	BenchmarkEmission *float64 `json:"benchmarkEmission,omitempty" xml:"benchmarkEmission,omitempty"`
	// Benchmark name
	//
	// example:
	//
	// old-energy
	BenchmarkName *string `json:"benchmarkName,omitempty" xml:"benchmarkName,omitempty"`
	// Inventory emissions. Maintain four decimal places. Unit pertains to a higher-level unit.
	//
	// example:
	//
	// -0.2061
	CarbonEmission *float64 `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	// name
	//
	// example:
	//
	// new-energy
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Unused temporarily.
	//
	// example:
	//
	// null
	Percent *string `json:"percent,omitempty" xml:"percent,omitempty"`
}

func (GetGwpBenchmarkListResponseBodyDataItems) GoString

func (*GetGwpBenchmarkListResponseBodyDataItems) SetActiveReduction

func (*GetGwpBenchmarkListResponseBodyDataItems) SetBenchmarkEmission

func (*GetGwpBenchmarkListResponseBodyDataItems) SetBenchmarkName

func (*GetGwpBenchmarkListResponseBodyDataItems) SetCarbonEmission

func (*GetGwpBenchmarkListResponseBodyDataItems) SetName

func (*GetGwpBenchmarkListResponseBodyDataItems) SetPercent

func (GetGwpBenchmarkListResponseBodyDataItems) String

type GetGwpBenchmarkSummaryRequest

type GetGwpBenchmarkSummaryRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetGwpBenchmarkSummaryRequest) GoString

func (*GetGwpBenchmarkSummaryRequest) SetCode

func (*GetGwpBenchmarkSummaryRequest) SetProductId

func (*GetGwpBenchmarkSummaryRequest) SetProductType

func (GetGwpBenchmarkSummaryRequest) String

type GetGwpBenchmarkSummaryResponse

type GetGwpBenchmarkSummaryResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetGwpBenchmarkSummaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetGwpBenchmarkSummaryResponse) GoString

func (*GetGwpBenchmarkSummaryResponse) SetHeaders

func (*GetGwpBenchmarkSummaryResponse) SetStatusCode

func (GetGwpBenchmarkSummaryResponse) String

type GetGwpBenchmarkSummaryResponseBody

type GetGwpBenchmarkSummaryResponseBody struct {
	// The response parameters.
	Data *GetGwpBenchmarkSummaryResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetGwpBenchmarkSummaryResponseBody) GoString

func (*GetGwpBenchmarkSummaryResponseBody) SetRequestId

func (GetGwpBenchmarkSummaryResponseBody) String

type GetGwpBenchmarkSummaryResponseBodyData

type GetGwpBenchmarkSummaryResponseBodyData struct {
	// Carbon Reduction Contribution Top4 Details.
	Items []*GetGwpBenchmarkSummaryResponseBodyDataItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// Emission amount is presented with four decimal places. Normally, modeling doesn\\"t result in negative values, but users can represent carbon reductions as negatives. The amount, paired with the unit, defines the emissions. Both are dynamically adjusted. If emissions exceed `1000 kgCO₂e/productUnit`, they convert to `tCO₂e/productUnit`. If they fall below `1 kgCO₂e/productUnit`, they convert to `gCO₂e/productUnit`. Otherwise, they stay in `kgCO₂e/productUnit`.
	//
	// example:
	//
	// 1000.0000
	Quantity *int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// Unit of emissions. The default value is `kgCO₂e/productUnit.` `productUnit` is the unit selected for the product. The unit value is changed to `tCO₂e/productUnit` or `gCO₂e/productUnit`. For more information, see the remarks in the quantity column.
	//
	// example:
	//
	// kgCO₂e/t
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetGwpBenchmarkSummaryResponseBodyData) GoString

func (*GetGwpBenchmarkSummaryResponseBodyData) SetQuantity

func (*GetGwpBenchmarkSummaryResponseBodyData) SetUnit

func (GetGwpBenchmarkSummaryResponseBodyData) String

type GetGwpBenchmarkSummaryResponseBodyDataItems

type GetGwpBenchmarkSummaryResponseBodyDataItems struct {
	// Name of carbon reduction details.
	//
	// example:
	//
	// Energy-Replacement
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Percentage of emissions. The value is of the string type. Two decimal places are reserved for numbers. For example, "99.01" indicates the 99.01% of this type of emissions to the total emissions. Note that the returned string itself does not contain a percent sign.
	//
	// example:
	//
	// 99.01
	Percent *string `json:"percent,omitempty" xml:"percent,omitempty"`
	// Emission amount is presented with four decimal places. Normally, modeling doesn\\"t result in negative values, but users can represent carbon reductions as negatives. The amount, paired with the unit, defines the emissions. Both are dynamically adjusted. If emissions exceed `1000 kgCO₂e/productUnit`, they convert to `tCO₂e/productUnit`. If they fall below `1 kgCO₂e/productUnit`, they convert to `gCO₂e/productUnit`. Otherwise, they stay in `kgCO₂e/productUnit`.
	//
	// example:
	//
	// 9.9763
	Quantity *int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// Unit of emissions. The default value is `kgCO₂e/productUnit.` `productUnit` is the unit selected for the product. The unit value is changed to `tCO₂e/productUnit` or `gCO₂e/productUnit`. For more information, see the remarks in the quantity column.
	//
	// example:
	//
	// kgCO₂e/kg
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetGwpBenchmarkSummaryResponseBodyDataItems) GoString

func (*GetGwpBenchmarkSummaryResponseBodyDataItems) SetName

func (*GetGwpBenchmarkSummaryResponseBodyDataItems) SetPercent

func (*GetGwpBenchmarkSummaryResponseBodyDataItems) SetQuantity

func (*GetGwpBenchmarkSummaryResponseBodyDataItems) SetUnit

func (GetGwpBenchmarkSummaryResponseBodyDataItems) String

type GetGwpInventoryConstituteRequest

type GetGwpInventoryConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetGwpInventoryConstituteRequest) GoString

func (*GetGwpInventoryConstituteRequest) SetCode

func (*GetGwpInventoryConstituteRequest) SetProductId

func (*GetGwpInventoryConstituteRequest) SetProductType

func (GetGwpInventoryConstituteRequest) String

type GetGwpInventoryConstituteResponse

type GetGwpInventoryConstituteResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetGwpInventoryConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetGwpInventoryConstituteResponse) GoString

func (*GetGwpInventoryConstituteResponse) SetHeaders

func (*GetGwpInventoryConstituteResponse) SetStatusCode

func (GetGwpInventoryConstituteResponse) String

type GetGwpInventoryConstituteResponseBody

type GetGwpInventoryConstituteResponseBody struct {
	// The response parameters.
	Data *GetGwpInventoryConstituteResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 06DA2909-7736-5738-AA31-ACD617D828F1
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetGwpInventoryConstituteResponseBody) GoString

func (*GetGwpInventoryConstituteResponseBody) SetRequestId

func (GetGwpInventoryConstituteResponseBody) String

type GetGwpInventoryConstituteResponseBodyData

type GetGwpInventoryConstituteResponseBodyData struct {
	// Aggregated by resource type of an inventory.
	ByResourceType []*GwpInventoryConstitute `json:"byResourceType,omitempty" xml:"byResourceType,omitempty" type:"Repeated"`
	// Emission quantity: may be positive, negative, or 0. To ensure the calculation accuracy, 24 decimal places are reserved for the calculation process. We recommend that you intercept data based on your business requirements.
	//
	// example:
	//
	// 1009.976265540000000000000000000000
	CarbonEmission *float64 `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	// Organized by hierarchy from high to low, according to the flow-> process-> inventory hierarchy.
	Items []*GwpInventoryConstitute `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// The name.
	//
	// example:
	//
	// This is not used for displaying
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Emission Unit.
	//
	// example:
	//
	// kgCO₂e/t
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetGwpInventoryConstituteResponseBodyData) GoString

func (*GetGwpInventoryConstituteResponseBodyData) SetByResourceType

func (*GetGwpInventoryConstituteResponseBodyData) SetCarbonEmission

func (*GetGwpInventoryConstituteResponseBodyData) SetItems

func (*GetGwpInventoryConstituteResponseBodyData) SetName

func (*GetGwpInventoryConstituteResponseBodyData) SetUnit

func (GetGwpInventoryConstituteResponseBodyData) String

type GetGwpInventorySummaryRequest

type GetGwpInventorySummaryRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetGwpInventorySummaryRequest) GoString

func (*GetGwpInventorySummaryRequest) SetCode

func (*GetGwpInventorySummaryRequest) SetProductId

func (*GetGwpInventorySummaryRequest) SetProductType

func (GetGwpInventorySummaryRequest) String

type GetGwpInventorySummaryResponse

type GetGwpInventorySummaryResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetGwpInventorySummaryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetGwpInventorySummaryResponse) GoString

func (*GetGwpInventorySummaryResponse) SetHeaders

func (*GetGwpInventorySummaryResponse) SetStatusCode

func (GetGwpInventorySummaryResponse) String

type GetGwpInventorySummaryResponseBody

type GetGwpInventorySummaryResponseBody struct {
	// The returned results.
	Data *GetGwpInventorySummaryResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetGwpInventorySummaryResponseBody) GoString

func (*GetGwpInventorySummaryResponseBody) SetRequestId

func (GetGwpInventorySummaryResponseBody) String

type GetGwpInventorySummaryResponseBodyData

type GetGwpInventorySummaryResponseBodyData struct {
	// Top 4 types of carbon footprint contribution.
	Items []*GetGwpInventorySummaryResponseBodyDataItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// The emission quantity.
	//
	// example:
	//
	// 1.0100
	Quantity *float64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// The time when the result was generated, in the millisecond timestamp format.
	//
	// example:
	//
	// 1709108026000
	ResultGenerateTime *int64 `json:"resultGenerateTime,omitempty" xml:"resultGenerateTime,omitempty"`
	// Emission Unit.
	//
	// example:
	//
	// tCO₂e/Piece(s)
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetGwpInventorySummaryResponseBodyData) GoString

func (*GetGwpInventorySummaryResponseBodyData) SetQuantity

func (*GetGwpInventorySummaryResponseBodyData) SetResultGenerateTime

func (*GetGwpInventorySummaryResponseBodyData) SetUnit

func (GetGwpInventorySummaryResponseBodyData) String

type GetGwpInventorySummaryResponseBodyDataItems

type GetGwpInventorySummaryResponseBodyDataItems struct {
	// Inventory resource type name.
	//
	// example:
	//
	// Energy
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Percentage.
	//
	// example:
	//
	// 99.01
	Percent *string `json:"percent,omitempty" xml:"percent,omitempty"`
	// Quantity.
	//
	// example:
	//
	// 9.9763
	Quantity *float64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// The unit.
	//
	// example:
	//
	// kgCO₂e/Piece(s)
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetGwpInventorySummaryResponseBodyDataItems) GoString

func (*GetGwpInventorySummaryResponseBodyDataItems) SetName

func (*GetGwpInventorySummaryResponseBodyDataItems) SetPercent

func (*GetGwpInventorySummaryResponseBodyDataItems) SetQuantity

func (*GetGwpInventorySummaryResponseBodyDataItems) SetUnit

func (GetGwpInventorySummaryResponseBodyDataItems) String

type GetInventoryListRequest

type GetInventoryListRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Type of emission
	//
	// >  Valid values: footprint | emission. Meaning: footprint: all inventories are involved in the calculation; emission: only inventories with positive and zero emissions are involved in the calculation, and negative numbers are not involved in the calculation.
	//
	// This parameter is required.
	//
	// example:
	//
	// footprint
	EmissionType *string `json:"emissionType,omitempty" xml:"emissionType,omitempty"`
	// Group by
	//
	// >  Valid values: resource | process | resourceType | processType. Meaning: resource: aggregation by inventory group, process: aggregation by operation group, resourceType: aggregation by inventory type, processType: aggregation by phase group
	//
	// This parameter is required.
	//
	// example:
	//
	// resource
	Group *string `json:"group,omitempty" xml:"group,omitempty"`
	// The type of the obtained environmental impact: gwp indicates the carbon footprint of climate change.
	//
	// <props="intl">[For more information, see the environment impact category enumeration.](https://www.alibabacloud.com/help/en/energy-expert/developer-reference/enumerated-values-of-energy-expert#RhGn7)
	//
	// This parameter is required.
	//
	// example:
	//
	// gwp
	MethodType *string `json:"methodType,omitempty" xml:"methodType,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetInventoryListRequest) GoString

func (s GetInventoryListRequest) GoString() string

func (*GetInventoryListRequest) SetCode

func (*GetInventoryListRequest) SetEmissionType

func (*GetInventoryListRequest) SetGroup

func (*GetInventoryListRequest) SetMethodType

func (*GetInventoryListRequest) SetProductId

func (*GetInventoryListRequest) SetProductType

func (GetInventoryListRequest) String

func (s GetInventoryListRequest) String() string

type GetInventoryListResponse

type GetInventoryListResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetInventoryListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetInventoryListResponse) GoString

func (s GetInventoryListResponse) GoString() string

func (*GetInventoryListResponse) SetBody

func (*GetInventoryListResponse) SetHeaders

func (*GetInventoryListResponse) SetStatusCode

func (GetInventoryListResponse) String

func (s GetInventoryListResponse) String() string

type GetInventoryListResponseBody

type GetInventoryListResponseBody struct {
	// The response parameters.
	Data *GetInventoryListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetInventoryListResponseBody) GoString

func (s GetInventoryListResponseBody) GoString() string

func (*GetInventoryListResponseBody) SetData

func (*GetInventoryListResponseBody) SetRequestId

func (GetInventoryListResponseBody) String

type GetInventoryListResponseBodyData

type GetInventoryListResponseBodyData struct {
	// Inventory detail.
	Items []*GetInventoryListResponseBodyDataItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// Unit of product.
	//
	// example:
	//
	// kg
	ProductUnit *string `json:"productUnit,omitempty" xml:"productUnit,omitempty"`
	// Emission Unit: The default value is kgCO₂ /productUnit. productUnit is the unit selected for the product. The unit value is changed to tCO₂ e/productUnit or gCO₂ e/productUnit based on the emission quantity. For more information, see the quantity column.
	//
	// example:
	//
	// kgCO₂e/kg
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GetInventoryListResponseBodyData) GoString

func (*GetInventoryListResponseBodyData) SetProductUnit

func (*GetInventoryListResponseBodyData) SetUnit

func (GetInventoryListResponseBodyData) String

type GetInventoryListResponseBodyDataItems

type GetInventoryListResponseBodyDataItems struct {
	// Emission quantity: may be positive, negative, or 0. To ensure the calculation accuracy, 24 decimal places are reserved for the calculation process. We recommend that you intercept data based on your business requirements.
	//
	// example:
	//
	// 1000.000000000000000000000000000000
	CarbonEmission *float64 `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	// Name
	//
	// > The name is related to the request parameters group. Request parameters: resource, return name parameter meaning: list name; request parameters: process, return name parameter meaning: process name; request parameters: resourceType, return name parameter meaning: inventory resource type name; request parameters: processType, return name parameter meaning: flow name.
	//
	// example:
	//
	// Energy
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Percentage
	//
	// example:
	//
	// 99.01
	Percent *string `json:"percent,omitempty" xml:"percent,omitempty"`
	// Process Name: It is only meaningful when the request parameters group is resource.
	//
	// example:
	//
	// Process-1
	ProcessName *string `json:"processName,omitempty" xml:"processName,omitempty"`
}

func (GetInventoryListResponseBodyDataItems) GoString

func (*GetInventoryListResponseBodyDataItems) SetCarbonEmission

func (*GetInventoryListResponseBodyDataItems) SetName

func (*GetInventoryListResponseBodyDataItems) SetPercent

func (*GetInventoryListResponseBodyDataItems) SetProcessName

func (GetInventoryListResponseBodyDataItems) String

type GetOrgAndFactoryResponse

type GetOrgAndFactoryResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetOrgAndFactoryResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetOrgAndFactoryResponse) GoString

func (s GetOrgAndFactoryResponse) GoString() string

func (*GetOrgAndFactoryResponse) SetBody

func (*GetOrgAndFactoryResponse) SetHeaders

func (*GetOrgAndFactoryResponse) SetStatusCode

func (GetOrgAndFactoryResponse) String

func (s GetOrgAndFactoryResponse) String() string

type GetOrgAndFactoryResponseBody

type GetOrgAndFactoryResponseBody struct {
	// The code returned for the request.
	//
	// example:
	//
	// Success
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// data
	Data []*GetOrgAndFactoryResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The HTTP status code.
	//
	// example:
	//
	// 200
	HttpCode *int32 `json:"httpCode,omitempty" xml:"httpCode,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the request was successful.
	//
	// example:
	//
	// True
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetOrgAndFactoryResponseBody) GoString

func (s GetOrgAndFactoryResponseBody) GoString() string

func (*GetOrgAndFactoryResponseBody) SetCode

func (*GetOrgAndFactoryResponseBody) SetData

func (*GetOrgAndFactoryResponseBody) SetHttpCode

func (*GetOrgAndFactoryResponseBody) SetRequestId

func (*GetOrgAndFactoryResponseBody) SetSuccess

func (GetOrgAndFactoryResponseBody) String

type GetOrgAndFactoryResponseBodyData

type GetOrgAndFactoryResponseBodyData struct {
	// The Alibaba Cloud account ID.
	//
	// example:
	//
	// 1319617584664960
	AliyunPk *string `json:"aliyunPk,omitempty" xml:"aliyunPk,omitempty"`
	// The sites.
	FactoryList []*GetOrgAndFactoryResponseBodyDataFactoryList `json:"factoryList,omitempty" xml:"factoryList,omitempty" type:"Repeated"`
	// The enterprise ID.
	//
	// example:
	//
	// 6265f42XXXX2fec150
	OrganizationId *string `json:"organizationId,omitempty" xml:"organizationId,omitempty"`
	// The enterprise name.
	//
	// example:
	//
	// Ledi Industrial Park
	OrganizationName *string `json:"organizationName,omitempty" xml:"organizationName,omitempty"`
}

func (GetOrgAndFactoryResponseBodyData) GoString

func (*GetOrgAndFactoryResponseBodyData) SetAliyunPk

func (*GetOrgAndFactoryResponseBodyData) SetOrganizationId

func (*GetOrgAndFactoryResponseBodyData) SetOrganizationName

func (GetOrgAndFactoryResponseBodyData) String

type GetOrgAndFactoryResponseBodyDataFactoryList

type GetOrgAndFactoryResponseBodyDataFactoryList struct {
	// The site ID.
	//
	// example:
	//
	// pn_95
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	// The site name.
	//
	// example:
	//
	// Ledi Industrial Park 1
	FactoryName *string `json:"factoryName,omitempty" xml:"factoryName,omitempty"`
}

func (GetOrgAndFactoryResponseBodyDataFactoryList) GoString

func (*GetOrgAndFactoryResponseBodyDataFactoryList) SetFactoryId

func (*GetOrgAndFactoryResponseBodyDataFactoryList) SetFactoryName

func (GetOrgAndFactoryResponseBodyDataFactoryList) String

type GetOrgConstituteRequest

type GetOrgConstituteRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// Z-20240115-2
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Module code.
	//
	// example:
	//
	// carbonInventory.check.scope_1_direct_ghg_emissions
	ModuleCode *string `json:"moduleCode,omitempty" xml:"moduleCode,omitempty"`
	// Module type.
	//
	// This parameter is required.
	//
	// example:
	//
	// 3
	ModuleType *int32 `json:"moduleType,omitempty" xml:"moduleType,omitempty"`
	// Year.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *int32 `json:"year,omitempty" xml:"year,omitempty"`
}

func (GetOrgConstituteRequest) GoString

func (s GetOrgConstituteRequest) GoString() string

func (*GetOrgConstituteRequest) SetCode

func (*GetOrgConstituteRequest) SetModuleCode

func (*GetOrgConstituteRequest) SetModuleType

func (*GetOrgConstituteRequest) SetYear

func (GetOrgConstituteRequest) String

func (s GetOrgConstituteRequest) String() string

type GetOrgConstituteResponse

type GetOrgConstituteResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetOrgConstituteResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetOrgConstituteResponse) GoString

func (s GetOrgConstituteResponse) GoString() string

func (*GetOrgConstituteResponse) SetBody

func (*GetOrgConstituteResponse) SetHeaders

func (*GetOrgConstituteResponse) SetStatusCode

func (GetOrgConstituteResponse) String

func (s GetOrgConstituteResponse) String() string

type GetOrgConstituteResponseBody

type GetOrgConstituteResponseBody struct {
	// The data returned.
	Data *OrgEmission `json:"data,omitempty" xml:"data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetOrgConstituteResponseBody) GoString

func (s GetOrgConstituteResponseBody) GoString() string

func (*GetOrgConstituteResponseBody) SetData

func (*GetOrgConstituteResponseBody) SetRequestId

func (GetOrgConstituteResponseBody) String

type GetPcrInfoRequest

type GetPcrInfoRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *string `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetPcrInfoRequest) GoString

func (s GetPcrInfoRequest) GoString() string

func (*GetPcrInfoRequest) SetCode

func (*GetPcrInfoRequest) SetProductId

func (s *GetPcrInfoRequest) SetProductId(v string) *GetPcrInfoRequest

func (*GetPcrInfoRequest) SetProductType

func (s *GetPcrInfoRequest) SetProductType(v int64) *GetPcrInfoRequest

func (GetPcrInfoRequest) String

func (s GetPcrInfoRequest) String() string

type GetPcrInfoResponse

type GetPcrInfoResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPcrInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPcrInfoResponse) GoString

func (s GetPcrInfoResponse) GoString() string

func (*GetPcrInfoResponse) SetBody

func (*GetPcrInfoResponse) SetHeaders

func (s *GetPcrInfoResponse) SetHeaders(v map[string]*string) *GetPcrInfoResponse

func (*GetPcrInfoResponse) SetStatusCode

func (s *GetPcrInfoResponse) SetStatusCode(v int32) *GetPcrInfoResponse

func (GetPcrInfoResponse) String

func (s GetPcrInfoResponse) String() string

type GetPcrInfoResponseBody

type GetPcrInfoResponseBody struct {
	// The response parameters.
	Data *GetPcrInfoResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 4A0AEC56-5C9A-5D47-93DF-7227836FFF82
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetPcrInfoResponseBody) GoString

func (s GetPcrInfoResponseBody) GoString() string

func (*GetPcrInfoResponseBody) SetData

func (*GetPcrInfoResponseBody) SetRequestId

func (GetPcrInfoResponseBody) String

func (s GetPcrInfoResponseBody) String() string

type GetPcrInfoResponseBodyData

type GetPcrInfoResponseBodyData struct {
	// The timestamp when the report was created. The timestamp is in milliseconds.
	//
	// example:
	//
	// 1709109790532
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// Report name
	//
	// example:
	//
	// report name
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Download url link.
	//
	// example:
	//
	// https://energy.alibabacloud.com
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
}

func (GetPcrInfoResponseBodyData) GoString

func (s GetPcrInfoResponseBodyData) GoString() string

func (*GetPcrInfoResponseBodyData) SetCreateTime

func (*GetPcrInfoResponseBodyData) SetName

func (*GetPcrInfoResponseBodyData) SetUrl

func (GetPcrInfoResponseBodyData) String

type GetReductionProposalRequest

type GetReductionProposalRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The type of the data quality evaluation. 1 is DQI and 2 is DQR.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	DataQualityEvaluationType *int32 `json:"dataQualityEvaluationType,omitempty" xml:"dataQualityEvaluationType,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (GetReductionProposalRequest) GoString

func (s GetReductionProposalRequest) GoString() string

func (*GetReductionProposalRequest) SetCode

func (*GetReductionProposalRequest) SetDataQualityEvaluationType

func (s *GetReductionProposalRequest) SetDataQualityEvaluationType(v int32) *GetReductionProposalRequest

func (*GetReductionProposalRequest) SetProductId

func (*GetReductionProposalRequest) SetProductType

func (GetReductionProposalRequest) String

type GetReductionProposalResponse

type GetReductionProposalResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetReductionProposalResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetReductionProposalResponse) GoString

func (s GetReductionProposalResponse) GoString() string

func (*GetReductionProposalResponse) SetBody

func (*GetReductionProposalResponse) SetHeaders

func (*GetReductionProposalResponse) SetStatusCode

func (GetReductionProposalResponse) String

type GetReductionProposalResponseBody

type GetReductionProposalResponseBody struct {
	// The returned data.
	Data *GetReductionProposalResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetReductionProposalResponseBody) GoString

func (*GetReductionProposalResponseBody) SetRequestId

func (GetReductionProposalResponseBody) String

type GetReductionProposalResponseBodyData

type GetReductionProposalResponseBodyData struct {
	// Proactive carbon reduction recommendations and advice.
	//
	// example:
	//
	// Reduce one-drop usage
	Reduction *string `json:"reduction,omitempty" xml:"reduction,omitempty"`
	// Active carbon reduction assessment.
	//
	// example:
	//
	// Trying Energy Expert for a more detailed assessment.
	ReductionEvaluation *string `json:"reductionEvaluation,omitempty" xml:"reductionEvaluation,omitempty"`
}

func (GetReductionProposalResponseBodyData) GoString

func (*GetReductionProposalResponseBodyData) SetReduction

func (*GetReductionProposalResponseBodyData) SetReductionEvaluation

func (GetReductionProposalResponseBodyData) String

type GwpInventoryConstitute

type GwpInventoryConstitute struct {
	ByResourceType []*GwpResourceConstitute  `json:"byResourceType,omitempty" xml:"byResourceType,omitempty" type:"Repeated"`
	CarbonEmission *float64                  `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	Items          []*GwpInventoryConstitute `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	Name           *string                   `json:"name,omitempty" xml:"name,omitempty"`
	Percent        *float64                  `json:"percent,omitempty" xml:"percent,omitempty"`
	ResourceType   *int32                    `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	Unit           *string                   `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GwpInventoryConstitute) GoString

func (s GwpInventoryConstitute) GoString() string

func (*GwpInventoryConstitute) SetByResourceType

func (*GwpInventoryConstitute) SetCarbonEmission

func (s *GwpInventoryConstitute) SetCarbonEmission(v float64) *GwpInventoryConstitute

func (*GwpInventoryConstitute) SetItems

func (*GwpInventoryConstitute) SetName

func (*GwpInventoryConstitute) SetPercent

func (*GwpInventoryConstitute) SetResourceType

func (s *GwpInventoryConstitute) SetResourceType(v int32) *GwpInventoryConstitute

func (*GwpInventoryConstitute) SetUnit

func (GwpInventoryConstitute) String

func (s GwpInventoryConstitute) String() string

type GwpResourceConstitute

type GwpResourceConstitute struct {
	CarbonEmission *float64 `json:"carbonEmission,omitempty" xml:"carbonEmission,omitempty"`
	Name           *string  `json:"name,omitempty" xml:"name,omitempty"`
	Percent        *string  `json:"percent,omitempty" xml:"percent,omitempty"`
	ResourceType   *int32   `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	Unit           *string  `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (GwpResourceConstitute) GoString

func (s GwpResourceConstitute) GoString() string

func (*GwpResourceConstitute) SetCarbonEmission

func (s *GwpResourceConstitute) SetCarbonEmission(v float64) *GwpResourceConstitute

func (*GwpResourceConstitute) SetName

func (*GwpResourceConstitute) SetPercent

func (*GwpResourceConstitute) SetResourceType

func (s *GwpResourceConstitute) SetResourceType(v int32) *GwpResourceConstitute

func (*GwpResourceConstitute) SetUnit

func (GwpResourceConstitute) String

func (s GwpResourceConstitute) String() string

type IsCompletedRequest

type IsCompletedRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20080808-1
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The product id.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1024
	ProductId *int64 `json:"productId,omitempty" xml:"productId,omitempty"`
	// Product type: 1 indicates that the carbon footprint of the product is requested, and 5 indicates that the carbon footprint of the supply chain is requested.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ProductType *int64 `json:"productType,omitempty" xml:"productType,omitempty"`
}

func (IsCompletedRequest) GoString

func (s IsCompletedRequest) GoString() string

func (*IsCompletedRequest) SetCode

func (*IsCompletedRequest) SetProductId

func (s *IsCompletedRequest) SetProductId(v int64) *IsCompletedRequest

func (*IsCompletedRequest) SetProductType

func (s *IsCompletedRequest) SetProductType(v int64) *IsCompletedRequest

func (IsCompletedRequest) String

func (s IsCompletedRequest) String() string

type IsCompletedResponse

type IsCompletedResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *IsCompletedResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (IsCompletedResponse) GoString

func (s IsCompletedResponse) GoString() string

func (*IsCompletedResponse) SetBody

func (*IsCompletedResponse) SetHeaders

func (s *IsCompletedResponse) SetHeaders(v map[string]*string) *IsCompletedResponse

func (*IsCompletedResponse) SetStatusCode

func (s *IsCompletedResponse) SetStatusCode(v int32) *IsCompletedResponse

func (IsCompletedResponse) String

func (s IsCompletedResponse) String() string

type IsCompletedResponseBody

type IsCompletedResponseBody struct {
	// The response parameters.
	Data *IsCompletedResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The ID of the request. The value is unique for each request. This facilitates subsequent troubleshooting.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (IsCompletedResponseBody) GoString

func (s IsCompletedResponseBody) GoString() string

func (*IsCompletedResponseBody) SetData

func (*IsCompletedResponseBody) SetRequestId

func (IsCompletedResponseBody) String

func (s IsCompletedResponseBody) String() string

type IsCompletedResponseBodyData

type IsCompletedResponseBodyData struct {
	// Modified time in milliseconds, e.g. 1711438780000.
	//
	// example:
	//
	// 1711438780000
	ModifiedTime *int64 `json:"modifiedTime,omitempty" xml:"modifiedTime,omitempty"`
	// The unique key of this generation task.
	//
	// example:
	//
	// 550c2b7b-f2e0-4176-ab0a-53ea4b355721
	TaskKey *string `json:"taskKey,omitempty" xml:"taskKey,omitempty"`
	// Unused temporarily.
	//
	// example:
	//
	// null
	TaskShortResult *string `json:"taskShortResult,omitempty" xml:"taskShortResult,omitempty"`
	// The status of the report generation task. The possible values are `running`, `success`, and `error`, which mean generating, generating succeeded, and generating failed, respectively. If you encounter a result generation failure, check the model, correct the model, and then generate the result again.
	//
	// example:
	//
	// running
	TaskStatus *string `json:"taskStatus,omitempty" xml:"taskStatus,omitempty"`
}

func (IsCompletedResponseBodyData) GoString

func (s IsCompletedResponseBodyData) GoString() string

func (*IsCompletedResponseBodyData) SetModifiedTime

func (*IsCompletedResponseBodyData) SetTaskKey

func (*IsCompletedResponseBodyData) SetTaskShortResult

func (*IsCompletedResponseBodyData) SetTaskStatus

func (IsCompletedResponseBodyData) String

type OrgEmission

type OrgEmission struct {
	CarbonEmissionData          *float64                         `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	ModuleEmissionList          []*OrgEmissionModuleEmissionList `json:"moduleEmissionList,omitempty" xml:"moduleEmissionList,omitempty" type:"Repeated"`
	Name                        *string                          `json:"name,omitempty" xml:"name,omitempty"`
	NameKey                     *string                          `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	Ratio                       *float64                         `json:"ratio,omitempty" xml:"ratio,omitempty"`
	SubEmissionItems            []*OrgEmission                   `json:"subEmissionItems,omitempty" xml:"subEmissionItems,omitempty" type:"Repeated"`
	WeightingCarbonEmissionData *float64                         `json:"weightingCarbonEmissionData,omitempty" xml:"weightingCarbonEmissionData,omitempty"`
	WeightingProportion         *float64                         `json:"weightingProportion,omitempty" xml:"weightingProportion,omitempty"`
	WeightingRatio              *float64                         `json:"weightingRatio,omitempty" xml:"weightingRatio,omitempty"`
}

func (OrgEmission) GoString

func (s OrgEmission) GoString() string

func (*OrgEmission) SetCarbonEmissionData

func (s *OrgEmission) SetCarbonEmissionData(v float64) *OrgEmission

func (*OrgEmission) SetModuleEmissionList

func (s *OrgEmission) SetModuleEmissionList(v []*OrgEmissionModuleEmissionList) *OrgEmission

func (*OrgEmission) SetName

func (s *OrgEmission) SetName(v string) *OrgEmission

func (*OrgEmission) SetNameKey

func (s *OrgEmission) SetNameKey(v string) *OrgEmission

func (*OrgEmission) SetRatio

func (s *OrgEmission) SetRatio(v float64) *OrgEmission

func (*OrgEmission) SetSubEmissionItems

func (s *OrgEmission) SetSubEmissionItems(v []*OrgEmission) *OrgEmission

func (*OrgEmission) SetWeightingCarbonEmissionData

func (s *OrgEmission) SetWeightingCarbonEmissionData(v float64) *OrgEmission

func (*OrgEmission) SetWeightingProportion

func (s *OrgEmission) SetWeightingProportion(v float64) *OrgEmission

func (*OrgEmission) SetWeightingRatio

func (s *OrgEmission) SetWeightingRatio(v float64) *OrgEmission

func (OrgEmission) String

func (s OrgEmission) String() string

type OrgEmissionModuleEmissionList

type OrgEmissionModuleEmissionList struct {
	CarbonEmissionData *float64 `json:"carbonEmissionData,omitempty" xml:"carbonEmissionData,omitempty"`
	Name               *string  `json:"name,omitempty" xml:"name,omitempty"`
	NameKey            *string  `json:"nameKey,omitempty" xml:"nameKey,omitempty"`
	Ratio              *float64 `json:"ratio,omitempty" xml:"ratio,omitempty"`
}

func (OrgEmissionModuleEmissionList) GoString

func (*OrgEmissionModuleEmissionList) SetCarbonEmissionData

func (*OrgEmissionModuleEmissionList) SetName

func (*OrgEmissionModuleEmissionList) SetNameKey

func (*OrgEmissionModuleEmissionList) SetRatio

func (OrgEmissionModuleEmissionList) String

type PushDeviceDataRequest

type PushDeviceDataRequest struct {
	// The type of the device. [View device type definitions](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/Deviceappendixes-en.pdf)
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	DeviceType *string `json:"deviceType,omitempty" xml:"deviceType,omitempty"`
	// List of devices to which data is pushed.
	//
	// This parameter is required.
	Devices []*PushDeviceDataRequestDevices `json:"devices,omitempty" xml:"devices,omitempty" type:"Repeated"`
}

func (PushDeviceDataRequest) GoString

func (s PushDeviceDataRequest) GoString() string

func (*PushDeviceDataRequest) SetDeviceType

func (s *PushDeviceDataRequest) SetDeviceType(v string) *PushDeviceDataRequest

func (*PushDeviceDataRequest) SetDevices

func (PushDeviceDataRequest) String

func (s PushDeviceDataRequest) String() string

type PushDeviceDataRequestDevices

type PushDeviceDataRequestDevices struct {
	// Measuring point information To avoid accuracy problems, the measurement point data is uniformly transmitted to the string. The function of missing required fields cannot be used normally. Some functions may be affected due to the lack of recommend fields. For details, please refer to the notes of equipment measuring points in the appendix. [Reference Point Definition](https://carbon-doc.oss-cn-hangzhou.aliyuncs.com/Deviceappendixes-en.pdf
	//
	// )
	//
	// This parameter is required.
	//
	// example:
	//
	// {
	//
	// 			"dp_imp": "329.0",
	//
	// 			"F": "148.0",
	//
	// 			"eq_imp": "363.0",
	//
	// 			"Ep_imp_1": "128.0",
	//
	// 			"Ep_imp_2": "157.0",
	//
	// 			"Ua": "226.0",
	//
	// 			"Ub": "285.0",
	//
	// 			"Ep_imp": "325.0",
	//
	// 			"Uc": "342.0",
	//
	// 			"Ep_imp_3": "109.0",
	//
	// 			"Ep_imp_4": "94.0",
	//
	// 			"P": "514.0",
	//
	// 			"Pa": "443.0",
	//
	// 			"Q": "265.0",
	//
	// 			"dp_exp": "261.0",
	//
	// 			"eq_exp": "399.0",
	//
	// 			"COSQ": "223.0",
	//
	// 			"Ia": "240.0",
	//
	// 			"Ib": "216.0",
	//
	// 			"Ic": "229.0",
	//
	// 			"Ep_exp": "115.0",
	//
	// 			"VdisPer": "120.0"
	//
	// 		}
	Data map[string]interface{} `json:"data,omitempty" xml:"data,omitempty"`
	// If the deviceType parameter is set to 12, 13, or 17, you must set the system_id parameter. The field name is still device_id. If the deviceType parameter is set to 15 or 16, no Other situations will be transmitted.
	//
	// This parameter is required.
	//
	// example:
	//
	// device_code_xxx
	DeviceId *string `json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	// Data generation time of measuring point.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2021-09-08 18:40:00
	RecordTime *string `json:"recordTime,omitempty" xml:"recordTime,omitempty"`
}

func (PushDeviceDataRequestDevices) GoString

func (s PushDeviceDataRequestDevices) GoString() string

func (*PushDeviceDataRequestDevices) SetData

func (s *PushDeviceDataRequestDevices) SetData(v map[string]interface{}) *PushDeviceDataRequestDevices

func (*PushDeviceDataRequestDevices) SetDeviceId

func (*PushDeviceDataRequestDevices) SetRecordTime

func (PushDeviceDataRequestDevices) String

type PushDeviceDataResponse

type PushDeviceDataResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *PushDeviceDataResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (PushDeviceDataResponse) GoString

func (s PushDeviceDataResponse) GoString() string

func (*PushDeviceDataResponse) SetBody

func (*PushDeviceDataResponse) SetHeaders

func (*PushDeviceDataResponse) SetStatusCode

func (PushDeviceDataResponse) String

func (s PushDeviceDataResponse) String() string

type PushDeviceDataResponseBody

type PushDeviceDataResponseBody struct {
	// Whether the data is pushed successfully. Success is returned.
	//
	// example:
	//
	// success
	Data *string `json:"data,omitempty" xml:"data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (PushDeviceDataResponseBody) GoString

func (s PushDeviceDataResponseBody) GoString() string

func (*PushDeviceDataResponseBody) SetData

func (*PushDeviceDataResponseBody) SetRequestId

func (PushDeviceDataResponseBody) String

type PushItemDataRequest

type PushItemDataRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20210223-01
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// List of data to be pushed.
	//
	// This parameter is required.
	Items *PushItemDataRequestItems `json:"items,omitempty" xml:"items,omitempty" type:"Struct"`
	// The year of the data created.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (PushItemDataRequest) GoString

func (s PushItemDataRequest) GoString() string

func (*PushItemDataRequest) SetCode

func (*PushItemDataRequest) SetItems

func (*PushItemDataRequest) SetYear

func (PushItemDataRequest) String

func (s PushItemDataRequest) String() string

type PushItemDataRequestItems

type PushItemDataRequestItems struct {
	// API data identification.<props="intl">For details: [GetDataItemList ](https://www.alibabacloud.com/help/en/energy-expert/developer-reference/api-energyexpertexternal-2022-09-23-getdataitemlist)
	//
	// This parameter is required.
	//
	// example:
	//
	// demo_api_code
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The month.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	Month *string `json:"month,omitempty" xml:"month,omitempty"`
	// The value of the data item.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1.11
	Value *float64 `json:"value,omitempty" xml:"value,omitempty"`
}

func (PushItemDataRequestItems) GoString

func (s PushItemDataRequestItems) GoString() string

func (*PushItemDataRequestItems) SetCode

func (*PushItemDataRequestItems) SetMonth

func (*PushItemDataRequestItems) SetValue

func (PushItemDataRequestItems) String

func (s PushItemDataRequestItems) String() string

type PushItemDataResponse

type PushItemDataResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *PushItemDataResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (PushItemDataResponse) GoString

func (s PushItemDataResponse) GoString() string

func (*PushItemDataResponse) SetBody

func (*PushItemDataResponse) SetHeaders

func (s *PushItemDataResponse) SetHeaders(v map[string]*string) *PushItemDataResponse

func (*PushItemDataResponse) SetStatusCode

func (s *PushItemDataResponse) SetStatusCode(v int32) *PushItemDataResponse

func (PushItemDataResponse) String

func (s PushItemDataResponse) String() string

type PushItemDataResponseBody

type PushItemDataResponseBody struct {
	// Whether the data is pushed successfully.
	//
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (PushItemDataResponseBody) GoString

func (s PushItemDataResponseBody) GoString() string

func (*PushItemDataResponseBody) SetData

func (*PushItemDataResponseBody) SetRequestId

func (PushItemDataResponseBody) String

func (s PushItemDataResponseBody) String() string

type RecalculateCarbonEmissionRequest

type RecalculateCarbonEmissionRequest struct {
	// The enterprise code.
	//
	// This parameter is required.
	//
	// example:
	//
	// C-20240202-01
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// Year of inventory.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2024
	Year *string `json:"year,omitempty" xml:"year,omitempty"`
}

func (RecalculateCarbonEmissionRequest) GoString

func (*RecalculateCarbonEmissionRequest) SetCode

func (*RecalculateCarbonEmissionRequest) SetYear

func (RecalculateCarbonEmissionRequest) String

type RecalculateCarbonEmissionResponse

type RecalculateCarbonEmissionResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RecalculateCarbonEmissionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RecalculateCarbonEmissionResponse) GoString

func (*RecalculateCarbonEmissionResponse) SetHeaders

func (*RecalculateCarbonEmissionResponse) SetStatusCode

func (RecalculateCarbonEmissionResponse) String

type RecalculateCarbonEmissionResponseBody

type RecalculateCarbonEmissionResponseBody struct {
	// The returned data. A value of true indicates that the request is successful. A value of false indicates that the request fails.
	//
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (RecalculateCarbonEmissionResponseBody) GoString

func (*RecalculateCarbonEmissionResponseBody) SetData

func (*RecalculateCarbonEmissionResponseBody) SetRequestId

func (RecalculateCarbonEmissionResponseBody) String

type SendDocumentAskQuestionRequest

type SendDocumentAskQuestionRequest struct {
	// example:
	//
	// 1a851c4a-1d65-11ef-99a7-ssfsfdd
	FolderId *string `json:"folderId,omitempty" xml:"folderId,omitempty"`
	// This parameter is required.
	Prompt *string `json:"prompt,omitempty" xml:"prompt,omitempty"`
	// example:
	//
	// bfce2248-1546-4298-8bcf-70ac26e69646
	SessionId *string `json:"sessionId,omitempty" xml:"sessionId,omitempty"`
}

func (SendDocumentAskQuestionRequest) GoString

func (*SendDocumentAskQuestionRequest) SetFolderId

func (*SendDocumentAskQuestionRequest) SetPrompt

func (*SendDocumentAskQuestionRequest) SetSessionId

func (SendDocumentAskQuestionRequest) String

type SendDocumentAskQuestionResponse

type SendDocumentAskQuestionResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendDocumentAskQuestionResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendDocumentAskQuestionResponse) GoString

func (*SendDocumentAskQuestionResponse) SetHeaders

func (*SendDocumentAskQuestionResponse) SetStatusCode

func (SendDocumentAskQuestionResponse) String

type SendDocumentAskQuestionResponseBody

type SendDocumentAskQuestionResponseBody struct {
	Data *SendDocumentAskQuestionResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (SendDocumentAskQuestionResponseBody) GoString

func (*SendDocumentAskQuestionResponseBody) SetRequestId

func (SendDocumentAskQuestionResponseBody) String

type SendDocumentAskQuestionResponseBodyData

type SendDocumentAskQuestionResponseBodyData struct {
	Answer   *string   `json:"answer,omitempty" xml:"answer,omitempty"`
	Document []*string `json:"document,omitempty" xml:"document,omitempty" type:"Repeated"`
}

func (SendDocumentAskQuestionResponseBodyData) GoString

func (*SendDocumentAskQuestionResponseBodyData) SetAnswer

func (*SendDocumentAskQuestionResponseBodyData) SetDocument

func (SendDocumentAskQuestionResponseBodyData) String

type SetRunningPlanRequest added in v2.1.0

type SetRunningPlanRequest struct {
	// example:
	//
	// 0
	ControlType *int32 `json:"controlType,omitempty" xml:"controlType,omitempty"`
	// example:
	//
	// 0
	DateType *int32 `json:"dateType,omitempty" xml:"dateType,omitempty"`
	// example:
	//
	// 05:00:00
	EarliestStartupTime *string `json:"earliestStartupTime,omitempty" xml:"earliestStartupTime,omitempty"`
	// example:
	//
	// 2024-07-21
	EndTime *string `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// example:
	//
	// ***
	FactoryId *string `json:"factoryId,omitempty" xml:"factoryId,omitempty"`
	// example:
	//
	// 05:30:00
	LatestShutdownTime *string `json:"latestShutdownTime,omitempty" xml:"latestShutdownTime,omitempty"`
	// example:
	//
	// 2.1
	MaxCarbonDioxide *float64 `json:"maxCarbonDioxide,omitempty" xml:"maxCarbonDioxide,omitempty"`
	// example:
	//
	// 3.1
	MaxTem *float64 `json:"maxTem,omitempty" xml:"maxTem,omitempty"`
	// example:
	//
	// 2.1
	MinTem *float64 `json:"minTem,omitempty" xml:"minTem,omitempty"`
	// example:
	//
	// ib
	PKey *string `json:"pKey,omitempty" xml:"pKey,omitempty"`
	// example:
	//
	// 0
	SeasonMode *int32 `json:"seasonMode,omitempty" xml:"seasonMode,omitempty"`
	// example:
	//
	// 2024-07-20
	StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// example:
	//
	// 2024-07-31
	StatisticsTime *string `json:"statisticsTime,omitempty" xml:"statisticsTime,omitempty"`
	// example:
	//
	// system1
	SystemId *string `json:"systemId,omitempty" xml:"systemId,omitempty"`
	// example:
	//
	// 05:30:00
	WorkingEndTime *string `json:"workingEndTime,omitempty" xml:"workingEndTime,omitempty"`
	// example:
	//
	// 05:00:00
	WorkingStartTime *string `json:"workingStartTime,omitempty" xml:"workingStartTime,omitempty"`
}

func (SetRunningPlanRequest) GoString added in v2.1.0

func (s SetRunningPlanRequest) GoString() string

func (*SetRunningPlanRequest) SetControlType added in v2.1.0

func (s *SetRunningPlanRequest) SetControlType(v int32) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetDateType added in v2.1.0

func (*SetRunningPlanRequest) SetEarliestStartupTime added in v2.1.0

func (s *SetRunningPlanRequest) SetEarliestStartupTime(v string) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetEndTime added in v2.1.0

func (*SetRunningPlanRequest) SetFactoryId added in v2.1.0

func (*SetRunningPlanRequest) SetLatestShutdownTime added in v2.1.0

func (s *SetRunningPlanRequest) SetLatestShutdownTime(v string) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetMaxCarbonDioxide added in v2.1.0

func (s *SetRunningPlanRequest) SetMaxCarbonDioxide(v float64) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetMaxTem added in v2.1.0

func (*SetRunningPlanRequest) SetMinTem added in v2.1.0

func (*SetRunningPlanRequest) SetPKey added in v2.1.0

func (*SetRunningPlanRequest) SetSeasonMode added in v2.1.0

func (s *SetRunningPlanRequest) SetSeasonMode(v int32) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetStartTime added in v2.1.0

func (*SetRunningPlanRequest) SetStatisticsTime added in v2.1.0

func (s *SetRunningPlanRequest) SetStatisticsTime(v string) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetSystemId added in v2.1.0

func (*SetRunningPlanRequest) SetWorkingEndTime added in v2.1.0

func (s *SetRunningPlanRequest) SetWorkingEndTime(v string) *SetRunningPlanRequest

func (*SetRunningPlanRequest) SetWorkingStartTime added in v2.1.0

func (s *SetRunningPlanRequest) SetWorkingStartTime(v string) *SetRunningPlanRequest

func (SetRunningPlanRequest) String added in v2.1.0

func (s SetRunningPlanRequest) String() string

type SetRunningPlanResponse added in v2.1.0

type SetRunningPlanResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SetRunningPlanResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SetRunningPlanResponse) GoString added in v2.1.0

func (s SetRunningPlanResponse) GoString() string

func (*SetRunningPlanResponse) SetBody added in v2.1.0

func (*SetRunningPlanResponse) SetHeaders added in v2.1.0

func (*SetRunningPlanResponse) SetStatusCode added in v2.1.0

func (SetRunningPlanResponse) String added in v2.1.0

func (s SetRunningPlanResponse) String() string

type SetRunningPlanResponseBody added in v2.1.0

type SetRunningPlanResponseBody struct {
	// example:
	//
	// true
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 83A5A7DD-8974-5769-952E-590A97BEA34E
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (SetRunningPlanResponseBody) GoString added in v2.1.0

func (s SetRunningPlanResponseBody) GoString() string

func (*SetRunningPlanResponseBody) SetData added in v2.1.0

func (*SetRunningPlanResponseBody) SetRequestId added in v2.1.0

func (SetRunningPlanResponseBody) String added in v2.1.0

type SubmitDocumentAnalyzeJobAdvanceRequest

type SubmitDocumentAnalyzeJobAdvanceRequest struct {
	DataType *string `json:"dataType,omitempty" xml:"dataType,omitempty"`
	// This parameter is required.
	FileName *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	// example:
	//
	// https://example.com/example.pdf
	FileUrlObject io.Reader `json:"fileUrl,omitempty" xml:"fileUrl,omitempty"`
	// example:
	//
	// folderCode
	FolderId *string `json:"folderId,omitempty" xml:"folderId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// templateCode
	TemplateId *string `json:"templateId,omitempty" xml:"templateId,omitempty"`
}

func (SubmitDocumentAnalyzeJobAdvanceRequest) GoString

func (*SubmitDocumentAnalyzeJobAdvanceRequest) SetDataType added in v2.1.1

func (*SubmitDocumentAnalyzeJobAdvanceRequest) SetFileName

func (*SubmitDocumentAnalyzeJobAdvanceRequest) SetFileUrlObject

func (*SubmitDocumentAnalyzeJobAdvanceRequest) SetFolderId

func (*SubmitDocumentAnalyzeJobAdvanceRequest) SetTemplateId

func (SubmitDocumentAnalyzeJobAdvanceRequest) String

type SubmitDocumentAnalyzeJobRequest

type SubmitDocumentAnalyzeJobRequest struct {
	DataType *string `json:"dataType,omitempty" xml:"dataType,omitempty"`
	// This parameter is required.
	FileName *string `json:"fileName,omitempty" xml:"fileName,omitempty"`
	// example:
	//
	// https://example.com/example.pdf
	FileUrl *string `json:"fileUrl,omitempty" xml:"fileUrl,omitempty"`
	// example:
	//
	// folderCode
	FolderId *string `json:"folderId,omitempty" xml:"folderId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// templateCode
	TemplateId *string `json:"templateId,omitempty" xml:"templateId,omitempty"`
}

func (SubmitDocumentAnalyzeJobRequest) GoString

func (*SubmitDocumentAnalyzeJobRequest) SetDataType added in v2.1.1

func (*SubmitDocumentAnalyzeJobRequest) SetFileName

func (*SubmitDocumentAnalyzeJobRequest) SetFileUrl

func (*SubmitDocumentAnalyzeJobRequest) SetFolderId

func (*SubmitDocumentAnalyzeJobRequest) SetTemplateId

func (SubmitDocumentAnalyzeJobRequest) String

type SubmitDocumentAnalyzeJobResponse

type SubmitDocumentAnalyzeJobResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SubmitDocumentAnalyzeJobResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SubmitDocumentAnalyzeJobResponse) GoString

func (*SubmitDocumentAnalyzeJobResponse) SetHeaders

func (*SubmitDocumentAnalyzeJobResponse) SetStatusCode

func (SubmitDocumentAnalyzeJobResponse) String

type SubmitDocumentAnalyzeJobResponseBody

type SubmitDocumentAnalyzeJobResponseBody struct {
	Data *SubmitDocumentAnalyzeJobResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// Id of the request
	//
	// example:
	//
	// 4A0AEC56-5C9A-5D47-93DF-7227836FFF82
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (SubmitDocumentAnalyzeJobResponseBody) GoString

func (*SubmitDocumentAnalyzeJobResponseBody) SetRequestId

func (SubmitDocumentAnalyzeJobResponseBody) String

type SubmitDocumentAnalyzeJobResponseBodyData

type SubmitDocumentAnalyzeJobResponseBodyData struct {
	// example:
	//
	// adkc-kk2k41-kk2ol-222424
	JobId *string `json:"jobId,omitempty" xml:"jobId,omitempty"`
}

func (SubmitDocumentAnalyzeJobResponseBodyData) GoString

func (*SubmitDocumentAnalyzeJobResponseBodyData) SetJobId

func (SubmitDocumentAnalyzeJobResponseBodyData) String

Jump to

Keyboard shortcuts

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