github.com/qiniu/go-sdk/v7@v7.27.0/storagev2/apis/disable_bucket_index_page/api.go (about)

     1  // THIS FILE IS GENERATED BY api-generator, DO NOT EDIT DIRECTLY!
     2  
     3  // 禁用存储空间 index.html(或 index.htm) 页面
     4  package disable_bucket_index_page
     5  
     6  import credentials "github.com/qiniu/go-sdk/v7/storagev2/credentials"
     7  
     8  // 调用 API 所用的请求
     9  type Request struct {
    10  	Bucket      string                          // 存储空间名称
    11  	NoIndexPage int64                           // 是否禁用 index.html(或 index.htm) 页面
    12  	Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
    13  }
    14  
    15  // 获取 API 所用的响应
    16  type Response struct{}