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

     1  package yunjing
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 删除异地登录记录
     8  // https://cloud.tencent.com/document/api/296/19843
     9  
    10  type DeleteNonlocalLoginPlacesRequest struct {
    11  	// 异地登录事件Id数组。
    12  	Ids []*int64 `name:"Ids"`
    13  	// 区域
    14  	Region string `name:"Region"`
    15  }
    16  
    17  func (req *DeleteNonlocalLoginPlacesRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteNonlocalLoginPlacesResponse, error) {
    18  	resp := &DeleteNonlocalLoginPlacesResponse{}
    19  	err := client.Request("yunjing", "DeleteNonlocalLoginPlaces", "2018-02-28").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type DeleteNonlocalLoginPlacesResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }