Class: TencentCloud::Ciam::V20220331::Job

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220331/models.rb

Overview

任务详情

Instance Attribute Summary collapse

  • #ErrorDetails ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #FailedUsers ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #Format ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #Id ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #Location ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #Status ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #Type ⇒ Object
  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.

    Instance Method Summary collapse

    Constructor Details

    #initialize(id = nil, status = nil, type = nil, createddate = nil, format = nil, location = nil, errordetails = nil, failedusers = nil) ⇒ Job

    Returns a new instance of Job.

    
    
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    # File 'lib/v20220331/models.rb', line 876
    
    def initialize(id=nil, status=nil, type=nil, createddate=nil, format=nil, location=nil, errordetails=nil, failedusers=nil)
      @Id = id
      @Status = status
      @Type = type
      @CreatedDate = createddate
      @Format = format
      @Location = location
      @ErrorDetails = errordetails
      @FailedUsers = failedusers
    end

    Instance Attribute Details

    #CreatedDateObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def CreatedDate
      @CreatedDate
    end

    #ErrorDetailsObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def ErrorDetails
      @ErrorDetails
    end

    #FailedUsersObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def FailedUsers
      @FailedUsers
    end

    #FormatObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def Format
      @Format
    end

    #IdObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def Id
      @Id
    end

    #LocationObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def Location
      @Location
    end

    #StatusObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def Status
      @Status
    end

    #TypeObject

  • **NDJSON**
  • New-line Delimited JSON
  • **CSV**
  • Comma-Separated Values 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Location:

      任务结果下载地址

    • ErrorDetails:

      失败详情

    • FailedUsers:

      失败的用户

    
    
    874
    875
    876
    # File 'lib/v20220331/models.rb', line 874
    
    def Type
      @Type
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    # File 'lib/v20220331/models.rb', line 887
    
    def deserialize(params)
      @Id = params['Id']
      @Status = params['Status']
      @Type = params['Type']
      @CreatedDate = params['CreatedDate']
      @Format = params['Format']
      @Location = params['Location']
      unless params['ErrorDetails'].nil?
        @ErrorDetails = []
        params['ErrorDetails'].each do |i|
          errordetails_tmp = ErrorDetails.new
          errordetails_tmp.deserialize(i)
          @ErrorDetails << errordetails_tmp
        end
      end
      unless params['FailedUsers'].nil?
        @FailedUsers = []
        params['FailedUsers'].each do |i|
          failedusers_tmp = FailedUsers.new
          failedusers_tmp.deserialize(i)
          @FailedUsers << failedusers_tmp
        end
      end
    end