github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/modify_bandwidth_package_attribute.go (about)

     1  package vpc
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 修改带宽包属性
     8  // https://cloud.tencent.com/document/api/215/19208
     9  
    10  type ModifyBandwidthPackageAttributeRequest struct {
    11  	// 带宽包唯一标识ID
    12  	BandwidthPackageId string `name:"BandwidthPackageId"`
    13  	// 带宽包名称
    14  	BandwidthPackageName string `name:"BandwidthPackageName"`
    15  	// 区域
    16  	Region string `name:"Region"`
    17  }
    18  
    19  func (req *ModifyBandwidthPackageAttributeRequest) Invoke(client github_com_morlay_goqcloud.Client) (*ModifyBandwidthPackageAttributeResponse, error) {
    20  	resp := &ModifyBandwidthPackageAttributeResponse{}
    21  	err := client.Request("vpc", "ModifyBandwidthPackageAttribute", "2017-03-12").Do(req, resp)
    22  	return resp, err
    23  }
    24  
    25  type ModifyBandwidthPackageAttributeResponse struct {
    26  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    27  }