class Evernote::EDAM::Type::BusinessNotebook
If a Notebook
contained in an Evernote
Business account has been published the to business library, the Notebook
will have a reference to one of these structures, which specifies how the Notebook
will be represented in the library.
<dl> <dt>notebookDescription</dt>
<dd>A short description of the notebook's content that will be displayed in the business library user interface. The description may not begin or end with whitespace. <br/> Length: EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN - EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX <br/> Regex: EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX </dd>
<dt>privilege</dt>
<dd>The privileges that will be granted to users who join the notebook through the business library. </dd>
<dt>recommended</dt>
<dd>Whether the notebook should be "recommended" when displayed in the business library user interface. </dd>
</dl>
Constants
- FIELDS
- NOTEBOOKDESCRIPTION
- PRIVILEGE
- RECOMMENDED
Public Instance Methods
struct_fields()
click to toggle source
# File lib/Evernote/EDAM/types_types.rb, line 1675 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/Evernote/EDAM/types_types.rb, line 1677 def validate unless @privilege.nil? || ::Evernote::EDAM::Type::SharedNotebookPrivilegeLevel::VALID_VALUES.include?(@privilege) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field privilege!') end end