API hub v1 API - Class LintResponse (1.0.0-beta02)

public sealed class LintResponse : IMessage<LintResponse>, IEquatable<LintResponse>, IDeepCloneable<LintResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class LintResponse.

LintResponse contains the response from the linter.

Inheritance

object > LintResponse

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

LintResponse()

public LintResponse()

LintResponse(LintResponse)

public LintResponse(LintResponse other)
Parameter
Name Description
other LintResponse

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Required. Timestamp when the linting response was generated.

Property Value
Type Description
Timestamp

Issues

public RepeatedField<Issue> Issues { get; }

Optional. Array of issues found in the analyzed document.

Property Value
Type Description
RepeatedFieldIssue

Linter

public Linter Linter { get; set; }

Required. Name of the linter used.

Property Value
Type Description
Linter

Source

public string Source { get; set; }

Required. Name of the linting application.

Property Value
Type Description
string

State

public LintState State { get; set; }

Required. Lint state represents success or failure for linting.

Property Value
Type Description
LintState

Summary

public RepeatedField<LintResponse.Types.SummaryEntry> Summary { get; }

Optional. Summary of all issue types and counts for each severity level.

Property Value
Type Description
RepeatedFieldLintResponseTypesSummaryEntry