class TencentCloud::Trtc::V20190722::CreatePictureRequest

CreatePicture请求参数结构体

Attributes

Content[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

Height[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

SdkAppId[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

Suffix[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

Width[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

XPosition[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

YPosition[RW]

@param SdkAppId: 应用id @type SdkAppId: Integer @param Content: 图片内容经base64编码后的string格式 @type Content: String @param Suffix: 图片后缀名 @type Suffix: String @param Height: 图片长度 @type Height: Integer @param Width: 图片宽度 @type Width: Integer @param XPosition: 显示位置x轴方向 @type XPosition: Integer @param YPosition: 显示位置y轴方向 @type YPosition: Integer

Public Class Methods

new(sdkappid=nil, content=nil, suffix=nil, height=nil, width=nil, xposition=nil, yposition=nil) click to toggle source
# File lib/v20190722/models.rb, line 99
def initialize(sdkappid=nil, content=nil, suffix=nil, height=nil, width=nil, xposition=nil, yposition=nil)
  @SdkAppId = sdkappid
  @Content = content
  @Suffix = suffix
  @Height = height
  @Width = width
  @XPosition = xposition
  @YPosition = yposition
end

Public Instance Methods

deserialize(params) click to toggle source
# File lib/v20190722/models.rb, line 109
def deserialize(params)
  @SdkAppId = params['SdkAppId']
  @Content = params['Content']
  @Suffix = params['Suffix']
  @Height = params['Height']
  @Width = params['Width']
  @XPosition = params['XPosition']
  @YPosition = params['YPosition']
end