github.com/free5gc/openapi@v1.0.8/models/model_charging_data.go (about)

     1  /*
     2   * Npcf_SMPolicyControl
     3   *
     4   * Session Management Policy Control Service
     5   *
     6   * API version: 1.0.1
     7   * Generated by: OpenAPI Generator (https://openapi-generator.tech)
     8   */
     9  
    10  package models
    11  
    12  type ChargingData struct {
    13  	// Univocally identifies the charging control policy data within a PDU session.
    14  	ChgId          string         `json:"chgId" yaml:"chgId" bson:"chgId" mapstructure:"ChgId"`
    15  	MeteringMethod MeteringMethod `json:"meteringMethod,omitempty" yaml:"meteringMethod" bson:"meteringMethod" mapstructure:"MeteringMethod"`
    16  	// Indicates the offline charging is applicable to the PDU session or PCC rule.
    17  	Offline bool `json:"offline,omitempty" yaml:"offline" bson:"offline" mapstructure:"Offline"`
    18  	// Indicates the online charging is applicable to the PDU session or PCC rule.
    19  	Online bool `json:"online,omitempty" yaml:"online" bson:"online" mapstructure:"Online"`
    20  	// Indicates whether the service data flow is allowed to start while the SMF is waiting for the response to the credit request.
    21  	SdfHandl       bool           `json:"sdfHandl,omitempty" yaml:"sdfHandl" bson:"sdfHandl" mapstructure:"SdfHandl"`
    22  	RatingGroup    int32          `json:"ratingGroup,omitempty" yaml:"ratingGroup" bson:"ratingGroup" mapstructure:"RatingGroup"`
    23  	ReportingLevel ReportingLevel `json:"reportingLevel,omitempty" yaml:"reportingLevel" bson:"reportingLevel" mapstructure:"ReportingLevel"`
    24  	ServiceId      int32          `json:"serviceId,omitempty" yaml:"serviceId" bson:"serviceId" mapstructure:"ServiceId"`
    25  	// Indicates the sponsor identity.
    26  	SponsorId string `json:"sponsorId,omitempty" yaml:"sponsorId" bson:"sponsorId" mapstructure:"SponsorId"`
    27  	// Indicates the application service provider identity.
    28  	AppSvcProvId         string `json:"appSvcProvId,omitempty" yaml:"appSvcProvId" bson:"appSvcProvId" mapstructure:"AppSvcProvId"`
    29  	AfChargingIdentifier int32  `json:"afChargingIdentifier,omitempty" yaml:"afChargingIdentifier" bson:"afChargingIdentifier" mapstructure:"AfChargingIdentifier"`
    30  }