#include <link.h>
◆ Link() [1/2]
google_classroom_api::Link::Link |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ Link() [2/2]
google_classroom_api::Link::Link |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~Link()
google_classroom_api::Link::~Link |
( |
| ) |
|
|
virtual |
◆ clear_thumbnail_url()
void google_classroom_api::Link::clear_thumbnail_url |
( |
| ) |
|
|
inline |
Clears the 'thumbnailUrl
' attribute.
◆ clear_title()
void google_classroom_api::Link::clear_title |
( |
| ) |
|
|
inline |
Clears the 'title
' attribute.
◆ clear_url()
void google_classroom_api::Link::clear_url |
( |
| ) |
|
|
inline |
Clears the 'url
' attribute.
◆ get_thumbnail_url()
const StringPiece google_classroom_api::Link::get_thumbnail_url |
( |
| ) |
const |
|
inline |
Get the value of the 'thumbnailUrl
' attribute.
◆ get_title()
const StringPiece google_classroom_api::Link::get_title |
( |
| ) |
const |
|
inline |
Get the value of the 'title
' attribute.
◆ get_url()
const StringPiece google_classroom_api::Link::get_url |
( |
| ) |
const |
|
inline |
Get the value of the 'url
' attribute.
◆ GetTypeName()
const StringPiece google_classroom_api::Link::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_thumbnail_url()
bool google_classroom_api::Link::has_thumbnail_url |
( |
| ) |
const |
|
inline |
Determine if the 'thumbnailUrl
' attribute was set.
- Returns
- true if the '
thumbnailUrl
' attribute was set.
◆ has_title()
bool google_classroom_api::Link::has_title |
( |
| ) |
const |
|
inline |
Determine if the 'title
' attribute was set.
- Returns
- true if the '
title
' attribute was set.
◆ has_url()
bool google_classroom_api::Link::has_url |
( |
| ) |
const |
|
inline |
Determine if the 'url
' attribute was set.
- Returns
- true if the '
url
' attribute was set.
◆ New()
Link * google_classroom_api::Link::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_thumbnail_url()
void google_classroom_api::Link::set_thumbnail_url |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'thumbnailUrl
' attribute.
URL of a thumbnail image of the target URL.
Read-only.
- Parameters
-
◆ set_title()
void google_classroom_api::Link::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title
' attribute.
Title of the target of the URL.
Read-only.
- Parameters
-
◆ set_url()
void google_classroom_api::Link::set_url |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'url
' attribute.
URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.
- Parameters
-
The documentation for this class was generated from the following files:
- google/classroom_api/link.h
- google/classroom_api/link.cc