Class ImageUrl.ImageUrlBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class to help generate ImageUrl object with the appropriate fields.
public class ImageUrl.ImageUrlBuilder
- Inheritance
-
ImageUrl.ImageUrlBuilder
- Inherited Members
Constructors
ImageUrlBuilder(string)
Sets the required properties for creating an ImageUrl.
public ImageUrlBuilder(string imageId)
Parameters
imageId
stringthe ImageUrl imageId
ImageUrlBuilder(string, long?, long?)
Sets the required properties for creating an ImageUrl.
public ImageUrlBuilder(string imageId, long? width, long? height)
Parameters
imageId
stringthe ImageUrl imageId
width
long?Desired image width
height
long?Desired image height
Methods
Build()
Builds the ImageUrl.
public ImageUrl Build()
Returns
- ImageUrl
the ImageUrl
GetImageId()
Gets the image Id.
public string GetImageId()
Returns
- string
the imageId
SetImageId(string)
Sets the ImageId for the ImageUrlBuilder.
public ImageUrl.ImageUrlBuilder SetImageId(string imageId)
Parameters
imageId
stringthe imageId
Returns
- ImageUrl.ImageUrlBuilder
creates the ImageUrlBuilder