C# Class Smartsheet.Api.Models.ImageUrl.ImageUrlBuilder

A convenience class To help generate ImageUrl object with the appropriate fields.
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk Class Usage Examples

Public Methods

Method Description
Build ( ) : ImageUrl

Builds the ImageUrl.

GetImageId ( ) : string

Gets the image Id.

ImageUrlBuilder ( string imageId ) : System

Sets the required properties for creating an ImageUrl.

ImageUrlBuilder ( string imageId, long width, long height ) : System

Sets the required properties for creating an ImageUrl.

SetImageId ( string imageId ) : ImageUrlBuilder

Sets the ImageId for the ImageUrlBuilder.

Method Details

Build() public method

Builds the ImageUrl.
public Build ( ) : ImageUrl
return ImageUrl

GetImageId() public method

Gets the image Id.
public GetImageId ( ) : string
return string

ImageUrlBuilder() public method

Sets the required properties for creating an ImageUrl.
public ImageUrlBuilder ( string imageId ) : System
imageId string the ImageUrl imageId
return System

ImageUrlBuilder() public method

Sets the required properties for creating an ImageUrl.
public ImageUrlBuilder ( string imageId, long width, long height ) : System
imageId string the ImageUrl imageId
width long
height long
return System

SetImageId() public method

Sets the ImageId for the ImageUrlBuilder.
public SetImageId ( string imageId ) : ImageUrlBuilder
imageId string the imageId
return ImageUrlBuilder