style

package
v3.3.369 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package style is the Files.com API client package for the files_sdk.Style model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(params files_sdk.StyleDeleteParams, opts ...files_sdk.RequestResponseOption) (err error)

Delete calls Client.Delete using the default configuration.

func Find

Find calls Client.Find using the default configuration.

func Update

func Update(params files_sdk.StyleUpdateParams, opts ...files_sdk.RequestResponseOption) (style files_sdk.Style, err error)

Update calls Client.Update using the default configuration.

func UpdateWithMap

func UpdateWithMap(params map[string]interface{}, opts ...files_sdk.RequestResponseOption) (style files_sdk.Style, err error)

UpdateWithMap calls Client.UpdateWithMap using the default configuration.

Types

type Client

type Client struct {
	files_sdk.Config
}

Client calls the Style API using its embedded Config.

func (*Client) Delete

func (c *Client) Delete(params files_sdk.StyleDeleteParams, opts ...files_sdk.RequestResponseOption) (err error)

Delete calls DELETE /styles/{path}.

func (*Client) Find

func (c *Client) Find(params files_sdk.StyleFindParams, opts ...files_sdk.RequestResponseOption) (style files_sdk.Style, err error)

Find calls GET /styles/{path}.

func (*Client) Update

func (c *Client) Update(params files_sdk.StyleUpdateParams, opts ...files_sdk.RequestResponseOption) (style files_sdk.Style, err error)

Update calls PATCH /styles/{path}.

func (*Client) UpdateWithMap

func (c *Client) UpdateWithMap(params map[string]interface{}, opts ...files_sdk.RequestResponseOption) (style files_sdk.Style, err error)

UpdateWithMap calls PATCH /styles/{path} using API parameter names as map keys. Include any path parameters in the map. Unlike optional struct fields, explicit zero values in the map are included in the request.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL