gtslib/models/policy_value.go
decentral1se e4ade9c758
All checks were successful
continuous-integration/drone/push Build is passing
feat: init
2024-07-31 22:47:18 +02:00

40 lines
1.3 KiB
Go

// Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
)
// PolicyValue One interaction policy entry for a status.
//
// It can be EITHER one of the internal keywords listed below, OR a full-fledged ActivityPub URI of an Actor, like "https://example.org/users/some_user".
//
// Internal keywords:
//
// public - Public, aka anyone who can see the status according to its visibility level.
// followers - Followers of the status author.
// following - People followed by the status author.
// mutuals - Mutual follows of the status author (reserved, unused).
// mentioned - Accounts mentioned in, or replied-to by, the status.
// author - The status author themself.
// me - If request was made with an authorized user, "me" represents the user who made the request and is now looking at this interaction policy.
//
// swagger:model PolicyValue
type PolicyValue string
// Validate validates this policy value
func (m PolicyValue) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this policy value based on context it is used
func (m PolicyValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}