SsisPackage Class

public final class SsisPackage
extends SsisObjectMetadata

Ssis Package.

Constructor Summary

Constructor Description
SsisPackage()

Creates an instance of SsisPackage class.

Method Summary

Modifier and Type Method and Description
Long folderId()

Get the folderId property: Folder id which contains package.

static SsisPackage fromJson(JsonReader jsonReader)

Reads an instance of SsisPackage from the JsonReader.

List<SsisParameter> parameters()

Get the parameters property: Parameters in package.

Long projectId()

Get the projectId property: Project id which contains package.

Long projectVersion()

Get the projectVersion property: Project version which contains package.

JsonWriter toJson(JsonWriter jsonWriter)
SsisObjectMetadataType type()

Get the type property: Type of metadata.

void validate()

Validates the instance.

SsisPackage withDescription(String description)

Set the description property: Metadata description.

SsisPackage withFolderId(Long folderId)

Set the folderId property: Folder id which contains package.

SsisPackage withId(Long id)

Set the id property: Metadata id.

SsisPackage withName(String name)

Set the name property: Metadata name.

SsisPackage withParameters(List<SsisParameter> parameters)

Set the parameters property: Parameters in package.

SsisPackage withProjectId(Long projectId)

Set the projectId property: Project id which contains package.

SsisPackage withProjectVersion(Long projectVersion)

Set the projectVersion property: Project version which contains package.

Methods inherited from SsisObjectMetadata

Methods inherited from java.lang.Object

Constructor Details

SsisPackage

public SsisPackage()

Creates an instance of SsisPackage class.

Method Details

folderId

public Long folderId()

Get the folderId property: Folder id which contains package.

Returns:

the folderId value.

fromJson

public static SsisPackage fromJson(JsonReader jsonReader)

Reads an instance of SsisPackage from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SsisPackage if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SsisPackage.

parameters

public List<SsisParameter> parameters()

Get the parameters property: Parameters in package.

Returns:

the parameters value.

projectId

public Long projectId()

Get the projectId property: Project id which contains package.

Returns:

the projectId value.

projectVersion

public Long projectVersion()

Get the projectVersion property: Project version which contains package.

Returns:

the projectVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SsisPackage.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public SsisObjectMetadataType type()

Get the type property: Type of metadata.

Overrides:

SsisPackage.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SsisPackage.validate()

withDescription

public SsisPackage withDescription(String description)

Set the description property: Metadata description.

Overrides:

SsisPackage.withDescription(String description)

Parameters:

description

withFolderId

public SsisPackage withFolderId(Long folderId)

Set the folderId property: Folder id which contains package.

Parameters:

folderId - the folderId value to set.

Returns:

the SsisPackage object itself.

withId

public SsisPackage withId(Long id)

Set the id property: Metadata id.

Overrides:

SsisPackage.withId(Long id)

Parameters:

id

withName

public SsisPackage withName(String name)

Set the name property: Metadata name.

Overrides:

SsisPackage.withName(String name)

Parameters:

name

withParameters

public SsisPackage withParameters(List<SsisParameter> parameters)

Set the parameters property: Parameters in package.

Parameters:

parameters - the parameters value to set.

Returns:

the SsisPackage object itself.

withProjectId

public SsisPackage withProjectId(Long projectId)

Set the projectId property: Project id which contains package.

Parameters:

projectId - the projectId value to set.

Returns:

the SsisPackage object itself.

withProjectVersion

public SsisPackage withProjectVersion(Long projectVersion)

Set the projectVersion property: Project version which contains package.

Parameters:

projectVersion - the projectVersion value to set.

Returns:

the SsisPackage object itself.

Applies to