class GitSourceContext extends Message

A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).

Generated from protobuf message google.devtools.source.v1.GitSourceContext

Methods

__construct(array $data = NULL)

Constructor.

string
getUrl()

Git repository URL.

$this
setUrl(string $var)

Git repository URL.

string
getRevisionId()

Git commit hash.

$this
setRevisionId(string $var)

Git commit hash.

Details

at line 46
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type string $url
      Git repository URL.
@type string $revision_id
      Git commit hash.
      required.

}

at line 57
string getUrl()

Git repository URL.

Generated from protobuf field string url = 1;

Return Value

string

at line 69
$this setUrl(string $var)

Git repository URL.

Generated from protobuf field string url = 1;

Parameters

string $var

Return Value

$this

at line 84
string getRevisionId()

Git commit hash.

required.

Generated from protobuf field string revision_id = 2;

Return Value

string

at line 97
$this setRevisionId(string $var)

Git commit hash.

required.

Generated from protobuf field string revision_id = 2;

Parameters

string $var

Return Value

$this