Class: Vk::API::Video::Methods::Edit
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::Edit
- Defined in:
- lib/vk/api/video/methods/edit.rb
Overview
Edits information about a video on a user or community page.
Arguments collapse
-
#desc ⇒ String
New video description.
-
#name ⇒ String
New video title.
-
#no_comments ⇒ Boolean
Disable comments for the group video.
-
#owner_id ⇒ Integer
ID of the user or community that owns the video.
-
#privacy_comment ⇒ Array
Privacy settings for comments in a .
-
#privacy_view ⇒ Array
Privacy settings in a .; Privacy setting is available for videos uploaded to own profile by user.
-
#repeat ⇒ Boolean
'1' — to repeat the playback of the video; '0' — to play the video once;.
-
#video_id ⇒ Integer
Video ID.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Video::Methods::Edit constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#desc ⇒ String
Returns New video description.
36 |
# File 'lib/vk/api/video/methods/edit.rb', line 36 attribute :desc, API::Types::Coercible::String.optional.default(nil) |
#name ⇒ String
Returns New video title.
34 |
# File 'lib/vk/api/video/methods/edit.rb', line 34 attribute :name, API::Types::Coercible::String.optional.default(nil) |
#no_comments ⇒ Boolean
Returns Disable comments for the group video.
42 |
# File 'lib/vk/api/video/methods/edit.rb', line 42 attribute :no_comments, API::Types::Form::Bool.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the video.
30 |
# File 'lib/vk/api/video/methods/edit.rb', line 30 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#privacy_comment ⇒ Array
Returns Privacy settings for comments in a .
40 |
# File 'lib/vk/api/video/methods/edit.rb', line 40 attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#privacy_view ⇒ Array
Returns Privacy settings in a .; Privacy setting is available for videos uploaded to own profile by user.
38 |
# File 'lib/vk/api/video/methods/edit.rb', line 38 attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |